07-18-2011 09:14 PM
Hello.
I'm trying to create a message prompt, parallel to my project which requires a certain amount of gain.
If it exceeds the limit, it should prompt us a message, saying that it's overlimit and the program should stop immediately.
This is something I should be getting.
However, the problem now lies in the prompt itself.
Whenever, i click OK, it just closes for 1 second, and opens back up.
How do I click it once, and the program stops ?
Will really appreciate any tips/advice.
07-18-2011 09:27 PM
try attaching the "true" boolean of the one button dialog to the stop in the while loop
07-18-2011 09:39 PM - edited 07-18-2011 09:42 PM
@sdkpark wrote:
try attaching the "true" boolean of the one button dialog to the stop in the while loop
OR, even use a select function to throw an error! YES, it is OK (though commonly frowned on) that USER malfeasance is an error condition. BUT, you gotta give the user more than 1 second...... Users commonly look at "*_1_MOTOSDG" as they pass by for longer than that. Hmmmmmm.... perhaps a "re-adjust" with a three button pop-up to OK, Retry, abort with Retry as the default?
Edit Note: MOTOSDG is Members Of Their Desired Gender" and I'm pretty "PC" for a MOTOS oriented person.
07-18-2011 10:00 PM
How do I get the select function, with a pop of 3 buttons ?
07-18-2011 10:21 PM
nice idea!
in block diagram
functions palette > programming > dialog and users > 3 button dialog
07-18-2011 10:48 PM
I've added to the stop button and the message that I want to prompt.
But I don't know where do I connect this prompt to my data.
ASSISTANCE PLEASE!
07-19-2011 12:49 AM
seems like you have to add cases on which button is pressed on the "which button?"
connect it to a case structure afterwards and put true false constants for each buttons.