InTouch SCADA Scripting - Setting the Start Time of a Historical Trend

The ChartStart dot field can be used with the Historical Trend tag to read or write the value of the start time (left-hand side of the trend).

 

Use

Reads / writes positive integer values

HistoricalTrendTag.ChartStart = integer value;


Comments

The integer value is a representation of the number of minutes passed 1st January 1970.

 

Example

HistoricalTrendTag.ChartStart = HistoricalTrendTag.ChartStart – 60;

The above example will subtract 60 minutes from the current trend start time.

 







Return to all articles