cancelasync
Cancel asynchronous read and write operations
Description
cancelasync(GObj)
cancels all asynchronous
read and write operations that are in progress for the group object specified by
GObj
. This function is asynchronous and does not block the
MATLAB® command line.
After cancelasync
cancels the in-progress asynchronous
operations, the OPC server generates a cancel async event. If you specify a callback
function file for the CancelAsyncFcn
property, the callback
function executes when this event occurs.
cancelasync(GObj,TransID)
cancels the
asynchronous operations, specified by the transaction IDs given by
TransID
. You can cancel specific asynchronous requests using
this syntax.
Examples
Version History
Introduced before R2006a