[Process Analyst] Trend export to CSV freezes Runtime window

Citect 7.50 on one of my site computers (Win7 32-bit, core i3, SSD - B&R panel PC) has a trouble: when I try to export more than 4 pens Runtime window freezes (white square). On my virtual machine (my developer station) I have never been see this troubles with export.

In the Citect help I see a parameter [Trend]CacheSize3    - can it help in my situation (if increase it from 764 to 65536) ????

  • Hi Anton,
    The CacheSize parameters would not help for this issue. They are primarily related to the way trend samples are buffered in memory and influence how frequent the data is flushed to disk. See TN8549 for more details and use cases for this parameter.
    With regards to your issue, it sounds like something else is going wrong. It might be worth capturing a dump (from Task Manager) and get the memory heap analyzed when the freeze occurs. The best option is to contact AVEVA support and get their assistance. I have seen cases where rebuilding the machine (not changing anything physically on the hardware, just re-install the OS) has fixed these types of strange issues. So it could be specific to just this one machine.
    Kind regards
    Olivier
  • Is API which used by Process Analyst and CiCode TrenExportCSV to export trends to CSV files the same ?
    I think if I will write my personal CiCode function for export trends may a get the same freeze ?
  • Hi Anton,
    The API is likely the same. Both would be calling TrnQuery at the lowest level to extract the information. But both could use different parameters.
    It would be worth testing TrnExportCSV to see if it causes the same hang/freeze.
    You could also enable Kernel Watchdog to create a crash file, which could be analysed by AVEVA support.
    Kind regards
    Olivier