![background image](http://html2.mh-extra.com/html/racal-instruments/1257/1257_manual_3121580097.webp)
1257 User Manual
SCPI Command Basics 5-6
EADS North America Defense
Test and Services, Inc.
©
2001
IEEE-STD-488.2
Common
Commands
The IEEE-STD-488.2 standard defines a set of common
commands that perform functions like reset, trigger and status
operations. Common commands begin with an asterisk ( * ), are
four to five characters in length, and may include parameters. The
command keyword is separated from the first parameter by a blank
space. A semicolon ( ; ) may be used to separate multiple
commands as shown below:
*RST; *STB?; *IDN?
The IEEE-488. 2 common commands implemented by the 1257
are described later in this chapter. The 1257 complies with this
standard for both GPIB and RS-232 operational modes.
IEEE 488.2 Common
Commands
The 1257 supports all required IEEE-488.2 commands. In addition,
the optional *OPT?, *SAV, and *RCL commands are supported.
The following paragraphs describe the IEEE-488.2 commands
supported by the 1257. In addition, the status reporting model
implemented by the 1257 is described. The 1257 complies with
this standard for both GPIB and RS-232 operational modes.
The following commands are implemented:
*IDN? Identification
query
*RST Instrument
reset
*TST? Commanded
self-test
*CLS Clear
status
*ESE
Set the Standard Event Status Enable register
*ESE?
Read the Standard Event Status Enable register
*ESR?
Read the Standard Event Status register
*SRE
Set the Service Request Enable register
*SRE?
Read the Service Request Enable register
*STB?
Read the status byte
*OPC
Set the OPC bit of the Standard Event Status
register
*OPC?
Reply with “1" when executed (used for
synchronizing)