From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

event slider change

hello,

i searched for an example but found nothing.
i want to react if the range of a slider changes.
the only event is the value change event, but this event reacts on value changing and not range changing.


best regards

markus
0 Kudos
Message 1 of 4
(2,259 Views)
You could change the range with another control (boolean buttons or a numeric) and react to that value change event to update the range (with a property node). Or you could programmatically fire a user defined event in combination with polling the range property.
------------------------------------------------------------------------------------
Seriously concerned about the Labview subscription model
0 Kudos
Message 2 of 4
(2,252 Views)
I don't really understand what you mean.
Is it possible to write more details?
0 Kudos
Message 3 of 4
(2,234 Views)
You can try doing the attached.  Make a separate loop that monitors the Range properties of the slider and generate a value change event when one of the Range properties change.  If you have a Timeout event in your event structure, you could put the code in there instead of a separate loop.


Randall Pursley
0 Kudos
Message 4 of 4
(2,230 Views)