I am trying to use 2D Barcode scanner to scan the downtime reason on the floor. I have a tab container and in one of the tab, I have a embedded view that has the barcode BarcodeInput component.
no matter what I scan I get below response on the screen
I tried directly on the perspective page without the embedded component and still I see the same behavior.
Any suggestions ?
What regex/pattern matching(if any) is applied to the barcode input component? Show a screenshot of the component properties if you can.
What model of scanner are you using? What is the output of that scanner configured for? (Prefix, suffix, termination character?) What is the content of the barcode you are scanning supposed to be?
There is no specific pattern, I was looking to scan numbers and alphanumeric values to store to a memory tag.
This is the
datalogic scanner we have, I don't know how it was set up
Open notepad (or notepad++, if you have it) on the device connected to the scanner. Create a new text file or tab, and make sure your cursor is on an empty line and scan something using the scanner. It should write to the line in notepad, and you should be able to see the general output format of the scanner.
If that doesn't work, you'll need to connect to the scanner using their config software and see how it is configured, and use that to configure Ignition to look for the same things to properly parse the data.
@ryan.white, I created two barcodes using this site Free Online Barcode Generator: Create Barcodes for Free!
1. number 100
2. text "Not Scheduled"
I tried scanning in excel and in notepad and I got 100 & "Not Scheduled"
text.
Just to confirm, I did scan many times and every single time I got the correct value through the scan.
Looking through the documentation and based on the results you got, the scanner is running with no prefix and a carriage return as the suffix.
Trying setting the barcode scanner input component's suffix value to \r
1 Like