Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to make skill program wait

282 views
Skip to first unread message

sando

unread,
Dec 23, 2005, 4:09:54 AM12/23/05
to
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

Andrew Beckett

unread,
Dec 23, 2005, 10:41:26 AM12/23/05
to

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.

shasha...@gmail.com

unread,
Aug 17, 2015, 2:56:48 AM8/17/15
to
Hi Andrew,
I have been working to automate ADE analysis. I tried using OCEAN function run() to run simulation. But the results are not written in the simulation directory. I need the spectre.out file to be updated everytime I run the simulation. Its possible with sevNetlistAndRun(). So what is the difference between the two functions? How can I get updated spectre.out using run() command?

Thanks in advance,
Shash
0 new messages