VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Respond to UDS DID request from VeriStand

Solved!
Go to solution

I have installed the Diagnostic Custom Device Addon for VeriStand and it looks like it has lots of features. However I cant seem to find an obvious way to respond to a DID request coming from an ECU. So my DUT will request a DID (Software Version) from the ECU (which I am simulating over CAN) and expect a response with the correct version. I can see how to trigger writing of a DID, but how do I know when to trigger writing this DID? i.e how do I know when my DUT has requested the DID in order to respond at the correct time?

0 Kudos
Message 1 of 3
(670 Views)
Solution
Accepted by topic author jdkdev

Typically in a HIL test, the DUT is the ECU. The NI-ADCS toolkit acts as a UDS client, connecting and communicating with the UDS server (ECU). However, in your case, it is the other way around. The NI-ADSC toolkit is designed to be a UDS client only but 

it does come with the Demo ECU for troubleshooting purposes (<LabVIEW>\examples\Automotive Diagnostic Command Set\ADCS Demo ECUs.llb\ADCS Demo ECU CAN Ethernet.vi).

The demo ECU example uses Diagnostic Receive.vi, Handle UDS Command,vi and Diagnostic Transmit.vi to process the incoming request. Unfortunately, the Diagnostic Addon does not support this feature. You could modify the source code and add the functionality on your own, or run this Demo ECU as a standalone alongside VeriStand.

ZYOng_0-1679702547569.png

 

0 Kudos
Message 2 of 3
(650 Views)

This makes sense, Thank you ZYOng!

0 Kudos
Message 3 of 3
(594 Views)