Program Examples
Publication 21555, Rev. E, September 2002
A-19
A.4.8
Reading Power Measurements Example 8
The following program shows fast BUS triggering in the SWIFt Mode. TRIG (or *TRG) is used to
acquire data, and FETCh#? processes and outputs the data to the slot 0 controller/resource manager.
This program does not use the meter’s data buffering capability.
170
ASSIGN @Pwr_mtr to 70101
180
CLEAR @Pwr_mtr
190
WAIT 1
200
OUTPUT @Pwr_mtr;*CLS
! Clears old messages from SYST:ERR buffer
205
WAIT 0.3
210
PRINT Running...
220
!
230
OUTPUT @Pwr_mtr;CALC1:MODE NORM
! NORMal Mode to perform channel configuration
240
OUTPUT @Pwr_mtr;CALC1:POW 1
! Channels 1 or 2 can be either POW 1 or POW 2
250
! RAT and DIFF are illegal in SWIFt and BURSt Modes.
260
!
270
!##########################################
280
!
290
! Entering SWIFt Mode
300
!
310
OUTPUT @Pwr_mtr;CALC1:MODE SWIF
! Enters SWIFt Mode for fastest individual data point
! triggered measurements.
320
!
330
OUTPUT @Pwr_mtr;SENS1:CORR:FREQ 1.44E9
! Applies Cal Factor in SWIFt mode
340
! Can be sent before or after CALC#:MODE SWIF
350
!
360
OUTPUT @Pwr_mtr;TRIG:SOUR BUS
! BUS or EXT triggering is slower than IMM
370
! Can be sent before or after CALC#:MODE SWIF
380
!
390
FOR I=1 TO 10
400
FOR K=1 TO 20
410
OUTPUT @Pwr_mtr;TRIG
! TRIG is the SCPI Bus trigger. Can also use *TRG
420
OUTPUT @Pwr_mtr;FETC1?
! FETC#? acquires data
430
ENTER @Pwr_mtr;Chan1sens_1(K)
440
!ENTER @Pwr_mtr;Chan1sens_1(K),Chan2sens_2(K)
! Use this line when two sensors are attached.
450
NEXT K
460
!
470
PRINT Chan1sens_1(*)
480
!PRINT Chan1sens_1(*),Chan2sens_2(*)
! Use this line when two sensors are attached.
490
PRINT “”
500
NEXT I
510
!
520
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 ...