LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why does the invoke node give an error when in an executable?

I have an invoke node being used to deploy a shared variable library being used in my executable. When running in the development environment the node runs fine. When in the runtime environment I always get an error code 1 from the invoke node. This code states: Error 1 occurred at Invoke Node in Deploy_SVLIB.vi
Possible reason(s):
LabVIEW:  An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @.
 
I do not have any invalid characters. It is the same path as in the development environment. Any ideas out there? I took the part of the VI that is giving me the error and attached it.
 
Thanks,
Troy
0 Kudos
Message 1 of 3
(2,753 Views)
Try wiring a constant to the Target IP address with localhost in it and see if that works for you.
Kenny

0 Kudos
Message 2 of 3
(2,725 Views)
Kenny - This did not fix my problem however I did find out what my problem was. After thinking about this for a while I checked my installer and did not have the shared variable engine selected to be included. After I fixed this and rebuilt my installer the shared variable library launches fine. Thanks for your response.
 
Troy
0 Kudos
Message 3 of 3
(2,703 Views)