Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Microsoft .Net & .Net Compact Framework
 Real-Time Graphics Tools for .Net (VB and C#)
 RTProcessVar Max Size
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

cages

1 Posts

Posted - 25 Jan 2011 :  10:35:36  Show Profile  Reply with Quote
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

quinncurtis

1164 Posts

Posted - 25 Jan 2011 :  10:59:56  Show Profile  Reply with Quote
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.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-07 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07