03-26-2015 03:12 PM
hello.
I am trying to create an application in which I can run a two VI in a subpane.when i run my program it run for 5 second and then a message appears..
i have no idea about it..please can you help me!!
03-26-2015 03:20 PM
this is my program
03-26-2015 03:20 PM - edited 03-26-2015 03:22 PM
What does the message say?
Does it only happen in the build application or also in the development environment?
03-26-2015 03:23 PM
Error 1000 occurred at Invoke Node in eicas.vi
03-26-2015 06:41 PM - edited 03-26-2015 06:43 PM
Does this happen on the first iteration of that while loop or the second?
The layout of that VI is odd. You have a boolean that selects one VI or another. Okay. But then you proceed to open a reference to it, run it, and insert it into the subpanel on every iteration of the while loop. You should only be doing this once. You probably are getting the error when you try to run a VI that is already running from the previous iteration.
You an event structure that only runs when there is a value change on the boolean. Then remove the existing VI from the subpanel, stop running and close it. The open the other reference, insert it and run it.
03-26-2015 07:47 PM - edited 03-26-2015 07:50 PM
How long have you been using LabVIEW? I just wrote a series of articles on how to do just what it seems like you are trying to do. The bottom line is that the error literally means that the vi is in a state where LabVIEW can't do what the invoke node was trying to do.
You should insert the vi into the subpanel ONE time. The subpanel connection does not need to be refreshed, updated or maintained. Once it is there you don't have to bother with the subpanel at all until you are ready to put a different vi in the same subpanel, or you program is shutting down...
Mike...