09-08-2015 02:55 AM
I am currently doing a LabVIEW MyRIO project on how to display values. Basically I'm given a LCD display and a keypad. I'm supposed to show three sequences in order. First, we have to ask the user to input a number on the keypad to choose his area of interest. Then according to the number, the user is asked again to choose another number to specify which particular value he/she wants to look at. Lastly the value will be displayed and the user can choose to return to the previous sequence interface by pressing a key. Each of the three sequences are able to "hold" until the user presses a button.
I am able to show up to the second interface via using while loop inside a case structure, but I do not know how to start on returning to the previous sequences by pressing a key. I require assistance on this particular portion.
Thanks in advance!
Solved! Go to Solution.
09-08-2015 04:09 AM
If you wanna get help for your homework in this forum, I really advice you to show some code (not a screenshot, attach the real VI).
09-08-2015 08:03 AM
You just need a proper state machine. It is easy enough to go back to previous states when properly set up.
09-15-2015 02:03 AM - edited 09-15-2015 02:06 AM
I'm having trouble with trying to press the keypad to give a number command as it will affect the outermost 'number' and there will be conflict. Say I pressed the number 1, it will enter a case which requires me to press another number to continue, after i pressed the second number, it will affect the first 'number' pressed.
I can't think of a solution for this problem.
09-15-2015 06:08 AM
That code looks way too complicated for the problem you described. Where's the state machine we suggested to you? Why so many pointless sequence structures?