Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1074
  • Last Modified:

using GDI+ to display moving graph

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
zliminator
Asked:
zliminator
2 Solutions
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
0
 
mac-willCommented:
This PID example in C# has a very simple graph that scrolls.

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

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now