Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » ISO11783 Node Layer » Iso11783PDDGetLastError

Iso11783PDDGetLastError

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long Iso11783PDDGetLastError();

Description

Supplies the last error code.

Parameters

Return Values

Error code of the function most recently executed

Example

char text[256];

value = Iso11783PDDGetValue(ecuHandle, PD::AppRateSignal, 0);

if (Iso11783PDDGetLastError() != 0) {
    Iso11783PDDGetLastErrorText(elCount(text), text);
    write("ERROR: %s", text);
}