HistoryGroupStorageTimes

HistoryGroupStorageTimes — specifies how long to keep data in a history.

Synopsis

(HistoryGroupStorageTimes group_pattern days hours minutes)
    

Arguments

group_pattern

A pattern to match one or more groups, such as HIST.

days

The number of days to store data. Enter 0 to ignore this parameter.

hours

The number of hours to store data. Enter 0 to ignore this parameter.

minutes

The number of minutes to store data. Enter 0 to ignore this parameter.

Returns

A message indicating success or error. Please refer to Return Syntax for details.

Description

This command specifies how long to keep data in a history. This corresponds to the Keep data for option in the Configure Historical Data Capture dialog of the Historian option of the Properties window.