LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Arrays to control

I want to read numbers from an array one by one to use them as a control to an input.
How can I extract a number one by one from an array to use its value as a control?

This is my actual code (image attached).

I want to replace the control value in the red circle with a value taken from an array, and make a cycle for it to read all the values in the array... changing wether by a timer or a click...

 

0 Kudos
Message 1 of 3
(2,088 Views)

When the array is outside of a For Loop, and all that other code is inside a For Loop, use an auto-indexing tunnel when you feed the array wire into the loop.

 

I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours

0 Kudos
Message 2 of 3
(2,059 Views)

You haven't looked at the In Range and Coerce? Function on the comparison palette have you?

 

What array?

 

That is not your code!  That is a picture of code.  Attach code please or, a snippet (those are pictures that contain code embedded in them.  See menu edit>> create snippet from selection)


"Should be" isn't "Is" -Jay
0 Kudos
Message 3 of 3
(2,050 Views)