[in] If true, the END signal is asserted with the last byte of the transfer. If false, no END signal is asserted.
FlushWrite
Flushes the contents of the I/O write buffer to the device.
Syntax
Section titled “Syntax”virtual HRESULT FlushWrite(bool bSendEnd = true, long lTimeout = CUR_TIMEOUT) sealed override;Parameters
Section titled “Parameters”bSendEnd
lTimeout
[in] I/O timeout value in milliseconds.
Return value
Section titled “Return value”Returns S_OK if successful, otherwise a failure HRESULT.
Example
Section titled “Example”The following example demonstrates use of the FlushWrite function.
HRESULT Acme4321::Configure(){ HRESULT hr = S_OK;
// Send an IEEE 488.2 END signal with the last byte in the buffer, use the existing timeout value hr = io.FlushWrite();
return hr;}