OUTPut is the root keyword, PROTection is a second-level keyword, CLEar is a third-level keyword.
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 voltage
setting by sending:
VOLTage? (@1)
You can also query the minimum or maximum allowable voltage settings as follows:
VOLTage? MIN,(@1)
VOLTage? MAX,(@1)
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.
Coupled Commands
When commands are coupled it means that the value sent by one command is affected by the settings
of another command. The following commands are coupled:
[SOURce:]CURRent and [SOURce:]CURRent:RANGe.
[SOURce:]VOLTage and [SOURce:]VOLTage:RANGe.
If a range command is sent that places an output on a range with a lower maximum setting than the
present level, an error is generated. This also occurs if a level is programmed with a value too large for
the present range.
These types of errors can be avoided by sending the both level and range commands as a set, in the
same SCPI message. For example,
CURRent 10,(@1);CURRent:RANGe 10,(@1)<NL>
7 SCPI Programming Reference
226
Keysight N6705C Operating and Service Guide
Содержание N6705C
Страница 76: ......
Страница 353: ...Status Diagram Keysight N6705C Operating and Service Guide 353 7 SCPI Programming Reference ...
Страница 376: ...8 Verification and Calibration 376 Keysight N6705C Operating and Service Guide ...
Страница 389: ...Keysight N6705C Operating and Service Guide 389 8 Verification and Calibration ...
Страница 434: ......
Страница 438: ...9 Service and Maintenance 438 Keysight N6705C Operating and Service Guide ...
Страница 459: ...Overall Troubleshooting Keysight N6705C Operating and Service Guide 459 9 Service and Maintenance ...
Страница 460: ...9 Service and Maintenance 460 Keysight N6705C Operating and Service Guide ...
Страница 461: ...Keysight N6705C Operating and Service Guide 461 9 Service and Maintenance ...
Страница 462: ...9 Service and Maintenance 462 Keysight N6705C Operating and Service Guide ...
Страница 463: ...Keysight N6705C Operating and Service Guide 463 9 Service and Maintenance ...
Страница 470: ...Mezzanine Parts 9 Service and Maintenance 470 Keysight N6705C Operating and Service Guide ...
Страница 471: ...Front Panel Parts Keysight N6705C Operating and Service Guide 471 9 Service and Maintenance ...
Страница 476: ......