10-12-2011 01:00 PM
Is it posible it errors because it calls a dll function in a subpanel?
10-12-2011 01:58 PM
The error message indicates the problem. Since the VI will run, I suspect the VI is running when you call the Run method. The best way to see this is probably to put a breakpoint right before the run method and open the VI you are trying to put in the subpanel.
Assuming you get no error with the run method, you will get an error about placing the VI in the subpanel since it is open. If you reach your breakpoint and the VI is running, then that is the source of your error.
10-13-2011 12:47 AM
You're right. The vi was already in a run state. What was happening, was that the event continuously fired. The value(sign) property from the control didn't work to properly fire an event.