1257 User Manual
EADS North America Defense
SCPI Command Basics 5-13
Test and Services, Inc.
©
2001
SERVICE Register
ENABLE Register
The
Service Request Enable
Register
is used to individually
enable bits in the Status Byte to set the MSS bit of the Status Byte,
thereby generating an interrupt. When the bit of the Service
Request Enable bit is set, and the corresponding bit of the
Status
Byte Register
is set, then the MSS bit will be a 1.
The following IEEE-488.2 Common Commands relate to the Status
Reporting Model:
*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
*SPE
Serial Poll Enable
These common commands are described below.
*CLS Command
The *CLS command clears the SCPI and IEEE-488.2 defined
status event registers. These include:
•
The
Standard Event Status Register
is cleared to 0. This
register is read using the *ESR? query.
•
The
Standard Event Status Enable Register
is cleared to 0.
This register is set using the *ESE command, and read
using the *ESE? query.
•
The
Service Request Enable Register
is cleared to 0. This
register is set using the *SRE command, and read using the
*SRE? query.
•
The
Operation Status Enable Register
is cleared to 0. This
register is set using the STATUS:OPERATION:ENABLE
command. This register can also be read using the
STATUS:OPERATION:ENABLE? query.