12-01-2009 07:27 AM
I am getting back to this problem after a few weeks of business travel. Thanks to all that have made suggestions. However, rather than to try to learn how to do all of this stuff right now, I am going to try to get the global variable thing working one last time because the subVI is so simple in operation and it doesn't justify the time it will take to re-write this entire thing.
I have been convinced that I have to learn how to write/use state machines etc however, I will save that until I get this crunch over.
Per your comments on serial port timeouts, I did some more research on my problem and found out something surprising. I took out all the serial stuff and just tried to pass the several global variables that are in my subVI. I still have that delay...... it isn't the serial call, it appears to be the number of globlas (or the set up) in my subVI.
I am reducing the number of globals that I am using to attempt to figure out at what point this hangs up when tring to close the subVI. Again, the subVI and globals are wortking, it just takes 60-90 seconds to close out after I turn it off.
Any suggestion for this?
12-01-2009 08:45 AM