Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-CAN - Frame API LabVIEW 8.5 - Watchdog timeout stop working when CAN cable is disconnected

We have a data frame server that broadcast data frame on a CAN bus, custom protocol. We have configured CAN object in “Receive unsolicited” with a period of 500 ms for a specific CANID that is sent every 100ms. We have set the read queue length of the CAN Object to zero during configuration, so that it only holds the most recent data bytes. The period defined is used to detect a connection lost with the data frame server. If the server stops the transmission of the CANID, the watchdog alerts us. But, if we disconnect the CAN cable from the client, the watchdog doesn’t alert us. Why? Is it a way to detect that the cable is disconnected?
0 Kudos
Message 1 of 3
(6,579 Views)

Hello ERGE,

 

What CAN device are you using?  I'm not sure if there is a way to detect whether a cable is disconnected, but I can ask our R&D department once I find out your particular device.

 

Regards,

0 Kudos
Message 2 of 3
(6,560 Views)
We use the PCI-CAN/2 (777357-02) card.

What I can't understand, it's why we not receive a watchdog error if we disconnect the cable, especially if the object stops reception of new frame.

Thanks.

0 Kudos
Message 3 of 3
(6,555 Views)