• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. Creating Smith Chart via Skill

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 143
  • Views 13810
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Creating Smith Chart via Skill

Ivars
Ivars over 11 years ago

Hi,

I'm trying to plot S11 data on a Smith Chart using Skill. I've tried the following sequence:

openResults("/path/to/psf/directory")

selectResults("sp")
wid=awvCreatePlotWindow()
awvSetCurrentWindow(wid)
awvSetDisplayMode( wid  "smith" )
awvSetSmithModeType( wid "admittance")
awvPlotWaveform( wid list( getData("/s11")) ?expr list( "S11" ) )

The results is a waveform window plotting S11 as a magnitude versus frequency and a second window with an empty Smith Chart.

 If I do a awvGetCurrentWindow() with the Smith Chart window active (at the front) it gives the same window ID as the window with the S11 magnitude plot.

The problem appears to be with the awvSetDisplayMode() command. It creates a new window for the Smith Chart but doesn't seem to allow the awvPlotWaveform command to use it.

I've also tried using the awvSetDisplayMode after plotting the S11 data, but that doesn't work either - it generates another window with an empty Smith Chart.

I'm using IC6.1.5.500.17

Any advice on how to properly use awvSetPlotMode() woud be appreciated. Thanks.

 Ivars

  • Cancel
  • Ivars
    Ivars over 11 years ago

    To follow-up on my own question, I found a solution to problem in Solution 11745974 on the Cadence Support website.

    The trick is to set the Smith Chart mode using the undocumented ?graphType option for the awvPlotWaveform() function and not the awvSetDisplay() mode function.

    The following code works:

    openResults("/path/to/psf/directory")

    selectResults("sp")
    wid=awvCreatePlotWindow()
    awvSetCurrentWindow(wid)
    awvPlotWaveform( wid list( getData("/s11")) ?expr list( "S11" ) ?graphType "admittance")

     The ?grapType option is only available  in IC6.1.5 ISR3 (6.1.5.500.3) and beyond, It would have been helpful if this option was documented. GraphType can also be "impedance" and possibly others (again better doucmentation would help).

     The solution suggest the following Ocean commands should work:

    newWindow()
    displayMode("smith")
    smithType("admittance")
    plot( getData("/sll"))

    but I get an error message

    ERROR (WIA-1021): Morphing from Rectangular to Smith mode is not supported

     

    Ivars

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information