How Can I Create Events Triggered by the Change of a Shared Variable Value?

Updated Dec 20, 2023

Reported In

Software

  • LabVIEW
  • LabVIEW Datalogging and Supervisory Control Module

Issue Details

I am using the Shared Variable Engine (SVE) to transfer data between different VIs. I need to trigger an event inside an event structure of my LabVIEW application when the value of my variables change. 

How can I implement this?

Solution

The only direct method for implementing events triggered by a value change of a network shared variable is using the LabVIEW Datalogging and Supervisory Control Module.

You can find examples for implementation by using the Example Finder of LabVIEW and searching for the Simple Shared Variable and Event Monitor.lvproj. There is also an example provided by our community .

Additional Information

Please note that the LabVIEW Datalogging and Supervisory Control Module is only available for Windows Hosts. Therefore using events triggered by the change of network shared variables is not available for Real-Time Targets.