Keysight N1911A Programming Manual page 91

P-series power meters
Hide thumbs Also See for N1911A:
Table of Contents

Advertisement

Power Meter Remote Operation
1
Examples
This example program uses the *OPC? command to determine when the power
meter has finished calibrating.
CAL:AUTO ONCE
*OPC?
MEAS:POW:AC?
This example GPIB program, in HP Basic, uses the *OPC command and serial poll
to determine when the power meter has finished calibrating. The advantage to
using this method over the *OPC? command is that the computer can perform
other operations while it is waiting for the power meter to finish calibrating.
10 ASSIGN @Power TO 713
20 OUTPUT @Power;"*CLS"
30 OUTPUT @Power;"*ESE 1"
40 OUTPUT @Power;"CAL:AUTO ONCE;*OPC"
50 WHILE NOT BIT(SPOLL(@Power),5)
60 !(Computer carries out other operations here)
70 END WHILE
80 OUTPUT @Power;"MEAS:POW:AC?"
90 ENTER @Power;Result
100 PRINT Result
110 END
N1911A/1912A P-Series Power Meters Programming Guide
91

Advertisement

Table of Contents
loading

This manual is also suitable for:

N1912a

Table of Contents