65
SCPI Command Reference
11.7.1
COMP:EN
COMP:EN Main switch for comparator
Command syntax
COMP:EN {ON,OFF,1,0}
Query syntax
COMP:EN?
Query response
{ON,OFF}
11.7.2
COMP:CH:EN
COMP:CH:EN Switch for channel comparator.
Command syntax
COMP:CH:EN {<
ch>
,ALL},{1,2},{ON,OFF,0,1}
Parameter
there
,
{<ch>,ALL}: channel NO.1~10 (AT4610/AT4710) or all channels
{1,2}: comparator NO.
,
only be 1 or 2
;
{ON,OFF,0
,
1}: switch
Example
SEND
> COMP:CH:EN 1,1,ON
<NL>
//turn on switch for CH1’s Comparator 1
SEND
> COMP:CH:EN ALL,2,ON
<NL>
// turn on switch for all channels’ Comparator 2
Query syntax
COMP:CH:EN? <
ch
>
Query response
<COMP 1 {0,1}>,<COMP 2 {0,1}>
Example
SEND> COMP:CH:EN? 1
<NL>
RET> 0,1
<NL>
//Comparator 1 is turned off, Comparator 2 is turned on
11.7.3
COMP:CH
COMP:CH Setup comparator’s upper/lower limit for an appointed channel
Command syntax
COMP:CH <
ch>
,{1,2},<float(lower limit)>,<float(upper limit)>
Parameter
there
,
<ch>: channel NO.1~10 (AT4610/AT4710)
{1,2}: comparator NO.
,
only be 1 or 2
;
<float(lower limit)>: lower limit floating number (fixed point, scientific notation or
multiplying data)
<float(upper limit)>: upper limit floating number (fixed point, scientific notation or
multiplying data)
Example
SEND
> COMP:CH 1,1,0,100
<NL>
//CH1’s Comparator 1 lower limit=0, upper limit=100
SEND
> COMP:CH 1,2,100.00,200.00
<NL>
// CH1’s Comparator 2 lower limit=100, upper limit=200
Query syntax
COMP:CH? 1
Query response
<ch>,<Lower Limit of Comparator 1>, <Upper Limit of Comparator 1>, < Lower Limit of
Comparator 2>, <Upper Limit of Comparator 2>
there
,
<ch>: channel NO. 1~10 (AT4610/AT4710)
Data use scientific notation
Example
SEND> COMP:CH? 1
<NL>
RET> 01,+0.0000E+000,+1.0000E+002,1.0000E+002,2.0000E+002
11.8
FILE SUBSYSTEM
Table 11-5 FILE Subsystem tree
FILE:SAVE
Save set parameter to current using file
FILE?
Query current using file number