Search found 3 matches
- Mon May 21, 2012 5:48 pm
- Forum: .NET
- Topic: Accumulation mode
- Replies: 4
- Views: 4273
Re: Accumulation mode
I figured out how to do it, but it is rather cumbersome... void OnAfterDraw(object sender, Graphics3D g) { if (_enableAccumulationMode) { // 1) render current frame to accumulation buffer using (Graphics gfx = Graphics.FromImage(_accumulationBuffer[0])) { g.BackBuffer.Render(gfx); } // 2) combine cu...
- Mon May 21, 2012 3:57 pm
- Forum: .NET
- Topic: Accumulation mode
- Replies: 4
- Views: 4273
Re: Accumulation mode
Hello Sandra, thanks for your quick reply. I could not find sth. suitable in the demo projects. Here is some code, that should give you the basic idea: // Methods gets called whenever data is available public void UpdateChannelData(string seriesName, double[] data) { var series = _oscilloscopeDataSe...
- Mon May 21, 2012 9:02 am
- Forum: .NET
- Topic: Accumulation mode
- Replies: 4
- Views: 4273
Accumulation mode
Hello Steema, I am drawing an oscilloscope in realtime using FastLine series. I also need a special "accumulation" mode to visualize signal noise by drawing each incoming data set *without* removing any of the previous data already visible. Adding a new series each time my data (8K point set) change...