Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

what is the importance of sample rate in NI_CAN channel VI that is init start.

what is the importance of sample rate in NI_CAN channel VI that is init start.

 

when using init start vi , what is the sample rate mean in that .. whenever i did not use sample rate as 100 .. it will shoe error as write queue overflow . wats does it mean. plz help me

 

thanks

mahadev

0 Kudos
Message 1 of 3
(5,928 Views)

Hi Mahadev,

 

The NI CAN Hardware and Software Manual and the NI-CAN Help for the function (right click on function an select Help) describes the sample rate. See Chapter 6: Channel API Basic Programming Model, specifically 6-6 (page 108 of the PDF). Please let me know if you have any questions.

Joshua B.
National Instruments
0 Kudos
Message 2 of 3
(5,917 Views)

Thanks for the reply ....

 

whenever a some VI which are in the examples i get some error saying write queue overflow.

 

I saw in one of the questions asked that These errors can be handled by optimizing the speed at which you are writing to and reading from  CAN card.

 

So i wanted to speed at which you are writing to and reading from CAN card is the sample rate?

 

thanks

mahadev

0 Kudos
Message 3 of 3
(5,908 Views)