Page 1 of 1

Logging of data arriving at different frequencies

Posted: Sun Jul 09, 2017 12:51 pm
by xcvbn
Hi,

I'm currently using a RaceCapture Pro MK2 for logging data from roughly 50 different signals. The data is arriving at e.g. 10 Hz, 50 Hz and 100 Hz depending on the signal. Since I want everything to be captured I write to the SD card at 100 Hz. When I look at the logs it seems like nothing is written if that particular signal wasn't updated since the last write, which makes post-processing of data quite a challenge. Is there a way to let RaceCapute remember the previous data until new data arrives so there is always something written?

Posted: Fri Jul 14, 2017 12:16 am
by brentp
Hi,

I'm assuming the data is arriving over CAN bus?

The "Rate" setting for the CAN bus mapping is the rate at which RaceCapture logs the current value it knows for the channel.

https://wiki.autosportlabs.com/CAN_Bus_ ... AN_mapping

This rate is independent of the rate that RaceCapture *actually receives data*, since it cannot control that.

As you've seen in the log file, we log in a sparse CSV format, where channels logged at faster rates show up more frequently in the log, and the slower rate channels have 'null' values in-between their sampling interval.

Hope this helps!