LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XNET LIN – Error “0xBFF63012: The maximum number of frames has been exceeded” after several cycles

Hello,

I’m currently working with NI-XNET (2024 Q3) LIN communication to exchange data with a product via NI USB-8506.

I developed a LabVIEW 2024 Q1 (32-bit) VI that performs the following steps:

  1. Creates the LIN session once at startup

  2. For each batch:

    • Starts the session

    • Sends/receives LIN frames

    • Stops the session once the batch is finished

After a few cycles (batches), I encounter the following error:

Error -1074384502 (0xBFF63012): The maximum number of frames has been exceeded.

If I modify the code to create a new session for each batch, I get a different error after several runs, and the only way to recover is to restart the computer.

I would appreciate your advice on the following points:

  1. Should the LIN session be created and destroyed each time, or is it better to reuse the same session across batches?

  2. How can I properly clear or flush the XNET buffer to avoid the “maximum number of frames” error?

  3. Is there any recommended method to reset the LIN interface without restarting the PC?

Thank you in advance for your help and suggestions.

hakimS_0-1762524083496.pnghakimS_1-1762524108526.png

 

Download All
0 Kudos
Message 1 of 1
(38 Views)