Help with Zebra Barcode Scanner in Perspective

Figure out what they are, and you can then use .split() to parse your message.

Got ya, not super important right now.

If you dont mind, I will follow up with another question.

The intent is to read four items from this string and assign them to four different tags. These tags will be displayed on the HMI page. What is the best way to have the barcode scanner input on a view without making it visible? Should it be hidden?

You should be able to have it hidden, but I like to keep it visible and hold only the last scan so the user can see what the last scan was, even if the parsing failed.

For best practice, you'll want to write a project script to call from the event, but to start you could do something like this.

lastScan = self.props.data[-1]
# parse
parts = lastScan.split('|')

# parts should equal ["91613727","102103310777","934366602","942000"]
do something with the list

I would say that best practice would be to use an expression binding on the text field's props.text

Like:

split({BarcodeScannerInput.props.data[-1]},'|')[0]

Just change the index based on which section of the barcode belongs to that component.

NOTE: Make sure you use the property selector to get the correct path to the Scanner input component.