Using the CSV_Include Project > CSV_Include Reference > CSV_Include Functions > CSV_TrendX_InitSrvr()


Initializes Trends Server for instant trending. Set up table used for clearing data in trend cache. Set instant trend triggers to 1. Initializes queue for storing names of variables being trended by instant trend system.

Note: This function is to be called on startup for Trends Servers if instant trend functionality is necessary. To implement this without requiring a call to this function from within the startup Cicode function, it has been configured as a periodic event (listed as a CSV_TrendXServer event). The first time the event is processed the instant Trends Server functionality is initialized. Subsequent calls return immediately without effect.