Click or drag to resize

SetSendEndEnabled

Specifies whether the IEEE 488.2 END signal should be asserted with the last byte of data transferred from the buffer to the device.

virtual HRESULT SetSendEndEnabled(bool bEnabled) abstract;
Parameters
bEnabled

[in] If true, the END signal is asserted with the last byte of the transfer. If false, no END signal is asserted.

Return Value

Returns S_OK if successful, otherwise a failure HRESULT.

Example

The following example demonstrates use of the SetSendEndEnabled function.

C++
// CoAcme4321.cpp
HRESULT Acme4321::OnFinalInitialize()
{
  HRESULT hr = S_OK;

  hr = io.SetSendEndEnabled(true);

  return hr;
}
See Also

Download a complete CHM version of this documentation here.