Slice files by condition

Files can be divided into rule-based slices with user-defined conditions. This lets you isolate specific events or time ranges in measurement data.

  1. After adding the Slice files by condition operation, select a Slice mode: Condition, One sided trigger, or Two sided trigger.

  2. Enter the condition or conditions using Python syntax. NumPy is available. Only a subset of Python features is supported. For details, see Slice files by condition.
    Multiple signals can be combined.

    1. Condition mode keeps only the data points that satisfy the rule.

    2. One sided trigger creates slices that start when the condition first becomes true, extend for the configured Duration, and are shifted by the Offset. Overlapping slices are merged into a single slice.

      Use this mode to inspect time spans around an event, such as a threshold being exceeded.

    3. Two sided trigger creates slices between a From condition and an Until condition. Offsets are applied to both slice boundaries.

      Use this mode to inspect time spans between two events.