5-6
Programming Commands
Common Commands
Example
OUTPUT 720;”*ESR?”
ENTER 720;Event
PRINT Event
*IDN?
The *IDN? (identification number) query returns a string value which identi-
fies the instrument type and firmware version.
Syntax
*IDN?
Description
An *IDN? query must be the last query in a program message. Any queries
after the *IDN? query in a program message are ignored.
The maximum length of the identification string is 50 bytes.
Query Response
The following identification string is returned. The third entry is the instru-
ment’s serial number. The last entry in the string is the firmware version num-
ber; this value may vary between instruments.
HEWLETT-PACKARD, 86120B, USaaaabbbb, 2.000
Example
DIM Id$[50]
OUTPUT 720;”*IDN?”
ENTER 720;Id$
PRINT Id$
*OPC
The *OPC (operation complete) command sets the operation complete bit in
the event status register when all pending device operations have finished.
Syntax
*OPC
*OPC?
Description
The *OPC? query places an ASCII “1” in the output queue when all pending
device operations have finished.
This command is useful when the computer is sending commands to other
instruments. The computer can poll the event status register to check when
the Agilent 86120B has completed the operation. Use the *OPC? query to
Summary of Contents for Agilent 86120B
Page 1: ...Agilent 86120B Multi Wavelength Meter User s Guide ...
Page 11: ...Contents 3 Contents Power Cords 8 16 Agilent Technologies Service Offices 8 18 ...
Page 12: ......
Page 38: ......
Page 68: ......
Page 100: ...4 18 Programming Monitoring the Instrument ...
Page 132: ......
Page 230: ......
Page 248: ...8 6 Reference Menu Maps Delta On Menu Delta Off Menu ...
Page 250: ...8 8 Reference Menu Maps System Setup Menu ...
Page 268: ......