58542 VXIbus Universal Power Meter
A-48
Publication 21555, Rev. E, September 2002
A.11
Instrument & Sensor Identification Examples
A.11.1
Instrument Identification
The following example reads manufacturer identification, model number and software version number.
Software version number is important for troubleshooting and factory technical support. Make sure user
or users can identify the software version when requesting technical support.
10
ALPHA ON
20
DIM ID$[60],Mfgr$[12]
! FOR INSTRUMENT ID VIEWING AT START UP
30
!
40
CLEAR SCREEN
50
!
60
!#################################################
70
! Instrument ADDRESS ALLOCATION
80
!
90
ASSIGN @Slot0 TO 70100
! 70200 is Logical Address of the Slot 0 controller
100
ASSIGN @Pwr_mtr TO 70101
! Default Power Meter Address of 255 allows VXI dynamic
110
! address configuration
120
!
130
!#################################################
140
!
150
OUTPUT @Slot0;*IDN?
160
ENTER @Slot0;Id$
170
PRINT SLOT 0 is ;Id$
180
!
190
OUTPUT @Pwr_mtr;*IDN?
200
ENTER @Pwr_mtr;Mfgr$,Model,No,Software_ver
! DIM Mfgr$ to 12 characters
210
PRINT A;Mfgr$; model;Model;with software version;Software_ver;is installed in slot 1.
211
!
212
! Main Measurement Loop Start.
Instrument identification can be read as a single string as is done in lines 150 to 170 above. Sometimes,
however, it is more convenient to read these four items separately for use in comment statements or as
identifiers for selecting special command libraries or subroutines.
Summary of Contents for 58542
Page 3: ...DECLARATION OF CONFORMITY ...
Page 4: ......
Page 18: ...58542 VXIbus Universal Power Meter xiv Publication 21555 Rev E September 2002 ...
Page 20: ...58542 VXIbus Universal Power Meter xvi Publication 21555 Rev E September 2002 ...
Page 30: ...58452 VXIbus Universal Power Meter 1 10 Publication 21555 Rev E September 2002 ...
Page 92: ...58542 VXIbus Universal Power Meter 2 62 Publication 21555 Rev E September 2002 ...
Page 104: ...58452 VXIbus Universal Power Meter 3 12 Publication 21555 Rev E September 2002 ...
Page 126: ...58452 VXIbus Universal Power Meter 5 8 Publication 21555 Rev E September 2002 ...
Page 171: ......
Page 172: ......
Page 173: ......
Page 174: ...21360 Rev A has not been u ...
Page 175: ......
Page 176: ......
Page 177: ......
Page 178: ......
Page 179: ......
Page 180: ......
Page 181: ......
Page 182: ......
Page 248: ...58542 VXIbus Universal Power Meter C 2 Publication 21555 Rev E September 2002 ...