06-30-2010 01:00 PM
Hi everybody,
Is there any NI-CAN CVI command to clear CAN Rx queue/buffer ? .... Something like FlushInQ in CVI ?
Petko G.
07-06-2010 08:45 AM
Hi Petko,
I didn't find any command which would work like "flush queue", but I believe you should be able to clean the entry queue by reading number of frames available in the read queue, and then calling "Read Net Multiple.vi". All the read data you can just ignore, but I bett you will empty entry queue.
regards,
Stefo
07-07-2010 07:05 AM
I have used this technique in some applications (Frame API) and can therefore confirm that it will empty the entry queue.