Error -2147136764 When I Run My LabVIEW Code Using CANOpen communication

Updated Apr 3, 2023

Reported In


  • NI-9881


  • LabVIEW


  • NI-Industrial Communications for CANopen

Issue Details

I have an application that uses NI-Industrial Communications for CANopen driver. When I execute my code in LabVIEW, I am receiving error -2147136764. 
Error -2147136764 occurred at an unidentified location

Possible reason(s):

A bus off error occurs on the bus. Clear the bus off error physically. Then reopen the interface.  Refer to the Troubleshooting CANopen Applications topic in the NI-Industrial Communications for CANopen Help for instructions of clearing bus off errors.


This error is related to an issue in the communication, and can be solved verifying the following elements:
  • Verify that all the devices in the CANOpen network are using the same baud rate. A different baud rate between devices will cause this error.
  • Another common reason for this error is a mistake on wiring:
    • Verify the cables are the right model for your module/device.
    • Verify all the devices are connected correctly.
    • Verify the termination resistance has the correct value.
  • There is a known issue with the CANopen driver on some PCI-8531. Some DLLs are loaded on first call and they take some time to fully load then retain until the PC is restarted. If we do PDO operations before that then it internally senses low voltages, resulting in Bus off error. As a workaround, add a 5 seconds delay after opening the interface. Delay could vary based on the speed and performance of the PC.