LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

numerical keypad -> custom control

Hi!
I want to create my own VI control - numerical keypad (It should return
numerical value). I've found one on NI Developer Zone website (
ftp://ftp.ni.com/contrib/epd/B45EACE3ECB856A4E034080020E74861/Keypad_Zip_Files.zip )
.. But its a *.vi - I wanted to create an independent numeric control based
on this example (such as knob, ring, etc). I tried (under LV7) to make
Custom Control, but it returns me "cluster" type - I want a "double".. and I
really dont know how to do it.
Any suggestions?
--
Gooral
0 Kudos
Message 1 of 2
(2,756 Views)
You won't be able to create a custom control. It will have to be a VI. Custom controls do not "run" or have a diagram in which you can put any code to translate the cluster elements into a number like the VI does. Since you have LV7, I would suggest you use a sub-panel to display the VI and then in your main program you would get the numeric value by using an invoke node, or make the keypad a pop-up subVI. The other thing you might try is to see if you can find an ActiveX keypad control.
Message 2 of 2
(2,756 Views)