07-24-2008 08:55 AM
07-24-2008 08:59 AM
07-24-2008 09:47 AM
07-24-2008 09:53 AM
Hi Nifty,
use the "Open VI Reference" function at startup (in your main vi), hide your vi frontpanel with one of the both options. You can show and hide it with a button now. I recommend to use an event structure to react on those button events. Store the vi reference in a shift register. Use the "Open VI Reference" function also in your subvi to get the own reference (you can also use the ready function). With another event structure there you can also hide this vi. To change the state of the button, you can use a queue to send commands or you use the control reference (you can get it from the vi reference and the property frontpanel).
Mike
07-24-2008 09:58 AM