RenumberColumns (Analytic Filter)
Description
The RenumberColumns filter is used to change the names of the columns in your data.
The resulting columns will have a sequential numeric element, starting from your chosen number (defaulting to 1).
Parameters
Name | Default | Meaning |
---|---|---|
Chars | 0 | The number of characters (zero padding) in the output number |
Prefix | <blank> | The text to add to the start of each number |
Postfix | <blank> | The text to add to the end of each number |
Start | 1 | The starting point for the numbers |
Example
<filter type="RenumberColumns"> <chars>3</chars> <prefix>TempSensor_</prefix> </filter>
Renumbers the fields, starting from 1, with the prefix 'TempSensor_' and three total digits
Incoming
Index | Random Field | More Random Field |
---|---|---|
07:00:02 | 25 | 33 |
07:01:02 | 29 | 35 |
Outgoing
Index | TempSensor_001 | TempSensor_002 |
---|---|---|
07:00:02 | 25 | 33 |
07:01:02 | 29 | 35 |