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

awvSetSmithModeType

awvSetSmithModeType(
w_windowID
t_type
[ ?subwindow x_subwindow ]
)
=> t / nil

Description

Sets the type of Smith display to a subwindow in the specified Waveform window.

Arguments

w_windowID

Waveform window ID.

t_type

Type of Smith display.

Valid values are:

  • polar
  • impedance
  • admittance
  • immittance

?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 type of Smith display is set to the current subwindow.

Value Returned

t

Type of Smith display is set to the subwindow.

nil

Type of Smith display cannot be set because of an error.

Examples

The following examples sets the type of Smith display of subwindow 8 of the specified Waveform window to immittance.

awvSetSmithModeType(window(90) "immittance" ?subwindow 8)
=> t

The following example sets the type of Smith display of the current subwindow in the specified Waveform window to polar.

awvSetSmithModeType(window(91) "polar")
=> t

Return to top
 ⠀
X