MDO3000 Programmer Manual.pdf - 第156页
Commands Listed in A lphabetical 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 w ave…

Commands Listed in Alphabetical Order
Conditions
MDO3000 series
with option MDO3AFG installed and MDO4000C series with
option MDO4AFG installed only.
Group
AFG
Syntax
AFG:AMPLitude <NR3>
AFG:AMPLitude?
Arguments
Floating point number that represents the AFG amplitude, peak to peak, in volts.
Examples
AFG:AMPLITUDE 1.0 sets the AFG amplitude to 1.0 volts, peak to peak.
AFG:ARBitrary:ARB<x>:DATE? (Query Only)
Returns the date that the data in the specified arbitrary waveform slot 1-4 was
saved.
Conditions
MDO3000 series with option MDO3AFG installed and MDO4000C series with
option MDO4AFG installed only.
Group
ARB
Syntax
AFG:ARBitrary:ARB<x>:DATE?
Examples
AFG:ARB:ARB3:DATE? might return 11-11-13, which represents the date that
thedatainslot3wassaved.
AFG:ARBitrary:ARB<x>:LABel
Sets (or queries) the waveform label for arbitrary waveform slots 1- 4.
Conditions
MDO3000 series with option MDO3AFG installed and MDO4000C series with
option MDO4AFG installed only.
Group
ARB
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-125

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