Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

We suspect that ncReset does not flush the read and write queues. Has anyone else seen this?

We are running with a PCI NI-CAN card using Windows NT. We have a call to ncReset at the beginning of our program. But on the second run there appears to still be messages in the read queue. Has anyone else seen this?
0 Kudos
Message 1 of 2
(4,945 Views)
The ncReset completely wipes out the firmware and the memory on the CAN card so the read queue still containing messages would indicate that the ncReset is probably not getting executed at all.
How are you verifying that the read queue still has messages in it? What is the driver version? Have you been able to test the application on another OS? Is in your CAN application in VC++, VB or LV?
This problem has never been reported before.
0 Kudos
Message 2 of 2
(4,945 Views)