LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Two problems: folder select and start of Labview program

Hi, these are my two questions:

1) The path control allow me to select only files. If I want to keep a folder I must write it in the blank. Newer versions of Labview solve this problem? I have Labview 7.0

2) A program compiled with Labview start automatically when the exe is opened. How can I do if I want the program start only if I press the arrow button?
0 Kudos
Message 1 of 3
(2,561 Views)
1). The path control with the browse button allows you to select an existing file, new file, new or existing file, existing dir, new dir, new or existing dir, etc. You just have to fight click on the control and select Browse Options.

2). In the application builder, there is a VI Settings tab. Go there, select your top level VI, and click the Edit Build Settings buttton. You can change the Run When Opened to no. This, however, is generally considered "bad style" as is having the toolbar visible. It is far better to have your program designed such that it starts doing what it is supposed to do when the user clicks a run button or selects from a pull down menu. You should also have a stop button and not depend on the Abort execution button on the toolbar.
Message 2 of 3
(2,556 Views)
Ok thank you very much!
0 Kudos
Message 3 of 3
(2,538 Views)