Barcode Scanner Input Component

I played around with the barcode component yesterday.

I created a button that triggered the scan barcode event, Then in session events added this script under Barcode scanned.

system.tag.writeAsync(['[default]New Tag'], [data.text])

New tag was the name of the memory tag I created just for testing. The button opened the device camera and as soon as it detects a barcode it closes the camera and puts the barcode results into the tag.

2 Likes