06-09-2008 11:25 AM
06-09-2008 12:15 PM
In solution 2 are you talking about doing it in the following way:
1. Event structure to capture the close
2. Send a notifier to notify the subvi to start closing. You can have it done sequentially done by having the subvi receive a notification and in turn send a notification to the next subvi to initiate a shutdown.
3. The subvi that is last to finish send a notfication to the main VI to shutdown
4. The main vi finally completes the shutdown.
06-10-2008 03:17 PM
Hi Nickerbocker,
It sounds like what you would like to happen is have the subpanel execute the closing code then close followed by the main VI closing. If you wired the stop control through the subpanel before running it to the main VI stop procedure you should be able to accomplish this. You can then add the closing code inside or sequencially after the subpanel VI.
It would help if you could like to include your VI or pictures of the specific VI where the subpanel is called. Let me know if you have any other questions or if I am incorrect in my assumptions.
06-10-2008 04:25 PM - edited 06-10-2008 04:26 PM