12-18-2019 01:06 AM
i have Honeywell Barcode Reader Model No:-1450 with usb interface.How i can proceed with labview to program it.
Solved! Go to Solution.
12-18-2019 02:24 AM
12-18-2019 03:41 AM
can u share any sample code.
12-18-2019 04:16 AM
If you had a reader that simulates a serial interface I could, but the problem with most usb versions is that they really are adding to the keyboard entry. So reading the keyboard via the NI-functions in LabVIEW is best you can do.
You find the keyboard vi's under connectivity/input device control/initialize keyboard.vi
Or press ctrl-space, type keyboard, enter and see what you have.
an example is (on my system) C:\Program Files (x86)\National Instruments\LabVIEW 2018\examples\Connectivity\Input Device Control\Monitoring Keyboard and Mouse Activity.vi
12-18-2019 10:19 PM
I have attached the technical specification.where USB,keyboard wedge,RS-232,Rs-485 all four are available.so,from which i can easily proceed with labview.
12-19-2019 12:38 AM
i can configure my barcode to usb serial emulation mode.then how to implement the program in labview.
12-19-2019 09:00 AM
Hi
If the barcode reader acts as a serial port, you can use VISA to read characters from the port. An example is the "Simple Serial,vi".
I have a modified example attached in LV 2018. Because you only have to listen to the serial line and detect a barcode.
Probably a CR or LF is used as the end character or maybe both.
In my example I expect a LF.