Combining
To execute more than one function within the same subsystem a
Commands from the
semi-colon (;) is used to separate the functions:
Same Subsystem
:
c
subsystem > : c function >
c
white space
z=
c
data >
;
c
function >
c
white space > <data >
c
terminator >
(For example :SYSTEM:LONGFORM
0N;HEADER
ON)
Duplicate Keywords
Identical function keywords can be used for more than one subsystem.
For example, the function keyword MMODE may be used to specify the
marker mode in the subsystem for state listing or the timing waveforms:
:SLIST:MMODE PATTERN
-
sets the marker mode to pattern in the state listing.
:TWAVEFORM:MMODE TIME
-
sets the marker mode to time in the timing waveforms.
SLIST and TWAVEFORM are subsystem selectors and determine which
marker mode is being modified.
introduction to Programming an Instrument
1-6
HP 1650B/HP 16518
Programming Reference