Applies To:
  • CitectSCADA 1.xx, 2.xx, 3.xx, 4.xx, 5.xx

The cicode function TrnSetTime() sets the trend page to blank. 

CIT has confirmed this to be a problem in Citect for Windows versions 2.x to 5.10. This problem has been fixed in version 5.20.

TrnSetTime() now returns 'invalid parameter' if you try to set the trend time to before 1980 or after 2035. If your time is after the current time, the trend goes into realtime mode. The include project has been modified to alert the user by putting a message on the Prompt.