Hi,
How do I find out what the correct syntax for the overrides is?
I need to override the EngUnit and the scaling of a tag.
I can’t seem to find the syntax for setting the scaled mode and raw/scaled min/max parameters.
I need syntax for the code below. Bold area indicate the syntax I’m missing.
system.tag.editTag(tagPath = “tags/testUDTTag1”, overrides={“Tag1”:{“EngHigh”:150, “ScaledMode”:“Linear”, “RawHigh”:100, “RawLow”:0, “ScaledHigh”:10, “ScaledLow”:0}})
Thanks
Edit:
Ok, so I think I found the answer here:
https://docs.inductiveautomation.com/display/DOC/Tag+Attributes
Only remaining question is what integer value I need to set “ScaleMode” to for linear scaling - a few tests will tell me that.