Timeframes (By Value)
This layer converts a table into a set of frames.
Parameters
Name | Default | Meaning |
---|---|---|
split | The column name to split on |
Description
When specifying a split, this layer creates frames for each different time-span spent at a particular value.
For example, if you had a table column named 'mode' which varied between 'Auto','Manual','Off','Error' and 'Bypass', this would break your existing frame into distinct times when the machine was in each of these modes.
Note that if the machine entered a mode multiple times, you will have multiple frames.
The name of the mode will be found in the column named 'Group'.
Example
{ "type": "timeframes", "split": "Machine.Mode" }, { "type": "filter", "remove": "{Group}='Off'" }
This will create frames for each time the machine spent in its different modes. It then filters the results to remove any times when the machine was 'off'.