Model 2701 User’s Manual
Remote Operations
10-21
Programming syntax
The information in this section covers syntax for both common commands and SCPI com-
mands. For information not covered here, see the IEEE-488.2 and SCPI standards. See
Sections 12 through 15 for more details on common and SCPI commands.
Command words
Program messages are made up of one or more command words.
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
SYSTem:BEEPer <b>
Parameter <b> required
SYSTem:PRESet
No parameter used
NOTE
At least one space between the command word and the parameter is required.
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:
INITiate[:IMMediate]
These brackets indicate that IMMediate is implied (optional) and does not have to be used.
Thus, the above command can be sent in one of two ways:
INITiate
or
INITiate:IMMediate
Notice that the optional command is used without the brackets. When using optional com-
mand 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:
SYSTem:LSYNc ON
Enable line synchronization
2701-900-01.book Page 21 Wednesday, August 3, 2011 9:43 AM
Summary of Contents for 2701
Page 344: ...12 CommonCommands 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 366: ...15 SCPIReferenceTables 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 393: ...A Specifications 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 399: ...B Model7700ConnectionGuide 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 410: ...C StatusandErrorMessages 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 417: ...D SignalProcessing SequenceandDataFlow 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 430: ...E MeasurementConsiderations 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 450: ...G KE2700InstrumentDriver Examples 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...