I've modified your vi's with the following changes:
1. Added "stop" case to your testsubvi event structure.
2. Added Runvi vi method to your test vi.
Hope this now does what you wanted (you didn't describe the problems, so I guessed!)
Message Edited by SandmanUK on 02-19-2006 11:27 AM
That's exactly what I wanted.
This is the first time I've used the Sub_panel structure and didn't realise that there was a RUNvi method.
Thanks for the help
There really isn't any restriction of using an event structure in the mainvi (that holds a subpanel). As an example you could have an event structure in your main vi to call different subvi's into the subpanel; or you could have an event structure to do other things in your main vi. Have a play around with it.
hope this helps
Message Edited by jtsa on 03-30-2006 06:30 PM