Hey guys,
I wanted to plot of the data from my a but arduino on a graph but didnt have any luck with finding libraries or serial monitors with this capability. I tried things like http://koolplot.codecutter.org/, but i dont this arduino is 'ardunio compatible because i kept getting errors like :
C:\Users\Dell\Downloads\arduino-0022\arduino-0022\libraries\koolplot1_2/winbgitypes.h:65: error: 'WM_MOUSELAST' was not declared in this scope
C:\Users\Dell\Downloads\arduino-0022\arduino-0022\libraries\koolplot1_2/winbgitypes.h:65: error: 'WM_MOUSEFIRST' was not declared in this scope
C:\Users\Dell\Downloads\arduino-0022\arduino-0022\libraries\koolplot1_2/winbgitypes.h:66: error: 'WM_MOUSELAST' was not declared in this scope
C:\Users\Dell\Downloads\arduino-0022\arduino-0022\libraries\koolplot1_2/winbgitypes.h:66: error: 'WM_MOUSEFIRST' was not declared in this scope
C:\Users\Dell\Downloads\arduino-0022\arduino-0022\libraries\koolplot1_2/winbgitypes.h:68: error: 'HANDLE' does not name a type
C:\Users\Dell\Downloads\arduino-0022\arduino-0022\libraries\koolplot1_2/winbgitypes.h:84: error: 'DWORD' does not name a type
C:\Users\Dell\Downloads\arduino-0022\arduino-0022\libraries\koolplot1_2/winbgitypes.h:88: error: 'HDC' does not name a type
I also want to be able to plot functions (like x^2 + 2x -4).
SO can anyone link me to a decent graph plotting library that is free?
Thanking you in advance, MAD mir.
You can get the QT libraries for C, if that's your desired language. Granted, C is probably the toughest language to do graphics easily in.
You can easily write some java code with the standard packages in eclipse to draw your own graphs. You probably could google for a graphing java class, and come up with some source that's ready to go.
I've used Visual Basic to draw graphs before, super easy.
Excel can do it, if you don't mind VBA, and don't need it real-time.
Yea i was actually wanted to just visualize the data coming in, i dnt mind if its a java applet or wtever i just need it to be able to read my serial port and plot the data accordingly. I'm sorry im new to C++; when i said libraries i meant some sort of ready to go software with which i can easily graph data using my arduino.
No i do not need to drive a plotter and i cant just copy the data into ms excel etc. because i want to be able to Show my students the data coming from the arduino in real time.
So i guess if theres no apps available which can do this ill have to write the code myself in VB then, any final suggestions before i pick up a new programming language then ??
Hey guys i found a way to this using MS excel in REAL TIME! after a little research (actually 5 hours of research fml..) i found a wonderful app called "gobetwino".
It reads the serial port and listens for commands, these commands enable it to open programs, send emails and use sendKeys!!! THE POSSIBILITIES ARE ENDLESS!
anyways back to the project, I modded one of the examples that comes with the software to make it neatly print the sensor readings every 0.5s on a spreadsheet column. Then using the graphing capabilities of excel i was able to make a decent real time graph display. However there is a downside, there is quite a bit of latency between the arduino and the excel sheet so its hard to go above a certain 'resolution' for the data.