Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
rhaub Newbie Joined: 24/06/2014 Location: United StatesPosts: 1
Posted: 06:10pm 23 Jun 2014
Copy link to clipboard
Print this post
If any of you get Nuts and Volts Magazine you may have noticed the recent series on the MakerPlot program. It is a versatile plot program for micro-controllers. I liked the idea of being able to do such a thing so I have written a program to emulate some of the features. Here are some screen shots
As you can see it will graph both analog and digital signals. After the end of a run it will save the analog data out to a file that can be imported to an XML compatible program. It also has toggle switches to activate digital output lines and LED indicators to monitor digital inputs. On the bottom you can see that analog meters are also available. Push buttons can be used as well.
This program is not a stand alone application but is rather a collection of subroutines that can be dropped into a plotting program. Right now it will track up to 4 analog inputs and 8 digital inputs. It does not save the digital data and I have not implemented a way to activate the button. I'm going to tweek the program a bit this week and see if I can get it to plot up to eight analog lines and put in a button press routine. I will most likely have to pullout the data arrays and save data on the fly. I am using almost all the memory available right now.
It is a fairly slow plotter. It takes about 6 seconds to take 300 data points.
I may be using this code in an upcoming article that I am authoring so I will have to wait till after the article to release the code but if any one has any questions I'll be happy to answer them.
Cheers!Edited by rhaub 2014-06-25
OA47 Guru Joined: 11/04/2012 Location: AustraliaPosts: 982