∙i[ ] Scan until any ASCII characters entered between the brackets are encountered. The maximum number of characters between the brackets is 255. Note that this filter does not remove the matched character from the buffer.
∙nn Discard ‘n’ bytes. ‘n’ can be in the range of
∙Nn Read ‘n’ bytes. ‘n’ can be in the range of
∙pn Hexadecimal byte should be here, n=number of bytes to convert (n=1 to 3 hex pairs) to Campbell Scientific floating point.
∙rn Send the byte received to port ‘n’ for
∙s Stop the filter until commanded by the datalogger to restart.
∙t[ ] Search for an exact string match between the [ ]. All ASCII characters up to and including the matching string are removed from the receive buffer before the next filter type starts.
∙ T[ ] Search for an exact string match between the [ ]. All ASCII characters up to the matching string are removed from the receive buffer before the next filter type starts. (Same as t[ ], except matching strings are not removed).
∙u[ ] Convert ASCII floating point into Campbell Scientific floating point format until the termination character/string between [ ] is seen. The termination character is removed from the buffer.
∙vn[ ] Convert ‘n’ ASCII hex pairs into Campbell Scientific floating point format until the termination character/string between [ ] is seen. ‘n’ can be
∙wn[ ] Convert
∙x This marks the start of a data set. A data set is a set of converted data for the datalogger to collect. When this filter type is used the data in the data set is only available to the datalogger when all parts of the data set have been converted – see ‘X’, below.
∙X This marks the end of a data set. This makes the data converted in the data set available to the datalogger. This also means that data after this is available to the datalogger as soon as the
∙z Flush the UART FIFO (serial port hardware buffer) and the Receive buffer associated with the port that is using this filter type. This does not, however, clear the converted data buffer.
As an example, take the following sensor output string:
battery 12.65V,current 12mA
The filter string might be:
i[b]n8Fi[c]n8F
Output to the datalogger would be 12.65 and 12 as Campbell Scientific floating point numbers. This filter string works as follows:
1. i[b] waits for the trigger character ‘b’ of ‘battery’.