07-05-2007 11:36 AM
07-05-2007 12:54 PM
07-05-2007 01:41 PM
Thanks for the response.
The sub VI is required to have its own loop. So by "running in parallel" and "launching dynamically," I presume you mean transplanting the entire contents of the sub VI into the main VI? I was worried about doing this as I thought it would complicate things. But I guess it's the only way to concurrently control the main and sub VIs. Also, I suppose that would prevent me from having to create typedefs? Or would that still streamline the passing of values within the main VI?
To address your other comments:
1) I see what you're saying about the serial port initialization. I think I can put the VISA Configure Serial Port.vi outside of the while loop in the main VI, as it should be initialized everytime the program is run (regardless of what action/s is/are being performed).
2) I can add error I/Os with the serial communcation. I believe I had started doing it in the third flat sequence box of the main VI (then true, then stacked sequence)...but got sidetracked by functionality issues related to the serial port write.
3) It seemed to be that the way I currently send values to the sub VI was probably clumsy. I'll look into the typedefs that you mentioned.
Thanks,
Meredith
07-05-2007 02:45 PM - edited 07-05-2007 02:45 PM
Message Edited by smercurio_fc on 07-05-2007 02:46 PM
07-05-2007 02:56 PM