04-27-2009 10:14 AM
Hello,
Had a question about the One Button Dialog Vi. I have an application that I want to modify. We have a physical pushbutton wired into a digital input board that when pushed we want to progress in the labview program. Its only a momentary pushbutton though. The way its set up now the user is told to push the start pushbutton and click OK on the one button dialog. See code. The way its programmed they have to hold down the pushbutton and click OK. Which works fine up till now.
We are changing the environment to give the operator the ability to operate the pushbuttons via a pendant when at the unit under test which means they will no longer be able to click the mouse. This code is used in quite a few places...was wondering if there was a real fast way to change this so that the user wouldn't have to click OK to continue on in the Code.
See attached!
Thanks
Solved! Go to Solution.
04-27-2009 10:33 AM
04-27-2009 11:52 AM
Yeah but, the people that will be operating this need some sort of instruction of what to do. Somehow I have to tell them at each step to do something. Our employees don't like to think of on their own or remember test procedures without having someone hold their hand. Its not something I can get away from. If there is a better way to tell them to do something though I can change it if its got more functionality built in.
04-27-2009 12:09 PM
Put a large string indicator on the front panel. Display the prompt in the indicator. You can change the color or make it blink via property nodes, if desired. Clear the indicator by writing an empty string when the external button is pressed.
you need to hide other parts of the front panel while the prompt is shown, you could use tabs the Visible property for the indicator. A tab with only the prompt indicator can look much like a dialog or be customized in any way you want. Make the tab a indicator (change it from control) and control which page is shown by simply writing to its terminal. You can make some very versatile user interfaces that way with relatively little programming effort.
Lynn
04-27-2009 12:12 PM
Hey...a message center...that is a really good idea I've done some other stuff like that but didn't think to do it with a string indicator.
Thanks for the input bud, I think thats how I'm going to do it!