Model 2701 User’s Manual
Common Commands
12-3
A *IDN? — identification query
Reads identification code
The identification code includes the manufacturer, model number, serial number, and
firmware revision levels and is sent in the following format:
KEITHLEY INSTRUMENTS Model 2701, xxxxxxx, yyyyy/zzz
Where:
xxxxxxx is the serial number.
yyyyy/zzzzz is the firmware revision levels of the digital board ROM and
display board ROM.
B *OPC
⎯
Operation Complete
Set the OPC bit in the standard event register
after all pending commands are complete.
Description
After the *OPC command is sent, the Operation Complete bit (bit B0) of the Standard
Event Status Register will set immediately after the last pending command is completed.
If the corresponding bit (Bit B0) in the Standard Event Enable Register and Bit 5 (Event
Summary Bit) of the Service Request Enable Register is set, the MSS (Master Summary
Status) bit in the Status Byte Register will set.
When used with the immediate initiation command (:INITiate), the OPC bit in the
Standard Event Status Register will not set until the Model 2701 goes back into the idle
state. The :INIT command operation is not considered finished until the Model 2701 goes
back into the idle state. See the description for *WAI for more information on command
execution.
Programing example
– The first group of commands program sends the *OPC command
after the :INITiate command and verifies that the OPC bit in the Standard Event Status
Register does not set while the instrument continues to make measurements (not in idle).
The second group of commands return the Model 2701 to the idle state and verifies that
the OPC bit did set.
SYST:PRES
' Returns 2701 to default setup.
INIT:CONT OFF
' Disables continuous initiation.
ABORt
' Aborts operation. Places 2701 in idle.
INIT:IMM
' Initiate one trigger cycle.
*OPC
' Sends the OPC command.
*ESR?
' Reads the Standard Event Status Register.
2701-900-01.book Page 3 Wednesday, August 3, 2011 9:43 AM
Summary of Contents for 2701
Page 344: ...12 CommonCommands 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 366: ...15 SCPIReferenceTables 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 393: ...A Specifications 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 399: ...B Model7700ConnectionGuide 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 410: ...C StatusandErrorMessages 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 417: ...D SignalProcessing SequenceandDataFlow 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 430: ...E MeasurementConsiderations 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 450: ...G KE2700InstrumentDriver Examples 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...