So I’m currently running a Trial version of Ignition and don’t currently have a license available yet. Our company has other licenses, but we’re testing stuff out right now and there’s no license provisioned for my use at the moment, so keep that in mind I guess.
I have a String Array Tag configured as in the screenshot below:
This tag is part of a UDT, not sure if that matters.
However, the value of the tag seems to eventually just get lost. The trial just now expired and I reset it and the value was still there, but most days after checking the system again after leaving it overnight, the value has disappeared.
The single event script is a tag change script that simply concatenates all the items in the array into a new string, and then writes that string to another tag. I did notice just now, however, that the tag event script was returning the concatenated string after writing it to the other tag. I’m not sure if returning from a tag event script causes problems. I don’t see anything in the documentation saying what happens to the value that a tag event script returns.