LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Setting Search Directory with LabVIEW RTE

Hi,
 
I've LabVIEW 8.0.1 run time engine installed on target computer and would like to run LabVIEW executable on target computer.  I also have required low level support VIs for developed VIs. 
 
Question is: how do I set the search directory for low level VIs with LabVIEW run time engine installed on the system.
 
Suggestions/comments are appreciated.  Thank you.
 
 
 
0 Kudos
Message 1 of 4
(3,957 Views)
If your hierarchy is the same as was in the IDE, then there won't be a need to search for the VIs. If the VIs are not found where they are expected to be, then LV (including the RTE) starts to search for them first in the folder where the VI\application is and then in the folders in its list. To change the list, you need to place the viSearchPath key in your application's INI file. You can copy this key from the labview.ini file and then modify the paths listed in it.

___________________
Try to take over the world!
Message 2 of 4
(3,951 Views)

Thanks, TST.

The developed LabVIEW application is integrated with TestStand.  On the target computer, we set the search directory using the TestStand Operator Interface and it updates 'TestExec.ini' file. 

I did set the path for SupportVIs using operator interface, but it does not help LabVIEW RTE.  I could not find 'viSearchPath' key in 'TestExec.ini' file.  Can I create a new custom ini file for adding 'viSearchPath' key or is there any other way to set the search path for VIs with LabVIEW runtime engine.

Reponse is appreciated. Thanks.

0 Kudos
Message 3 of 4
(3,944 Views)
Hello Troy12,

As tst has mentioned, you would need to create an INI file for your application and name it [YourApplicationName].ini. Please refer to the following link for more information:  How Can I Change or Set the VI Search Path for LabVIEW Executables?

Let me know if you have further questions on this issue.
Thanks and good luck!

Shakhina P.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(3,931 Views)