Program Examples
Publication 21555, Rev. E, September 2002
A-13
A.4.2
Reading Power Measurements Example 2
If sending the MEAS#? command, two configuration changes occur. These are listed as shown below. To
perform measurements without changing the configuration, use the READ#? command.
Command/Configuration Item
MEAS#? Auto-Setting
SENS#:A VER:COUN:AUTO
ON
INIT:CONT
OFF
No other items than the above will change configuration when sending the MEAS#? command.
The following example illustrates that Auto-Averaging changes the active averaging number. Since
Auto-Averaging was activated through use of the MEAS#? command, the averaging value currently in
use when Auto-Averaging is set to OFF is taken as the new averaging number. This is likely to differ
from the averaging number in effect before the MEAS#? command was sent. If this is an undesirable
effect, remember to read the averaging number using SENS#:AVER:COUN? and store the value for post
Auto-Averaging output at the conclusion of the MEAS#? power meter reading measurement routine.
260
ASSIGN @Pwr_mtr to 70101
270
CLEAR @Pwr_mtr
290
WAIT 1
300
OUTPUT @Pwr_mtr;CALC1:MODE NORM
310
OUTPUT @Pwr_mtr;SENS1:AVER:COUN:AUTO OFF
320
OUTPUT @Pwr_mtr;SENS1:AVER:COUN:AUTO?
330
ENTER @Pwr_mtr;A$
340
PRINT A$,1 is AUTO ON
350
OUTPUT @Pwr_mtr;SENS1:AVER:COUN 16
360
OUTPUT @Pwr_mtr;SENS1:AVER:COUN?
370
ENTER @Pwr_mtr;A$
380
PRINT A$,16 MEANS AVERAGING #=16 ACCEPTED.
390
OUTPUT @Pwr_mtr;INIT:CONT ON
400
OUTPUT @Pwr_mtr;INIT:CONT?
410
ENTER @Pwr_mtr;A$
420
PRINT A$,1 is INIT:CONT ON
430
OUTPUT @Pwr_mtr;CALC1:POW 1
! Channel 1 configured to measure sensor 1 power
440
!
450
OUTPUT @Pwr_mtr;SENS1:CORR:FREQ 1.44E9
! Applies Cal Factor for 1.44 GHz.
460
!
470
FOR I=1 TO 10
480
OUTPUT @Pwr_mtr;MEAS1?
! Measures Power at sensor.
490
ENTER @Pwr_mtr;Rdg
500
PRINT Rdg
510
NEXT I
520
!
530
OUTPUT @Pwr_mtr;SENS1:AVER:COUN:AUTO?
540
ENTER @Pwr_mtr;A$
550
PRINT A$,1 is AUTO ON
560
OUTPUT @Pwr_mtr;INIT:CONT?
570
ENTER @Pwr_mtr;A$
580
PRINT A$,1 is INIT:CONT ON
590
OUTPUT @Pwr_mtr;SENS1:AVER:COUN:AUTO OFF
600
OUTPUT @Pwr_mtr;SENS1:AVER:COUN:AUTO?
610
ENTER @Pwr_mtr;A$
620
PRINT A$,1 is AUTO ON
630
OUTPUT @Pwr_mtr;SENS1:AVER:COUN?
640
ENTER @Pwr_mtr;A$
650
PRINT A$,Value not equal to 16 means reset by Auto-Averaging during MEAS#?
760
!
770
END
Содержание 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 ...