Skip to content

GigasoftInc/winforms-chart-realtime-circularbuffer-computeshader-direct3d-proessentials

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real-Time Circular Buffer — 4 x 2M Points — WinForms

ProEssentials v10 WinForms .NET 8 — 4 subsets × 2,000,000 points streamed in real time via zero-copy UseDataAtLocation + CircularBuffers + Direct3D ComputeShader. A timer appends 150 samples/subset every 15ms; a right-click submenu toggles Stationary vs Scrolling zoom.

Real-Time Circular Buffer WinForms

What This Demonstrates

  • Zero-copy streamingUseDataAtLocation points the GPU staging buffers directly at app-owned arrays; AppendData wraps in the ring with no realloc.
  • 8M points (4 × 2M) with Filter2D3D lossless pixel-level reduction.
  • Custom right-click submenu (PeCustomMenu) toggling zoom-follow behavior.
  • Code-built UI — chart + timer + menu handler in MainForm.cs; no .Designer.cs / .resx.

WinForms vs WPF

All chart configuration, the data generation, the AppendData logic, and the PeCustomMenu handler are identical to the WPF version. Host changes: DispatcherTimerSystem.Windows.Forms.Timer (Interval = 15), System.Drawing.Color, and the timer is stopped in Form.FormClosing.

➡️ WPF version: wpf-realtime-circular-buffer-8million-points-proessentials

How to Run

  1. Clone, open RealTimeCircularBuffer.sln in Visual Studio 2022
  2. Build → Rebuild Solution; press F5. Right-click → Zoom Mode to toggle.

NuGet

References ProEssentials.Chart.Net80.x64.Winforms (>= 10.0.0.28).

License

Example code is MIT licensed. ProEssentials requires a commercial license for continued use.

About

Winforms real-time line chart: 4 subsets × 2M points via UseDataAtLocation + CircularBuffers + Direct3D compute shaders. Zero-copy local memory pattern. Custom menu toggles 145 vs 146 zoom behavior. Pesgo .NET 8.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages