Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

How to suspend waveform graph rendering

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.

0 Kudos
Message 1 of 2
(3,426 Views)

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.

0 Kudos
Message 2 of 2
(3,401 Views)