I'm a little confused. The code ou sent me only has three VIs in it: the two calibration VIs and the interface VI. So I'm not sure what you mean by the third and fourth VIs. If you turn on execution highlighting, does one of the subVIs never stop executing?
In any case, I've looked at you code and it's a little hard to read because you must have a very large monitor that you work on--or very good eyes. In any case, the only thing I would suggest right off hand is to do away with the globals and pass the data values by wires.
Also, don't use the file IO routines you have. They both have error handlers built into them and so are not really suited for being included inside an application such as yours. Th
e thing to do is resave the vi to your private work directory. Next remove the General Error Hangler vi inside it and connect the error IO to terminals.
Mike...
PS: Where are you located? Is it very late there right now, or very early?