EasyManua.ls Logo

Giga-tronics 58542 - Page 200

Default Icon
252 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
58542 VXIbus Universal Power Meter
A-18 Publication 21555, Rev. E, September 2002
A.4.7 Reading Power Measurements Example 7
The following example is similar to the example above; however, it now uses TRIG:SOUR BUS instead
of IMMediate so that triggering is controlled by the TRIG command. EXT or TTLT triggering can not
be used in NORMal Mode. Additionally, INIT:CONT is set to OFF, allowing the INIT (or INIT:IMM)
command to control arming of the triggering cycle.
280 ASSIGN Pwr_mtr to 70101
290 CLEAR @Pwr_mtr
300 WAIT 1
310 OUTPUT @Pwr_mtr;CALC1:MODE NORM! Can ONLY send Configuration Commands in Normal Mode!!
320 OUTPUT @Pwr_mtr;TRIG:SOUR BUS ! Program controls triggering with TRIG or *TRG
330 OUTPUT @Pwr_mtr;INIT:CONT OFF ! Program controls instrument trigger arming
340 !
350 OUTPUT @Pwr_mtr;SENS2:AVER:COUN 1 ! Sets averaging to manual and one sample per reading.
360 OUTPUT @Pwr_mtr;CALC1:POW 2 ! Channel 1 configured to measure sensor 2 power
370 !
380 OUTPUT @Pwr_mtr;SENS2:CORR:FREQ 17.4E9
! Applies Cal Factor for 17.4 GHz to data.
390 !
400 FOR I=1 TO 10
410 OUTPUT @Pwr_mtr;INIT ! INIT arms the triggering and measurement cycle
420 OUTPUT @Pwr_mtr;TRIG ! BUS trigger
430 OUTPUT @Pwr_mtr;FETC1? ! Measures Power at sensor.
440 ENTER @Pwr_mtr;Rdg
450 PRINT Rdg
460 NEXT I
470 !
670 END

Table of Contents