Home > Community > Forums > Custom IC SKILL > How can I acquire waveform expression?

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 How can I acquire waveform expression? 

Last post Thu, Oct 4 2012 11:03 PM by Reinice. 9 replies.
Started by Reinice 20 Sep 2012 02:35 AM. Topic has 9 replies and 1738 views
Page 1 of 1 (10 items)
Sort Posts:
  • Thu, Sep 20 2012 2:35 AM

    • Reinice
    • Top 150 Contributor
    • Joined on Thu, Jul 26 2012
    • Posts 59
    • Points 915
    How can I acquire waveform expression? Reply

    Hi All,

    I have a waveform. I want to acquire it's equivalent expression using SKILL?

    I'll be using the acquired expression for calculator functions using OCEAN.

    Can anyone help me.

    Thanks in advance.

    Thanks and Regards,

    Reinice

    • Post Points: 20
  • Thu, Sep 20 2012 9:29 AM

    Re: How can I acquire waveform expression? Reply

    Reinice,

    drGetWaveformYVec(wave)->expression

    should return the expression (if the waveform has been created to store the expression on the object, which it normally would).

    Regards,

    Andrew.

    • Post Points: 20
  • Thu, Sep 20 2012 6:45 PM

    • Reinice
    • Top 150 Contributor
    • Joined on Thu, Jul 26 2012
    • Posts 59
    • Points 915
    Re: How can I acquire waveform expression? Reply
    Hi Andrew,

    1. I tried drGetWaveformYVec(wave)->expression using wave in the example in the documentation but I 'am getting "nil" result

    Can you site me some sample on how to use this?

    2. In this example, how can I acquire this having a plot waveform
    value(getData(“/AVDD33” ?result “tran”) “Cload” 2e-12) using SKILL?I will be using this expression for calculator functions.

    Thanks and Regards,

    Reinice
    • Post Points: 5
  • Thu, Sep 20 2012 6:49 PM

    • Reinice
    • Top 150 Contributor
    • Joined on Thu, Jul 26 2012
    • Posts 59
    • Points 915
    Re: How can I acquire waveform expression? Reply
    <rephrasing no. 2>

    Hi Andrew,

    1. I tried drGetWaveformYVec(wave)->expression using wave in the example in the documentation but I 'am getting "nil" result

    Can you site me some sample on how to use this?

    2. In this example, how can I acquire this

    value(getData(“/AVDD33” ?result “tran”) “Cload” 2e-12)

    having a plot waveform using SKILL?

    I will be using this expression for calculator functions.

    Thanks and Regards,

    Reinice
    • Post Points: 20
  • Fri, Sep 21 2012 5:40 AM

    Re: How can I acquire waveform expression? Reply

    Reinice,

    I don't entirely understand your second question - surely the second question is how you'd access this with SKILL? If you do that, and then do:

    plot(value(getData(“/AVDD33” ?result “tran”) “Cload” 2e-12))

    you'll get what you want? For the first, I did this:

    drGetWaveformYVec(value(getData("/out" ?result "tran") "CAP" 1.5p))->expression

    and it outputs:

    value(getData("/out" ?resultsDir "/export/home/andrewb/demos/OCEAN/simulation/ampTest/spectre/schematic" ?result "tran") "CAP" 1.5e-12)

    (my expression was similar, but not identical to yours).

    Regards,

    Andrew.

    • Post Points: 20
  • Sun, Sep 23 2012 5:46 PM

    • Reinice
    • Top 150 Contributor
    • Joined on Thu, Jul 26 2012
    • Posts 59
    • Points 915
    Re: How can I acquire waveform expression? Reply

    Hi Andrew,

    Thanks for your quick reply.

    For the second question here's my scenario about this:

    I have a waveform, when I right click at it there's an option send to. When I click send to there's an option calculator, ViVA XL Calculator Form appears. In the buffer part of the calculator I see this value(getData(“/AVDD33” ?result “tran”) “Cload” 2e-12). How can I acquire the value(getData(“/AVDD33” ?result “tran”) “Cload” 2e-12) in the buffer part using SKILL and depending only in a waveform. 

    Thanks and Regards,

    Reinice

    • Post Points: 20
  • Mon, Sep 24 2012 7:56 AM

    Re: How can I acquire waveform expression? Reply

    Hi Reinice,

    I still don't quite understand what you're trying to do. Maybe you're trying to get this information from the selected trace on the graph? Or are you trying to get this from a waveform stored in a variable (if so, that's what the ->expression approach does) ? I think I need some clarification as to where the waveform is that you're trying to get this information on?

    Regards,

    Andrew.

    • Post Points: 20
  • Mon, Sep 24 2012 5:55 PM

    • Reinice
    • Top 150 Contributor
    • Joined on Thu, Jul 26 2012
    • Posts 59
    • Points 915
    Re: How can I acquire waveform expression? Reply

    Hi Andrew,

    Yes, I 'am trying to get the information from the selected trace on the graph. In my earlier example I have a trace AVDD33 and when I send "/AVDD33" to a calculator, it's equivalent expression is value(getData(“/AVDD33” ?result “tran”) “Cload” 2e-12) shown in the buffer part of the calculator GUI. How can I acquire value(getData(“/AVDD33” ?result “tran”) “Cload” 2e-12) using a trace (ex. "/AVDD33") to get this information using SKILL? I hope I've made some clarifications.

    Thanks and Regards,

    Reinice

    • Post Points: 20
  • Tue, Oct 2 2012 11:33 PM

    Re: How can I acquire waveform expression? Reply

     Hi Reinice,

    I don't think there's a current API to get the selected waveforms. I'm in the process of working through the existing API and identifying what is obsolete, and what is missing, to suggest to R&D what needs to be added now that the major work on the new ViVA graph has been done (there's still some minor things left to do though).

    You would probably be best logging a service request with customer support so that there is an indication of your needs in the system, tracked against your company/organisation.

    Regards,

    Andrew.

    • Post Points: 20
  • Thu, Oct 4 2012 11:03 PM

    • Reinice
    • Top 150 Contributor
    • Joined on Thu, Jul 26 2012
    • Posts 59
    • Points 915
    Re: How can I acquire waveform expression? Reply

    Hi Andrew,

    Sorry for the late reply. Many Thanks for the info.

    Thanks and Regards,

    Reinice

    • Post Points: 5
Page 1 of 1 (10 items)
Sort Posts:
Started by Reinice at 20 Sep 2012 02:35 AM. Topic has 9 replies.