I have a button that scans a barcode when i press it because of the Scan barcode event on the onclick event.
Now I have scanned a barcode I want to display this in a label.
I’ve watched a video from inductive where this was explained and where pointed too the session.props.device.barcodes wich is not available.
I saw something about that the way this was handled is changed but not how we can do it now?
We just changed how barcodes are received. Instead of appending to session.props.device.barcodes, we’ve added a script in Perspective > Session Events for handling barcodes.
so would a scripting call for that then be perspective.session.onBarcodeDataRecieved or system.perspective.session.onBarcodeDataRecieved? (Or something else?)
Hi @joostjojo - agreed that this isn’t the way it should be but to get me going can you please provide the script you used in your event? I took a stab at system.tag.write("[client]Scanned_Barcode", data) and no luck. I’m guessing I don’t have something right with the data argument.