
104
Keysight M8070A Programming Guide
5
SCPI Command Reference
*SRE[?]
Syntax
*SRE[?] <NRf>
Description
The Service Request Enable Command (*SRE) sets the Service Request
Enable Register. This acts as a mask on the Status Byte, defining when the
instrument can issue a service request. For a service request to be issued,
the summary bit in the Status Byte must match the bit in the Service
Request Enable Register. More than one bit may be set by the *SRE
command.
The query returns the current contents of the Service Request Enable
Register.
*STB?
Syntax
*STB?
Description
The Read Status Byte Query (*STB?) allows the programmer to read the
status byte and Master Summary Status bit. When the status byte is read
using the *STB command, bit 6 of the status byte is referred to as the
Master Summary (MSS) bit. With this query, the status byte is not cleared
when the value is read. It always reflects the current status of all the
instrument's status registers.
*TST?
Syntax
*TST?
Description
The self-test query starts all internal self-tests and places a response into
the output queue indicating whether or not the device completed the
self-tests without any detected errors. It returns a 0 for success; a 1 if a
failure was detected.
Upon successful completion of *TST?, the device settings are restored to
their values prior to the *TST?