User Guide
Command Descriptions
Syntax
DATa:ENCdg { AS
CIi | RIBinary | RPBinary | SRIbinary |
SRPbinary }
DATa:ENCdg?
Related Comma
nds
WFMPre:ENCdg, WFMPre:BN_Fmt,
Arguments
ASCIi specifies the ASCII representation of signed integer (RIBinary) data. If
this is the value at power-on, the WFMPre values for BN_Fmt, BYT_Or, and
ENCdg are set as RP, MSB, and ASC respectively.
RIBinary specifies signed integer data-point representation with the most
significant byte transferred first. This format results in the fastest data transfer rate
when DATa:WIDth is set to 2.
The range is -128 to 127 when DATa:WIDth is 1. Zero is center screen. The
range is -32768 to 32767 when DATa:WIDth is 2. The upper limit is one division
above the top of the screen and the lower limit is one division below the bottom
of the screen.
RPBinary specifies positive integer data-point representation with the most
significant byte transferred first.
The range is 0 to 255 when DATa:WIDth is 1. Center screen is 127. The range is
0 to 65,535 when DATa:WIDth is 2. The upper limit is one division above the top
of the screen and the lower limit is one division below the bottom of the screen.
SRIbinary is the same as RIBinary except that the byte order is swapped,
meaning that the least significant byte is transferred first. This format is useful
when transferring data to IBM compatible PCs.
SRPbinary is the same as RPBinary except that the byte order is swapped,
meaning that the least significant byte is transferred first. This format is useful
when transferring data to IBM compatible PCs.
Table 2-31: DATa and WFMPre parameter settings
WFMPre settings
DATa:ENCdg
setting :ENCdg :BN_Fmt :BYT_Or
ASCIi ASC N/A N/A
RIBinary BIN RI
MSB
RPBinary BIN RP
MSB
SRIbinary
BIN RI
LSB
SRPbinary
BIN RP
LSB
Examples
DATA:ENCDG RPBINARY sets the data encoding format to be positive integer
where the most significant byte is transferred first.
DATA:ENCDG? might return SRPBINARY for the format of the waveform data.
TDS200, TDS1000/2000, TDS1000B/2000B, TDS2000C, TPS2000 Programmer 2-61