how to make skill program wait

Discussion in 'Cadence' started by sando, Dec 23, 2005.

  1. sando

    sando Guest

    I have this program

    deInstallApp(getCurrentWindow() "analogArtist-Schematic")
    sevNetlistAndRun( sevSession( hiGetCurrentWindow() ) )
    hiFormDone(_spectreWelcomeForm)

    ;; i need to wait here for the previous process to complete

    hiSaveAsViewfile()
    hiSaveAsViewfileForm->file->value = "abc"
    hiFormDone(hiSaveAsViewfileForm)
    println("bye bye world")

    please suggest me a way to make the execution to a pause after the
    third line.

    otherwise its not working, as required.

    10x
     
    sando, Dec 23, 2005
    #1
  2. Rather than trying to automate an ADE session, why not use the OCEAN
    functions - they are designed for doing exactly this kind of thing?
    The run() function blocks by default (you can alter that), so that it would wait
    until the simulation finished.

    Read the OCEAN documentation if you're not familiar with it - I suspect that
    will let you do what you want.

    Regards,

    Andrew.
     
    Andrew Beckett, Dec 23, 2005
    #2
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.