LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

browse button problem

Hi,
The problem with my browse button is that it keeps asking the path every time I open the vi, though it is outside the while loop. After selecting the path, it doesnot appear in the path control. Any samples will be helpful.I am using LV 6.0 ver
0 Kudos
Message 1 of 7
(3,163 Views)
Hightlight your execution and see what happen.
Post your VI and I want to take a look.
Saw
0 Kudos
Message 2 of 7
(3,163 Views)
Hi Hema..
I have used the browse button in the while loop and I havent faced any problem, and when I run the VI and click the browse button to select the path it appears in the control too.
Veena.
0 Kudos
Message 3 of 7
(3,163 Views)
hi veena,
i am using a file path control which i have wired to read or write to excel sheet path. As soon i open the vi, before clicking on the browse button, the choose path to open or save opens up which i don't want.
can u help on this.
thanks
0 Kudos
Message 4 of 7
(3,163 Views)
You can use the browse button to select a file before you run the VI. The read/write function you're using probably has the File Dialog function set to run if there's an empty file path provided. If you want to use the browse button after starting the VI, you'll have to put in a while loop the checks first to see if the path is empty or not and as soon as it's not empty, proceed to the reading or writing of the file.
0 Kudos
Message 5 of 7
(3,163 Views)
If u can post your VI, I can take a look...
Veena
0 Kudos
Message 6 of 7
(3,163 Views)
As it so happens I just posted some code to a fellow with what sounds like a very similar issue. This code uses a dialog box to get the inital file name, but other than that the theory is basically the same. See is this gives you any ideas.

Failing that, as a couple other folks have said, if you could post some code it would help.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 7 of 7
(3,163 Views)