07-17-2013 07:21 AM
Hello,
I'm currently trying to use an invoke node (I'm not using an english LabVIEW so I don't know if the words are exactly the same translated) : Obtain VI / Editor Version
When I'm using it in my .VI my project work perfectly, but when I'm trying to test the program with the .exe It doesn't work when I want to get old VIs version.
Are there some dependencies issues ?
Thanks for your help !
BR,
Mathieu
07-17-2013 08:53 AM
Are you using a Current VI's Path Constant somewhere in your block diagram?
From your description it sounds like the only difference is if or not it is an EXE compared to development so my feeling is must be related to how LabVIEW handles file paths for each:
http://digital.ni.com/public.nsf/allkb/FD7DE8BC8FFC256C862565F4006BE363
07-17-2013 08:58 AM
Hey Don_Philips !
Thanks for your answer,
I'm not using a Current VI's Path :
Here is my -short- program, I'm using an invoke node to get text from the clipboard and use is as a path
07-17-2013 09:12 AM
Right... but you know the path changes depending on if or not it is a built application yes?
If you originally have C:\Application.vi and then build it into an EXE it would then be C:\MyApplication.exe\Application.vi.
Although looking at your code I would think that if this was the case you would see an error...
Hmm
07-17-2013 09:23 AM
Yes I know ! My program give brut path from all existing VI's with a right click on a VI : It launch the program and give the path copied
another info :
The .exe work with VI in version 12.0 (my current projet is in 12.0) but doesn't work for older VIs