Power Meter Remote Operation
1
Keysight N8262A Programming Guide
105
Using the Operation Complete Commands
The
*OPC?
and
*OPC
commands allow you to maintain synchronization between
the computer and the power meter. The
*OPC?
query command places an ASCII
character 1 into the power meter’s output queue when all pending power meter
commands are complete. If your program reads this response before continuing
program execution, you can ensure synchronization between one or more
instruments and the computer.
The
*OPC
command sets bit 0 (Operation Complete) in the Standard Event Status
Register when all pending power meter operations are complete.
Procedure
– Send a device clear message to clear the power meter’s output buffer.
– Clear the event registers with the
*CLS
(clear status) command.
– Enable operation complete using the
*ESE 1
command (standard event
register).
– Send the
*OPC?
(operation complete query) command and enter the result to
assure synchronization.
– Send your programming command string, and place the
*OPC
(operation
complete) command as the last command.
– Send the
*STB?
(status byte query) command to poll the register. This
command does not clear the status byte summary register.
Examples
This example program uses the
*OPC?
command to determine when the power
meter has finished calibrating.
CAL:AUTO ONCE
*OPC?
MEAS:POW:AC?
Содержание N8262A
Страница 1: ...Keysight N8262A P Series Modular Power Meter Programming Guide ...
Страница 6: ...6 Keysight N8262A Programming Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...
Страница 48: ...48 Keysight N8262A Programming Guide ...
Страница 50: ...50 Keysight N8262A Programming Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...
Страница 54: ...54 Keysight N8262A Programming Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...
Страница 122: ...1 Power Meter Remote Operation 122 Keysight N8262A Programming Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...
Страница 184: ...2 MEASurement Commands 184 Keysight N8262A Programming Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...
Страница 222: ...3 CALCulate Subsystem 222 Keysight N8262A Programming Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...
Страница 274: ...5 DISPlay Subsystem 274 Keysight N8262A Programming Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...
Страница 326: ...8 OUTPut Subsystem 326 Keysight N8262A Programming Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...
Страница 340: ...9 PSTatistic Subsystem 340 Keysight N8262A Programming Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...
Страница 418: ...10 SENSe Subsystem 418 Keysight N8262A Programming Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...
Страница 444: ...11 STATus Subsystem 444 Keysight N8262A Programming Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...
Страница 536: ...12 SYSTem Subsystem 536 Keysight N8262A Programming Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...
Страница 564: ...13 TRACe Subsystem 564 Keysight N8262A Programming Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...
Страница 648: ...16 SERVice Subsystem 648 Keysight N8262A Programming Guide ...
Страница 649: ...SERVice Subsystem 16 Keysight N8262A Programming Guide 649 ...
Страница 650: ...16 SERVice Subsystem 650 Keysight N8262A Programming Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...
Страница 668: ...17 IEEE 488 2 Command Reference 668 Keysight N8262A Programming Guide Syntax STB ...
Страница 672: ...17 IEEE 488 2 Command Reference 672 Keysight N8262A Programming Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...