Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

LIN response pending count

Hello,

 

I am using LabVIEW 2014 and Automotive Diagnostic Command Set 14.0.0.f2.

 

I have a LIN UDS command, where the ECU sends 500 ms long Response Pending Frames, after 500 ms there should come a positive response - the execution of the routine takes simply 500ms.

 

After opening diagnostics, I set the "Timeout Diag Command" property to 1000, and "Max RspPending Count" property to 50, using the Diag Set Property.vi. To be sure that the values are taken over, I read them back with the Diag Get Property.vi, this returns the value of 1000 for Timeout and 50 for Max RspPending Count.

 

Now I send the command, and I am getting the ResponsePending frames 8 times, which takes 350 ms, and the Diagnostic Service vi doesn not wait neither for 1000ms timeout nor for the positive response. The last response from the Diagnostic Service vi is basically a response pending frame, 350 ms after sending the command.

 

Why is it not working? It looks like the Diag Set Property.vi makes no changes, even if the values seem to be taken over.

0 Kudos
Message 1 of 1
(4,704 Views)