User manual

Table Of Contents
Publication No. 980935 Rev. M 3152B User Manual
Astronics Test Systems Programming Reference 5-115
bus and the controller handshake are in a temporary hold-off state while the controller is waiting to read the
*OPC? query response.
Response
Returns "1" to the output buffer after all the previous commands have been executed.
*OPT?
HS Syntax: 1505@?
Description
Use this command to query the options that are installed in this specific module.
Response
Returns "0" if no option is installed or “2” for the 4 Meg memory option.
*RST
HS Syntax: 14200
Description
Use this command to reset the instrument to its default setting. Factory defaults are listed in the Default
column in Table 5-1.
*SRE<enable_bits>
HS Syntax: 1503A<n>
Description
Use this command to enable bits in the Service Request Enable register. The selected bits are then reported
to the status byte. Information on the service request register is given in the following.
Parameters
Name
Range
Default
Description
<enable_bits>
0
-63, 128-191
0
Programs
the event that will cause the reg
ister to request
service. Setting of “0” disables this feature.
*SRE?
HS Syntax: 1503A@?
Description
Use this command to query the programmed bits in the Service Request Enable register.
Response
The generator returns a decimal value in the range of
0 to 63 or 128 to 191 since bit 6 (RSQ) cannot be set.
The binary
-weighted sum of the number represents the value of the bits of the Service Request enable
register.
*STB?
HS Syntax: 1508A@?
Description
Use this command to query the Status Byte for reported errors or events..
Response
The generator returns a summary of the Status Byte register. The *STB? command is similar to a serial poll
sequence but is processed like any other instrument command. The *STB? command returns the same result
as a serial poll, except the "request service" bit (bit 6) is not cleared if a serial poll has occurred.