User`s manual

Chapter 4 89
IEEE Common Commands
Common Command Descriptions
Common Command Descriptions
*IDN? (Identification Query)
The *IDN? query causes a device to send its identification information
over the bus. The Test Set responds to the *IDN? command by placing
its identification information, in ASCII format, into the Output Queue.
The response data is obtained by reading the Output Queue into a
string variable of length 72. The response data is organized into four
fields separated by commas. The field definitions are described in Table
4-2.
NOTE
The Serial Number format can take one of two forms:
A = alpha character
X = numeric character
The form returned will depend upon the manufacturing date of the Test
Set being queried.
Example BASIC program
Example 4-1 Example
10 DIM A$[10]20 OUTPUT 714;"*IDN?"
30 ENTER 714;A$
40 PRINT A$
50 END
Table 4-2 Device Identification
Field Contents Response from Test
Set
Comments
1 Manufacturer Agilent Technologies
2 Model Depends upon Model of
Test Set
3 Serial Number US12345678 ASCII character “0”, decimal
value 48, if not available
4 Firmware Revision Level A.01.08 ASCII character “0”, decimal
value 48,if not available