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

awvGetSmithModeType

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

Description

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

Arguments

w_windowID

Waveform window ID.

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

Value Returned

t_type

Type of Smith display of the subwindow.

Valid values are:

  • polar
  • impedance
  • admittance
  • immittance

nil

The specified Waveform window or subwindow does not exist.

Examples

The following examples return the type of Smith display of subwindows 1, 3, 5, and 7 in the specified Waveform window, respectively.

awvGetSmithModeType(window(90) ?subwindow 1)
=> "polar"
awvGetSmithModeType(window(90) ?subwindow 3)
=> "impedance"
awvGetSmithModeType(window(90) ?subwindow 5)
=> "admittance"
awvGetSmithModeType(window(90) ?subwindow 7)
=> "immittance"

The following example returns the type of Smith display of the current subwindow in the specified Waveform window.

awvGetSmithModeType(window(89))
=> "impedance"


Return to top
 ⠀
X