
GPIB Operation 7-9
Programming syntax
The information in the following paragraphs covers syntax for both common commands and
SCPI commands. For information not covered here, refer to Section 9 for common commands
or to Section 12 for SCPI commands. Also refer the IEEE-488.2 and SCPI standards.
Command words
Program messages are made up of one or more command words and parameters.
Commands and command parameters
Common commands and SCPI commands may or may not use a parameter. The following
are some examples:
*SAV <NRf>
Parameter (NRf) required
*RST
No parameter used
:DISPlay:TEXT:STATe <b>
Parameter <b> required
:STATus:PRESet
No parameter used.
Put at least one space between the command word and the parameter.
Brackets [ ]
—
Some command words are enclosed in brackets ([]). These brackets are used
to denote an optional command word that does not need to be included in the program message.
For example:
:FORMat[:DATA]?
These brackets indicate that :DATA is implied (optional) and does not have to be used. Thus,
the above command can be sent as :FORMat? or :FORMat:DATA?.
Notice that the optional command is used without the brackets. When using optional
command words in your program, do not include the brackets.
Parameter types
—
The following are some of the more common parameter types:
• <b>
Boolean — Used to enable or disable an instrument operation. 0 or OFF disables
the operation, and 1 or ON enables the operation. Example:
:DISPlay:TEXT:STATe ON Enable text message mode of display.
• <name> Name parameter — Select a parameter name from a listed group. Example:
<name> =
LIMit
=
TRIP
:CURRent:LIMit:TYPE TRIP — Turn output off when current limit reached on
battery channel (#1).
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...