From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

numeric keypad

For a simulation of an alarm system, we are trying to input a code to activate the alarm system. We want the code to be entered throughout a numeric keypad on the screen. So we tried to do this with some text buttons and a numeric indicator. The problem is that the numbers won't stay in the indicator. We want to put out all the numbers in the numeric indicator.
 
The problem is we are very new with the program just 2 weeks and now we have an assignment for school to make this alarm system. Does anybody know any solutions for our problem? I guess it's not that difficult but we really do need more lessons, which we will not get. so Anybode?
0 Kudos
Message 1 of 9
(5,484 Views)
Use a string indicator instead, pre-concatenating digits one at a time.
After the user confirmation, you may convert the string to a number if needed.

Paolo
Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 2 of 9
(5,480 Views)
Here is an example that uses an onscreen numeric keypad.  The passcode is hard coded in the block diagram.  If the user enters the correct code, the LED indicator lights up.  Otherwise it stays unlit.  The passcode can be as long as you want, the code automatically stops keyboard entry when the correct length is entered.
- tbob

Inventor of the WORM Global
Message 3 of 9
(5,462 Views)
thanks for this example, it's kind of what we were looking for. We will try to analyse it.
0 Kudos
Message 4 of 9
(5,443 Views)
I have the same problem. I'm trying to understand how the dtmf_keypad works to generate an entering code of 4 characters. Can anyone help me please?
0 Kudos
Message 5 of 9
(4,963 Views)
Your question is not clear, and it's also not clear what you're referring to. What dtmf_keypad? Are you referring to the VI that was posted (Passcode.vi), or something else?
0 Kudos
Message 6 of 9
(4,952 Views)

No, I can't open the file passcode.vi (what software do I need to open it?)

I'm trying to understand how the multisim component dtmf_keypad works. I have to generate an enter code to start up an alarm system throughout that component...

 

0 Kudos
Message 7 of 9
(4,920 Views)

well you need labview to open the code if you are having problems with multisim that go to the multisim forum

 

http://forums.ni.com/ni/board?board.id=370

Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 8 of 9
(4,914 Views)
oh... you're right, i'm very sorry...
0 Kudos
Message 9 of 9
(4,906 Views)