I am after some advice for my barcode scanning app.
The devices running my App have either USB or bluetooth 2D scanners attached, they connect as a ‘keyboard’ and push 13-digit barcodes followed by a carriage return to regular input elements.
Post-scan processing occurs with each scan triggered when the vaule in the input is changed, then the input is cleared after each scan.
I’m finding, irrespective of device and scanners used, that some barcodes append together and/or skip the carriage return (leaving the barcode in the input) causing data quality issues and missed scans.
To rule out hardware, I’ve tested scanning direct to notepad as fast as possible and data capture is perfect.
I’ve tried using two alternating inputs, showing the 2nd as soon as the 1st has its value changed. This improves things slightly, but the problem persists.
Asking my users to “scan slower” isn’t an option.
I’d value the community’s opinion or ideas on this.
Would writing scans to a custom state list FIFO-style speed this up perhaps?
if so, would this be achieved using:
- a “do every x seconds” workflow?
- a “Do when condition is true” workflow?
Or, is this an inherent limitation of the input element I’m unlikely to get past?
I’ve seen another post for writing to a multiline input instead, but not sure how to process multiline entries in this manner.
Appreciate it if you read this far. Look forward to any responses
Ben