
GPIB Operation 7-13
Command path rules
•
Each new program message must begin with the root command, unless it is optional
(e.g., [:SOURce1]). If the root is optional, treat a command word on the next level as the
root.
•
The colon (:) at the beginning of a program message is optional and need not be used.
Example:
:stat:pres = stat:pres
•
When the path pointer detects a colon (:), it moves down to the next command level. An
exception is when the path pointer detects a semicolon (;), which is used to separate
commands within the program message (see next rule).
•
When the path pointer detects a colon (:) that immediately follows a semicolon (;), it
resets back to the root level.
•
The path pointer can only move down; it cannot be moved up a level. Executing a
command at a higher level requires that you start over at the root command.
Using common and SCPI commands in the same message
Both common commands and SCPI commands can be used in the same message as long as
they are separated by semicolons (;). A common command can be executed at any command
level and will not affect the path pointer. Example:
:stat:oper:enab <NRf>; *ESE <NRf>
Program message terminator (PMT)
Each program message must be terminated with an LF (line feed), EOI (end or identify), or an
LF+EOI. The bus will hang if your computer does not provide this termination. The following
example shows how a program message must be terminated:
:outp on <PMT>
Command execution rules
•
Commands execute in the order that they are presented in the program message.
•
An invalid command generates an error and is not executed.
•
Valid commands that precede an invalid command in a multiple command program
message are executed.
•
Valid commands that follow an invalid command in a multiple command program
message are ignored.
Test Equipment Depot - 800.517.8431 - 99 Washington Street Melrose, MA 02176
TestEquipmentDepot.com
Содержание 2302
Страница 2: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Страница 4: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Страница 16: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Страница 22: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Страница 178: ...8 22 Status Structure Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Страница 184: ...9 6 Common Commands Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Страница 258: ...14 20 Calibration Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Страница 259: ...15 Disassembly Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Страница 265: ...16 ReplaceableParts Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Страница 296: ...16 32 Replaceable Parts Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Страница 297: ...A Specifications Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Страница 298: ...A 2 Specifications Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Страница 299: ...B ErrorandStatusMessages Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Страница 305: ...C CalibrationReference Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Страница 313: ...D CalibrationProgram Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Страница 318: ...D 6 Calibration Program Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Страница 326: ...E 8 Applications Guide Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Страница 330: ...F 4 Model 2302 Specifics Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Страница 344: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Страница 346: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Страница 347: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...