:WAVeform Commands
33
Agilent InfiniiVision 4000 X-Series Oscilloscopes Programmer's Guide
1025
Use the :WAVeform:UNSigned command (see
page 1047
) to control whether
data values are sent as unsigned or signed integers. This command can be
used to match the instrument's internal data type to the data type used by
the programming language. This command has no effect if the data format
is ASCii.
Data Format for Transfer - ASCii format
The ASCii format (see
":WAVeform:FORMat"
on page 1031) provides
access to the waveform data as real Y- axis values without using Y
origin, Y reference, and Y increment to convert the binary data. Values
are transferred as ASCii digits in floating point format separated by
commas. In ASCii format, holes are represented by the value 9.9e+37.
The setting of :WAVeform:BYTeorder (see
page 1027
) and
:WAVeform:UNSigned (see
page 1047
) have no effect when the format is
ASCii.
Data Format for Transfer - WORD format
WORD format (see
":WAVeform:FORMat"
on page 1031) provides 16- bit
access to the waveform data. In the WORD format, the number of data
bytes is twice the number of data points. The number of data points is
the value returned by the :WAVeform:POINts? query (see
page 1032
). If
the data intrinsically has less than 16 bits of resolution, the data is
left- shifted to provide 16 bits of resolution and the least significant bits
are set to 0. Currently, the greatest intrinsic resolution of any data is
12 bits, so at least the lowest 4 bits of data will be 0. If there is a hole
in the data, the hole is represented by a 16 bit value equal to 0.
Use :WAVeform:BYTeorder (see
page 1027
) to determine if the least
significant byte or most significant byte is to be transferred first. The
:BYTeorder command can be used to alter the transmit sequence to
match the storage sequence of an integer in the programming language
being used.
Data Format for Transfer - BYTE format
The BYTE format (see
":WAVeform:FORMat"
on page 1031 ) allows 8- bit
access to the waveform data. If the data intrinsically has more than 8
bits of resolution (averaged data), the data is right- shifted (truncated)
to fit into 8 bits. If there is a hole in the data, the hole is represented
by a value of 0. The BYTE- formatted data transfers over the
programming interface faster than ASCii or WORD- formatted data,
because in ASCii format, as many as 13 bytes per point are transferred,
in BYTE format one byte per point is transferred, and in WORD format
two bytes per point are transferred.
The :WAVeform:BYTeorder command (see
page 1027
) has no effect when
the data format is BYTE.
Summary of Contents for InfiniiVision 4000 X-Series
Page 1: ...s1 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide ...
Page 32: ...32 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide ...
Page 52: ...52 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide 2 Setting Up ...
Page 66: ...66 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide 3 Getting Started ...
Page 242: ...242 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide 7 ACQuire Commands ...
Page 252: ...252 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide 8 BUS n Commands ...
Page 300: ...300 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide 12 DEMO Commands ...
Page 330: ...330 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide 15 DVM Commands ...
Page 386: ...386 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide 18 HARDcopy Commands ...
Page 484: ...484 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide 21 MEASure Commands ...
Page 1098: ...1098 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide 34 WGEN w Commands ...
Page 1174: ...1174 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide 37 Error Messages ...
Page 1352: ...1352 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide Index ...