12-07-2005 03:32 PM
12-07-2005 03:38 PM
Hello,
The first thing I thought of when reading your post was a really simple numeric keypad in one of the shipping examples with LabVIEW 7.1: examples\sound\sound adv.llb\Sim Phone.vi. Unfortunately, I can't seem to find that example in LabVIEW 8.0.
-D
12-07-2005 03:45 PM
12-07-2005 04:05 PM
If you go to the search field on the very top of the page, change it from the forums to the entire site and search for "keyboard example" or "virtual keyboard" you should find a few useful examples you can modify.
Note that if you want to type into another application that will be more complex. I'm not sure what the details are, but maybe you will need to move window the window to the top to get the text into it. Another option is probably inserting a message into the window's message queue, but that's just a guess. In any case, winutil may be able to help you (you can find it on the site).
If you're doing this inside your own application, then you shouldn't have any problems - you can just get the string and then transfer it to your field.
12-07-2005 04:15 PM
I hacked this v7.1.1 snippet together in a couple minutes, it is not complete but should give you the idea. Disregard the enter key, using stop button should work to demo it as a sub vi.
Hope it helps
12-07-2005 04:29 PM - edited 12-07-2005 04:29 PM
Message Edited by Dennis Knutson on 12-07-2005 03:30 PM
12-07-2005 04:32 PM
I would also like to suggest looking at something similar in NI's own calculator interface in the Express Formula VI. Maybe you could reuse some of the subVIs that it already uses.
The location is in LabVIEW\vi.lib\express\express arith-compare\FormulaConfig.llb\Configure Formula.vi
Hope that this helps,
Bob Young
12-08-2005 03:13 AM
12-08-2005 10:06 AM
Thank you very much for all your help. I'll see what I can do with these. That is exactly what I am looking for tst. You would think that it would be a standard with LabVIEW. I would be glad to stick with the Windows keyboard but it is just too small for my touchscreen, which is 10".
Again, thank you very much.