MDO3000 Programmer Manual.pdf - 第266页

Commands Listed in A lphabetical Order *CLS (No Query Form) Clears the following: Event Queue Standard Event Status Register Status Byte Register (except the MA V bit) If the *CLS command immediately follows an <EOI&g…

100%1 / 1158
Commands Listed in Alphabetical Order
CH<x>:YUNits
This command specifies the vertical units for the channel specified by <x>,
where x is the channel number. String arguments are case insensitive and any
unsupported
units will generate an error.
Supported units are:
%, /Hz, A, A/
A, A/V, A/W, A/dB, A/s, AA, AW, AdB, As, B, Hz, IRE, S/s, V,
V/A, V/V, V/W, V/dB, V/s, VV, VW, VdB, volts, Vs, W, W/A, W/V, W/W, W/dB,
W/s,WA,WV,WW,WdB,Ws,dB,dB/A,dB/V,dB/W,dB/dB,dBA,dBV,dBW,
dBdB, day, degrees, div, hr, min, ohms, percent, s
The vertical units affect the “Probe Type” that is shown in the “Probe Setup”menu:
Setting CH<x>:YUNits to “V” causes the probe type to be displayed as
“Voltage”.
When CH1:AMSVIAVOLTs:ENAble is set to OFF, setting CH<x>:YUNits to
“A” causes the probe type to be displayed as “Current”.
Setting CH<x>:YUNits to anything else causes the probe type not to be
displayed (neither “Voltage” nor “Current” are highlighted).
Group
Vertical
Syntax
CH<x>:YUNits <QString>
CH<x>:YUNits?
Arguments
QString is a string of text surrounded by quotes, specifying the supported units.
Examples
CH4:YUN “V” causes the probe type to be displayed as “Voltage”.
CLEARMenu (No Query Form)
Clears the current menu from the display. This command is equivalent to pressing
the front panel Menu off.
Group
Miscellaneous
Syntax
CLEARMenu
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-235
Commands Listed in Alphabetical Order
*CLS (No Query
Form)
Clears the following:
Event Queue
Standard Event Status Register
Status Byte Register (except the MAV bit)
If the *CLS
command immediately follows an <EOI>, the Output Queue and
MAV bit (Status Byte Register bit 4) are also cleared. The MAV bit indicates that
information is in the output queue. The device clear (DCL) control message
will clear the output queue and thus MAV. *CLS does not clear the output queue
o r M AV.
*CLS can suppress a Service Request that is to be generated by an *OPC. This
will happen if a single sequence acquisition operation is still being processed
when the *CLS command is executed.
Group
Status and Error
Syntax
*CLS
Related Commands
DESE, *ESE, *ESR?, EVENT?, EVMsg?, *SRE, *STB?
Examples
*CLS clears the oscilloscope status data structures.
CONFIGuration:ADVMATH? (Query Only)
This query returns a boolean value to indicate whether the advanced math feature
is present.
Group
Configuration
Syntax
CONFIGurat
ion:ADVMATH?
Related Commands
MATH[1]:TYPe ADVanced
Returns
<NR1> = 1 if the advanced math feature is present.
<NR1> = 0 if the advanced math feature is not present.
2-236 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual
Commands Listed in Alphabetical Order
CONFIGuratio
n:AFG? (Query Only)
Indicates whether or not the arbitrary function generator hardware is present, and
the arbitrary function generation feature is enabled.
Conditions
Available for MDO3000 and MDO4000C series models only.
Group
Configuration
Syntax
CONFIGuration:AFG?
Returns
1 indicates that the arbitrary function generator hardware is present and the AFG
feature is enabled.
0 indicates that either the arbitrary function generator hardware is not present,
or the feature is not enabled.
Examples
CONFIG:AFG? might return 1, indicating that the hardware is present and the
feature is enabled.
CONFIGuration:ANALOg:BANDWidth? (Query Only)
This query returns the bandwidth, in Hz, for the analog channels.
Group
Configuration
Syntax
CONFIGuration:ANALOg:BANDWidth?
Related Commands
(See page 2-29, Horizontal Command Group.)
Returns
<NR3>, which is a floating point number that represents the bandwidth, in hertz,
for the analog channels.
CONFIGuration:ANALOg:GNDCPLG? (Query Only)
This query returns a boolean value to indicate whether the ground coupling
feature for analog channels is present. As this feature is not supported on
MSO/DPO4000B, MDO4000/B/C or MDO3000 models, this query always
returns 0.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-237