Maintenance
Publication 21555, Rev. E, September 2002 5-5
5.4.2 Diagnostic Test Commands
Table5-1 lists the VXI Diagnostic commands for testing and adjusting the 58542 VXIbus Universal
Power Meter. A typical example is shown after the command syntax. Some commands are described in
the maintenance/calibration section.
It is necessary to disable channels 1 and 2 from taking measurements before using these diagnostic
commands. This is accomplished with the following commands:
CALC1:STAT OFF
CALC2:STAT OFF
Table 5-1: Diagnostic Commands
Command Syntax Function
DIAGnostic:ADC?
OUTPUT @PWR_MTR;DIAG:ADC?
Query analog to digital converter reading
(Return: 0 - 32767)
DIAGnostic:AVADC?space16
OUTPUT @PWR_MTR;DIAG:AVADC? 16
Query analog to digital reading with 16 average
(Average from 1 to 512) (Return: 0 - 32767)
DIAGnostic:AVOLT?space16
OUTPUT @PWR_MTR;DIAG:AVOLT? 16
Query analog to digital reading in volts with 16
average (Average from 1 to 512) (Return: 0 - 10)
DIAGnostic:BNC:ANAlogspace5.5
OUTPUT @PWR_MTR;DIAG:BNC:ANA 5.5
Set analog BNC port output to 5.5V (-10 - 10)
DIAGnostic:BNC:TRIGger?
OUTPUT @PWR_MTR;DIAG:BNC:TRIG?
Query EXT trigger input high, 5V or low, 0.00V,
status (1: Triggered, 0: No trigger)
DIAGnostic:BNC:VPROpf?
OUTPUT @PWR_MTR;DIAG:BNC:VPRO?
QueryV
PROP
F port reading (0 - 32767)
DIAGnostic:CALibrator:ATTenuatorspace10
OUTPUT @PWR_MTR;DIAG:CAL:ATT 10
Set calibrator attenuator to 10dB (0 - 40)
DIAGnostic:CALibrator:ATTenuator?
OUTPUT @PWR_MTR;DIAG:CAL:ATT?
Query calibrator attenuator value
DIAGnostic:CALibrator:EEPROMspace100
OUTPUT @PWR_MTR;DIAG:CAL:EEPROM 1800123,30,9,23,6,92,0,123456
Set calibrator EEPROM data: cal fac, s/n, min,
hr, day, month, yr, password flag (0:Disable,
1:Enable), password
DIAGnostic:CALibrator:EEPROM?
OUTPUT @PWR_MTR;DIAG:CAL:EEPROM?
Query calibrator eeprom data
DIAGnostic:CALibrator:POWerspace-23.5
OUTPUT @PWR_MTR;DIAG:CAL:POW-23.5
Set calibrator power to -23.5dBm
DIAGnostic:CALibrator:PTEMperature?
OUTPUT @PWR_MTR;DIAG:CAL:PTEM?
Query calibrator temperature (in Celsius)
DIAGnostic:CALibrator:SOURcespace9.5
OUTPUT @PWR_MTR;DIAG:CAL:SOUR 9.5
Set calibrator internal power to 9.5dBm (Power
output indBm assuming perfect 10dB pad)
DIAGnostic:CALibrator:VAMB?
OUTPUT @PWR_MTR;DIAG:CAL:VAMB?
Query calibrator bridge volts (0 - 10)
DIAGnostic:CTABle?space<Sensor1 or 2>
OUTPUT @PWR_MTR;DIAG:CTAB? 1
Query sensor 1 calibration data