IFormattedIO488::WriteIEEEBlock
Description
Appends an ASCII string followed by an IEEE 488.2 definite binary block to the write buffer. If the flushAndEND parameter is true, the buffer will be flushed before this method returns.
VB Prototype
WriteIEEEBlock(
Command As String,
data As Variant,
flushAndEND As Boolean ' Optional Parameter
)
C++ Prototype
HRESULT WriteIEEEBlock(
BSTR Command,
VARIANT data,
VARIANT_BOOL flushAndEND
);
Parameters
Command
The string to prepend to the IEEE block data. In SCPI communication, the client will usualy send a command to the instrument with an IEEE block as a parameter to the instrument.
data
The array of data to write to the instrument. The method will format the data based on the Variant type of the array.
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