07-16-2025 08:18 AM
I've got an NI-9860 + TRC-8543. I'm connecting to the vehicle's OBD2 port and I'd like to query some DIDs from two modules on the CAN bus. Obviously each module has it's own set of addresses. This is what I have so far:
This accomplishes what I'm after, but is this the correct approach? It seems odd to have to call the 'Open Diagnostics on CAN FD.vi' twice... Do the two instances of 'Read Data by Identifier.vi" in the loop need to be sequenced like I have them? Or can they handle being run concurrently without consideration of data flow?
Thanks for the help
07-24-2025 02:29 PM
Hi @DJ_001,
It is possible to have multiple diagnostic sessions calling the UDS ReadDataByIdentifier function concurrently when using NI-XNET CAN hardware and the Automotive Diagnostic Command Set (ADCS) toolkit. Please review the resource Concurrent ADCS Diagnostic Sessions Considerations - NI for additional details.
Best regards,