03-18-2009 11:34 AM
Hi all,
How do I generate a pop up message that will stay open until a digital boolean is received from DAQmx. Then it should be turn off.
Thanks
Dan
03-18-2009 11:43 AM - edited 03-18-2009 11:44 AM
03-18-2009 12:08 PM
03-18-2009 12:16 PM
03-18-2009 12:31 PM
I think we need to know what part of this task you need help with.
It sounds like you just have an issue with VI to VI interaction, and you now have lots of possibilities (Action Engine, by Reference, Global, Local Variable, Notifier, Queue). What's best will depend on your code structure.
03-18-2009 01:13 PM
Thank you all for your quick responses. Since I'm not an advanced LV user, I don't quite understand "action engine" solution and prefer not to go that round.
I'm now using sate machine in my program and I guess my need is to know how to create a generic pop up message vi and then I could go from there.
Thanks
03-18-2009 01:17 PM
03-18-2009 02:04 PM - edited 03-18-2009 02:05 PM
03-18-2009 04:52 PM
I think I have found my own answer after reading all your responses! Simply I will use string indicator and property node "visible" to turn it on early and then off at the detection of boolean signal from DAQmx. I'm now looking for a property that give control over position of the string in related to the screen (e.g how to set it at center of screen no matter what LCD I'm using).
dphan128
03-18-2009 05:21 PM
Perfect! you don't always need a pop-up to get the user's attention. I often show/hide a boolean indicator whose boolean text is set to what I want.
Regarding positioning the string, I use the Pane property node and get the Bounds, then get half that value, and set the control's Position node with that.