I new at ignition and I'm trying to create a script for an OPC tag using the ValueChanged script. I'm completely lost. I don't know if I have my Path right, or anything. I figured out how to look at the log and have seen a variety of errors as I try different things.
Is there some script out there that already does this?
You mean send incoming values on one tag (OPC, presumably) to a different OPC tag?
Perhaps the techniques here will help you:
(Whatever you do, don't use system.tag.writeBlocking()
or system.opc.writeValues()
in a tag's valueChange
event.)