Jump to content

issue about Invoke Node


willsan

Recommended Posts

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.

 

Link to comment

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

Link to comment
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.

 

Link to comment

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.