![Agilent Technologies 53220A User Manual Download Page 76](http://html1.mh-extra.com/html/agilent-technologies/53220a/53220a_user-manual_2867228076.webp)
76
53220A/53230A User’s Guide
3
53220A/53230A Measurements
Multiple Subsystems
To send multiple SCPI commands in a single string,
commands within different subsystems (root nodes) must be separated by a
semicolon (;) and a colon (:). For example, the string:
INP:COUP AC
;:
TRIG:SOUR EXT
requires a semicolon and a colon because the subsystems/root nodes (INPut
and TRIGger) are not the same.
Same Subsystem
For commands that share the same subsystem, multiple
commands can also be sent in a single string. The first command references
the root node, and subsequent commands separated by semicolons, are refer-
enced to the same level as the previous command. As an example, the com-
mand sequence representing the
CALCulate2
subsystem:
CALC2:TRAN:HIST:STAT ON
CALC2:TRAN:HIST:POIN 15
CALC2:TRAN:HIST:RANG:AUTO ON
CALC2:TRAN:HIST:RANGe:AUTO:COUNt 300
can be sent in a string as:
CALC2:TRAN:HIST:STAT ON
;
POIN 15
;
RANG:AUTO ON
;
AUTO:COUN 300
Separate Command Lines or Strings?
Sending commands in a single string
rather than in separate command lines can eliminate “settings conflict” errors.
When sent on separate lines, the counter checks for errors as each command
(line) is parsed. When sent as a string, the entire string is parsed before error
conditions are checked.
Linking IEEE 488-2 Common Commands and SCPI Commands
In a command string containing both IEEE 488.2 common commands (e.g.
*RST
,
*WAI
,
*OPC?
) and SCPI instrument commands, the common commands
are separated from the SCPI commands by a semicolon (;). An example is
shown in the following string:
CALC:STAT ON
;
AVER:STAT ON
;:
INIT
;
*WAI
;
:CALC:AVER:AVER?
Summary of Contents for 53220A
Page 10: ...10 53220A 53230A User s Guide Contents...
Page 34: ...34 53220A 53230A User s Guide 1 Preparation for Use...
Page 142: ...142 53220A 53230A User s Guide 4 53220A 53230A Input Signal Conditioning...
Page 190: ...190 53220A 53230A User s Guide 5 Triggering and Gating...
Page 268: ...268 53220A 53230A User s Guide 8 Instrument Status Figure 8 1 The 53220A 53230A Status System...
Page 274: ...274 53220A 53230A User s Guide 8 Instrument Status...
Page 288: ...288 53220A 53230A User s Guide A 53220A 53230A Error Messages...