AdvancedHMI Software
General Category => Support Questions => Topic started by: Mvlawn on April 02, 2016, 07:01:00 AM
-
Is there a way to adjust the sampling rate and display time on the Basic trend chart? It appears to display about 5 minutes worth of data, sampling every couple seconds. I would like to sample every 5 minutes and display 24 hours of data.
-
The PollRateOverride of the driver sets the sample rate. If you want a different rate than everything else, add another driver instance and set the ComComponent property of the chart to point to the other driver. The PollRateOverride is in ms, so for 5 minutes you would have to set it to 3000000
-
Thanks Archie!!! Being as I want to capture 24 hours of data once every 5 minutes I assume i would set the max points for 288 in the trend properties. Is that correct?
-
Yes, that is correct.
There is another possible option that may be better. Can you store the 288 points in your PLC/device in an array or consecutive addresses? If so, you can use the ChartByArray.