11-14-2008 05:21 PM
Is there a way to suspend the rendering of the waveform graphs. Sometimes my sampling rate is really fast so i don't want
to render my graph as fast as the sampling rate. However I still want to append it to the graph so that I don't have to keep a buffer.
Basically, I wanted a way to stop the graph from drawing but still be able to append new points in.
Thanks.
11-17-2008 03:44 PM
Hello datzstr8,
The BeginUpdate() and EndUpdate() methods of the WaveformGraph class may suit your needs in this instance. These functions "temporarily suspend painting" and then "resume drawing" of a Waveform Graph control respectively, per the NI Measurement Studio help. Although meant to be used to avoid flickering when making changes to the appearance of a control, I think they may be helpful to your end goal in this instance.