LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Event Structure Help

So I wrote this program not knowing how event structures worked ahead of time, and I did pretty well except for 1 problem.  I set the event to continue on a value change of the "Continue..." button on the bottom right of the screen (block diagram is attached) but when I wrote it, I did so thinking that it would run all the code on the inside first, and then pause for me to pick what I wanted next (that big case structure on the right side) and then click the continue.  Instead the order of operations is backwards, it pauses and waits for me to click "Continue..."  in the very beginning, then runs the code inside. 

 

This would be fine, if it didn't cause the test I was running to be a step behind.

 

Is there a way to change the settings so that it runs the code, and then waits for the "Continue..." button, or do I need to re-write this from psuedo-scratch so that it does everything in the right order?

 

Hope that was all clear, let me know if it's not.

0 Kudos
Message 1 of 3
(2,334 Views)

Sorry, I had my internet freeze up on me and this message was posted twice, but this one was missing the attachment.

Sorry for the duplicates!

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

Main thread: Event problems

 

/Y 

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 3
(2,309 Views)