LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot get Application Builder to work with the Build Path function.

I have a main vi that operates with several subvi's. There is path name for a common directory where a few datalog files need to be saved and retrieved. For example, I have a directory path as
C:\Program Files\3PS\Test Stand
I also have a file name called hw.bin. In this case, hw.bin is a datalog file that saves some hardware setup data for a program called Test Stand. I am using the "Build Path" function to combine the path directory and the file name to generate
C:\Program Files\3PS\Test Stand\hw.bin
When I run the vi in the usual way using the LabVIEW program, this function works great. It saves and retrieves the hardware setup as I need using the hw.bin file.
However, after making a
n application out of it, it does not work.
Instead of getting C:\Program Files\3PS\Test Stand\hw.bin at the output of Build Path, all I get is
hw.bin:\
Naturally, it doesn’t work. I know I am getting the above result because I put a temporary indicator at the output of the Build Path function.
What am I doing wrong?
I am using v.6.1 for both LabVIEW and Application Builder and Windows 2000.
Thanks, dej143
0 Kudos
Message 1 of 2
(2,655 Views)
We have a couple of online article that discuss this. Goto www.ni.com >> support >> advanced search (it is at the bottom--click on the words). This is the best way to search our web site because it allows you to limit your search to resources of interest. Enter build path exe in the all the words field, search everything, and press go. You should find the third hit useful. It is entitled Current VI's Path Function in LabVIEW Behaves Differently Depending on Whether the Function is Called in a VI or an Executable.

Jeremy Braden
National Instruments
0 Kudos
Message 2 of 2
(2,655 Views)