Pages: 1 [2] 3 4   Go Down
Author Topic: Real Time Plotting Tool ( Oscilloscope )  (Read 28625 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

as i type this out i realise it's most probably a massive noob question , but i still hope u can help im running and Arduino UNO and im trying to run your sample code for four analogue outputs to sim plot . im confused about where i get the imformation to fill out this line in your code ??

im using com port 10 if that help's any help would be great

Code:
//IMPORTANT: Change to serial port that is connected to PC
  Serial.write((uint8_t *10 )buffer, pktSize);
Logged

USA
Offline Offline
Newbie
*
Karma: 1
Posts: 30
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

If you have connected the Uno to PC with USB connection that you used to download the sketch, then you don't have to change anything in the sketch. Other Arduino models have more than one serial port and if someone has done something fancy then they need to change the code in the sketch.

COM Port 10 is port number on the PC side. Chose Com Port 10 in the drop down box in SimPlot.

You don't need to make any changes to code in sketch.

brijesh
Logged

Pakistan
Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hello all.
My question is how to get real time data from arduino board to computer and then to Excel for further operation like ploting graphs... etc
Can some one tell me about PLX DAQ of arduino. Is this use for the same purpose as i describe above?
thanks
regards.
Logged

UET

USA
Offline Offline
Newbie
*
Karma: 1
Posts: 30
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello Fazal,

SimPlot can be used to observe real time plots. Currently it does not have feature to log data for further processing. I am in the process of adding that feature.

PLX DAQ does seem to have all the features you are looking for. You would have to figure out the protocol and use it.
Logged

USA
Offline Offline
Newbie
*
Karma: 1
Posts: 30
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

It has been brought to my attention that download link is not working. There appears to be a problem with Google project hosting. Other
projects have also reported this problem.

Here link to thread discussing the issue
http://groups.google.com/group/google-code-hosting/browse_thread/thread/c0bee98d79267240

Apparently there is a error in the file url address being generated.

Meanwhile here is edited direct download link
http://pushpak.googlecode.com/files/SimPlot%20Ver1-1.zip

Lets hope they fix it soon.

Cheers
« Last Edit: September 16, 2011, 10:47:36 am by Brijesh » Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 121
Posts: 8458
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Brijesh,

Is Simplot still written in .NET?

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

USA
Offline Offline
Newbie
*
Karma: 1
Posts: 30
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello Rob,

Yes SimPlot is still written in .Net. I used Visual Basic, thinking that it would be easier for others to modify and contribute.
I just created a project for SimPlot and hosted it on google code. Here is the link.

http://code.google.com/p/projectsimplot/

Brijesh
Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 121
Posts: 8458
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

OK, I've been looking around for a base to start with a GUI for a debugger I'm designing.

http://arduino.cc/forum/index.php/topic,72014.0.html

I'm semi-familiar with .NET and that was my initial preference but I would rather have something that's cross-platform and your post led me to NetworkViewer which is written in QT. I have .NET so might download QT and play with that for a while as well.

Truth is I don;t know where I'll get the time, it will be a big enough job doing the sharp end let alone the GUI as well.

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

0
Offline Offline
Newbie
*
Karma: 0
Posts: 29
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

I can't seem to get the SimPlot to actually plot something.
I tried loading both your arduino examples onto my Uno and neither of which display anything in SimPlot.
It would appears that it is opening the COM port but then after that there is not communication judging by the leds on my arduino board.
If I tried to connect to it via hyperterminal while SimPlot is connected then it tell me the port is in use basically. So I know if is connecting.
If I do connect to it in hyperterminal it sends out a whole bunch of data.
I'm hoping I'm not overlooking something simple here but there isn't all that many buttons to press.

Is the visual basic project available to the public?

Please see the screenshot below of the blank SimPlot.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 29
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ah. Pressing the reset button on the Arduino fixed it...
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi.
I got the same problem, no curve, reset cards did not help.

Tried and end Simplot, then start up the serial monitor (in Arduino software)
The serial monitor is built up a string that looks like this

üìÿíüàü¤ù¡ü¥ü¥ü ü ø¡øàøàøàôà

Which I assume means that the data it receives from the program in Arduino.
Closes the serial monitor, restart Simplot, but no curve.
Both Simplot and serial montitor acts as connected port 18

What might have gone wrong here?

Thank you in advance
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello Nor1,
I was having similar symptoms: SimPlot would seem to make a connection to the appropriate COM port, but no data would be plotted.  I think this means that the program does not recognize the data in that port.  Perhaps it does not have the right packet structure.

For me, eventually I found that swapping the order of the bytes within the 16-bit word made the difference.  I am using my own board, not Arduino.  I am not sure how the Arduino boards send data through the serial port.  For me sending out 0xCDAB, 0x0002, 0x01FF (header, packet size, data) did not work, I had to send 0xABCD, 0x0200, 0xFF01.  Attached is a screenshot of the data coming out the serial port as displayed in RealTerm.



http://www.freeimagehosting.net/aa1c8

I wonder if you are having a similar problem.  Good luck.

Brijesh,
Thank you for sharing such a useful program.  It is quite helpful.

Tom


* ScreenHunter_02 Dec. 01 14.11.gif (41.69 KB, 709x456 - viewed 39 times.)
Logged

USA
Offline Offline
Newbie
*
Karma: 1
Posts: 30
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

ooh crap, smiley-mad
sorry for not responding to recent posts. I was relying on email notifications for any activity on this thread and for some reason I have stopped getting those notifications and I assumed there was no activity. Plus I recently relocated due to a new job so was kind of busy. I hope you guys have figured out what the issue was, I will look into it further tonight. I have couple of updates for the software, added file logging capability. Will be releasing the update soon.

Thanks for your patience and Happy New Year.  smiley
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm interested in using the SimPlot software with an RS232 connected laser displacement sensor (Acuity AR600). The software will connect and scroll realtime data in the watch window, but nothing displays in the plot window. I suspect that the data format is incorrect. I believe the incoming data from the sensor is an ascii string representing a floating point value from 0.0000 to 2.0000.

Can someone tell me how to translate this data stream into something that SimPlot can understand?
Logged

USA
Offline Offline
Newbie
*
Karma: 1
Posts: 30
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

First an update. New version of Simplot is now available (Ver 1.2). Simplot has built Arduino "monitor" functionality. Now you can plot data and also print debug messages.

@prochot
Looks like you have directly connected the sensor of PC uart. Looks like output of the sensor is in ASCII format and what is what you are seeing in Simplot terminal window (monitor window).

Do plot the sensor values you have to send the data in particular format. The required data format is explained on website under the section "The How"
http://www.negtronics.com/simplot

You will also fine example code for Ardunio format. To make this work you will have to connect the sensor to microcontroller get the sensor data, convert from ASCII to binary data, format the data in to packet and send it to be plotted to Simplot.

Cheers
Logged

Pages: 1 [2] 3 4   Go Up
Jump to: