0

DateTime of Last TVQ True Value

Is there a way to display the date of a Boolean tag of the last time it was True.  I have a customer asking to show when the last Downtime condition was reported.  This corresponds to the last time the Downtime Boolean tag was true.  Any ideas of how to display this or if it is even possible would be great.  I am also not afraid to script the solution in Axiom.  Thanks in advance!!

1 reply

null
    • Solutions Specialist
    • ebarnes
    • 12 hrs ago
    • Reported - view

    Hi  

    The easiest way to accomplish this would be to set up an Event that would be created each time the tag's value is True.

    This would not only give you the most recent occurrence, but would give you a nice history of all Downtime conditions, allows you to specify additional criteria (such as triggering the event only if a minimum duration of the True value is reached), and sending out email notifications of triggered events if desired.

    You can then use the Events Table control within Axiom and specify the number of events you would like to display (RowCount) and the interval you'd like to include (TimeDuration).

    If you have a need to pull the timestamp for other uses, scripting would likely be the course.

    Thanks,
    Ethan

Content aside

print this pagePrint this page
  • 12 hrs agoLast active
  • 1Replies
  • 9Views
  • 2 Following