Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

using GDI+ to display moving graph

Posted on 2011-03-01
2
1,065 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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

856 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