Keywords
Keywords, also referred to as headers, are instructions recognized by the instrument. Common
commands are also keywords.
OUTPut is the root keyword, DELay is a second-level keyword, FALL and RISE are third-level
keywords. Colons ( : ) separate the keyword levels.
The command syntax shows most commands (and some parameters) as a mixture of upper- and
lower-case letters. The upper-case letters indicate the abbreviated spelling for the command. For
shorter program lines, you can send the abbreviated form. For better program readability, you can
send the long form.
In the above examples, OUTP and OUTPUT are both acceptable forms. You can use upper- or lower-
case letters. Therefore, OUTPUT, outp, and Outp are all acceptable. Other forms such as OUT, are not
valid and will generate an error.
Queries
Following a keyword with a question mark ( ? ) turns it into a query (Example: VOLTage?,
VOLTage:TRIGgered?). If a query contains parameters, place the query indicator at the end of the last
keyword, before the parameters. Insert a space between the query indicator and the first parameter.
You can query the programmed value of most parameters. For example, you can query the previously
set OUTPut:DELay:FALL time by sending:
OUTPut:DELay:FALL?
You can also query the minimum or maximum allowable fall time as follows:
OUTPut:DELay:FALL? MIN
OUTPut:DELay:FALL? MAX
You must read back all the results of a query before sending another command to the instrument.
Otherwise, a
Query Interrupted
error will occur and the unreturned data will be lost.
Command Separators and Terminators
Separators
Colons ( : ) separate keyword levels. Blank spaces must be used to separate command parameters
from their corresponding keyword. If a command requires more than one parameter, use a comma to
separate adjacent parameters. In the following example, the optional
startindex
and
points
parameters must be separated with a comma. Note the space between CURRent? and the first
parameter.
FETCh:CURRent? [<
start_index
>, <
points
>]
5 SCPI Programming Reference
170
Keysight RP7900 Series Operating and Service Guide
Summary of Contents for RP7900 Series
Page 1: ...Keysight Regenerative Power System RP7900 Series Operating and Service Guide ...
Page 2: ......
Page 100: ......
Page 262: ......
Page 314: ......