Applies To:
  • CitectSCADA 5.50, 5.50 Service Pack A, 5.50 Service Pack B, 5.50 Service Pack C, 6.00, 6.00 Service Pack A
  • CitectHMI 5.50, 5.50 Service Pack A, 5.50 Service Pack B, 5.50 Service Pack C, 6.00, 6.00 Service Pack A

Summary:
When I use PageTrend() to display a trend page that is based on the standard template it will not assign any of the specified trend tags to the pens, but it will when called for trend pages based on xp_styled templates. I have the CSV_Include project included in my project.
 

Solution:
The PageTrend() cicode function is a wrapper function located in Citect.ci of the Include project. It checks to see if you have included the CSV_Include project in your project. If so then it calls CSV_Trend_Page() which only works for xp_style trend pages, otherwise it calls _PageTrend() which only works for standard trend pages.

If you plan to use standard trend pages in your project when including the CSV_Include project then you will need to call _PageTrend() rather than PageTrend().
 

Keywords:
PageTrend(), _PageTrend(), CSV_Include, trend page, trend display, trend Pen  

Attachments