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
Содержание E4418B
Страница 22: ...prog book progLOF doc 12 Mon Feb 15 09 24 37 1999 Contents 12 HP E4418B E4419B Programming Guide ...
Страница 24: ...prog book progLOT doc 14 Mon Feb 15 09 24 37 1999 Contents 14 HP E4418B E4419B Programming Guide ...
Страница 25: ...prog book chapter1 fm 1 Mon Feb 15 09 24 37 1999 1 Power Meter Remote Operation ...
Страница 138: ...prog book ch2meas fm 1 Mon Feb 15 09 24 37 1999 2 MEASurement Instructions ...
Страница 200: ...prog book ch3calc fm 1 Mon Feb 15 09 24 37 1999 3 CALCulate Subsystem ...
Страница 228: ...prog book ch4cal fm 1 Mon Feb 15 09 24 37 1999 4 CALibration Subsystem ...
Страница 242: ...prog book ch5disp fm 1 Mon Feb 15 09 24 37 1999 5 DISPlay Subsystem ...
Страница 260: ...prog book ch6form fm 1 Mon Feb 15 09 24 37 1999 6 FORMat Subsystem ...
Страница 264: ...prog book ch7mem fm 1 Mon Feb 15 09 24 37 1999 7 MEMory Subsystem ...
Страница 294: ...prog book ch8out fm 1 Mon Feb 15 09 24 37 1999 8 OUTput Subsystem ...
Страница 302: ...prog book ch9sens fm 1 Mon Feb 15 09 24 37 1999 9 SENSe Subsystem ...
Страница 360: ...prog book ch10stat fm 1 Mon Feb 15 09 24 37 1999 10 STATus Subsystem ...
Страница 384: ...prog book ch11syst fm 1 Mon Feb 15 09 24 37 1999 11 SYSTem Subsystem ...
Страница 420: ...prog book ch12trig fm 1 Mon Feb 15 09 24 37 1999 12 TRIGger Subsystem ...
Страница 434: ...prog book ch13unit fm 1 Mon Feb 15 09 24 37 1999 13 UNIT Subsystem ...
Страница 442: ...prog book ch14serv fm 1 Mon Feb 15 09 24 37 1999 14 SERVice Subsystem ...
Страница 452: ...prog book ch15ieee fm 1 Mon Feb 15 09 24 37 1999 15 IEEE488 2 Command Reference ...
Страница 481: ...prog book progIX doc 6 Mon Feb 15 09 24 37 1999 Index 6 HP E4418B E4419B Programming Guide ...