LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Select file dialog

Solved!
Go to solution

 

Select In my vi below, I read the contents of a file, put it in the List-Scenario ring and assign each column the corresponding ring (Ring1,Ring2,Ring3,Ring4). And that's done.

Now what I want to change in this vi: instead of reading the file directly, I want when the user clicks on the List_Scenarios ring a window to appear for the user to choose their own file and the code continues.
How do I do this please?
Thanks
Download All
0 Kudos
Message 1 of 4
(648 Views)

There is a File Dialog in the palettes.  Look in the File I/O->Advanced File Functions palette.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 4
(639 Views)
Solution
Accepted by topic author Ngouda
  • The scenario list is already overloaded because it is used to select a scenario, so you should not use it to select a file. Add a button to select a file, or do an event for value change on the path control.
  • The case structure in the test case is not needed, because if a latch action button changes it is guaranteed to be true (assuming the default value is FALSE).
  • Your exit button has the wrong mechanical action.
  • You probably want to write strings[] into the rings, not "ringtext.text".
  • etc...
Message 3 of 4
(624 Views)

Hi @altenbach, @crossrulz,

Thanks you for your reply.

Its works now what I want. 

Have a good day

0 Kudos
Message 4 of 4
(546 Views)