LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 10000 at invoke node

There is an Error 10000 happened at invoke node in one of my subvi. Please see attached snapshot of the error message.

This program(VI) has run for one month, and yesterday  this error happened first time.  After I stopped the VI, and ran it  again, there was no error anymore.

 

Can anybody tell me possible causes?  Thanks.

 

WT

LV2013SP1

Download All
0 Kudos
Message 1 of 7
(3,201 Views)

This error generally happens when you try to run a vi which already running or it has a broken arrow. Can you please attach the VI in 2011 version.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 7
(3,184 Views)

Here it is in 2011 version.

 

It is a subvi in My main VI.   They are running for more than one month. This is the first time coming out error.

BTW : this sub vi is called by Main VI in sevaral different places but it should be called once at one moment.  

 

0 Kudos
Message 3 of 7
(3,175 Views)

As said if the VI is already running/broken this error occurs. To avoid this you can check the state of the VI by using the Property node "Execution>State>Idle"  and Run the VI only if it is idle, else do other operation accordingly.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 4 of 7
(3,172 Views)

Thanks. But, I didn't get what you said.

 

I am using "Call_Subvi_Do(variant).vi " to open and run another VI.  Which one I should check the state of by using the Property node "Execution>State>Idle",  "Call_Subvi_Do(variant).vi" OR the VI called by Call_Subvi_Do(variant).vi? By the way, the error is promted happening at the Invoke node in "Call_Subvi_Do(variant).vi" .

0 Kudos
Message 5 of 7
(3,156 Views)

@weitong wrote:

Thanks. But, I didn't get what you said.

 

I am using "Call_Subvi_Do(variant).vi " to open and run another VI.  Which one I should check the state of by using the Property node "Execution>State>Idle",  "Call_Subvi_Do(variant).vi" OR the VI called by Call_Subvi_Do(variant).vi? By the way, the error is promted happening at the Invoke node in "Call_Subvi_Do(variant).vi" .


Yes on the top its happens in the sub VI but when you debugg the sub VI you may find that error occuring at the onvoke node "Run VI". Check the attached VI with added check for the state of the VI.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 6 of 7
(3,150 Views)

Thanks a lot.

Actually, I had the kind of  check before calling the  "Call_Subvi_Do(variant).vi"  Please see attached snapshots.

check VI status before calling it1.PNGcheck VI status before calling it2.PNG

 

Call App event (execute Call_Subvi_Do(variant).vi).PNG

0 Kudos
Message 7 of 7
(3,140 Views)