LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing cluster values on the fly

This is just test code to get a basic understanding of how things could work.

 

But yes, I definitely should change my username to Rube Goldberg

0 Kudos
Message 11 of 16
(802 Views)

And I called it by static reference from a different loop because I didn't want it to stop the main loop. I want a popup window to happen

0 Kudos
Message 12 of 16
(802 Views)

Alright. I think this is the solution

 

MAIN VI

xcvxczxvczczvxzv.PNG

 

SUBVI

sadfafa.PNG

0 Kudos
Message 13 of 16
(794 Views)

@David99999 wrote:

And I called it by static reference from a different loop because I didn't want it to stop the main loop. I want a popup window to happen


 

That makes no sense. Since it is a different loop, it won't block the other loop.

 

See if this can give you some ideas.

 

altenbach_0-1679071742498.png

 

 

Message 14 of 16
(790 Views)

@altenbach wrote:

@David99999 wrote:

And I called it by static reference from a different loop because I didn't want it to stop the main loop. I want a popup window to happen


 

That makes no sense. Since it is a different loop, it won't block the other loop.

 

See if this can give you some ideas.

 

altenbach_0-1679071742498.png

 

 


Ok but, if I did it your way, I would have to get that cluster data back to the other loop somehow. Because like I stated before, there will be a TCP connection that will transfer that new updated cluster data to the server

0 Kudos
Message 15 of 16
(787 Views)

This code is just "your code", but cleaned up.

Why can't you do the TCP transfer in the event loop?

I assume you only want to send the new values over the network when they change, right?

If other things need to happen, you need to give all requirements!

 

LabVIEW has plenty of ways to communicate across loops. Once we know the details, we can suggest a solution.

0 Kudos
Message 16 of 16
(778 Views)