The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> Ocean analysis syntax
https://designers-guide.org/forum/YaBB.pl?num=1249656303

Message started by sos on Aug 7th, 2009, 7:45am

Title: Ocean analysis syntax
Post by sos on Aug 7th, 2009, 7:45am

I've just realized that my ocean script generates an error. I cannot figure out where it comes from.

Here's the analysis statement:
analysis('dc ?saveOppoint nil ?param "vp" ?start start ?stop stop ?lin "401")
start and stop are variables set earlier in the code.
This gives me the warning:
dc: Too many step size specifiers given

I truncated the analysis line to:
analysis('dc ?param "vp" ?start "0" ?stop "3")
This results in the same warning.

What I want to do is increase the number of points in my plot. In the first analysis statement, the number after ?lin has zero effect, I've tried many.

Advice will be appreciated,
Steve

Title: Re: Ocean analysis syntax
Post by Andrew Beckett on Aug 15th, 2009, 1:11am

Try typing:

Code:
ocnDisplay('analysis 'dc)

I suspect you'll find that there are multiple parameters for defining the sweep set.

This can happen if you have a .cdsenv file (e.g. in your home directory) which has been saved (via Options->Save Defaults in the CIW) when you had an ADE window open. This will have saved whatever ADE analysis setup you had as default values. OCEAN is then picking up these defaults, and adding the parameters you define - this quite likely means you have ended up with duplicate sweep specifiers.

Anyway, check for this .cdsenv file and see if you can locate it. You can then either remove the relevant entries, or delete the file altogether.

Best Regards,

Andrew.

Title: Re: Ocean analysis syntax
Post by sos on Aug 15th, 2009, 4:20am

Thanks much Andrew, I will look into this and report back.

Steve

Title: Re: Ocean analysis syntax
Post by sos on Aug 17th, 2009, 10:17am

Andrew, that's great. Exactly the problem.

Steve

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.