Error -1074384542 When Reading from Two NI-XNET Project Sessions

Updated Nov 16, 2024

Issue Details

I am attempting to communicate with two CAN instruments that share the same baud rate and are connected to the same port on a USB-8502. I have created an XNET project session for each instrument using their respective database files. However, I encounter error -1074384542 when trying to read from the instruments. 

Solution

These limitations are inherent to NI-XNET. When using project sessions, it may not be possible to call other DBCs or clusters. To address this, it is recommended to either use the Create Session VIs or combine the CAN frames into a single DBC, allowing for the use of multiple project sessions.

It is particularly recommended to use the Create Session VIs, especially if updated DBCs are expected in the future. This approach avoids the need to repeatedly merge two DBCs into one just to use the project session option.