Event driven reading, registering Callback-vi
Sample files: Sample 006.zip,
- To use an asynchronous method, a callback VI is registered that is called by the AdsOcx.
- The event element is linked to the AdsOcx reference and the event to be called is selected.
- The callback VI must have a very specific parameter structure. You can have LabVIEW™ create the callback VI.
- The event callback VI should then be saved under a unique name.