Applies To:
  • CitectSCADA 2.xx, 3.xx

I cannot enter a trend period greater than 159 (seconds) when using Version 3, yet it was possible with Version 2.  This only occurs when entering the period directly in seconds - both versions work OK if entering the time in "hh:mm:ss" or "mm:ss". 

The value entered is a string and is converted to a period using the StrToPeriod function, though the operation of this function changed from Version 2 to Version 3.  In Version 2, the StrToPeriod function would convert any string integer into a numeric integer.  For example, StrToPeriod("456") would return 456. In Version 3, there appears to be an upper limit of 159.  The use of StrToPeriod with a value of "160" or higher will return zero.

Enter the required period in "hh:mm:ss" or "mm:ss".