will always be correct because the commands are not executed until the message terminator is
received. Because the range and setting information is received as a set, no range/setting conflict
occurs.
Command Separators and Terminators
Separators
Colons ( : ) separate keyword levels. Blank spaces must be used to separate command parameters
from their corresponding keyword. Note the space between STATe and the *RST parameter. 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.
FETCh:CURRent? [<start_index>, <points>,] (@1)
Semicolons ( ; ) separate commands within the same subsystem. This lets you send several
subsystem commands within the same message string. For example, sending the following command
string:
OUTPut:STATe ON,(@1);PON:STATe RST
is the same as sending the following commands:
OUTPut ON,(@1)
OUTPut:PON:STATe RST
Note that the semicolon follows the implied path of the hierarchical tree structure. In the above
example, the optional :STATe keyword must follow the OUTput keyword to place the command parser
at the second level in the hierarchy. This allows the use of the PON keyword after the semicolon, since
PON is a second-level keyword.
You can also combine commands of different subsystems within the same message string. In this
case, you must use a colon to return the command parser to the root level in order to access another
subsystem. For example, you could clear the output protection and check the status of the Operation
Condition register in one message by using a root specifier as follows:
OUTPut:PROTection:CLEar (@1);:STATus:OPERation:CONDition? (@1)
Note the use of the colon
after
the semicolon in order to return the command parser to the root.
Terminators
A command string sent to the instrument must terminate with a new line (<NL>) character. The IEEE-
488 EOI (End-Or-Identify) message is interpreted as a <NL> character and can be used to terminate a
command string in place of an <NL>. A carriage return followed by a new line (<CR><NL>) is also
accepted. Command string termination will always reset the current SCPI command path to the root
level.
Keysight N6705C Operating and Service Guide
227
7 SCPI Programming Reference
Summary of Contents for N6705C
Page 76: ......
Page 353: ...Status Diagram Keysight N6705C Operating and Service Guide 353 7 SCPI Programming Reference ...
Page 376: ...8 Verification and Calibration 376 Keysight N6705C Operating and Service Guide ...
Page 389: ...Keysight N6705C Operating and Service Guide 389 8 Verification and Calibration ...
Page 434: ......
Page 438: ...9 Service and Maintenance 438 Keysight N6705C Operating and Service Guide ...
Page 460: ...9 Service and Maintenance 460 Keysight N6705C Operating and Service Guide ...
Page 461: ...Keysight N6705C Operating and Service Guide 461 9 Service and Maintenance ...
Page 462: ...9 Service and Maintenance 462 Keysight N6705C Operating and Service Guide ...
Page 463: ...Keysight N6705C Operating and Service Guide 463 9 Service and Maintenance ...
Page 470: ...Mezzanine Parts 9 Service and Maintenance 470 Keysight N6705C Operating and Service Guide ...
Page 471: ...Front Panel Parts Keysight N6705C Operating and Service Guide 471 9 Service and Maintenance ...
Page 476: ......