EasyManua.ls Logo

Giga-tronics 58542 - Sensor Zeroing Examples

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...
Program Examples
Publication 21555, Rev. E, September 2002 A-7
A.3 Sensor Zeroing Examples
A.3.1 Sensor Zeroing Example 1
The following example requests that the operator turn off the signal source or disconnect the sensor
from the source prior to zeroing. It is preferable to disable the source and leave the sensor attached to the
measurement port for proper zeroing. If the source cannot be disabled, use a switch or attach a connector
to the grounded metal near the DUT measurement port. DO NOT attach the sensor to the power
meter’s calibrator port. The zeroing offset process will account for the DUT’s ground plane noise and
thermal emf, not the power meter’s.
410 ASSIGN @Pwr_mtr to 70101
420 CLEAR @Pwr_mtr
430 WAIT 1
440 INPUT Disable the source’s RF output or attach it to a grounded connector. Then hit ENTER.,Dmy
450 PRINT Zeroing Sensor 1
460 OUTPUT @Pwr_mtr;CAL1:ZERO?
470 ENTER @Pwr_mtr;Pass_zer
480 IF Pass_zer=0 THEN PRINT Zeroing Passed
490 IF Pass_zer=1 THEN
500 PRINT Zeroing FAILED, Source turned off?
550 ELSE
560 IF Pass_zer<>0 THEN PRINT Strange Response to CAL1:ZERO?. Clear output Queue?
570 END IF
580 !
A.3.2 Sensor Zeroing Example 2
The following program turns off the signal source, zeros the power sensor, reports a pass/fail indicator
upon completion, and turns the source back on.
400 ASSIGN @Pwr_mtr to 70101
410 ASSIGN @Source to 70102
420 CLEAR @Pwr_mtr
430 WAIT 1
440 OUTPUT @Source RF0! Turns source output power off (<-90dBm).
450 PRINT Zeroing Sensor 1
460 OUTPUT @Pwr_mtr;CAL1:ZERO?
470 ENTER @Pwr_mtr;Pass_zer
480 IF Pass_zer=0 THEN PRINT Zeroing Passed
490 IF Pass_zer=1 THEN
500 Ques$=Zeroing FAILED, Source turned off?
510 OUTPUT @Pwr_mtr;SYST:ERR?
520 ENTER @Pwr_mtr;Err_msg$! Reading an error message clears it.
530 PRINT Err_msg$
540 PRINT Ques$
550 ELSE
560 IF Pass_zer <>0 THEN PRINT Strange Response to CAL1:ZERO?. Clear output Queue?
570 END IF
580 !
590 OUTPUT @Source RF1! Turns source output power back on.

Table of Contents

Related product manuals