Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Enhancing performance of system

I am developing a CCP CAN based application. However I am running to performance difficulties (overflow)when only trying to read (multiread) a maximum of 30 frames every 10ms.
I am using queues to buffer the CAN data and processing it on a trigger (occurrence). The processing is quite intensive to decode the data however.
I have taken basic steps to enhance performance such as reducing processes in loops, reduce polling time in loops, etc.
How can I improve further and are there specific Windows settings I should consider to increase processor time for the LabVIEW application.
0 Kudos
Message 1 of 3
(3,811 Views)
Hello Elmo,

Thank you for contacting National Instruments.

There are a number of causes that could lead to an overflow error. Please refer to the following knowledge bases concerning NI-CAN queues.

http://digital.ni.com/public.nsf/websearch/FB1B03046CE09C53862568FE0052EAFB?OpenDocument

http://digital.natinst.com/public.nsf/websearch/CC36BA1DD421EC23862569060054F6E2

Some ways around the overflow error are to increase buffer size, decrease scan rate, or get a faster processor. Your buffer size should be 2 - 4 times bigger than your scan rate.

I hope this helps.

Sean C.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(3,811 Views)
Hi Elmo,
Recently i have downloaded the ccp drivers and i am trying to develop CCP based application but i am not able to read *.db or *.asl format database if you can help me in this regard it will be great help to me.
Regards,
Giridhar
0 Kudos
Message 3 of 3
(3,811 Views)