|
-
April 9th, 1999, 11:38 PM
#1
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!
-
April 10th, 1999, 12:51 AM
#2
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|