LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Change CAN buffer size

Hi all. I own a PXI-8464 CAN board. I would like to know if it is possible to change the buffer size without closing and opening again the CAN object. Thanks!
0 Kudos
Message 1 of 6
(2,595 Views)

Hi aRco,

Take a look at this doc, maybe it might help you:

 

http://digital.ni.com/public.nsf/allkb/A0D719ABE36DD0E78625715E0012A079?OpenDocument

 

Best Regards,

Luca Gallo
Sales Engineer
0 Kudos
Message 2 of 6
(2,555 Views)

Well, the configuration of the CAN channel is possible only before opening the resource. Thus i deduce that is not possible to change the buffer size dinamically (without closing and opening the resource again). Is this a correct deduction?

 

Thanks Luca

0 Kudos
Message 3 of 6
(2,542 Views)

Another question..

 

For my problem, the solution could be configure the channel with a constant buffer size (for example 100), open the channel and clean the buffer whenever i need to get the most recent message.

 

So.. how can i clean the buffer? Could i perform a reset using the ncAction.vi?

 

Thanks again!

0 Kudos
Message 4 of 6
(2,535 Views)
Any clues?
0 Kudos
Message 5 of 6
(2,501 Views)
yes, you can clear the buffer using the ncAction.vi but you also have to Start the CAN object again since ncAction Reset puts the object into an idle state.
This is stated also here on the CAN manual:

http://www.ni.com/pdf/manuals/370289m.pdf

Best Regards
Luca Gallo
Sales Engineer
0 Kudos
Message 6 of 6
(2,487 Views)