MDO3000 Programmer Manual.pdf - 第157页

Commands Listed in Alphabetical Order Examples AFG:ARB:EMEM: FUNC? might return SI NE, indicating that the currently selected arbitrary waveform function is Sine. AFG:ARBitrary:EMEM:GENerate (No Query Form) This command …

100%1 / 1158
Commands Listed in Alphabetical Order
Syntax
AFG:ARBitrary
:ARB<x>:LABel <QString>
AFG:ARBitrary:ARB<x>:LABel?
Arguments
Quoted string that represents the waveform label for one of the arbitrary waveform
slots 1-4.
Examples
AFG:ARBITRARY:ARB4 “Foo” sets the waveform label for arbitrary waveform
slot4to“Foo.
AFG:ARBitrary:ARB<x>:TIMe? (Query Only)
Returns the time that the data in the specified arbitrary waveform slot was saved.
Conditions
MDO3000 series with option MDO3AFG installed and MDO4000C series with
option MDO4AFG installed only.
Group
ARB
Syntax
AFG:ARBitrary:ARB<x>:TIMe?
Examples
AFG:ARB:ARB3:TIME? might return "14:43:29", which represents the time
that the data in the slot 3 was saved.
AFG:ARBitrary:EMEM:FUNCtion? (Query Only)
Returns the currently selected arbitrary waveform pre-defined function.
The pre-defined ARB function is selected using the command
AFG:ARBitrary:EMEM:GENerate.
This query may also return
USER, which indicates that the arbitrary waveform in
edit memory has been altered from one of the predefined functions.
Conditions
MDO3000 series with option MDO3AFG installed and MDO4000C series with
option MDO4AFG installed only.
Group
ARB
Syntax
AFG:ARBitrary:EMEM:FUNCtion?
2-126 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual
Commands Listed in Alphabetical Order
Examples
AFG:ARB:EMEM:
FUNC?
might return SINE, indicating that the currently selected
arbitrary waveform function is Sine.
AFG:ARBitrary:EMEM:GENerate (No Query Form)
This command generates the arbitrary waveform function specified by the
enumeration argument.
The NR1 argument is optional; it canbeusedtospecifythenumber
of points; if it is used, it also sets the value that will be used by
AFG:ARBitrary:EMEM:NUMPoints? until the instrument is reset via
TEKSecur
e.
In the absence of the NR1 argument, the number of points used with the function
is that n
umber returned by the AFG:ARBitrary:EMEM:NUMPoints? query.
To query the arbitrary waveform function set by this command, use
AFG:AR
Bitrary:EMEM:FUNCtion?
(This value is not reset by default setup or by power cycle).
Conditions
MDO3000 series with option MDO3AFG installed and MDO4000C series with
option MDO4AFG installed only.
Group
ARB
Syntax
AFG:ARBitrary:EMEM:GENerate
{SINE|SQUare|PULSe|RAMP|NOISe[,NR1]}
AFG:ARBitrary:EMEM:GENerate?
Arguments
<NR1> (Optional) Specifies the number of points for the arbitrary waveform
function. The number of points, if specified, must be >= 2 and <= 131072. The
default number of points is 100.
SINE generates the Sine AFG function.
SQUare generates the Square AFG function.
PULSe generates the Pulse AFG function.
RAMP generates the Ramp AFG function.
NOISe generates the Noise AFG function.
Examples
AFG:ARB:EMEM:GEN SQU will generate a 100 point square wave if the previous
setting of
AFG:ARB:EMEM:NUMP is 100.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-127
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