Solved

using GDI+ to display moving graph

Posted on 2011-03-01
2
1,063 Views
Last Modified: 2013-12-17
I'm developing an application that I will use with a Labjack which will display digital and analog input from several inputs and display to several graphs. Currently I have 4 fixed PictureBox controls that display a square wave loaded from a text file. I'm loading all the values in a List and then I calculate the lines and put them in an array of PointF to be used as a parameter for DrawLInes(). Now I want to simulate random input from the Labjack digital IO and display it as a moving graph. How can I move part of the graph over and write to the new section using GDI+?
0
Comment
Question by:zliminator
2 Comments
 
LVL 85

Assisted Solution

by:Mike Tomlinson
Mike Tomlinson earned 125 total points
ID: 35013799
0
 
LVL 8

Accepted Solution

by:
mac-will earned 125 total points
ID: 35018005
This PID example in C# has a very simple graph that scrolls.

http://www.codeproject.com/KB/recipes/PID.aspx

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

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

920 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

16 Experts available now in Live!

Get 1:1 Help Now