Error -1074384757 When Using CAN and LIN Simultaneously on the Same Card

Updated Apr 2, 2019

Reported In

Hardware

  • PXIe-8510
  • NI-9860

Driver

  • NI-XNET

Issue Details

I have an automotive multiprotocol interface such as the PXIe-8510 or the NI-9860, and I am facing error -1074384757 when I open a session with different protocol on a second port, with the following description:
NI-XNET: (Hex 0xBFF6308B) The operation is invalid for this interface (e.g. you tried to open a set of FlexRay frames on a CAN interface, or tried to request a CAN property from a FlexRay interface). Solution: run this operation on a suitable interface.

I checked everything, and I am not using an unsuitable interface. How can I solve this issue?

Solution

This is caused by NI-XNET trying to use the same database file from two different threads at the same time. In order to resolve this issue, you can split your database file into two, with each file containing clusters from a single protocol.

WAS THIS ARTICLE HELPFUL?

Not Helpful