LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

File Dialog VI / Default Name input not functional

Hi,

In the File Dialog VI one input seems not to work (Default Name).

Typically the VI is used to pick a file or directory to open from an application. By default the user should be prompted to open the last file or directory used. However wiring that filename to the Default Name input has no effect on the popup window.

Sincerely

Ivan

LV 8.5 / Mac OS
0 Kudos
Message 1 of 7
(3,748 Views)
Can you post an example VI that demonstrates this not working?  Perhaps it has something to do with the MacOS.
 
The attached screenshot worked for me on WinXP.  Actually it wasn't necessary to wire in the stripped path to the default path, just the stripped filename.


Message Edited by Ravens Fan on 02-23-2008 11:39 PM
Message 2 of 7
(3,742 Views)
I could get one step ahead understanding what's going on. The problem occurs only with native OSX dialog. When non-native dialog are set in labview preferences then the File Dialog VI works fine with respect to the Default Name. Still it would be better to use native dialog, it looks like a bug in labview for Mac.
0 Kudos
Message 3 of 7
(3,734 Views)
Hi Ivan.

Could you attach your VI please?
We will try to reproduce your error.

Regards.

Romain D.
National Instruments France

0 Kudos
Message 4 of 7
(3,700 Views)
Hi all, thanks for your replies.

Here is a demo VI of the bug.
Download All
0 Kudos
Message 5 of 7
(3,685 Views)
I can confirm that the behavior is as described on a PowerPC Mac. Dual G5, Mac OS X 10.4.11, LV 8.5.

By opening the front panels of the file dialog express VI and converting them to non-re-entrant (so I can see what is going on), I have isolated the problem to the File Dialog primitive. The previously selected file name shows up as the Default Name input but does not appear in the dialog.

Lynn
0 Kudos
Message 6 of 7
(3,669 Views)
Thanks Lynn,

The configuration here is intel processor running Mac OS 10.4.11.

Ivan
0 Kudos
Message 7 of 7
(3,663 Views)