34
Command Separators
A colon “
:
” is used to separate a command keyword from a lower-level keyword as
shown below:
SOURce:CURRent:TRIGgered
A semicolon “
;
” is used to separate two commands within the same subsystem as
shown below:
SOUR:VOLT MIN;CURR MAX
The following two commands have the same effect as the above command.
SOUR:VOLT MIN
SOUR:CURR MAX
Use a colon and a semicolon to link commands from different subsystems.
For example, in the following command string, an error is generated if you do not use
the colon and semicolon:
MEAS:VOLT?;:SOUR:CURR MIN
Using the MIN and MAX Parameters
You can substitute MINimum or MAXimum for the parameter of many commands.
For example, consider the following command:
CURRent {
<
current
>
|MIN|MAX}
Instead of selecting a specific current, you can `substitute MINimum to set the current
to its minimum value or MAXimum to set the current to its maximum value.
Querying Parameter Settings
You can query the value of most parameters by adding a question mark (?) to the
command. For example, the following command sets the output current to 5A
CURR 5
You can query the value by executing:
CURR?