EasyManuals Logo

HP E4418B Programming Guide

HP E4418B
481 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #114 background imageLoading...
Page #114 background image
prog.book : chapter1.fm 90 Mon Feb 15 09:24:37 1999
Power Meter Remote Operation
Status Reporting
1-90 HP E4418B/E4419B Programming Guide
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 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

Table of Contents

Other manuals for HP E4418B

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP E4418B and is the answer not in the manual?

HP E4418B Specifications

General IconGeneral
BrandHP
ModelE4418B
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals