Example Code

Using a Pop-up Keypad to Enter Values into Front Panel Controls

Code and Documents

Attachment

Demonstrates how you can read the Key Focus attribute of several front panel controls to determine when one of them has been clicked. Once that's determined, the VI pops up a Calculator-like keypad that allows you to enter the value for the appropriate control by clicking on button labeled 0 through 9. It also contains a decimal point and a Clear button. This might be useful when you have a computer with no keyboard and you can only use a mouse or you only have a touch screen.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors