Idn? - Identification Query; Standard Event Status Register - Keithley 2002 User Manual

Hide thumbs Also See for 2002:
Table of Contents

Advertisement

IEEE-488 Reference
Program fragment
3.10.4
Description
Program fragment
3-32
1. IEEE-488.2 syntax error: Model 2002 received a message that does not follow the defined
syntax of the IEEE-488.2 standard.
2. Semantic error: Model 2002 received a command that was misspelled, or received an
optional IEEE-488.2 command that is not implemented.
3. The instrument received a Group Execute Trigger (GET) inside a program message.
Bit B6, User Request (URQ) — Set bit indicates that the LOCAL key on the Model 2002 front
panel was pressed.
Bit B7, Power On (PON) — Set bit indicates that the Model 2002 has been turned off and
turned back on since the last time this register has been read.
PRINT #1, "output 16; *esr?"
PRINT #1, "enter 16"
Bit Position
Event
Decimal Weighting
Value
Note : Bits B8 through B15 are not shown since they are not used.
Value : 1 = Event Bit Set
0 = Event Bit Cleared
Figure 3-15

Standard Event Status Register

*IDN? — identification query
The identification code includes the manufacturer, model number, serial number, and firmware
revision levels, and is sent in the following format:
KEITHLEY INSTRUMENTS INC., MODEL 2002, xxxxxxx, yyyyy/zzzzz
where; xxxxxxx is the serial number
yyyyy/zzzzz is the firmware revision levels of the
digital board ROM and display board ROM.
PRINT #1, "output 16; *idn?"
PRINT #1, "enter 16"
' Query register
' Get response message from 2002
B7
B6
B5
B4
B3
PON URQ CME EXE
DDE QYE
128
64
32
16
8
7
6
5
4
3
(2 )
(2 )
(2 )
(2 )
(2 )
0/1
0/1
0/1
0/1
0/1
Events : PON = Power On
URQ = User Request
CME = Command Error
EXE = Execution Error
DDE = Device-dependent Error
QYE = Query Error
OPC = Operation Complete
Read the identification code
' Query ID code
' Get response message from 2002
B2
B1
B0
OPC
4
1
2
0
(2 )
(2 )
0/1
0/1

Advertisement

Table of Contents
loading

Table of Contents