Solved

Oscilloscope

Posted on 1998-07-17
5
208 Views
Last Modified: 2013-11-20
I am collecting some data through a data acquisition board and want to plot it on my client space. In short I want to convert the client space into an Oscilloscope like thing, how do I do this? I would be happy if somebody would give me some sample code to do this.
0
Comment
Question by:sram
5 Comments
 

Accepted Solution

by:
zingo earned 50 total points
ID: 1319384
I would do something like this:

In your document class, create a circular list with as many
elements as you want samples shown on the screen.

Insert the values from your data acquisition board into this list, when it is full you just overwrite the oldest one.

In your client windows OnDraw operator, insert code to draw a diagram from the list in the document class. You know how to draw in a window, right?

If you don't want to implement a circular list yourself, just use an array with read and write indexes.

Unfortunately I don't have any code for you to do this.

Good luck!
0
 
LVL 2

Expert Comment

by:warmcat
ID: 1319385
Hey sram -

You might like to resolve your previous question at http://www.experts-exchange.com/topics/comp/os-ms-windows/programming/mfc/Q.10064317


0
 

Expert Comment

by:gemme
ID: 1319386
I have purchased a library of graphics tools that do just what you need. It is not expensive and will save you a lot of time. Let me know if you are interested in this information.
0
 

Author Comment

by:sram
ID: 1319387
Yes sure! I would like to have the details.
thanks

0
 

Expert Comment

by:gemme
ID: 1319388
There are a few different products
1. Real time graphing tools
2. charting tools (for graphing static data)
3. Graphics class library for MFC.  You need the first two to get
   this one.

to get more info, go to http://www.quinn-curtis.com.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Generic progress indicator 6 113
Smart Camera scanning and reading information 3 99
no14 challenge 14 62
changeXy challenge 13 67
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now