03-10-2021 01:15 PM
03-10-2021 01:37 PM
It works just like ti is. All you need to do is look for key down operation in the event structure.
Like this:
I use these in a few places. It is very easy and does not require an SDK or anything. Make sure the VI that you put this in is set to modal so you are getting the update in this vi.
08-19-2024 01:12 AM
Hi Tim,
Is it possible to provide a vi example that I can download?
08-20-2024 09:57 AM
I have used 1D and 2D barcode scanners for _years_ without the need for SDK's or API's. Of course I have never needed to do anything complicated with them other than capture serial numbers and part numbers.
You can treat them exactly like keyboard entries.
The one recommendation I have is to configure your barcode saner to append a <CR> to the bar code. That makes processing the input much easier. IE you do not need to process each character, just process the whole scan, just like entering it from the keyboard.
TL;DR: Treat the barcode scanner like a keyboard. If it works with keyboard input, it will work with the scanner.