Command Groups
TDS200, TDS1000/2000, TDS1000B/2000B, TPS2000 Programmer
2-41
The oscilloscope can transfer waveform data in either ASCII or
binary format. Use the DATa:ENCdg command to specify one of the
following formats:
H ASCII data is represented by signed integer values. The range of
values depends on the byte width specified. One-byte-wide data
ranges from –128 to 127. Two-byte-wide data ranges from
–32768 to 32767.
Each data value requires two to seven characters. This includes
one character for the minus sign if the value is negative, one to
five ASCII characters for the waveform value, and a comma t o
separate data points.
An example of an ASCII waveform data string follows:
CURVE<space>–110,–109,–110,–110,–109,–107,–109,–107,
–106,–105,–103,–100,–97,–90,–84,–80
H Binary data can be represented by signed integer or positive
integer values. The range of the values depends on the byte width
specified.
Table 2--27 lists the ranges for one- and two-byte-wide data.
Table 2- 27: Binary data ranges
Byte width Signed integer range Positive integer range
1 –128 to 127 0to255
2 –32,768 to 32,767 0 to 65,535
The defi ned binary formats also specify the order in which t he byt es
are transferred giving a total of four binary formats: RIBinary,
RPBinary, SRIbinary, and SRPbinary.