Memory Tag Last Changed Value

How do I get the LastChange attribute of a memory tag in scripting? I can read the tag and get its value, but can’t get the LastChange property. I tried “.LastChange”, “.lastChanged”, and “.lastchange” but all these give me an “object has no attribute” error.

myTimestamp =
print myTimestamp.LastChange

If this attribute is not available from scripting, how do I find out what is and what is not available?

Add .LastChange to your TagPath. Remember to grab the value, as returns a qualified tag object. :slight_smile:

TagPath = '[default]Test Tag.LastChange'

myTimestamp =

print myTimestamp.value
1 Like