Configure Retention (Duration)
- Updated2025-07-28
- 1 minute(s) read
Creates a retention policy for historical tag values to expire after a set number of days they were written.

tag in
Reference to a tag on the server.
Use Open Tag or Query Tags to obtain this reference.
days
The number of days tag values stay in the tag history before they expire.
The default is 30 days.
error in
Error conditions that occur before this VI runs. The VI responds to this input according to standard error behavior.tag out
Reference to a specific tag on SystemLink Server.