10-04-2019 05:53 AM
Hi all,
When i run the exe program,the "INIT_IO_RELAY.vi" is my dynamic call, when call this VI, it's will display search "VISA Configure Serial Port (Instr).vi", "VISA Configure Serial Port (Instr).vi" is in vi.lib\Instr\_visa.llb and called by "INIT_IO_RELAY.vi". It can't find it automatically, how to solve this issue, add a path in EXE.ini file? But how to add?
Solved! Go to Solution.
10-08-2019 06:10 AM
Hello Weschen
I have one suggestion. Can you add the "INIT_IO_RELAY.vi" to the always included list while buidling .exe and retry.(Build specifications)
I have attached screenshot of where it needs to be added.
Hope this helps.
- Rahul
Hit KUDOS for Thanks
10-08-2019 06:15 AM
10-08-2019 06:50 AM
There
@cbutcher wrote:
I suspect you may not have the NI-VISA runtime engine installed.
Try installing that and see if it solves your problem.
There are bigger problems.
Launching a vi from the Integrated Development Environment Dynamically from a deployed application....That is going to hurt! You might just be better off coping the vi into your project with a new name. and yeah, "Don't Do That!"
10-08-2019 07:12 AM
It's need to add the "INIT_IO_RELAY.vi" to the always included list while building exe.That means the dynamic called vi must be added to the included list. PS: I found the search path can be add in the exe.ini file manual.like >>>> viSearchPath="D:\Program Files (x86)\National Instruments\LabVIEW 2013\vi.lib\Instr\_visa.llb;D:\Program Files (x86)\National Instruments\LabVIEW 2013\vi.lib\dlg_ctls.llb"
10-08-2019 07:17 AM
Yes, you're quite right.
For reference, here are a couple of links:
How Can I Change or Set the VI Search Path for LabVIEW Executables?
My Application (EXE) Does Not Dynamically Call My Plug-Ins Correctly (method 4).