Striim 4.0.4 documentation

Event Variables

Once you have established event variables, you can refer to groups of matched events using 0-based array index notation.

For example, B[3].sensor refers to the 4th event in group B. If you omit the index (for example, B.sensor), the last event in the group is returned.

If you pass event variables to built-in or user-defined functions, the compiler will generate code differently depending on whether a scalar or aggregating function is used.

In this example, the expression aggregates all sensor attributes for all matched events in event variable B.


In this example, the expression evaluates to the absolute value of the sensor attribute of the last matched event in event variable B: