Recording events

Hello all,

In other SCADA software we log events like valves opening and closing, motor starts and user actions like selecting manual operations etc. What is the best way to implement this in Ignition?

The Historian can do that for you by setting the tag history to "on change", or you can create your own logger using the menu | Project | Gateway Events | Tag Change and have a script record to database.

The first is easy to setup but has some difficulties depending on how you want to retrieve the data. The second gives you more control.

For the second you'd probably want to create a database and table with (at least) columns,

id                       (record id)
t_stamp
deviceName               (or number / code)
state                    (True or False)

Optionally you could record whether it was in auto or manual and log the user if done in manual.