How to print a waveform without showing it?

Discussion in 'Cadence' started by Tao Chen, Jul 17, 2009.

  1. Tao Chen

    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
     
    Tao Chen, Jul 17, 2009
    #1
  2. Tao Chen

    Tarek Guest

    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, Jul 17, 2009
    #2
  3. Tarek wrote, on 07/17/09 14:44:
    I think you mean ocean -nograph

    Regards,

    Andrew.
     
    Andrew Beckett, Jul 17, 2009
    #3
  4. Tao Chen

    Tao Guest

    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
     
    Tao, Jul 17, 2009
    #4
  5. Tao Chen

    Tao Guest

    "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
     
    Tao, Jul 17, 2009
    #5
  6. Tao Chen

    Tarek Guest

    Refer to Andrew's post, the correct switch is -nograph, my mistake.
     
    Tarek, Jul 17, 2009
    #6
  7. Tao Chen

    Guest Guest

    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
    ()


    "Air is water with holes in it"
     
    Guest, Jul 17, 2009
    #7
  8. Tao Chen

    Joel Guest

    You could also try lowering the plot window to the background:

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

    Joel
     
    Joel, Jul 20, 2009
    #8
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.