Program Examples
Publication 21555, Rev. E, September 2002
A-41
A.8.6
High Speed Measurement Example 6
The preceding program performed 500 measurements at a rate of 5100 per second then processed and
output the data to the controller. Round trip speed was between 120 and 140 per second. Using 100
measurements per BURSt instead of 500, the round trip speed was 100 to 115 per second.
The following example is similar to the previous program except for the use of EXT triggering to initiate
the BURSt measurement.
10
ALPHA ON
20
CLEAR SCREEN
30
!
40
OPTION BASE 1
50
DIM Id$[50],Err_msg$[70]
60
DIM Ques$[200],A$[80],Chan1sens_1(500)
70
DIM Chan2sens_2(500)
80
!
90
!
100
!#############################################
110
!
Instrument ADDRESS ALLOCATION
120
!
130
ASSIGN @Slot0 TO 70100
! 70100 is Logical Address of the Slot 0 controller
140
ASSIGN @Pwr_mtr TO 70101
! 70101 is Power Meter in 1st position right of slot 0
150
!#############################################
160
!
170
! Identify Attached Instruments
180
!
190
OUTPUT @Slot0;*IDN?
200
ENTER @Slot0;Id$
210
PRINT SLOT 0 is ;Id$
220
!
230
OUTPUT @Pwr_mtr;*IDN?
240
ENTER @Pwr_mtr;Id$
250
PRINT SLOT 1 is ;Id$
260
WAIT 1
270
!
280
!
290
CLEAR @Pwr_mtr
300
WAIT 1
310
OUTPUT @Pwr_mtr;*CLS
! Clears old messages from SYST:ERR buffer
320
WAIT 0.3
330
OUTPUT @Pwr_mtr;CALC1:MODE NORM
! Normal Mode to perform channel configuration
340
OUTPUT @Pwr_mtr;CALC1:POW 1
! Channels 1 or 2 can be either POW 1 or POW 2
350
! RAT and DIFF are illegal in SWIFt and BURSt Modes.
360
!
370
!##########################################
380
!
390
! Entering BURSt Mode
400
!
410
OUTPUT @Pwr_mtr;CALC1:MODE BURS
! Enters BURSt Mode for fastest measurement speeds.
420
!
430
OUTPUT @Pwr_mtr;SENS1:CORR:FREQ 2.44E9
420
! Applies Cal Factor in burst mode
440
! Can be sent before or after CALC#:MODE BURS
450
!
460
OUTPUT @Pwr_mtr;TRIG:SOUR EXT
! EXT TTL Level input begins BURSt Mode measure-
ment.
470
! Can be sent before or after CALC#:MODE BURS
480
!
490
OUTPUT @Pwr_mtr;TRIG:MODE POST
! Data acquired after trigger, not before as with PRE.
500
! Send only after CALC#:MODE BURS
510
!
520
OUTPUT @Pwr_mtr;TRIG:COUN 500
! 500 readings acquired and stored with each trigger.
530
! Send only after CALC#:MODE BURS, following
Содержание 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 ...