willsan Posted February 2, 2018 Report Posted February 2, 2018 hi. I call VI use the invoke node ,the source code is below picture, if run the source code, the VIs can be normal called, but if run the generated EXE, the VIs can not be called. the Chinese character "假" means false. Quote
willsan Posted February 2, 2018 Author Report Posted February 2, 2018 38 minutes ago, willsan said: hi. I call VI use the invoke node ,the source code is below picture, if run the source code, the VIs can be normal called, but if run the generated EXE, the VIs can not be called. the Chinese character "假" means false. the VIs path is correctly. Quote
CraigC Posted February 2, 2018 Report Posted February 2, 2018 Hi, couple of things. When building an executable the path of the executable is now inserted into the path so C:\MyProject\MyFile.txt becomes C:\Myproject\MyExecutable.exe\MyFile.txt If this is already accounted for then the easiest way to find out what is happening is to create a debuggable executable which enables you to debug as you would normal do in LabVIEW environment. See here https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000PAiTSAW Craig Quote
willsan Posted February 3, 2018 Author Report Posted February 3, 2018 11 hours ago, CraigC said: thanks for you help. I know the path is different after run the generated EXE file. the situation can be ignored. I will debug executable file to find the root cause and I will share it at this topic if I can resolve it. the issue has been puzzled me for several days. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.