01-12-2006 08:38 AM
01-13-2006 12:51 PM
01-13-2006 01:02 PM
What I'm trying to figure out is how large to set the Read Queues in the CAN Objects to do this. I've tried setting them to 300, but I get a "-3" error that is undefined when configuring the Can Objects.
I understand how to do the ReadMult, however, the buffering is what has me stumped. I want to ensure that I do not drop packets.
01-16-2006 06:42 PM
01-17-2006 07:36 AM
Thanks. That info is very helpful.
It appears that the CAN board itself would not have enough memory to hold all the messages I want to capture.
Does the driver transfer the packets from the CAN card to the PC RAM in the background so that nothing is lost? In other words, if I want to do a ReadMult of 300 packets, would the driver handle getting the data off the card so that the 300 packets of data would be stored in PC-RAM?
01-18-2006 01:54 PM
01-18-2006 03:56 PM
That being the case, is there a memory limit on how many packets are held locally in the PC?
I will try a readmult on my project with the recommended queue sizes and see if it work. If not, I'll attach the code I used to set up the Can object and network interface object.
Thanks.