Configurable Filters: Suffix data

 Suffix data is generated and placed at the end of the data read from COM port. Sufix data filter can contain static text or some of dynamically created values, such as {YEAR}, {MONTH}, {DAY}, {HOUR}, {MINUTE}, {SECOND}.

To activate this filter for all COM ports (global filter), aelect Sufix Data … menu from Filtering Menu in CPS Terminal window. Filter cofiguration dialog will popup. 
Image: Suffix Filter cofiguration dialog
Image: Suffix filter cofiguration dialog


Suffix data can be specified and will be automatically appended to each row of data received from the communication port.

When specifying a single keyboard character, type that character directly into the Suffix data text box. For example, to enter the letter a as a Suffix, type an "a" (without quotes) into the Suffix data text box. To specify multiple characters, type the characters as a string directly into the Suffix data text box.
For example, to enter the letters a, b, and c, as a Suffix type “abc” (without quotes) into the Suffix data text box.
List of pre-defined Functions: (available in all log modes)       
{MILSEC} // time in Milliseconds
{PCOUNTER} // port counter, increased on current port read
{SCOUNTER} // session counter, increased on any port read 
List of pre-defined Keys: (valid only in keyboard logging mode)
To specify commands or keys combined with any combination of the Shift, Control and Alt keys, precede the regular character with one or more of the following codes:
> ^%({DEL}{DEL}) would be Ctrl-Alt-Del twice
> To send these special characters {+^%~( as plain characters enclose them in braces example: {{} would just send {
> To send a key multiple times, enclose it in braces with a number like {h 3} or {DEL 12} - this would send the DELETE key 12 times
To enter the current time followed by ENTER use {HOUR}:{MINUTE}:{SECOND}{ENTER}
To enter the equivalent of the F12 key, enter {F12}
IMPORTANT: Pre-defined Keys and pre-defined Functions must be enclosed inside curly brackets and must be typed in upper case.


It is possible to insert any character(s) by entering the relevant ASCII code inside curly brackets.


Character A can be entered as the character “A” or as the ASCII code enclosed inside curly brackets {65}.

Horisontal tabulator can be added as the ASCII code enclosed inside curly brackets {9}.

Link: ASCII Table - Standard and Extended ASCII Table