LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Property Node: Value Change

Hello,

Is there a property node or something equivalent that return (reading mode) true when there's a change in the value of the control or indicator associated with the property node?

Thanks
0 Kudos
Message 1 of 4
(4,972 Views)
I don't think that there is a "value change" property, however you can use the event structure which does have a value change selection. In this event case, you can set a flag or do whatever you need to do.
- tbob

Inventor of the WORM Global
0 Kudos
Message 2 of 4
(4,972 Views)
If you use an event structure, there is an event Value Change available. If you have an older version of LabVIEW or are using the base version and don't have the event structure, you can use a shift register to keep the previous value and do a comparison with the current value to detect a change.
0 Kudos
Message 3 of 4
(4,972 Views)

Hi Phil,

There's no Property Node for knowing when a value associated with a control/indicator changed. However, the Events Structure (in LV 6.1 and above) can be used for this. The Event structure will "fire" on various events, including value change on the control/indicator and based on this you can execute your logic.

See LabVIEW's online help and the examples in the following library for the usage of Events structure:
your_labview_folder\examples\general\uievents.llb

Hope this helps,

Khalid


0 Kudos
Message 4 of 4
(4,972 Views)