Jump to content
willsan

issue about Invoke Node

Recommended Posts

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.picture.JPG

the Chinese character "假" means false.

Share this post


Link to post
Share on other sites
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.picture.JPG

the Chinese character "假" means false.

the VIs path is correctly.

 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
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.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.