07-11-2011 07:02 AM
With the current code the file path/ directory was already present. What im trying to do is add in a drop down menu that will allow the user to select one of the multiple files saved in the same directory/ folder to be loaded. Can anyone assist?
07-11-2011 07:07 AM
Im using Labview 2009
07-11-2011 07:22 AM
A couple of options:
Option 1: Use the File Dialog under File I/O->Advanced. It's a pretty handy Express VI.
Option 2: If this is meant to be a one shot UI, Right Click on the Path Constant and Change to Control. Make sure to set the browse options to select folders.
07-11-2011 07:25 AM
Thank you I will give that a try!
07-11-2011 09:06 AM
If your end objective is to provide a list of files then use the List Folder function to get the list of files in a directory. You can provide a pattern to list only specific files. Then wire that list to the String[] property of the combobox that you have.
07-11-2011 09:30 AM
Thank you for your reply. What im trying to do is while the program/ subvi is runing the user will select a file from the combo box/ drop down menu and hit load. This will select one of the multiple files in the directory and load it into the rest of the program. This section of the code is to load the hardware device with list of numbers from the file that is selected. I only have 3 but it can be up to 200 files.
07-11-2011 09:51 AM
OK, so then you can do what I just said.
07-11-2011 09:57 AM
Thank you!