09-15-2017 01:45 AM
Hello can someone please help me with how to select automatically 2 array text files for two different arrays at a single button press.please.
Solved! Go to Solution.
09-15-2017 02:00 AM
Are you talking about a file dialog? How does a single press select two files? Are the two file names static and known?
Please attach some simplified code so we better understand your needs. Thanks!
09-21-2017 02:00 AM
I'm having these two files I wanted to select them at once not one at a time. If I select choose file then I have to select a folder and it will select both of the data at a single click to that folder. Can you please tell how to.
09-21-2017 02:16 AM
Hi Mayur,
If I select choose file then I have to select a folder and it will select both of the data at a single click to that folder.
When you just want to select the folder that implies there are either (1) just two files in the folder or (2) the file names are fixed and known.
- In case (1) you use ListFolder to get an array of filenames of the files in your folder. As there are just two files you can work with them as intended.
- With case (2) you use the folder path to simply BuildPath with your known file names…
09-21-2017 02:20 AM
Can you please show me this with a vi or photo please.
09-21-2017 02:32 AM
Im having 2nd case
09-21-2017 02:39 AM
09-21-2017 02:53 AM
I've done that before but I can't able to select a folder
09-21-2017 03:05 AM - edited 09-21-2017 03:07 AM
Hi Mayur,
place a path control.
Right click this control and select "browse options".
Set it to allow only existing folders…
Do you read the LabVIEW help from time to time?
09-21-2017 04:16 AM
this is happening after doing that. I connected a indicator to it and it is reading it there.