Skip to content

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;

bEnabled

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

Returns S_OK if successful, otherwise a failure HRESULT.

The following example demonstrates use of the SetSendEndEnabled function.

CoAcme4321.cpp
HRESULT Acme4321::OnFinalInitialize()
{
HRESULT hr = S_OK;
hr = io.SetSendEndEnabled(true);
return hr;
}