Go Down

Topic: Real Time Plotting Tool ( Oscilloscope ) (Read 52 times) previous topic - next topic

Nor1

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

Tomtomtom

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

Brijesh

ooh crap, :0
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.  :)

Prochot

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?

Brijesh

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

Go Up