LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Event structure with value changes

Solved!
Go to solution

You should spend a bit of time to learn about producer / consumer design pattern with events.

Basically, you would have two loops running in parallel, where the top loop (producer) handles the events and the consumer loop (consumer) executes the state triggered by the events.

 

The messages from the producer to the consumer loop are typically passed using a queue or notifier.

 

The reason I am mentionning this is so that your program can scale and to ensure a better response from the GUI.

 

It is worth investing time to learn what I suggest.  You'll be using that architecture more often than you can imagine.

0 Kudos
Message 91 of 92
(582 Views)

Can you please take a look at another topic of mine about plotting too? I got a problem with defining axis names and plotting I got stuck now.

 

Thanks

0 Kudos
Message 92 of 92
(571 Views)