Solution
If a device sending CAN data enters the Bus Off state, it will no longer send data. If the node is in the Bus Off state, you need to reset CAN device by software or hardware reset. You can use the API below to know this state.
You can use this API,
XNET Read.vi, by connecting to the XNET session you're using, and you can see what state it is in the communication state of the
CAN comm indicator.