Agilent Technologies N9340B Programmer's Manual page 59

Spectrum analyzer
Table of Contents

Advertisement

N9340B Programmer's Guide
Standard Event Status Register Query
*ESR?
Queries and clears the standard event status event register.
(This is a destructive read.) The value returned reflects the
current state (0/1) of all the bits in the register.
Range:
Integer, 0 to 255
Example:
*ESR? returns a 1 if there is either a query or command
error, otherwise it returns a zero.
Identification Query
*IDN?
Returns an instrument identification information string. The
string will contain the model number, serial number and
firmware revision. The response is organized into four fields
separated by commas. The field definitions are manufacturer,
model, serial number and software version.
Example:
*IDN? returns instrument information, such as:
Agilent Technologies, N9340B, 45310116, A.01.02
Key access:
SYS > More > Show System
Operation Complete Query
*OPC
*OPC?
Sets bit 0 in the standard event status register to "1" when
all pending operations have finished.
The query stops any new commands from being processed
until the current processing is complete. Then it returns a
"1", and the program continues. This query can be used to
synchronize events of other instruments on the external bus.
Command Reference
5
53

Advertisement

Table of Contents
loading

Table of Contents