From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
02-23-2015 05:57 AM
Hello,
generated and executable using Labview 2010. It actually run fine on development computer.
However, when running executable on other plaltform, the path for instr.lib changes to C:\instr.lib.
The project only contains a packed library and the start up vi which calls VIs from packed library.
How can I solve this issue?
Ariscrate!
02-23-2015 06:49 AM
Any VIs you call that are in instr.lib should be inside of the executable. Are you trying to call one of these VIs dynamically?
02-23-2015 08:51 AM
Hi Crossrulz,
unfortunately don't know how the packed lib has been implemented. it mights call VIs dynamically (I'm not sure).
I access a VI of packed library from start up VI. It actually works fine on development computer.
yet when I change the location of generated exe, it search for instr.lib components as well as VI of packed library at other location. It seems to fix the paths of all referenced VIs.
Is there somthing to pay attention to when building executable that calls VIs dynamically?
kind regards
02-23-2015 08:59 AM
Aristocrate wrote:
Is there somthing to pay attention to when building executable that calls VIs dynamically?
You just have to be careful about where your VIs actually are. Using relative paths are typically the way to go. It is best if you can use relative paths based on the Application Directory, which points either to the EXE or the project file.
02-23-2015 09:06 AM
It doesn't look for intruments drivers in that folder but the VI of packed library i called from start up VI. And this one I don't call it dynamically (In start up VI)
02-26-2015 04:00 AM
Hello Aristocrate,
at building the EXE:
have you tried to put your library in "always included"?
Do you use relative paths?
Does the EXE work in the development system?
Let me know if it worked out.
09-10-2018 05:21 PM
@Richard20 wrote:
Hello Aristocrate,
at building the EXE:
have you tried to put your library in "always included"?
Do you use relative paths?
Does the EXE work in the development system?
Let me know if it worked out.
Thanks! I forgot about that and your post helped remind me again!
My situation was this:
http://zone.ni.com/reference/en-XX/help/372120A-01/lvrgthelp/rgt_stand_alone_apps/