Author Topic: Serial Data logger logging software with resources  (Read 1117 times)

0 Members and 1 Guest are viewing this topic.

Offline rvalenteTopic starter

  • Frequent Contributor
  • **
  • Posts: 736
  • Country: br
Serial Data logger logging software with resources
« on: March 27, 2020, 01:53:13 pm »
Hello Mates,

I'm developing an automotive device and during road tests I need to log data, around 20 variables or so.

I've been using STMStudio, great tool but not the best, also having to keep the ST-link connected creates some limitations

Features I wish/need:
Connection through USB-Serial (pretty standard)
Data logging (I wish it is in a custom compacted format, so the logging file does not get to big over time)
Graph mode (so I can easily see and scroll data)
Need to integrate a USB-GPS, I believe they talk NMEA over serial, need to log my current speed and position
Some scripting would be nice to

Send float as long int and interpret as float: We all know using print float numbers in micros is a pain and wast of resources, also, we never get the best precision, so I wish the software could get the data as long int and convert to float.

Would be great to have a simple integration using a initial header as log start:

Lets say I start the logging like that:

speed(lf);voltage(lf);value1(i);value2(2)

So the software expects data in this order with this names, where (lf is like "long as float")



What software could do this?
 

Offline senso

  • Frequent Contributor
  • **
  • Posts: 953
  • Country: pt
    • My AVR tutorials
Re: Serial Data logger logging software with resources
« Reply #1 on: March 27, 2020, 02:16:54 pm »
Any Bluetooth to OBD2 adapter and the Torque app on any cellphone will be way faster and cheaper to make a temporary datalogger, plus you dont need to discover how to even read what you want from the OBD bus.
 

Offline rvalenteTopic starter

  • Frequent Contributor
  • **
  • Posts: 736
  • Country: br
Re: Serial Data logger logging software with resources
« Reply #2 on: March 27, 2020, 02:18:54 pm »
Any Bluetooth to OBD2 adapter and the Torque app on any cellphone will be way faster and cheaper to make a temporary datalogger, plus you dont need to discover how to even read what you want from the OBD bus.

My device is yet not OBD2 ready (and OBD2 is not fast). I need to log through serial
 

Offline senso

  • Frequent Contributor
  • **
  • Posts: 953
  • Country: pt
    • My AVR tutorials
Re: Serial Data logger logging software with resources
« Reply #3 on: March 27, 2020, 02:21:43 pm »
Then just make a csv file into an sd-card, using fat-fs and some sprintf its pretty easy to do so, then graph and plot all you want on a pc using excel/libre office equivalent.
An STM32 as no problem print a couple floats with sprintf hundreds of times a second, I have done it using atmegas running at 8Mhz and its not a problem..
 

Offline rvalenteTopic starter

  • Frequent Contributor
  • **
  • Posts: 736
  • Country: br
Re: Serial Data logger logging software with resources
« Reply #4 on: March 27, 2020, 02:25:52 pm »
Then just make a csv file into an sd-card, using fat-fs and some sprintf its pretty easy to do so, then graph and plot all you want on a pc using excel/libre office equivalent.
An STM32 as no problem print a couple floats with sprintf hundreds of times a second, I have done it using atmegas running at 8Mhz and its not a problem..

The STMStudio already does that for me, but I need to integrate gps and scroll and analyse the data, these are long logging, to much information, that is why I'm missing a proper tool.
 

Offline rvalenteTopic starter

  • Frequent Contributor
  • **
  • Posts: 736
  • Country: br
Re: Serial Data logger logging software with resources
« Reply #5 on: March 28, 2020, 05:14:58 pm »
Would wireshark be a good option? What do you guys think?
 

Offline rvalenteTopic starter

  • Frequent Contributor
  • **
  • Posts: 736
  • Country: br
Re: Serial Data logger logging software with resources
« Reply #6 on: April 05, 2020, 04:39:29 pm »
UP

Does device monitoring studio can do this?

https://www.hhdsoftware.com/device-monitoring-studio
 

Offline max_torque

  • Super Contributor
  • ***
  • Posts: 1327
  • Country: gb
    • bitdynamics
Re: Serial Data logger logging software with resources
« Reply #7 on: April 07, 2020, 01:22:45 pm »
Realistically, at this point, assuming you are not going to splash out on the usual automotive industry "toolsets" like ETAS INCA or Vector CANalyser, you'll be best off writing your own serial logging application.  Pretty easy to do these days, visual studio now does a lot of hand-holding for the usual programatic functions, like tables, graphs and of course serial ports.. If your  rates are reasonably low, it'll work fine ( out-of-the-box serial ports are a bit flaky at high baud rates (Mbauds) ime, because they don't double buffer the data, so you can completely miss or double read serial data under certain circumstances.
 

Offline rvalenteTopic starter

  • Frequent Contributor
  • **
  • Posts: 736
  • Country: br
Re: Serial Data logger logging software with resources
« Reply #8 on: April 07, 2020, 01:44:54 pm »
Its true I'm not going yet to the usual tools like vector or kvaser.

I've found Megunolink and MakerPlot, does anyone has experience with that?

To be honest, this has been kinda of frustrating for me, thought this kind of tool was more common.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf