Measure[1]|2|3|4[:Scalar][:Power:ac]:Difference Expected_Value>[,<Resolution>[,<Source List>]]] - Agilent Technologies EPM-P Series Programming Manual

Power meters
Hide thumbs Also See for EPM-P Series:
Table of Contents

Advertisement

Power Meter Remote Operation
Measuring Pulsed Signals
10 !Create I/O path name
20 ASSIGN @Power TO 713
30 !Clear the Power Meter's Interface
40 CLEAR @Power
50 !Set the Power Meter to a known state
60 OUTPUT @Power;"*RST"
70 !Configure the Power Meter to make the measurement
80 OUTPUT @Power;"CONF:POW:AC 20DBM,2,(@1)"
90 !Set the reference calibration factor for the sensor
100 OUTPUT @Power;"CAL:RCF 98.7PCT"
110 !Zero and calibrate the power meter
120 OUTPUT @Power;"CAL?"
130 PRINT "ZEROING AND CALIBRATING THE POWER METER"
140 !Verify the outcome
150 ENTER @Power;Success
160 IF Success=0 THEN
170
!Calibration cycle was successful
180
!
190
!Set the measurement units to Watts
200
OUTPUT @Power;"UNIT:POW WATT"
210
!
220
!Set the measurement calibration factor for the
sensor
230
OUTPUT @Power;"SENS:CORR:CFAC 97.5PCT"
240
!Set the power meter for a duty cycle of 16PCT
250
OUTPUT @Power;"SENS1:CORR:DCYC 16PCT"
260
!
270
!Enable the duty cycle correction
280
OUTPUT @Power;"SENS:CORR:DCYC:STAT ON
290
PRINT "MAKING THE MEASUREMENT"
300
!Initiate the measurement
310
OUTPUT @Power;"INIT1:IMM"
320
!... and get the result
330
OUTPUT @Power;"FETC?"
340
ENTER @Power;Reading
350
!
360
PRINT "The result is
370
!
380 ELSE
390
PRINT "THERE WAS A CALIBRATION ERROR!"
400 END IF
410 PRINT "PROGRAM COMPLETED"
420 END
1-70
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
";Reading*1000;"mW"
EPM-P Series Power Meters Programming Guide

Advertisement

Table of Contents
loading

Table of Contents