D
~dr-sci-fi
scenario:
i have a main form, and 4 custom controls that generates real-time wave
forms bitmaps (from h/w input signals);
i currently pass reference of one picturebox to each control (picturebox
controls are laid on main form), which runs on its own thread, and use
..BeginInvoke to update that picturebox,
the problem is: when all 4 controls are active, my CPU usage goes really
high to render the updated data.
i've noticed that is if i overlap my app window with some other app like
explorer, CPU usage goes normal, means it is only rendering that takes the
most of CPU time when app is visible.
please help me to optimize my application.
TIA
- sci
i have a main form, and 4 custom controls that generates real-time wave
forms bitmaps (from h/w input signals);
i currently pass reference of one picturebox to each control (picturebox
controls are laid on main form), which runs on its own thread, and use
..BeginInvoke to update that picturebox,
the problem is: when all 4 controls are active, my CPU usage goes really
high to render the updated data.
i've noticed that is if i overlap my app window with some other app like
explorer, CPU usage goes normal, means it is only rendering that takes the
most of CPU time when app is visible.
please help me to optimize my application.
TIA
- sci