hyOzd / serialplot

Small and simple software for plotting data from serial port in realtime.
https://hackaday.io/project/5334-serialplot-realtime-plotting-software
GNU General Public License v3.0
754 stars 186 forks source link

Channel Name Assignment via Serial.Print #65

Open chefseg opened 8 months ago

chefseg commented 8 months ago

I downloaded version SerialPlot v0.12 (Windows executable install file) from [https://hackaday.io/project/5334-serialplot-realtime-plotting-software/log/192838-serialplot-v012-release]. What is the recommended format, in the Arduino sketch, to dynamically assign the channel name for each sensor value? I tried using Serial.print("Channel1:"); Serial.println(value); but no success. Any help would be appreciated!

hyOzd commented 7 months ago

Can you post an example of your output from a serial port terminal?

chefseg commented 7 months ago

Here is an example of one line of the serial output "Roll: 30.1°, Pitch: 10.1°, Yaw: 0.0°"

hyOzd commented 7 months ago

You can't have degree symbol in your output. Parser doesn't recognize that.

chefseg commented 7 months ago

Even without the degree symbols it still doesn't work. Recall, I am using the desktop version that is downloadable via link: [https://hackaday.io/project/5334-serialplot-realtime-plotting-software/log/192838-serialplot-v012-release]

Are you certain that version contains the code to auto display the tags to the channels? From my recollection, it appears that there was an update on Git to support this feature but this version was released at an earlier date, reference this: Allow Arduino Serial Plotter style ascii data #43

hyOzd commented 7 months ago

Yeah sorry, you are right. v0.12 is quite old. It doesn't include relevant commit. You will have to build from source to have that feature, sorry.

CeivenLean commented 6 months ago

Yeah sorry, you are right. v0.12 is quite old. It doesn't include relevant commit. You will have to build from source to have that feature, sorry.

is there any possible that a new version will be released