LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

event handling in file dialog box

I want to make the test bed for testing event-based stand alone application.

I can transfer some values to filename or others.

However, How can I handle (Value signaling) the Okay or Cancel button in file dialog box popped up from my test bed?

What is the reference for the dialog box? 

Of course, I can transfer the file name explicitly but don't want to change current application.

 

Labmaster.

 

0 Kudos
Message 1 of 5
(2,696 Views)

When ok or Cancel button you will get Output as True or False, You can use this as an indication.

If you want to trigger event then you can use User Events or Value signalling of control.

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 2 of 5
(2,672 Views)

Hi, Gak:

 

Thanks, My question was how to trigger the event on file dialog box.

Still need to solve my question.

 

Labmaster.

0 Kudos
Message 3 of 5
(2,647 Views)

Are you talking about the file dialog express vi? The vi returns a boolean for canceled. It will also return error 43 which is normal for canceled by user. You can not register an event on the express vi. Just look at the outputs and generate a user event based on that. Look at the example finder for user defined events as Gak pointed out.

=====================
LabVIEW 2012


0 Kudos
Message 4 of 5
(2,644 Views)

One more thing that you can do is modify the express vi. Configure the express vi the way you want it then right click and select open front panel. It will prompt you to convert it to a normal subvi. Modify the subvi to create the new user events or write to value signaling properties if that is the way you prefer.

=====================
LabVIEW 2012


0 Kudos
Message 5 of 5
(2,625 Views)