ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

for loops and clusters

Hi all,

I should build a cluster containing two I32 controls but while the first one will not change the second should change according to a for loop ie: cluster value = i * function (i=1,2,3,4.....); how can I do this? Can you attach an example please I'm new to labview ....

I tried using a local variable but when I copy it into the cluster its value will not change during operation.


thank you
0 Kudos
Message 1 of 6
(3,078 Views)
Hi Mal

Is this the sort of thing you mean ?
0 Kudos
Message 2 of 6
(3,071 Views)
Let's try again with Controls rather than Indicators .... doh !
0 Kudos
Message 3 of 6
(3,067 Views)
Hello mal:

I suggest that you would use the "Unbundle"/"Bundle" functions for your cluster, and place these functions inside your for loop. Please see attachment for example.

Please inform me if you have any other questions.
0 Kudos
Message 4 of 6
(3,067 Views)
Hi again

I've just a little problem ... I'm using Labview 70 and I cannot open your vis (made by Labview 7.1) could you please provide me an image (a gif for example) ?

thank you
0 Kudos
Message 5 of 6
(3,047 Views)
Try this. 🙂
0 Kudos
Message 6 of 6
(3,043 Views)