LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error after making executable application

Hi ,

Im developing a vhdl code on the FlexRio 7931.

The Host and the taget side is working well.

i've written few Host Vis and when running them from Labview everthing works well.

I've alse made a Main.vi which using to call the other VIs,

When running the Main.Vi from labview everything is working well .

When i made it as application (EXE) , when im trying to call some Vi from the Main , im getting an error "Error 1003 occurred at Invoke Nod" The VI is not executable.

0 Kudos
Message 1 of 6
(2,826 Views)

Any Dynamic Calls ?

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 2 of 6
(2,817 Views)

Can you call any of the VIs from Main, or do they all return this error?

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 3 of 6
(2,799 Views)

when im working in labview and runing the Main.vi , and calling others VIs from the main , it works well.

When im runing the application Main.exe from windows and trying to call any of the SubVis , im getting this error.

I've used a simple Event to implement it .

 

0 Kudos
Message 4 of 6
(2,795 Views)

Hi Cobmetal,

 

what is the path to your subVI?

 

- Apparently the path is correct, because you would get a different error message (something like File not found).

- The error says "the subVI is not executable", so it is NOT EXECUTABLE from your exe/the LV-RunTimeEngine. You need to resolve that error!

Sometimes you need to supply subsubVIs of those subVIs you are trying to start dynamically…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 5 of 6
(2,786 Views)

When calling a VI Dynamically, In the Application Properties -  Source Files Settings (Dynamic VI's Needs to be added in Always Included).

 

IMHO, Its always better to give relative path than Absolute path.

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 6 of 6
(2,764 Views)