LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

bug with restrain pattern on file dialog [M]

if trying to restrain the files displayed in the dialog box with list of pattern :
if you set one pattern, the restriction of files allowed is good.
but if you set a list, it doesn't work anymore
the fonction works on windows but not on the mac
0 Kudos
Message 1 of 10
(4,585 Views)

Hi be,

I was just wondering if you could give me a little more information about the problem that is occuring with the file dialog VI. Which version of LabVIEW is this occcuring in and what do you mean by it does not work? Is it giving you an error or does it crash LabVIEW? Maybe if you could attach a simple example or a screen shot of a block diagram for a VI that causes this problem, it could help us narrow down the issue. Also, just from looking at the help file of the File Dialog VI, it states that there is a known issue with Mac operating systems. It states that this function does not recognize any Mac OS-specific means of specifying the default application for a file. However, you can use the pattern input to specify a file type for files that include an extension to the file name. I'm not sure if this is the exact problem that you are talking about, but it is something that I ran across which could be of value.

Carla

National Instruments
Applications Engineer
0 Kudos
Message 2 of 10
(4,562 Views)
i thought my post was explicit about the use of patterns :

if you set one PATTERN, the restriction of files allowed is good.
but if you set a list (of patterns), it doesn't work anymore

for example try "*.AIFF;*.WAVE" ... this doesn't work
but "*.AIFF" works

his seem to be a real bug on the Mac platform
0 Kudos
Message 3 of 10
(4,552 Views)

Hi be,

Thanks for the response. I want to try to recreate the error so that I can see if it is a bug. Can you please give me some more specifics or attach an example that causes the problem? Also, which version of LabVIEW does this occur in and which Mac OS do you have that has caused this problem? Thanks for the help!

Carla

National Instruments
Applications Engineer
0 Kudos
Message 4 of 10
(4,535 Views)
this is a bug !
we checked it on different computers
0 Kudos
Message 5 of 10
(4,526 Views)

Hi be,

Thanks for the example. I am going to investigate this a bit further and share this information with our R&D teams. I will let you know with my findings as soon as I have more information for you. Thanks again for pointing this out.

Carla

National Instruments
Applications Engineer
0 Kudos
Message 6 of 10
(4,510 Views)

Hi be,

Can you please tell me which Mac OS you are using and which version of LabVIEW? I am trying to recreate the problem but I need these specific details to be able to continue forward. Thanks!

Carla

National Instruments
Applications Engineer
0 Kudos
Message 7 of 10
(4,481 Views)
Carla,

This has to do with the way the File Dialog interacts with native file dialogs. The test VI works if Use native file dialogs is turned off in Preferences.

See also the thread titled "File Dialog VI/ Default name input not functional" last posted to earlier today. I found that the default name input does not work with Mac native file dialogs also.

I am using Mac OS X 10.4.11 on a Dual G5 PPC with LV 8.5. I have not had a chance to check it on an Intel Mac.

Here is a modified test VI. It looks for .vi and .ctl files, which every LV user has handy.

Lynn
0 Kudos
Message 8 of 10
(4,471 Views)
tested on LV 8.5
on PPC 10.5
and on Intel 10.5

another bug just appeared when making a new test
whatever kind of pattern applied (single or list),
the app files (applications) are not grayed, so they can be selected !

Message Edited by be on 02-27-2008 02:44 AM
0 Kudos
Message 9 of 10
(4,453 Views)
Hi be and Lynn,
 
Thanks for all the information. I agree that this is a bug. I am going to go ahead and file this so that our R&D teams can take a look at it. Unfortunately, I cannot give you a time frame for when this will be fixed or in which version of LabVIEW it will occur. If I have anymore information for you guys, I will let you both know. Have a great day and thanks for the information again!
 
Carla
National Instruments
Applications Engineer
0 Kudos
Message 10 of 10
(4,433 Views)