08-28-2012 10:15 AM
Hello
i am making a fire sensor using Arduino UNO as the DAQ
i want a condition where a one button dialog box appears before the operator when the LED in my vi glows
i am enclosing vi along
thanks in advance
jalashwa
08-28-2012 10:22 AM
Hi Jalashwa,
You can use a One Button Dialog.vi within a case structure (see image attached).
The One Button Dialog.vi can be found in the functions palette in Programming >> Dialog and User Interface.
I hope this helps.
08-28-2012 10:24 AM
duplicate post from someone who cannot understand when an answer is given.
08-28-2012 10:29 AM
You could just put the 1 Button Dialog inside of a case structure. But I have a feeling there's more to your problem. Do you want your loop to "freeze" while the dialog is up? What is the purpose of the dialog? Maybe a simple string indicator would work for your purposes.
08-30-2012 02:07 PM
hello
i thanks all of you for your support
i have almost completed the vi
as suggestsed i have put the dialog box in the case structure. i want the dialog box to appear when the value of my arduino is move than 35
i have a probelm that i cant turn the dialog box if the value remains above 35
further my alarm does not go on . please let me know if the connection is correct
i am enclosing the vi
with warm regards
jalashwa
08-30-2012 02:43 PM - edited 08-30-2012 02:43 PM
Hi Jalashwa,
wow: a classic Rube-Goldberg combined with some unneeded type coercion:
Ever heard of "boolean operations"? Ever considered to wire the boolean input directly to the case selector?
"i want the dialog box to appear when the value of my arduino is move than 35"
So it does...
"i cant turn the dialog box if the value remains above 35"
What do you want to "turn"? You have it programmed to show a dialog box when there is "DANGER". Now you don't want to show that dialog box when there still is "DANGER"?
"further my alarm does not go on"
Which "alarm" are you talking abput? There is no indicator with that name...
You really should go through LabVIEW basics. In the next step you should learn to define (!) your goals in clear steps (!) - a thing every programmer has to learn...