LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

update custer elements in effecient way

Solved!
Go to solution

So you have cluster with 20 numeric controls inside. After selecting element what you want to do?

0 Kudos
Message 11 of 17
(554 Views)

Hi,

 

           not controls but indicators, For now i just want to wire with random number, In future with daq Analog in.

0 Kudos
Message 12 of 17
(551 Views)

Hi,

Check the VI I posted some time back it shall help you. just replace the cluster with randon number.

With Regards

Miraz
Kudos is better option to thank somebody on this forum
------------------------------------------------------------------------------
0 Kudos
Message 13 of 17
(540 Views)

Hi,

 

Check attached VI. It will help I think.

Download All
0 Kudos
Message 14 of 17
(526 Views)

Do they have to be in seperate loops?  Can they all just run in the same loop.  This would mean they would all have the same update rate.  But then you can put the code for each section in a case structure to disable it.  In the end, everybody supplies their value to the cluster bundle and you have your new value.  Store it in a shift register so that the disabled sections can just pass the "old" value.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 15 of 17
(523 Views)

Hi,

 

        Yep they all run in a same loop and the rate is also same. But won't there be lag in update of the data to the previous cluster elements?

0 Kudos
Message 16 of 17
(515 Views)
Solution
Accepted by jay0909

Not really


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 17 of 17
(490 Views)