Skip to content

USE_FULL ERROR LIST report "Unknow Error" for all XE errors #136

Open
@dlock8

Description

@dlock8

I want to use the Full error list. When i push error, the error number reported is good but the string returned is always: Unknow Error

Example:

 int16_t err;
err=SCPI_ERROR_SYNTAX;  //  Part of the group XE
 fprintf(stdout, "**ERROR: %d, \"%s\"\n\r", (int16_t) err, SCPI_ErrorTranslate(err));
err=SCPI_ERROR_EXECUTION_ERROR;
 fprintf(stdout, "**ERROR: %d, \"%s\"\n\r", (int16_t) err, SCPI_ErrorTranslate(err));

The printout received is:
**ERROR: -102, "Unknown error"
**ERROR: -200, "Execution error"

For error -102, the expected message to receive is "Syntax error" and not "Unknown Error". Only errors on group X work fine, any errors on group XE will report the same string: "Unknown Error"

I have try with my own list of user errors with the same results.

What i am doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions