Sepasoft MES Module Suite
system.mes.changelog
system.mes.changelog is the changelog script namespace. It returns change history for MES objects. Create a filter, set the limits on that filter, then pass it to one of the query functions. Each query blocks until the gateway returns.
| Function | Where it runs | Returns |
|---|---|---|
createFilter() | Gateway, Designer, Vision Client | A new MESChangelogFilter |
getChangelogData(filter) | Gateway, Designer, Vision Client | An Ignition Dataset, one row per change |
getChangeEvents(filter) | Gateway | A list of change-event objects |
getObjectChanges(filter) | Gateway | A map of MES object UUID to that object's change log |
createFilter() returns an MESChangelogFilter. Call showHistoricalNames(True) on that filter to include each object's name at the time of the change. The default is False, and the Historical Name column is omitted. Available in MES 3.81.13 SP3 and MES 4.83.3 SP3 and later. See MESChangelogFilter
|
getChangeEvents() and getObjectChanges() are gateway script functions. They are not available in the Designer script console or a Vision Client. |
|
A missing or |
Sepasoft MES Module Suite