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.