User Manual 3162A/B
SCPI Command Reference 4-16
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 in the Model 3162B.
*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 3162B s response to *IDN? is:
RACAL INSTRUMENTS,3162B,0,1.0.
*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 1 for a Model 3162B with 1Meg memory.
*RST
- Resets the generator to its default state. Default values are listed
in Table 4-1.
*SRE
<enable_value> - Enables bits in the Status Byte enable register.
*SRE?
- Query the Status Byte enable register. 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.
Summary of Contents for 3162A/B
Page 4: ...This page was left intentionally blank...
Page 10: ...3162A B User Manual vi Support Offices 6 2...
Page 12: ...3162A B User Manual viii This page was left intentionally blank...
Page 17: ...User Manual 3162A B Getting Started 1 5 Figure 1 2 The Front Panel...
Page 23: ...User Manual 3162A B Getting Started 1 11 Figure 1 7 WaveCAD Example...
Page 27: ...User Manual 3162A B Getting Started 1 15 This page was left intentionally blank...
Page 28: ......
Page 34: ...3162A B User Manual Configuring The Instrument 2 6 This page was left intentionally blank...
Page 78: ......