TDS5000B Online Programmer Guide
-- 1 8 3 --
DATa:ENCdg
Description
This command sets or queries the format of outgoing waveform data.
This command is equivalent to setting WFMOutpre:ENCdg,
WFMOutpre:BN_Fmt, and WFMOutpre:BYT_Or. Setting the
DATa:ENGdg value causes the corresponding WFMOutpre values to be
updated and visa versa.
Note: Values are constrained (for outbound data) to the format of the
data specified by DATa:SOUrce.
Group
Waveform Transfer
Related Commands
WFMOutpre:ENCdg, WFMOutpre:BN_Fmt, WFMOutpre:BYT_Or
Syntax 1
DATa:ENCdg {ASCIi|FAStest|RIBinary|RPBina-
ry|FPBinary|SRIbinary
|SRPbinary|SFPbinary}
Syntax 2
DATa:ENCdg?
Argument
H• ASCIi
This specifies the ASCII representation of signed INT, FLOAT. If
ASCII is the value, then :BN_Fmt and :BYT_Or are ignored.
H• FAStest
This specifies that the data be sent in the fastest possible manner con-
sistent with maintaining accuracy and is interpreted with respect to the
first waveform specified in the DATA:SOUrce list.
:ENCdg will always be BIN, :BYT_Or will always be LSB, but
:BN_Fmt and :BYT_Nr will depend on the first DATa:SOUrce wave-
form. :BN_Fmt will be RI unless the waveform is internally stored as
a floating point number, in which case the FP format will be used.
H• RIBinary
This specifies signed integer data point representation with the most
significant byte transferred first.
When :BYT_Nr is 1, the range is from -- 128 through 127. When
:BYT_Nr is 2, the range is from --32,768 through 32,767. When
:BYT_Nr is 8, then the waveform being queried has been set to Fast
Acquisition mode. Center screen is 0 (zero). 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. This is the default argument.