MDO3000 Programmer Manual.pdf - 第159页
Commands Listed in Alphabetical Order NOTE. If a w avef orm does not specify points that extend to values of -1.0 and 1.0, then the waveform will not utilize the full available amplitude range. The r esulting amplitude w…

Commands Listed in Alphabetical Order
AFG:ARB:EMEM:
GEN SQU 1000
will generate a 1000 point square wave.
AFG:ARBitrary:EMEM:NUMPoints? (Query Only)
Returns the n
umber of points in the AFB arbitrary waveform edit memory.
This value will be used with the AFG:ARBitrary:EMEM:GENerate
command in the event that the number of points is not specified. See the
AFG:ARBitrary:EMEM:GENerate command description for more information.
Conditions
MDO3000 series with option MDO3AFG installed and MDO4000C series with
option MDO4AFG installed only.
Group
ARB
Syntax
AFG:ARBitrary:EMEM:NUMPoints?
Examples
AFG:ARB:EMEM:NUMP? might return 100, indicating that there are 100 points in
the AFB arbitrary waveform edit memory being used to generate the function.
AFG:ARBitrary:EMEM:POINTS
Specifies which points to load into the AFG arbitrary waveform edit memory.
The point data to be loaded may be specified as an IEEE488.2 binary block
with 4-byte floating point data values, or as a comma-separated list of NR2
or NR3 data values. The data values must be in the range of -1.0 to 1.0. The
AFG.ARBitrary.EMEM.POINTS.BYTEORDer command is used when the data
is binary block format. The minimum number of points is 2 and maximum is
131072.
Upon successful transfer of the data points, the AFG:ARBitrary:EMEM:
NUMPoints? query will return the number of points loaded into arbitrary
waveform edit memory and the AFG:ARBitrary:EMEM:FUNCtion? query will
return
USER. Note that the output, if turned on, will not change unless or until the
AFG function is set to
ARBitrary using the AFG:FUNCtion command.
Point values may be coerced to the nearest valid step size.
The query form returns the points stored in the AFG arbitrary waveform edit
memory in the format specified by the AFG:ARBitrary:EMEM:POINTS:ENCdg
command and, for binary encoding, the byte order specified by the
AFG.ARBitrary.EMEM.POINTS.BYTEORDer command.
Refer to the AFG:ARBitrary:EMEM:POINTS:ENCdg command description
for more information.
2-128 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual

Commands Listed in Alphabetical Order
NOTE. If a w avef
orm does not specify points that extend to values of -1.0 and
1.0, then the waveform will not utilize the full available amplitude range. The
resulting amplitude will be the fraction of t he range specified by the points. For
example, "AFG:ARBitrary:EMEM:POINTS 0.5,-0.5" with 1.0Vpp amplitude will
result in a 500mVpp Square waveform.
Conditions
MDO3000 series with option MDO3AFG installed and MDO4000C series with
option MDO4AFG installed only.
Group
ARB
Syntax
AFG:ARBitrary:EMEM:POINTS <BlockWfmInDTO> |<NrfWfm InDTO>
AFG:ARBitrary:EMEM:POINTS?
Arguments
BlockWfmInDTO – an IEEE488.2 binary block with 4-byte floating point data
values
NrfWfmInDTO – a comma-separated list of NR2 or NR3 data values
Returns
The query form returns the points data that is stored in the AFG
arbitrary waveform edit memory in the fo
rmat specified by the
AFG:ARBitrary:EMEM:POINTS:ENCdg command (either ASCII or binary).
Examples
AFG:ARB:EMEM:POINTS
-0.2,-0.1,0.0,0.1,0.2,0.3,0.2,0.1,0.0,-0.1
specifies 10 data point
values to be loaded into edit memory.
AFG.ARBitrary.EMEM.POINTS.BYTEORDer
This command specifies the byte order for the AFG:ARBitrary:EMEM:POINTS?
query when the AFG:ARBitrary:EMEM:POINTS:ENCdg is set to BINary
and when binary block data is sent for the AFG:ARBitrary:EMEM:POINTS
command. LSB - Least significant byte first (little endian) MSB - Most significant
byte first (big endian) The default is LSB. This setting is non-volatile and is reset
by default setup or TekSecure.
Refer to the AFG:ARBitrary:EMEM:POINTS command description for more
information.
Conditions
MDO3000 series with option MDO3AFG installed and MDO4000C series with
option MDO4AFG installed only.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-129

Commands Listed in Alphabetical Order
Group
ARB
Syntax
AFG.ARBitrary.EMEM.POINTS.BYTEORDer <LSB> |<MSB>
AFG.ARBitrary.EMEM.POINTS.BYTEORDer?
Arguments
LSB – Least significant byte first (little endian)
MSB – Most significant byte first (big endian)
AFG:ARBitrary:EMEM:POINTS:ENCdg
This command specifies the data encoding format for the AFG:ARBitrary:EMEM:
POINTS query (either ASCII or binary).
The default is ASCii. This setting is non-volatile and is reset by default setup
or TekSecure.
Refer to the AFG:ARBitrary:EMEM:POINTS command description for more
information.
Conditions
MDO3000 series with option MDO3AFG installed and MDO4000C series with
option MDO4AFG installed only.
Group
ARB
Syntax
AFG:ARBitrary:EMEM:POINTS:ENCdg {ASCii|BINary}
AFG:ARBitrary:EMEM:POINTS:ENCdg?
Arguments
ASCii –ASCIINR3format
BINary – IEEE488.2 binary block in 4-byte floating point format.
Examples
AFG:ARB:EMEM:POINTS:ENC ASC sets the data encoding format for the
:AFG:ARBitrary:EMEM:POINTS? querytoASCII.
AFG:FREQuency
Sets (or queries) the AFG frequency, in Hz. The following frequency values
canbesetforeachAFGfunction(usethecommandAFG:FUNCtion to select a
function):
2-130 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual