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 Windows
 ActiveX Controls
 scrolling graph control: max num points?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mhowe

1 Posts

Posted - 29 Jun 2004 :  16:15:03  Show Profile  Reply with Quote
Scrolling graph control
winaxc200
visual c++ net 7.1 (c++ code using atl)

We've introduced a scrolling graph control
(originally a sweeping graph, but problem
appears to exist under other types)
which fails under the following conditions

A loop generates data which is sent to the graph
via the .UpdateDynData() function. Only the 1st
500 points appear to be graphed.

Is this a known problem?
Please let me know if additional info is needed.

quinncurtis

1164 Posts

Posted - 30 Jun 2004 :  10:11:03  Show Profile  Reply with Quote
We modified our example program Simple, changing the update rate to 10 Hz, the sample interval to 0.1, and the x-axis maximimum value to 100.

m_RTScroll1.SetAxisMax (X_AXIS1, 100.0);
m_RTScroll1.SetScrollSampleInterval(0,0.1);
m_RTScroll1.SetTimerFrequency(10);


This results in a scrolling graph with 1000 points in the plotting area. The graph updated properly for the first 1000 points, and all subsequent updates past 1000 points. It also worked properly as a sweep graph. I am not sure what you mean by:

"Only the 1st 500 points appear to be graphed."

Can you describe how the example program Simple can be modified to reproduce your problem ?

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