kbLogger 2.0.b1
The automotive ready test and logging program.
EditorObject

The EditorObject is used for doing a "search and replace" on the received messages. With the help of a regular expression, the messages are scanned and in case of a match, the founded part is replaced by the new text. This works for both kind of messages, ASCII messages or from a binary source emitted and by the ComObject into hex streams translated messages, and gives the possibility to translate numerical content into human readable text without the need to use the translate module.

Attention
In the opposite to the behavior of the FilterObject, the expressions defined here are OR-wired. That means, they are independent from each other. A match for the first expression is replaced by the replacement text and the resulting text is not tested against the second expression.

Creating a EditorObject:
Do a right-click on an empty place in the ConfigViewer of your project and choose "New EditorObject".

Creating a new EditorObject

Configure the EditorObject:
Double click on the EditorObject to open the configure dialog.

EditorObject configure dialog

Configure the EditorObject:
Click on the button New to create a new and empty editor entry. Click into the expression field to type an expression to search for and click into the replacement field to type the text which will replace the matched text in the message. If you use in the expression field parenthesis like this " (pattern) " and in the replace field this "new{$}", the resulting text would be the matched text with prepending "new". {$} replaces all occurrences, {$1} .. {$4} only the first .. to the forth one. The Delete button removes the selected expression.

EditorObject configured for text messages (e. g. ComObject with line mode).
EditorObject configured for hex messages (e. g. ComObject with binary mode).