Simulink Desktop Real-Time Kernel error: Maximum supported number of timers exceeded?
Hi all,
I’m using the Simulink Desktop Real-Time toolbox in MATLAB 2024a Update 6.
I’m on Windows 10 with Hyper-V and High Precision Event Timer enabled.
I’m reading and writing quite a lot (100+) of CAN and CAN-FD frames using the Packet Input and Packet Output blocks.
I’m using both the ‘Connected IO’ and ‘Run in Kernel’ modes depending on my needs: ‘Connected IO’ allows more interactivity whereas ‘Run in Kernel’ guarantees real-time performance.
I used to use CAN FD Receive and CAN FD Transmit blocks from the Vehicle Network toolbox, which I prefered because they allowed me to receive and send multiple CAN(FD) frames with a single block. But unfortunately they’re not compatible with the ‘Run in Kernel’ mode (see this answer).
My issue is that I have so many Packet Input and Packet Output blocks, that I get this error in ‘Connected IO’ mode :
Error reported by S-function ‘sldrtsync’:
Maximum supported number of timers exceeded.
What is the maximum number of timers allowed?
Is there a way to increase this number (in the toolbox options maybe?), or is it hard-coded in the real-time kernel?
What would be the alternatives to send/receive many CAN(FD) frames in ‘Connected IO’ mode ?
Thank youHi all,
I’m using the Simulink Desktop Real-Time toolbox in MATLAB 2024a Update 6.
I’m on Windows 10 with Hyper-V and High Precision Event Timer enabled.
I’m reading and writing quite a lot (100+) of CAN and CAN-FD frames using the Packet Input and Packet Output blocks.
I’m using both the ‘Connected IO’ and ‘Run in Kernel’ modes depending on my needs: ‘Connected IO’ allows more interactivity whereas ‘Run in Kernel’ guarantees real-time performance.
I used to use CAN FD Receive and CAN FD Transmit blocks from the Vehicle Network toolbox, which I prefered because they allowed me to receive and send multiple CAN(FD) frames with a single block. But unfortunately they’re not compatible with the ‘Run in Kernel’ mode (see this answer).
My issue is that I have so many Packet Input and Packet Output blocks, that I get this error in ‘Connected IO’ mode :
Error reported by S-function ‘sldrtsync’:
Maximum supported number of timers exceeded.
What is the maximum number of timers allowed?
Is there a way to increase this number (in the toolbox options maybe?), or is it hard-coded in the real-time kernel?
What would be the alternatives to send/receive many CAN(FD) frames in ‘Connected IO’ mode ?
Thank you Hi all,
I’m using the Simulink Desktop Real-Time toolbox in MATLAB 2024a Update 6.
I’m on Windows 10 with Hyper-V and High Precision Event Timer enabled.
I’m reading and writing quite a lot (100+) of CAN and CAN-FD frames using the Packet Input and Packet Output blocks.
I’m using both the ‘Connected IO’ and ‘Run in Kernel’ modes depending on my needs: ‘Connected IO’ allows more interactivity whereas ‘Run in Kernel’ guarantees real-time performance.
I used to use CAN FD Receive and CAN FD Transmit blocks from the Vehicle Network toolbox, which I prefered because they allowed me to receive and send multiple CAN(FD) frames with a single block. But unfortunately they’re not compatible with the ‘Run in Kernel’ mode (see this answer).
My issue is that I have so many Packet Input and Packet Output blocks, that I get this error in ‘Connected IO’ mode :
Error reported by S-function ‘sldrtsync’:
Maximum supported number of timers exceeded.
What is the maximum number of timers allowed?
Is there a way to increase this number (in the toolbox options maybe?), or is it hard-coded in the real-time kernel?
What would be the alternatives to send/receive many CAN(FD) frames in ‘Connected IO’ mode ?
Thank you can, sldrt MATLAB Answers — New Questions