Manc Pablo
2008-08-07 14:10:08 UTC
After all the great help with data handling, I thought I would ask a question about event structures. I have a main VI that sits around and lets me read in files and change variables. Once I am happy, I press start which fires up some sub VI that start running in the background. I have tried this using event structures. But then disaster strikes!! One of my variables is wrong and I need to stop/reset the sub VIs (without stopping the main program). However, my subVI is running in a timed loop continuously, within the event structure, so it's stuck. Attached is a very simplified VI of what I mean.I basically want to run a program, set up some variables, set off a background subVI, update/reset if needs be and then press the big continue button to the next stage whilst the subVI is still chugging. Any suggestions from the Guru's? I do not think event structures are the way forward
event structures for idiots.vi:
http://forums.ni.com/attachments/ni/170/347531/1/event structures for idiots.vi
event structures for idiots.vi:
http://forums.ni.com/attachments/ni/170/347531/1/event structures for idiots.vi