02-03-2010 08:54 PM
i made a program where there is the Main.vi and the Login+Check.vi running at the same time. Main.vi is running as usual meanwhile the Login+Check.vi running invisiblely. So i used the invoke node to open Front Panel of the Login+Check.viand hide it, then i connect the reference and the error to another invoke node which the method is "Run VI". As the end of the programming, I ask it to close, then there was an error says
"Possible reason(s):
LabVIEW: The VI is not in a state compatible with this operation.
Method Name: Run VI
VI Path: C:\Documents and Settings\Eng1\Desktop\20100125_BELL\Login+Check.vi"
Why is it so?
02-03-2010 10:30 PM
how are you closing this ViI? can attach the vi so that i could be looked in to.
Or the code that is supposed to stop the vi may be trying to run it (by accident and there might be a chance you are getting this error)
To debug just keep the FP of this vi open (and dont hide it. It wont affect anyway since its a dynamic call in new thread) so that you can know what exactly is happening while closing