To download NI software, including the products shown below, visit ni.com/downloads.
Introduction:
The Datalogging and Supervisory Control Module adds the alarming functionality to network-published shared variables. The alarm levels can typically be configured through the Alarming Page of the Shared Variable Properties Dialog Box. However, using the property node seen in this example, the alarm levels can be changed during run-time.
Steps to run:
1) Open the attached project and run DSC Alarm.vi
2) Adjust the value of the shared variable amongst the various alarm levels and note the output of the alarming indicators on the front panel.
3) Then change the alarm levels and select Update Alarm Levels.
4) Repeat step #2 with the new alarm levels.
5) Select STOP
Block Diagram:
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
How this can be done inside .EXE ? As we can see in the documentation this operation is not supported on run-time system (.EXE)