Start Logging automatically once Race Capture Pro is powered

Discussion on the Lua Scripting capabilities for RaceCapture/Pro. Also see the <a href="http://autosportlabs.net/RaceCapturePro_Lua_Scripting">Lua Scripting Guide</a>

Moderators: JeffC, stieg

Post Reply
maheshwarrank
Posts: 23
Joined: Thu May 19, 2016 9:31 am

Start Logging automatically once Race Capture Pro is powered

Post by maheshwarrank »

Hello,

I am Mahesh from Raftar Formula Racing - the FSAE team which represents IIT Madras, India. We have mounted Race Capture Pro below the firewall of our car and it is difficult to access it frequently. We wont be able to press the logging button everytime. So I wanted to know if it is possible to start logging data automatically once RCP is powered. Please let me know if there is a solution to this.

Thanking You.

Mahesh

jvangelder
Posts: 7
Joined: Sat Apr 30, 2016 10:29 am

Post by jvangelder »

https://wiki.autosportlabs.com/RaceCapt ... Powered_On

function onTick()
startLogging()
end

-Jacob

toga94m
Posts: 127
Joined: Wed Jun 05, 2013 1:57 am
Location: Upstate NY

Post by toga94m »

I'm using a variation of that, which triggers by battery voltage. If you're under 13V, the alternator's not running, so don't log. Once battery is above the threshold, start logging.
------------
Learning Race Capture Pro... on someone else's car
Learning Python/Kivy on my own PC

maheshwarrank
Posts: 23
Joined: Thu May 19, 2016 9:31 am

Post by maheshwarrank »

Thank you :D

Post Reply