Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
1 ratings:
 5 out of 5     Rate this Document

Can I Set a Buffer Size For My Reads and Writes Using NI-CAN?

Primary Software: Driver Software>>NI-CAN
Primary Software Version: 2.3
Primary Software Fixed Version: N/A
Secondary Software: N/A
Hardware: Industrial Communications>>CAN

Problem:
Can I set a buffer size for my CAN reads and writes using NI-CAN?

Solution:
If you are using the channel API, you can't set the buffer size for CAN reads because all memory management for the channel API is done by the system RAM. However, if you are using the frame API, you can configure the queue length using the "ncConfigCANObj" VI or function. See the link below for some guidelines on setting queue sizes using NI-CAN.

Related Links:
KB1YD93QRM: How Large Can I Make the Read and Write Queues For NI-CAN?

Attachments:





Report Date: 04/27/2006
Last Updated: 05/06/2006
Document ID: 3WQLCN5N

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit