LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make one digit control ARRAY and SLIDE??

Hello everyone ,i am a new user .i want to control ARRAY and SLIDE in one digit Control ,I post the photo you can see it is two digit control one by Array one by Slide ,how can i put this TWO digit control  into one .when i put 2 then show the result in Array and the Slide move to 2?
0 Kudos
Message 1 of 7
(4,250 Views)
You can create a custom control.  I attached a version in 7.1.

The issue with this will be I do not believe you will be able to programatically change the scale range, so this will work fine if you always get the same number of values back.

The other alternative is to hide the array index and use the event structure, so whenever you change the value of the slider, you change the Index value using a property node.  This way, you can dynamically change the slide scale.
0 Kudos
Message 2 of 7
(4,235 Views)

First thanks Matthew.But the rusult is not exactly i need.In  my whole Programm the Slide is to control the Two cameras captured photo on the DISPLAY ,and the ARRY is to show the result form the GENERATOR ,and i want is when i  sliding the photo to second the Diplay show the second photo and the ARRAY also show the second result (i have solve the time problem ,capturing Photo and Geting Generator result at same time).this is the last step in my programm .And i post what have i done the Front panel.Hope anyone can help

thank you!

0 Kudos
Message 3 of 7
(4,214 Views)
In that case, you'll want to use the event structure.  Have an event fire when the slider value changes.  In the event, change the displayed index of the array and show the second picture.
0 Kudos
Message 4 of 7
(4,206 Views)

Could you show me the way how to do this?Cus i cant solve it now.i have never use EVENT stucture.when i slide the SLIDE then also change the ARRAY number

thank you

0 Kudos
Message 5 of 7
(4,194 Views)
0 Kudos
Message 6 of 7
(4,168 Views)
thank you very much!
0 Kudos
Message 7 of 7
(4,142 Views)