LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

the vi is not in a state compatible with run vi method

Solved!
Go to solution

Is it posible it errors because it calls a dll function in a subpanel?

0 Kudos
Message 11 of 13
(417 Views)
Solution
Accepted by topic author JoVMo

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.

Message 12 of 13
(410 Views)

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.

0 Kudos
Message 13 of 13
(399 Views)