Scanning Barcodes

For Vision, you have multiple approaches:

  • Use the scanner in keyboard wedge mode, and arrange to have focus in the correct field before scanning.

  • Use the scanner in keyboard wedge mode, but use Sepasoft's Barcode Scanner module to intercept barcodes based on a prefix, sending the result where you like.

  • Use the scanner in keyboard wedge mode, but roll your own application-wide keystroke interceptor via java Swing "under the hood".

  • Use the scanner in USB Serial Port emulation mode, and run a long-lived thread to monitor the serial port. Typically delivering scanned values to a Vision Client tag, from which you can bind or trigger other events.

Related discussion, with more links:

1 Like