LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Displaying files of custom pattern types specifying multiple types

Using Open/Create/Replace file fx, one can specify custom patterns using the custom pattern input, and if only one type is specified, all files of that type that exist in that directory path show in the file section of the dialog. For example, if I use "*.bmp" as the custom pattern, all files of .bmp type display in the file section of the dialog that exist in the directory. However, if I specify multiple types for custom pattern, files of those types specified in the custom pattern do not show in the files section of the dialog. For example, if I specify "*.bmp, *.jpg, *.png" as the custom pattern, no files of these types display in the file section of the dialog. Why is this, and is there a workaround
?
0 Kudos
Message 1 of 3
(2,966 Views)
You need to use a semicolon...

*.bmp;*.jpg;*.png


Cheers

Online help is such a wonderful invention........
"DonRoth" wrote in message news:506500000008000000F5BD0000-1075935269000@exchange.ni.com...
> Using Open/Create/Replace file fx, one can specify custom patterns
> using the custom pattern input, and if only one type is specified, all
> files of that type that exist in that directory path show in the file
> section of the dialog. For example, if I use "*.bmp" as the custom
> pattern, all files of .bmp type display in the file section of the
> dialog that exist in the directory. However, if I specify multiple
> types for custom pattern, files of those types specified in the custom
> pattern do not show in the files section of the dialog. For
example,
> if I specify "*.bmp, *.jpg, *.png" as the custom pattern, no files of
> these types display in the file section of the dialog. Why is this,
> and is there a workaround?
0 Kudos
Message 2 of 3
(2,966 Views)
Yes, thanks this works and I should have read the help for the function more carefully.
0 Kudos
Message 3 of 3
(2,966 Views)