Event driven reading, registering Callback-vi

Sample files: Sample 006.zip,

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