I have my memory tag in the root of my tag browser, and I also put in a vibration call as well as some logging to keep track. Based off that, I can confirm that It is getting the barcode scan data and it’s getting the text from the barcode, but it doesn’t seem to be updating the memory tag.
A few other things I’ve tried:
writeBlocking instead of writeAsync
Pulled the inputs to writeAsync outside of the array brackets
Binding the memory tag to a label and a text input field
I made a copy of Barcode_Tag and it created “Barcode_Tag 1”. I copied the path (i.e. right-click the tag, Copy Path) and pasted the new path in the session event script. No dice.
Alright, a new development. I created a blank project to test it out and the barcode example worked flawlessly. I noticed that when it worked, I was using a different Tag Provider. I tried using the original tag provider and it stopped working! I went back to my original project and tried using the incorrect tag provider and it started working!
I checked both projects’ properties to look for any differences and couldn’t see any. I decided to look at the settings for the tag providers and I found that the original tag provider was set to Read Only. I turned that off, and not surprisingly, the barcode scanner started working.
I’m kind of surprised nothing came up in the logs about trying to write to a Read Only tag provider. Is this something that can be added in future versions?