Applies To: |
|
Summary: |
I'm trying to make a fast trending package.
I can gather the data as fast as they want and I can do everything
except put it on the screen.
I have also got it working with DspTrend, but, this doesn't display the trend on the screen until .... I don't know what triggers the display. I think that it is when the trend has enough samples in it to display a complete trend, but this seems erratic to me and does not initially display on the screen at the same time, each time. Once it is being displayed, I can get about a 100ms update time fairly consistently, depending on the size of the trend object and how many pens. Do you know what it is that triggers the display on the screen of the trend? Can I force it onto the screen immediately. |
Solution: |
DspTrend is optimized so that it will not
display anyting until it has its first set of samples. Eg say the
trend has 100 samples. If DspTrend did not do this then when
displaying the trend for the first time, it would draw it 100 times
as you added each sample. So the first 99 times you call DspTrend,
it will just remember the data and not display it on the screen.
Anyway you can work around this by either:
|
Keywords: |
Related Links
Attachments