I am creating an application with two scroll graphs with x scaling set to RT_MAXEXTENT_FIXEDSTART_AUTOSCROLL. Both graphs have 6 RTProcessVar that will be updated every second the application will run for about 5hours. (60*60*5 = 18000 data points per variable). I have been able to create a demo and this has run for about 1hr. I did a quick search on the forum and found the AutoTruncateDataset, AutoTruncateMinCount and AutoTruncateMaxCount properties for the RTProcessVar. Is the RTProcessVar and its plots design to work with so many data points? Should I set a Max size in case the application is run for longer than 5 hours? Is there a way to reduce the data in the RTProcessVar by removing every other value? Any suggestion would be useful. Thanks
There are no limits to the number of data values a RTProcessVar object can handle, other than your processor speed, and amount of memory you have. Since these can vary by x100, given the wide range of computers used out there, the limits of the software are determined entirely by your own specific application and hardware setup.
So, it is up to you to determine what the maximum number of data values you store is. If you do not need to view more than 1 hours worth, truncate the data after 1 hour. If it is 5 hours, truncate it after 5 hours. Once collected, you can't go in and reduce the number of data points in an RTProcessVar object.