02-13-2009 03:59 PM
Hi, I am kind of new with this type of LabVIEW as I have mostly done DAC inputs instead of keyboard. I have a barcode reader that scans 7 digits. I have tried the keyboard aquire, but all this does is zip through the keys very fast and only shows one key at a time.
I don't know if this is possible, but I would like the barcode (acts like a usb keyboard) to output its string, and then have labview take those 7 characters and mash them into one string.
Any help on this would greatly be appreciated!
Thanks again
Solved! Go to Solution.
02-13-2009 04:48 PM
02-13-2009 09:09 PM
02-13-2009 09:18 PM - edited 02-13-2009 09:19 PM
OK, maybe the easiest way to do this is with the "Prompt User For Input" vi. It's in the function palette --> Programming --> Dialog and User Interface. You do not need a keyboard acquire or event structure or anything like that. If you want to get a bit more sophisticated or customized, you can make your own dialog box with a string control.
02-13-2009 09:19 PM - edited 02-13-2009 09:21 PM
You are making it much too complicated. You don't use the keyboard acquire at all. If you asked an operator to enter a string, you wouldn't use that, would you? No, you would just have a string control that is read.
Oops. the image has a mistake. There should be a True constant wired to the property node.
02-13-2009 10:20 PM
02-13-2009 10:21 PM