Hi! Im new to Ignition so this is probleby an easy one for you guys. I want to logg and view events in the system(perspective) like pumpstarts, vessel states, limit changes. could someone point me in right direction?
./anders
Improve your specifications:
- If you want to know when a tag value changes then you can use the Historian or you can make a Tag Change event to write to your own database for that application. These will run even if there is no Perspective or Vision client open.
- If you want to know who changed it then your Perspective application can use the Perspective
session.props.auth.user
and incorporate the required properties into an onChange event on each button or numeric text entry field. The event script would then write to your database setup with (suggested) columns,
id (auto-increment)
t_stamp
user
controlId (e.g., "Pump03 motor", "Vessel 04 temperature setpoint")
action (e.g., "Pump start", "Pump stop", "Setpoint change")
previousValue (e.g., "Stopped", "43")
newValue
anythingElseYouCanThinkOfThatMightBeUsefulLater