08-20-2013 08:17 AM
Hello everybody!!!
Who tells me, why the subVi doesn't start pushing ok botton??
Thanks a lot!!!!
Solved! Go to Solution.
08-20-2013 08:34 AM
Because the VI isn't running.
What are you trying to do here? Is that VI a main VI? If so, then the OK button makes no sense at all. I would also highly recommend hitting the diagram cleanup since it is really hard to tell what is wired to what.
08-20-2013 09:25 AM
This vi starts running and immediately stops. The OK button is not pushed at this time so nothing happens.
Add a While loop structure around your code and a STOP button to terminate it. Take the Wait out of the Case structure.
Then, when running the vi the loop will keep it alive until you press STOP. Pressing OK during run will execute the code inside the Case structures.