51
*OPC
Signal When Operation Complete
Syntax:
*OPC
Parameters:
None
Function:
This command provides a means of synchronizing operations between the
2835-C and the host. This command sets the Operation Complete bit (bit 0) of
the Event Status register to 1 when all pending operations have completed.
This bit will remain 1 until cleared by the *CLS command or the *ESR? query.
This command can be used in conjunction with the *ESE and *SRE commands
to cause a Service Request on the GPIB bus when all pending operations are
complete. Once the *OPC command is received, it will not set the operation
complete bit to 1 while any of the following operations are in progress:
Single acquisition in progress
Data store enabled with fixed data store buffer
The meter is ranging
Related Commands:
*ESE, *ESE?, *ESR?, *OPC?, *SRE, *SRE?, *STB?, *WAI
*OPC?
Operation Complete Query
Syntax:
*OPC?
Parameters:
None
Function:
This query provides a means of synchronizing operations between the 2835-C
and the host. This command generates a response when all pending opera-
tions have completed.
When all pending operations are complete, this query will cause the Message
Available bit (bit 4) of the Status Byte to be set because of the response
generated. By enabling bit 4 of the Service Request Enable register (see *SRE),
the *OPC? query can be used to cause a Service Request on the GPIB bus
when all pending operations are complete.
Once the *OPC? query is received, the response will not be generated while
any of the following operations are in progress:
Single acquisition in progress
Data store enabled with fixed data store buffer
The meter is ranging
The *CLS or *RST commands, as well as a GPIB interface device clear, will
cancel the operation complete query.
Returns:
1
The response is generated when all pending operations are complete.
Related Commands:
*OPC, *SRE, *SRE?, *STB?, *WAI
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com