Overview
Search for and mark specific values or ranges inside a data stream in Waves.
Syntax
A single condition
=[data stream] <operator> <value>
Multiple conditions
=[data stream] <operator1> <value1> <operator2> <value2> <operator3><value3>
Examples
=[message] == "Maintenance Active"
=[voltage] > 10
=$~"packet"
In the example above, a data stream (signal) is first selected, then the real-time expression, =$~"packet", is applied to find every instance of the word "packet" inside the data stream, message. The $ identifier is a shortcut to use the selected data stream in the expression. The ~ operator performs a partial match such that any data value that contains the string, "packet", will be returned. The resulting data stream is created right above the selection. Changing the view type to "view as event pins" displays a pin for every search hit for the condition specified. In this example, there are three data values inside of the data stream, message, that contain the word, "packet", each marked with a pin.
Comments
0 comments
Article is closed for comments.