Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Automotive Diagnostic Command Set - Concurrent DID queries

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:

 

DJ_001_0-1752671486537.png

 

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

0 Kudos
Message 1 of 2
(181 Views)

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,

Orestes Morales, CLD, CTD
Sr. Technical Support Engineer
EMERSON | NI
www.ni.com
0 Kudos
Message 2 of 2
(117 Views)