Page 1 of 1

Virtual channels greater than 10?

Posted: Mon Oct 26, 2015 10:34 pm
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: 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?

Posted: Tue Oct 27, 2015 1:41 am
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

Posted: Tue Oct 27, 2015 4:18 am
by smig
toga94m wrote:Looks like us old MK1 people are limited to 10 channels
That would explain it. Thanks.