User manual
A-4 Return to Section Topics 3390-900-01 Rev. C / January 2009
Appendix A: SCPI Command Reference Model 3390 Arbitrary Waveform Generator User’s Manual
Parameter types
The SCPI language defines several different data formats to be used in program messages and
response messages.
Numeric parameters: Commands that require numeric parameters will accept all commonly used
decimal representations of numbers including optional signs, decimal points, and scientific
notation. Special values for numeric parameters such as MINimum, MAXimum, and DEFault are
also accepted. You can also send engineering unit suffixes with numeric parameters (MHz or kHz).
If specific numeric values are necessary, the waveform generator will automatically round the input
numeric parameters. The following example has a numeric parameter option:
FREQuency:STARt {<frequency>|MINimum|MAXimum}
Discrete parameters: Discrete parameters are used in the settings where only a limited number
of values (BUS, IMMediate, EXTernal) are accepted. They have short and long forms and you
can mix upper- and lower-case letters. Query responses will return the short form in all upper-case
letters. The following example has a discrete parameter:
TRIGger:SOURce {BUS|IMMediate|EXTernal}
Boolean parameters: A Boolean parameter represents a condition that is either true or false. For
a false condition, the instrument accepts "OFF" or "0" as the parameter value. For a true condition,
the instrument accepts "ON" or "1" as the parameter value. When you query a Boolean parameter,
the instrument will return "0" or "1." The following example has a Boolean parameter:
SWEep:STATe {OFF|ON}
String parameters: A string parameter can contain any set of ASCII characters. A string must
begin and end with matching angle brackets. You can include the quote delimiter as part of the
string by typing it twice without any characters in between. The following example has a string
parameter:
DISPlay:TEXT <quoted string>
*ESE?
Read the Standard Event enable register.
*ESR?
Read the Standard Event event register.
*IDN?
Read the instrument’s Identification string.
*LRN?
Read the instrument’s Learn string (current settings).
*OPC
Set the Operation Complete Bit when all pending actions
are completed.
*OPC?
Read the status of the Operation Complete Bit.
*PSC 0
Save the contents of the Enable Register through power off and on.
*PSC 1
Clear the contents of the Enable Register through power off and on.
*PSC?
Read the Power On status clear setting.
*RCL <value>
Recall the complete instrument setting from memory.
*RST
Reset the instrument to factory default settings.
*SAV <value>
Save the complete instrument setting to memory.
*SRE <value>
Set the Service Request Enable mask.
*SRE?
Read the Service Request Enable mask.
*STB?
Read the Status Byte Register.
*TRG
Trigger the instrument.
*TST?
Start the instrument self-test.
*WAI
Wait until all pending actions are complete.
Table A-1:
IEEE-488.2 Common commands
Command Description