Virtual channels greater than 10?

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
smig
Posts: 31
Joined: Mon Feb 11, 2013 7:39 pm

Virtual channels greater than 10?

Post by smig »

Has anyone been able to added more than 10 virtual channels?

I'm in the process of integrating 12 separate data channels via CAN. Everything things was looking good until I attempted to add the 11th channel at which point I got a the log message:

Code: Select all

vchan&#58; limit exceeded
Checking the LUA reference http://www.autosportlabs.net/RaceCaptur ... its.5D_.29
I'm seeing this:
Up to 30 virtual channels can be created.
What am I missing?

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

Post by toga94m »

Looks like us old MK1 people are limited to 10 channels, while MK2 are 30 channels. Search the source -

SAM7s_base/capabilities.h
#define MAX_VIRTUAL_CHANNELS 10

stm32_base/capabilities.h
#define MAX_VIRTUAL_CHANNELS 30
------------
Learning Race Capture Pro... on someone else's car
Learning Python/Kivy on my own PC

smig
Posts: 31
Joined: Mon Feb 11, 2013 7:39 pm

Post by smig »

toga94m wrote:Looks like us old MK1 people are limited to 10 channels
That would explain it. Thanks.

Post Reply