10-26-2010 02:41 PM - edited 10-26-2010 02:41 PM
Here it works in Windows.
Where is the Mac equivalent of the file extension selector in your screenshots?
10-26-2010 02:58 PM
Here is what it looks like on my Mac:
There does not appear to be a file extension selector option on the File Dialog Express VI. These are all of the options.
Thanks for the thoughts,
S-
10-26-2010 03:03 PM
Curiously, setting the properties such that only folders are visible works fine (though still not with the pattern constraint). I am trying to think up a workaround; but it isn't clear to me yet.
10-27-2010 10:59 AM
Try opening the Example Finder and going to Fundamentals>>File Input and Output>>Read From Text File. See if you can implement the open file part of this example into your VI and see if this works for you. Remember to Give a pattern name as well as the pattern. This should allow you to filter the files. Now note on a Mac it will still show the files that you are not interested in, they should just be grayed out.
Brandon Treece
Applications Engineer
National Instruments
10-27-2010 11:12 AM
Hmm. Yep. That doesn't work either. I tried modifying the "Read From Text File.vi" by adding a pattern constraint and label (see picture below). Neither the constraint nor the label appeared. It looks pretty clear that their is a bug in the File Dialog routines for the Mac.
Thanks for the ideas,
S-
10-28-2010 04:13 PM
I would suggest at this point that you uninstall and then reinstall LabVIEW from your machine. I was able to get this to work on a Mac using 10.6.4, as well as 10.5.8 as you can see from the screen shots on my previous posts. It seems like it could be an issue with your machine.
Brandon Treece
Applications Engineer
National Instruments
11-01-2010 06:16 PM
Hi Brandon,
11-02-2010 11:36 AM
Since you just reinstalled LabVIEW, you might want to also delete the preferences file. This is located in \\users\yourShortName\Libraries\Preferences. The file is called LabVIEW.app version Preferences.
Brandon Treece
Applications Engineer
National Instruments
11-02-2010 02:18 PM
I just deleted all of my preferences, and the file dialogs remain exactly the same; no pattern constraint is applied, and no pulldown appears. Very weird. What's next?
S-
11-03-2010 09:31 AM
This is very interesting. You mentioned that you were using OS 10.6, but what hardware are you using specifically?
Brandon Treece
Applications Engineer
National Instruments