LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Handling front panel buttons within an Event structure

Solved!
Go to solution

Is there an easy way to handle front panel buttons inside an event structure? I'm currently using an event structure to pop up a settings tab, but I only can use  buttons that are designated as events. Is there a way to use non-event buttons to run a setup and calibration sequence inside of an event structure?

0 Kudos
Message 1 of 3
(2,182 Views)
Solution
Accepted by topic author AdamHZ

I'm not sure I understand your question. From what you describe you should look into a producer consumer architecture where your event loop receives an event then off-loads the work to be done to the consumer loop. This keeps your Event loop free to receive events. LabVIEW 2012 ships with a good example of this, the Queued Message Handler template project.

Charles Chickering
Architecture is art with rules.

...and the rules are more like guidelines
0 Kudos
Message 2 of 3
(2,178 Views)

I'll try that out

0 Kudos
Message 3 of 3
(2,162 Views)