58542 VXIbus Universal Power Meter
A-8
Publication 21555, Rev. E, September 2002
Zeroing is recommended whenever performing critical final power measurements in the bottom 15 to 20
dB of a power sensors dynamic range. Zeroing removes zero drift error from the measurement. At higher
power levels, zero drift is typically insignificant when compared to the other sources of error such as
source/sensor mismatch uncertainty.
A.3.3
Error Control Examples
Selected basic SCPI syntax and execution errors apply to these commands.
The following command will operate properly.
460
OUTPUT @Pwr_mtr;CAL1?
! Calibrate channel 1
The following command is not a legal command. The 58542 only has two channels.
460
OUTPUT @Pwr_mtr;CAL3?
! Calibrate channel 3
If the user asks for error information, the error reporting is as follows:
510
OUTPUT @Pwr_mtr;SYST:ERR?
520
ENTER @Pwr_mtr;Err_msg$
! Reading an error message clears it.
530
PRINT Err_msg$
Program Output:
-7,Invalid Error Number
The following command is not a legal command. The command is mis-typed.
460
OUTPUT @Pwr_mtr;CALS?
! Calibrate channel 3
If the user asks for error information, the error reporting is as follows.
510
OUTPUT @Pwr_mtr;SYST:ERR?
520
ENTER @Pwr_mtr;Err_msg$
! Reading an error message clears it.
530
PRINT Err_msg$
Program Output:
-113,Undefined Header;CALS
Device-specific errors include the following.
-300,Device-specific error;No Sensor
The following examples demonstrate the conditions for various errors.
380
ASSIGN @Pwr_mtr to 70101
390
CLEAR @Pwr_mtr
400
WAIT 1
401
INPUT Disconnect Sensor From Cable for Error Demonstration. Then hit ENTER.,Dmy
410
PRINT Calibrating Sensor 1
420
OUTPUT @Pwr_mtr;CAL1?
430
ENTER @Pwr_mtr;Pass_cal
440
IF Pass_cal=0 THEN PRINT Calibration Passed
450
IF Pass_cal=1 THEN
460
Ques$=Calibration FAILED, sensor on calibrator?
470
OUTPUT @Pwr_mtr;SYST:ERR?
480
ENTER @Pwr_mtr;Err_msg$
! Reading an error message clears it.
490
PRINT Err_msg$
500
PRINT Ques$
520
ELSE
521
IF Pass_cal<>0 THEN PRINT Strange Response to CAL1?. Clear output Queue?
530
END IF
531
!
532
!
533
STOP
Program Output:
Calibrating Sensor 1
Содержание 58542
Страница 3: ...DECLARATION OF CONFORMITY ...
Страница 4: ......
Страница 18: ...58542 VXIbus Universal Power Meter xiv Publication 21555 Rev E September 2002 ...
Страница 20: ...58542 VXIbus Universal Power Meter xvi Publication 21555 Rev E September 2002 ...
Страница 30: ...58452 VXIbus Universal Power Meter 1 10 Publication 21555 Rev E September 2002 ...
Страница 92: ...58542 VXIbus Universal Power Meter 2 62 Publication 21555 Rev E September 2002 ...
Страница 104: ...58452 VXIbus Universal Power Meter 3 12 Publication 21555 Rev E September 2002 ...
Страница 126: ...58452 VXIbus Universal Power Meter 5 8 Publication 21555 Rev E September 2002 ...
Страница 171: ......
Страница 172: ......
Страница 173: ......
Страница 174: ...21360 Rev A has not been u ...
Страница 175: ......
Страница 176: ......
Страница 177: ......
Страница 178: ......
Страница 179: ......
Страница 180: ......
Страница 181: ......
Страница 182: ......
Страница 248: ...58542 VXIbus Universal Power Meter C 2 Publication 21555 Rev E September 2002 ...