How to print a waveform without showing it?

T

Tao Chen

Guest
Hi,

I am using Ocean scripts to plot and print results for dozens of
corners. For each corner, the ocean scripts firstly plot some
waveforms with "plot" command, and then print it to a figure with
"hardCopy" command, and finally the plot window is cleared to get
ready for the next corner. Each time the "plot" command is invoke, the
plot window will pop up. As a result, I cannot work on my computer
before the Ocean scripts are finished since the plot window keeps
catching the focus. Is there any way to let Ocean plot and print the
curves "quietly" (without popping up the plot window or even without
showing the plot window) so that I can keep working on my computer?
Thanks!

Regards,
Tao
 
Have you tried ocean -nogui? I use this option to run simulations
remotely over ssh when I don't have a display on the remote box.
 
Tarek wrote, on 07/17/09 14:44:
Have you tried ocean -nogui? I use this option to run simulations
remotely over ssh when I don't have a display on the remote box.
I think you mean ocean -nograph

Regards,

Andrew.
 
In article <60736456-a9cc-4a67-868a-345fbaeceb84@c36g2000yqn.googlegroups.com> Tao <chentao74@gmail.com> writes:

The only problem with "-nograph" is that I cannot set the sizes of the
plot window as before. I am using the command "awvCreatePlotWindow(?
bBox list(0:0 2000:1100))" to create a plot window with the given
sizes. It seems that the sizes are not used with "-nograph" option. Of
course this is just a minor problem...
I think that is because -nograph actually uses an X server that doesn't
display but has a size smaller than the size you are specifying (the nograph
server uses a display size of 1024x868) so the window size is limited to that.

-Pete Zakel
(phz@seeheader.nospam)


"Air is water with holes in it"
 
On Jul 17, 6:44 am, Tarek <tarek.k...@gmail.com> wrote:
Have you tried ocean -nogui? I use this option to run simulations
remotely over ssh when I don't have a display on the remote box.
Hi, Tarek,

Thanks for the suggestion. I've tried the -nogui option, but it
doesn't work. The command that I used is:
$ ocean -nogui < a.ocn
where "a.ocn" is my Ocean scripts. The result is exactly the same as
without "-nogui". The plot window is still popped up for every
corner...

Regards,
Tao
 
On Jul 17, 10:52 am, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm>
wrote:
Tarek wrote, on 07/17/09 14:44:

Have you tried ocean -nogui? I use this option to run simulations
remotely over ssh when I don't have a display on the remote box.

I think you mean ocean -nograph

Regards,

Andrew.
"ocean -nograph" works! Thank you, Andrew!

The only problem with "-nograph" is that I cannot set the sizes of the
plot window as before. I am using the command "awvCreatePlotWindow(?
bBox list(0:0 2000:1100))" to create a plot window with the given
sizes. It seems that the sizes are not used with "-nograph" option. Of
course this is just a minor problem...

Regards,
Tao
 
Refer to Andrew's post, the correct switch is -nograph, my mistake.
 
On Jul 17, 1:52 pm, px...@cadence.com (Pete nospam Zakel) wrote:
In article <60736456-a9cc-4a67-868a-345fbaece...@c36g2000yqn.googlegroups.com> Tao <chenta...@gmail.com> writes:

The only problem with "-nograph" is that I cannot set the sizes of the
plot window as before. I am using the command "awvCreatePlotWindow(?
bBox list(0:0 2000:1100))" to create a plot window with the given
sizes. It seems that the sizes are not used with "-nograph" option. Of
course this is just a minor problem...

I think that is because -nograph actually uses an X server that doesn't
display but has a size smaller than the size you are specifying (the nograph
server uses a display size of 1024x868) so the window size is limited to that.

-Pete Zakel
(p...@seeheader.nospam)

"Air is water with holes in it"
You could also try lowering the plot window to the background:

window_id = awvCreatePlotWindow(?bBox list(0:0 2000:1100))
hiLowerWindow(window_id)

Joel
 

Welcome to EDABoard.com

Sponsor

Back
Top