[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1072
  • 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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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