Skill code for obtaining the temperatue

Discussion in 'Cadence' started by jonashat, Dec 1, 2006.

  1. jonashat

    jonashat Guest

    Hi all,

    Is there a skill function to report the temperature?

    something like getCurrentTime(), but for temperature.

    Thanks.

    -J
     
    jonashat, Dec 1, 2006
    #1
  2. asiGetCurrentSession()~>data~>sevSession~>temperature

    Bernd
     
    Bernd Fischer, Dec 1, 2006
    #2
  3. Do you mean the temperature from a particular simulation, or the
    current environment temperature (as Bernd suggested - with the
    warning that the above is using internal data structure information).

    Or perhaps you're hoping for the ambient termperature in the room
    you're sitting in? If so, that's getCurrentTemperature(). It falls
    into the same class of functions as makeMeACupOfTea() and
    minesAPint() ;-)

    Regards,

    Andrew.
     
    Andrew Beckett, Dec 3, 2006
    #3
  4. jonashat

    jonashat Guest

    That does the job, thanks Bernd!

    I needed this function to include an ocean script that will write the
    temperature in a simulation in a file.
     
    jonashat, Dec 4, 2006
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.