Product Documentation
Virtuoso Visualization and Analysis XL SKILL Reference
Product Version IC23.1, November 2023

awvGetStripNumberOfSelectedTrace

awvGetStripNumberOfSelectedTrace(
w_windowID
)
=> n_stripNumber / nil / -1

Description

Returns the strip number of the trace selected in the specified Waveform window.

Arguments

w_windowID

Waveform window ID.

Value Returned

n_stripNumber

Strip number of the selected trace.

nil

The specified Waveform window does not exist.

-1

No trace is plotted in the specified Waveform window.

Examples

The following example returns the strip number of the trace selected in the current Waveform window.

win= awvGetCurrentWindow()
=> window:3
awvGetStripNumberOfSelectedTrace(win)
=> 9

The following example returns the strip number of the currently selected trace in the specified Waveform window.

awvGetStripNumberOfSelectedTrace(window(4))
=> 7

Return to top
 ⠀
X