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

awvSetXLimit

awvSetXLimit(
w_windowID
l_minMax
[ ?subwindow x_subwindow ]
)
=> t / nil

Description

Sets the display limits of x axis in a subwindow of the specified Waveform window.

Arguments

w_windowID

Waveform window ID.

l_minMax

List of two x-axis values that define the range of display. The first value in the list sets the minimum value of x axis. The second value in the list sets the maximum value of x axis.

If this argument is set to nil, the limit is set to autoscale.

?subwindow x_subwindow

Identification number of the subwindow, which is found in the top-right corner of the subwindow.

If you do not specify this argument, the current subwindow is used.

Value Returned

t

Display limits of x axis are set successfully.

nil

The specified Waveform window or subwindow does not exist.

Examples

The following example sets the display limit of x axis from 20ns to 100ns in the current subwindow of the specified Waveform window.

awvSetXLimit(window(38) list(20ns 100ns))
=> t

The following example sets the display limits of x axis from 40ns to 200ns in the subwindow number 3 of the current Waveform window.

awvSetXLimit(awvGetCurrentWindow() list(40ns 200ns) ?subwindow 3)
=> t

Return to top
 ⠀
X