Timestamp from Tag triggered event

I’m trying to display a timestamp based on a boolean tag.

i.e. When a “start” momentary button is pushed, display the time the button was pushed. When a “stop” momentary button is pushed, display the time the button was pushed. Two separate time stamps displayed. The times need to remain displayed until the button is pushed again, overwriting what was previously displayed. I don’t need to store the timestamps in a DB at this time.

Thanks for your help.

Create two memory tags and then on the tags do a change script and write the datetime to the memory tags.
Then just bind labels on your window to those tags.

1 Like