I am trying to turn on/off tag history based on a boolean tag, but I do not see any option to bind a tag.
Is it possible? or is there any way around ?
My goal is to turn on off tag history based on a boolean tag (external trigger)
It’s unbindable, you would need to do this with a script. I don’t recall if the historyEnabled prop on a tag is read only, if not you can just write to it with system.tag.write*, otherwise you’ll need to write it with system.tag.configure
1 Like
This is a really bad idea. Whether and how to historize is part of a tag's configuration, and changing at run time is expensive and disruptive.
Use triggered transaction groups or scripted database operations for such behavior, not the historian.
2 Likes
This. I script DB inserts based on when the machine’s in automatic mode. Why log data when the production ain’t producing.