Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

negavite response as error?

I am using Automotive Diagnostic Command Set, and control an ECU via UDS.

 

As the ECU sends a negative response (0x7F), the Diagnostic Service.vi returns an error code -8127. I don't find this code anywhere, and basically it is not important, as I get the response from the ECU in the "data out" array of the Diagnostic Service.vi.

 

So I have 2 questions:

 

1. What is the error code -8127?

2. Can I set up the diagnostics so that a negative response doesn't trigger an error?

 

Madottati

0 Kudos
Message 1 of 3
(5,542 Views)

Hi Madottati,

 

The error code -8127 is a user defined error code. As reminder, following code ranges are user defined: -8999 through -8000, 5000 through 9999 and 500,000 through 599,999

 

You can try to debug the VI and find out where the error code is generated or just ignore it.

 

Marc

0 Kudos
Message 2 of 3
(5,529 Views)

Hi,

 

yes I found it out. The 127 corresponds to the 0x7F negative response, and the VI returns it as an error. I will handle it in my VI.

 

Thanks

0 Kudos
Message 3 of 3
(5,527 Views)