RCP2 -> Pectel communication

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
LD*KAOS
Posts: 1
Joined: Fri Dec 04, 2015 9:06 am

RCP2 -> Pectel communication

Post by LD*KAOS »

Hi all,

ive just installed RCP2 to a Juno s2000 sports prototype race car, here in cape town , south Africa.

as far as I can gather the RCP and Pectel are communicating to eachother . ive wired it up through the CAN ports on the ECU itself.

now is where the problem comes, how the hell do I get it to register the sensors in order for it to display information on the dashboard on the software?

as far as I can gather I need to write a LUA scrips but I have no idea where to even start.

any help would be much appreciated

TIA

stieg
Posts: 100
Joined: Fri Dec 20, 2013 1:37 am
Location: Madison, WI
Contact:

Post by stieg »

Howdy,

To read CAN data you do need to make use of the LUA runtime. All the documentation for the methods we expose can be found at https://autosportlabs.net/RaceCapturePro_Lua_Scripting. To get started with LUA checkout http://www.lua.org/start.html for info on how to program in Lua. The wiki has lots of examples as well. Hope that helps.
Andrew Stiegmann (Stieg)
Principal Engineer
Autosport Labs Inc.

brentp
Site Admin
Posts: 5986
Joined: Wed Jan 24, 2007 6:36 am

Post by brentp »

Hi, we also have a full write up on how to integrate CAN data with RaceCapture/Pro. See here: https://autosportlabs.net/RCP_CAN

if you get stuck, let us know and we'll help! You can also post the CAN protocol here and we can help you with the decoding.

Cheers,
Brent Picasso
CEO and Founder, Autosport Labs
Facebook | Twitter

Post Reply