11-08-2009 04:02 PM
Hi
I am writing to a shared variable and if there is a change in its value when compared to previous value then I want to execute some control.
Some sample examples for performing the above tasks will be really helpful
Kind Regards
Fareez
11-08-2009 06:23 PM
you might want to consider encapsulating your shared variable inside a functional global and use a shift register to keep track of the last read/write value. Then pass out a boolean value to alert the caller if a new value is detected. Sorry no labview on this pc so i cant give you example code.
11-09-2009 12:54 AM
You can also try registering the shared variables for value change notification, and get the latest value changes in an event structure.
Check the example shipped with your DSC module
DSC Alarm Demo.lvproj
DSC Eventstructure Demo.lvproj