Chapter 5 Remote Interface Reference

An Introduction to the SCPI Language

S

A x

( F ) is used to separate a command keyword from a lower-level

keyword. You must insert a wvvxz

to separate a parameter from a

command keyword. If a command requires more than one parameter,

you must separate adjacent parameters using a x

as shown below:

"CONF:VOLT:DC 10, 0.003"

A( I ) is used to combine commands into one message string, and can also minimize typing. For example, sending the following command string:

"TRIG:SOUR EXT; COUNT 10"

... is the same as sending the following two commands:

"TRIG:SOUR EXT" "TRIG:COUNT 10"

Use a colon v a semicolon to link commands from y subsystems. For example, in the following command string, an error is generated if you do not use both the colon vy semicolon:

 

"ROUT:CHAN:DELAY 1;:TRIG:SOUR EXT"

l

y

eyy

You can substitute MINimum or MAXimum in place of a parameter for many commands. For example, consider the following command:

VOLTage:DC:RANGe {<”z >MINimumMAXimum}[,(@<xt >)]

Instead of selecting a specific range, you can substitute MIN to set the range to its minimum value or MAX to set the range to its maximum value.

298

Page 296
Image 296
HP 34970A manual Routchandelay 1TRIGSOUR EXT