LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-CAN

Hello,
I want to use NI-CAN and have a question: how can I poll my PC´s state
(error active/error passive/bus off) or even read out its error
counter´s value?

Thanks,
André
0 Kudos
Message 1 of 2
(2,709 Views)
Basically you must read the errors returned from the NI-CAN driver, and decode them. They are a Hex number, and each number includes bits set for the severity of the error, the can object which generated the error, and the specific problem reported.

If you look in the NI-CAN Manual you will see a detailed explanation of the errors. click on the link below to find the manual
<>

Take a look in the NI-CAN discussion forum to see if someone else has already done what you need
<>
(If the link above doesn't work, go to www.ni.com
click N
I developer Zone,
then click on Developer Exchange,
then click on forums, and select CAN under the industrial networking)
0 Kudos
Message 2 of 2
(2,709 Views)