XMarkRange
XMarkRange('Expression','From','To')
Arguments
|
'Expression' |
Signal or expression from which to select a part |
|
'From' |
Start of the selected range in seconds or meters |
|
'To' |
End of the selected range in seconds or meters |
Description
You can use this function to cut out part of a curve – similar to the XCutRange function. The 'From' and 'To' parameters define the beginning and end of the segment to be cut out.
The part cut out is displayed in a separate graph, however, it stays in the original position on the time or position axis. The samples outside the specified range are discarded.
You can use the function for time based signals ('From' and 'To' in seconds) as well as for length based signals ('From' and 'To' in meters).
XMarkValid
XMarkValid('Expression','Valid')
Arguments
|
'Expression' |
Signal or expression from which to select a part |
|
'Valid' |
Digital signal that describes the selected range |
Description
Similar to the XCutValid function, this function cuts out all the samples of a signal trend 'Expression' depending on a 'Valid' condition if this condition supplies the value TRUE. The 'Valid' parameter is a Boolean expression. This can be a digital signal, the result of a comparative operation, or any other binary expression. Samples for which the condition is FALSE are not used.
The cut out parts are displayed in a new graph, retaining their X positions.
You can use the function for time based signals as well as for length based signals.
Tip |
|
|---|---|
|
The XMarkValid function is useful, for example, to highlight limit value violations by using different colors in a signal trend by showing the result signal in the same graph and on the same Y-axis as the original signal. By choosing different colors, you can easily identify ranges of the limit value violation. Example: Values within the tolerance range = blue; values out of tolerance = red.
|
|
