kbLogger 2.0.b1
The automotive ready test and logging program.
|
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.
Creating a EditorObject:
Do a right-click on an empty place in the ConfigViewer of your project and choose "New EditorObject".
Configure the EditorObject:
Double click on the EditorObject to open the 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.