Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

When I use NI-CAN ncReadNetMult.vi,my program shows error 3FF62105

When I use NI-CAN ncReadNetMult to read CAN Data in a while loop ,sometimes it runs well,but

sometimes my program shows error 3FF62105.

 

0 Kudos
Message 1 of 7
(8,474 Views)

3FF62105 The size or length that you provided is invalid (too small or large), but the operation
continued successfully.

 

Solution: Read the function description and verify that you are
providing a valid size (or length).

Best Regards

Hu Yu
0 Kudos
Message 2 of 7
(8,456 Views)

This is not an error and therefore the communication proceeds. It seems you hyave configured the input of the read mult to a value that is not supported.

Have a look to your code and if you cannot find the problem just go ahead and post your code to this thread, so we can have a look to it.

 

DirkW

0 Kudos
Message 3 of 7
(8,452 Views)
Thanks Here is my code .Read_AI only uses ncReadNetMult.vi,and shows error 3FF62105. I use it as a subvi,when main vi calls it,it runs only once. In Read_AI(Occur).vi,I add ncCreatOccur.vi,and it runs well,doesn't show any error. But it loses data ,it read data every 1.883~3.5 seconds.
0 Kudos
Message 4 of 7
(8,439 Views)
 
Download All
0 Kudos
Message 5 of 7
(8,438 Views)

Hello,

 

You should only call the readmult if there are more than 0 items in the buffer.

 

 

 

Let me know if that helps. Have a great day.

Message Edited by O_Proulx on 01-07-2009 11:27 AM
O. Proulx
National Instruments
www.ni.com/support
0 Kudos
Message 6 of 7
(8,432 Views)

Yes, O_Proulx is right. Your first VI could give a zero to the read mult function for frames to read and that causes the warning. You could use the way shown in the drawing or just ignore the warning. The Occourence VI doesn't run into this because it allways has data, as it waits for it.

 

DirkW

0 Kudos
Message 7 of 7
(8,414 Views)