LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Keypad and LCD

Hi, I'm a student that is new to LabVIEW and I request help for the problem I have:

I have an LCD display and 4x4 Keypad connected to the MyRIO. My task is to be enter a bunch of characters on the keypad and display on the LCD. Eg. Press 12 on the keypad. The problem is: The signal is only temporary(pulse) and it disappears when i release it, thus the best i can do is to display a 1 and 1 second later is reverts back to 0(default).

Anyone can teach me how to 'hold' the value or solve this problem?

Thanks in advance.

Download All
0 Kudos
Message 1 of 2
(2,920 Views)

You "hold" values by storing them in shift register on the while loops so the data is present at the next iteration of the loop.  You can keep building on to that using a Concatenate string function.

 

At some point, you'll want to implement some code that would clear the string so that you don't have a string with ever growing messages.

0 Kudos
Message 2 of 2
(2,886 Views)