LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

File Dialog

Hi,

I want to put an enum 'new or existing file' message to one of the inputs of File Dialog.

Which input can I use?

Best regards,

mctnnn

0 Kudos
Message 1 of 6
(2,648 Views)

Hi mctn³,

 

whichever suits best for you…

Convert your enum to string before you wire it to the FileDialog ExpressVI.

 

(I would not place that message at the "pattern" inputs.)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(2,626 Views)

Thank you for your repy GerdW.

I attacked a picture and wonder if I've done correct as you mentioned.

I've connected enum 'new or existing file' to input of Format Into String,

but from the output (resulting string) of Format Into String I don't

which input of File Dialog I should connect to (you wrote that not to pattern,

but they are the only ones which has the same data type as 'resulting string').

What can I do?

/mctnnn

 

Download All
0 Kudos
Message 3 of 6
(2,586 Views)

Hi mct,

 

the image in your first post shows several string inputs for FileDialog, not just "pattern"...

 

Most often you get results much faster by trying out!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(2,570 Views)

Hi mct,

 

I just "tried out" on my own:

check.png

See for yourself which string input suits best for your purpose!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 5 of 6
(2,543 Views)

Thank for your reply.

I can understand what the input prompt does, whilst the other inputs 

like button label, default name, pattern, pattern label I do not have much

feelings their function. I try it out as you mentioned.

Regards,

/mctnnn

0 Kudos
Message 6 of 6
(2,506 Views)