IFormattedIO488::WriteString
Description
Appends a string to the formatted I/O object's write buffer. If the flushAndEND parameter is true, the buffer will be flushed before this method returns.
VB Prototype
WriteString(
data As String,
flushAndEND As Boolean ' Optional Parameter
)
C++ Prototype
HRESULT WriteString(
BSTR data,
VARIANT_BOOL flushAndEND
);
Parameters
data
The string data to write.
flushAndEND
[Optional in Visual Basic] If this parameter is true, the formatted I/O object will flush the contents of the write buffer and send an end to the instrument.
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