User manual

Getting Started
2001-900-01 Rev. K/ August 2010 2-15
2.6.7 Syntax rules
The following information explains some of the
programming syntax for the Model 2001. For more complete
information, see paragraph 4.9.
General form
The general form for SCPI commands is demonstrated in
Table 2-7. Notice that they are hierarchical in nature and
begin with a root command. For example, to set autoranging
on the DC voltage function, you would send the following
command:
q~ÄäÉ=OJT
Abbreviated SCPI command summary
:SYSTem
:PRESet
Subsystem command path.
Set unit to a default configuration (see Appendix A).
[:SENSe[1]]
:VOLTage[:DC]
:APERture <n>
:AVERage
:COUNt <n>
:STATe ON|OFF
:NPLCycles <n>
:RANGe
[:UPPer] <n>
:AUTO <b>
:REFerence <n>
:RESolution <n>
Subsystem command path.
Path to configure DC voltage.
Specify integration time in seconds (n = 166.67e-6 to 200e-3).
Path to control averaging filter:
Specify number of points to average (n = 1 to 100).
Enable/disable averaging filter.
Specify integration time in number of line cycles (n = 0.01 to 10).
Path to configure measurement range:
Select range (n = -1100 to +1100).
Enable (1 or ON) or disable (0 or OFF) autorange.
Specify REL value (n = -1100 to +1100).
Specify measurement resolution (number of digits; n = 4 to 8).
:INITiate
:ABORt
:ARM
:LAYer2
:COUNt <n>|INF
:DELay <num>
:SOURce HOLD|IMMediate| TIMer|
MANual|BUS|TLINk| EXTernal
:TIMer <num>
Initiate one trigger (measure) cycle.
Reset trigger system and go to idle state.
Subsystem command path to configure scan:
Path to program scan layer:
Program number of scans (1 to 99999 or INFinite).
Program delay (0 to 999999.999sec).
Select event to control scan trigger.
Set timer interval (0.001 to 999999.999sec).
:TRIGger
:COUNt <n>|INF
:DELay <num>
:SOURce HOLD|IMMediate|MANual|
BUS| TLINK| EXTernal|TIMer
:TIMer <num>
Subsystem command path to program measure layer:
Program number of measurements (1 to 99999, or INFinite).
Program delay (0 to 999999.999sec).
Select event to control measure trigger.
Set timer interval (0.001 to 999999.999sec).
:ROUTe
:CLOSe <list>
:STATe?
:OPEN <list>|ALL
:SCAN <list>
:EXTernal <list>
Subsystem command path for scanning.
Path and command to close channel.
Request closed status of channel list.
Open specified channels.
Path and command to specify internal list.
Command to specify external list.
Notes:
1. Command short form is indicated by the uppercase characters. For example, instead of sending “:arm:layer2:source immediate”, you can send
“:arm:lay2:sour imm”.
2. The brackets [ ] indicate optional names that need not be sent. For example: [:SENSe[1]]:VOLTage:DC:RANGe:[UPPer] 5 is the same as
:VOLTage:DC:RANGe 5.