LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make the file path control to keep the path info entered by the browse button?

Hello.
 
I've been trying to use the "file path control"  to specify a txt file path that should always be used by the VI. When I first use the "browse button" to chose the file, its whole path appear on the white area of the control and the program works fine. However, when I close the project and reopen it, the control doesn't show that last chosen file (with its path) and the program generates an error saying that the path is empty. What do I need to do to make that control to keep the info about the last chosen file to be open?
 
I really appreciate any help here.
 
Thanks a lot!
0 Kudos
Message 1 of 3
(2,708 Views)
After choosing the file, right click on the path control and select Data Operations - Make Current Value Default.  Save the vi.  The next time you open it, it will have the chosen file.
- tbob

Inventor of the WORM Global
Message 2 of 3
(2,706 Views)

Simple and clear!

Thank you very much, tbob!

0 Kudos
Message 3 of 3
(2,690 Views)