IFormattedIO488::FlushWrite

Description

Flushes the contents of the write buffer.  If the sendEND parameter is true, the method will also assert the end condition.  It is illegal to send an end on an empty buffer.

VB Prototype

FlushWrite(
  sendEND As Boolean ' Optional Parameter
)

C++ Prototype

HRESULT FlushWrite(
  VARIANT_BOOL sendEND
);

Parameters

sendEND

[Optional in Visual Basic] If this parameter is true, the formatted I/O object will send an end to the instrument on the last character in the buffer.

Return Value

Refer to the table of return codes.

See Also

IO, InstrumentBigEndian, WriteString, WriteNumber, WriteList, WriteIEEEBlock, ReadString, ReadNumber, ReadList, ReadIEEEBlock, FlushWrite, FlushRead, SetBufferSize, IFormattedIO488 Overview