Where I can find a control that display the digital signal waveform??
Where I can find a control that display the digital signal waveform?? Thankx!
Re: Where I can find a control that display the digital signal waveform??
One way to draw waveform is to use CDC functions. In the OnDraw() call this drawing fuction say drawWaveFrom(CDC* pDC);
Use pDC->MoveTo() and pDC->LineTo() functions to draw lines. Since the wave can be viewed as integration of infinitesimally small straightlines, select appropriate delta_x and delta_y and may be delta_theta. Compute two points in the neighbourhood suiting your wave form. Draw the wave as you traverse across the width of the graph. You can use pens of your choice to change the colors of lines too.