Opc Operation Complete Command - Colby Instruments PDL-100A Operating And Programming Manual

Programmable delay line
Table of Contents

Advertisement

Chapter 5
*OPC
Operation Complete
Command
Syntax *OPC
Example *OPC
Returns None
Programming
Example
*OPC?
Operation Complete Query
Command
Syntax *OPC?
Example *OPC?
Returns <decimal integer><NL>
Programming
Example
© 2010 Colby Instruments. PDL-100A Operating and Programming Manual
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
The *OPC command will cause the PDL-100A to set the
operation complete bit (bit 0) in the Standard Event Status
Register (ESR) when all pending device operations have
finished.
NOTE: The PDL-100A blocks (i.e. does not return) until all
operations are completed.
HP : OUTPUT 705;"*OPC"<NL>
NI : CWGPIB.Write "*OPC"
The *OPC? query returns the status of the operation complete
bit (bit 0) in the Standard Event Status Register(ESR).
0 = Operation pending (not completed yet or not started yet)
1 = Operation completed
HP : DIM OPC$(50)
OUTPUT 705;"*OPC?"<NL>
ENTER 705;OPC$
PRINT(OPC$)
NI : DIM QUERY_RESPONSE As Variant
CWGPIB.Write "*OPC?"
QUERY_RESPONSE = CWGPIB.Read(250)
MsgBox ("Response is " & QUERY_RESPONSE)
Common Commands
COMMAND
QUERY
Page 37

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pdl-100a-625psPdl-100a-1.25nsPdl-100a-10.0nsPdl-100a-20.0nsPdl-100a-100.0nsPdl-100a series

Table of Contents