User manual

Table Of Contents
3152B User Manual Publication No. 980935 Rev. M
5-114 Programming Reference Astronics Test Systems
the status byte. Information on the standard event register is given in the following.
Parameters
Name
Range
Default
Description
<enable_bits>
0
-255
0
Programs
the event that w
ill cause the register to report a
problem. Setting of “0” disables this feature.
*ESE?
HS Syntax: 1501A@?
Description
Use this command to query the programmed bits in the Standard Event enable register.
Response
The generator returns a decimal valu
e in the range of 0 to 255, which corresponds to the binary-weighted
sum of all bits, set in the register.
*ESR?
HS Syntax: 1504@?
Description
Use this command to query the response of the Standard Event enable register. Information on the standard
event register is given in the following.
Response
The generator returns a decimal value in the range of 0 to 255, which corresponds to the binary
-weighted
sum of all bits, set in the register.
*IDN?
HS Syntax: 1506@?
Description
Use this command to q
uery the identity of the 3152B.
Response
The generator returns data organized into four fields, separated by commas. The generator responds with its
manufacturer and model number in the first two fields, and may also report its serial number and options
in
fields three and four. If the latter information is not available, the device must return an ASCII 0 for each. For
example, 3152B response to *IDN? is: EADS,3152B,0,1.0
*OPC
HS Syntax: 15020
Description
Use this command to set the "operation complete" bit (bit 0) in the Standard Event register after the previous
commands have been executed.
*OPC?
HS Syntax: 1502@?
Description
Use this command to synchronize between a controller and the instrument using the MAV bit in the Status
Byte or a read of the Output Queue. The *OPC? query does not affect the OPC Event bit in the Standard
Event Status Register (ESR). Reading the response to the
*OPC?
query has the advantage of removing the
complication of dealing with service requests and multiple polls to the instrument. However, both the system