It is printed as below in DLT_Viewer after loading the plugin fibex.xml:
182339 2024/05/13 13:56:12.883000 87.8642 153 ECU APP CNT 0 log info non-verbose STATE: 1
182339 2024/05/13 13:56:12.883000 87.8642 153 ECU APP CNT 0 log info non-verbose STATE: 2
182339 2024/05/13 13:56:12.883000 87.8642 153 ECU APP CNT 0 log info non-verbose STATE: 3
Can we map it to the strings as below so it is readable and easily understandable?
182339 2024/05/13 13:56:12.883000 87.8642 153 ECU APP CNT 0 log info non-verbose STATE: INIT_STATE
182339 2024/05/13 13:56:12.883000 87.8642 153 ECU APP CNT 0 log info non-verbose STATE: RUN_STATE
182339 2024/05/13 13:56:12.883000 87.8642 153 ECU APP CNT 0 log info non-verbose STATE: DE_INIT_STATE
Is this possible? Should we update the plugin in such way? Could you please guide.
@Thil000 Yes thats an intersting feature. Please provide an update of the plugin if possible.
Do you also have an idea how to extend the Fibex file? Is there a standard way?
we are using non verbose mode for our logging. Often times, we are printing states and values for eg below function:
define INIT_STATE 0x01
define RUN_STATE 0x02
define DE_INIT_STATE 0x03
void main (void) { uint8 state = INIT_STATE;
}
we have updated fibex.xml as below:
It is printed as below in DLT_Viewer after loading the plugin fibex.xml: 182339 2024/05/13 13:56:12.883000 87.8642 153 ECU APP CNT 0 log info non-verbose STATE: 1 182339 2024/05/13 13:56:12.883000 87.8642 153 ECU APP CNT 0 log info non-verbose STATE: 2 182339 2024/05/13 13:56:12.883000 87.8642 153 ECU APP CNT 0 log info non-verbose STATE: 3
Can we map it to the strings as below so it is readable and easily understandable? 182339 2024/05/13 13:56:12.883000 87.8642 153 ECU APP CNT 0 log info non-verbose STATE: INIT_STATE
182339 2024/05/13 13:56:12.883000 87.8642 153 ECU APP CNT 0 log info non-verbose STATE: RUN_STATE 182339 2024/05/13 13:56:12.883000 87.8642 153 ECU APP CNT 0 log info non-verbose STATE: DE_INIT_STATE
Is this possible? Should we update the plugin in such way? Could you please guide.