Agilent N5181A/82A MXG Signal Generators SCPI Command Reference 9
SCPI Basics
SCPI Basics
Discrete Parameters
Discrete parameters use mnemonics to represent each valid setting. They have a long and a short
form, just like command mnemonics. You can mix upper and lower case letters for discrete
parameters.
The following examples of discrete parameters are used with the command
:TRIGger[:SEQuence]:SOURce BUS|IMMediate|EXTernal.
Although discrete parameters look like command keywords, do not confuse the two. In particular, be
sure to use colons and spaces properly. Use a colon to separate command mnemonics from each
other and a space to separate parameters from command mnemonics.
The following are examples of discrete parameters in commands:
Boolean Parameters
Boolean parameters represent a single binary condition that is either true or false. The two- state
boolean parameter has four arguments. The following list shows the arguments for the two- state
boolean parameter:
String Parameters
String parameters allow ASCII strings to be sent as parameters. Single or double quotes are used as
delimiters.
The following are examples of string parameters:
BUS GPIB, LAN, or USB triggering
IMMediate immediate trigger (free run)
EXTernal external triggering
TRIGger:SOURce BUS
TRIGger:SOURce IMMediate
TRIGger:SOURce EXTernal
ON boolean true, upper/lower case allowed
OFF boolean false, upper/lower case allowed
1boolean true
0 boolean false
'This is valid'
"This is also valid"
'SO IS THIS'