LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

update custer elements in effecient way

Solved!
Go to solution

Hi,

 

        I have a cluster of 20 numeric elements. The problem, User clicks element 1 and updates the value, element 1 runs continously. Now user wants to update element 2 but element 1 does not stop and also element 2 has to run continously like element 1. Thiis follows wrt all 20 elements. How do i do in effecient way? If any examples pls do post.

0 Kudos
Message 1 of 17
(3,268 Views)

Please post the code that you have made. The efficient way depends on how you have implemented your code and what is the change required to meet your requirement.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 17
(3,265 Views)

 

Hi,

Please post VI (LabVIEW 2010), your requirements are not clear.

 

With Regards
Miraz
Kudos is better option to thank somebody on this forumSmiley Wink

With Regards

Miraz
Kudos is better option to thank somebody on this forum
------------------------------------------------------------------------------
0 Kudos
Message 3 of 17
(3,259 Views)

Hi,

 

        Thank you for your reply. I have not created any vi yet. I needed to know how its possible to make?

0 Kudos
Message 4 of 17
(3,251 Views)

Hi Jay,

 

yes, that's possible.

 

Now please post your code!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 17
(3,245 Views)

Hi,

 

         I have not created any vi yet.

0 Kudos
Message 6 of 17
(3,239 Views)

Hi,

As I said before, your problem is not clear to me, I have created something stupid here, just check whether it helps.

 

the only thing I made is, your cluster will always be updated with latest values set by user.

but when you say elements are going to run contineously, i thk thats not possible because user will be able to update 1 element at a time.

 

With Regards

Miraz
Kudos is better option to thank somebody on this forum
------------------------------------------------------------------------------
0 Kudos
Message 7 of 17
(3,230 Views)

What is running?  That is the part none of us are understanding.  You can update a value, but there is nothing to run on a value.  So this implies that you are starting or stopping a process.  Please tell us EXACTLY what you are trying to do with your program.



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 8 of 17
(3,202 Views)

Yes. If you have not created VI then create one. I think it's not big issue but no one able to understand without code representation.

so please if you want solution to your problem try to explain with help of code.

 

Thanks Jaysha

0 Kudos
Message 9 of 17
(3,189 Views)

Hi, 

 

       For now a random number is connected. To be more precise, imagine u have 20 while loops for 20 elements and user uses those while loops accordingly depending on the element which he wants to use. The problem is that creating 20 while loops is not a good solution, so i need a effecient and better solution. The choosing of cluster elements is random.

0 Kudos
Message 10 of 17
(3,188 Views)