02-16-2011 09:24 PM - edited 02-16-2011 09:25 PM
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.
02-17-2011 01:30 AM - edited 02-17-2011 01:30 AM
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.
02-22-2011 04:26 PM
Hi, Gak:
Thanks, My question was how to trigger the event on file dialog box.
Still need to solve my question.
Labmaster.
02-22-2011 04:36 PM - edited 02-22-2011 04:37 PM
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.
02-22-2011 05:08 PM
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.