5-74
IEEE-STD-488.2
Common
Commands and
Queries
Since most instruments and devices in an ATE system use similar
commands that perform similar functions, the IEEE-STD-488.2
document has specified a common set of commands and queries
that all compatible devices must use. This avoids situations where
devices from various manufacturers use different sets of commands
to enable functions and report status. The IEEE-STD-488.2 treats
common commands and queries as device dependent commands.
For example, *TRG is sent over the bus to trigger the instrument.
Some common commands and queries are optional, but most of
them are mandatory.
The following is a complete listing of all common-commands and
queries, which are used by the 2074
*CLS
- Clear the Status Byte summary register and all event registers.
*ESE
<enable_value> - Enable bits in the Standard Event enable
register. The selected bits are then reported to the status byte.
*ESE?
- Query the Standard Event enable register. The generator
returns a decimal value, which corresponds to the binary-weighted sum
of all bits, set in the register.
*ESR?
- Query the Standard Event register. The generator returns a
decimal value, which corresponds to the binary-weighted sum of all
bits, set in the register.
*IDN?
-
Query the generator’s identity. The returned data is 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, Model 2074 response to *IDN? is:
Tabor,2074,0,1.01
*OPC
- Set the "operation complete" bit (bit 0) in the Standard Event
register after the previous commands have been executed.
*OPC?
- Returns "1" to the output buffer after all the previous
commands have been executed. *OPC? is used for synchronization
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 bus and the
controller handshake are in a temporary hold-off state while the
controller is waiting to read the *OPC? query response.
*OPT?
-
Returns the value “0” for a 2074 with no options.
*RST
- Resets the generator to its default state. Default values are
listed in Table 5-1.
*SRE
<enable_value> - Enables bits in the Status Byte enable register.
*SRE?
- Query the Status Byte enable register. The generator returns
Содержание 5064
Страница 26: ...1 5 Figure 1 2 ArbConnection The Control Panels Figure 1 3 ArbConnection The Wave Composer...
Страница 71: ...2074 User Manual 2 18 This page intentionally left blank...
Страница 145: ...2074 User Manual 3 74 Figure 3 48 Reading the 2074 Internal Temperature...
Страница 207: ...2074 User Manual 4 62 Figure 4 47 Complete Pulse Train Design Figure 4 48 Section 5 of the Pulse Train Design...
Страница 220: ...4 ArbConnection Logging SCPI Commands 4 75 Figure 4 58 Log File Example...
Страница 221: ...2074 User Manual 4 76 This page was intentionally left blank...
Страница 333: ...2074 User Manual 7 2...
Страница 358: ...7 Adjustments and Firmware Update Updating 2074 Firmware 7 27 Figure 7 9 Firmware Update Completed...
Страница 359: ...2074 User Manual 7 28 This page was intentionally left blank...
Страница 360: ...Appendices Appendix Title Page A Specifications A 1 1...
Страница 361: ...2074 User Manual 2...