© National Instruments Corp.
3
GPIB Device Simulator EPROM
Waveform Format Commands
These commands format how the waveform data is returned by the
Simulator.
FORMat:DATA
ASCii
Floating point (Default)
INTeger,8
8-bit unsigned binary
INTeger,16
16-bit signed binary
FORMat:DATA?
Returns the current waveform format
The following command changes the order of the bytes returned by
INTeger,16
encoding.
FORMat:BORDer
NORMal
Low byte first (Default)
SWAPped
High byte first
FORMat:BORDer?
Returns the current format of
the byte order
Example :
FORM:DATA INT,16
Set the waveform format as
16-bit integers
FORM:DATA?
Query the current waveform format.
For example, if the command was
issued after the preceding command, it
would return
FORM:DATA INT,16<LF>