The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl Simulators >> Circuit Simulators >> Creation of Smith Chart by OCEAN in Cadence ViVA https://designers-guide.org/forum/YaBB.pl?num=1481547223 Message started by cheap_salary on Dec 12th, 2016, 4:53am |
Title: Creation of Smith Chart by OCEAN in Cadence ViVA Post by cheap_salary on Dec 12th, 2016, 4:53am I can easily create Smith Chart by OCEAN for Cadence Wavescan and Cadence AWD. However I can not create Smith Chart by OCEAN for Cadence ViVA. The followings are both uneffective in Cadence ViVA. Code:
How to create Smith Chart by OCEAN in Cadence ViVA ? |
Title: Re: Creation of Smith Chart by OCEAN in Cadence ViVA Post by cheap_salary on Dec 13th, 2016, 4:57am Self-follow-up. I can create Imedance Chart by using following code in Cadence ViVA. Code:
If you prefer admittance chart, use following. Code:
We have to use both displayMode() and awvSetSmithModeType() in this order for Cadence ViVA. This procedure is different from Cadence Wavescan and Cadence AWD. |
Title: Re: Creation of Smith Chart by OCEAN in Cadence ViVA Post by Andrew Beckett on Dec 29th, 2016, 6:14am You also can use the public (but not properly documented, for some reason) smithType("impedance") function which is more OCEAN-like. I've requested that it is properly documented. Note that the procedure is slightly different with the Qt-based ViVA in IC615 onwards because the new implementation doesn't support a window being able to morph from a rectangular to a circular window type - you have to create the window the way you want it up front, rather than changing it later. Regards, Andrew. |
Title: Re: Creation of Smith Chart by OCEAN in Cadence ViVA Post by cheap_salary on Jan 11th, 2017, 4:39am Andrew Beckett wrote on Dec 29th, 2016, 6:14am:
Andrew Beckett wrote on Dec 29th, 2016, 6:14am:
So I have to invoke either code of the followings. Code:
Code:
|
Title: Re: Creation of Smith Chart by OCEAN in Cadence ViVA Post by Andrew Beckett on Jan 11th, 2017, 6:55am You could just do this: Code:
Then you can do: wid1=MySmithChart() wid2=MySmithChart("admittance") The benefit of a programming language is that you can write functions to make things simpler (and cooler, to use your phrase). Regards, Andrew. |
Title: Re: Creation of Smith Chart by OCEAN in Cadence ViVA Post by cheap_salary on Jan 11th, 2017, 7:46am Actually my code is a part of large procedure. Anyway skill functions are incomplete for Smith Chart. For example, I can not place marker on Smith Chart by Skill. |
Title: Re: Creation of Smith Chart by OCEAN in Cadence ViVA Post by Andrew Beckett on Jan 11th, 2017, 8:03am You should contact http://support.cadence.com and request that as an enhancement. Regards, Andrew. |
The Designer's Guide Community Forum » Powered by YaBB 2.2.2! YaBB © 2000-2008. All Rights Reserved. |