Question:
How can I set a historic to record data in the database only when there is an event, and not automatically/by scan?
Solution:
To do so, go to Historic tab, in the Historic settings window, and configure Add a new record every as 0.
In the event used to record data in the database, create a script running the Historic‘s WriteRecord() method.
NOTE: That way, the Historic will NOT record values by scan!