LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Individual scale minimum/maximum for each slide in array of slides

Solved!
Go to solution

Hello there,

 

is it possible to set different scale minimum/maximum values within an array of slides via property nodes? As far as I know this is not possible. All slides within the array must have the same minimum and maximum value. I have only find a way to change all scales at the same time. Are there other ideas?

 

Thanx in advance

lvw

 

0 Kudos
Message 1 of 5
(4,350 Views)
Solution
Accepted by topic author lvw

Hi lvw

 

You are correct about the array, it's not possible to have different scale values. If you only have a small number you may be able to use a cluster of sliders, then you can set each one individually. You can use the array to cluster and cluster to array to convert data types. You can also use cluster control references to set each scale individually.

 

Ian

0 Kudos
Message 2 of 5
(4,337 Views)

Use a Cluster instead of the Array, there you can set the Scale values independent for every item.

 

Christian

0 Kudos
Message 3 of 5
(4,331 Views)

lvw wrote:

Hello there,

 

is it possible to set different scale minimum/maximum values within an array of slides via property nodes? As far as I know this is not possible. All slides within the array must have the same minimum and maximum value. I have only find a way to change all scales at the same time. Are there other ideas?

 

Thanx in advance

lvw

 


Yes you are correct.

 

Otheres have already suggested using a cluster with more than enough objects that can be shown/hidden.

 

If there is no upper limit then using a cpicture control may help you. Use a single slider and set its range and value then grab its image. Slam that inot a picture control (remeber where!) and do the same for all of the others you need to display. If you want the user to interact with the slider then use the mouse down event from the picture to determine where they clicked and what object was put there (this is where the remebering part comes in). Set an off-screen slider to match the value and range and then make it visable and position same to over-lap the picture. Let the use interact with the control and when they are done copy the updates back to your picture and hide the slider.

 

This has worked well for me. I hope it helps you,

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 5
(4,312 Views)

OK.... limited success...

but as the user moves the slider, a "hint" display of the slider value is shown.

How do I hide this?

0 Kudos
Message 5 of 5
(3,122 Views)