• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. What is the setup in .cdsplotinit to create waveform window...

Stats

  • Locked Locked
  • Replies 7
  • Subscribers 143
  • Views 16371
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

What is the setup in .cdsplotinit to create waveform window to *.png?

Reinice
Reinice over 12 years ago
Hi All,

I used
hardCopyOptions(?hcOutputFile "myGraph.png")

hardCopy()

to create waveform window to *.png but I' am having an error telling that I need a .cdsplotinit. I don't know how to setup .cdsplotinit for this and I don't know where to find .cdsplotinit.

Can anyone please help. Thanks in advance.

Thanks and Regards,

Reinice
  • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    Reinice,

    Unfortunately it's a historical thing - there's a CCR to address the need for a .cdsplotinit (it shouldn't be needed in this case because you're not using it).

    It's covered in the plotting documentation, but the simplest thing is to create a ~/.cdsplotinit with the following contents:

     Encapsulated PostScript|Encapsulated PostScript: \
            :manufacturer=Adobe: \
            :type=epsf: \
            :resolution#300: \
            :maximumPages#1: \
            :paperSize="5x5 inches" 1500 1500: \
            :paperSize="8x8 inches" 2400 2400: \
            :paperSize="Unlimited" 72000 72000:

    This is primarily intended for printing from schematics and layout - this entry just defines a "printer" for outputting EPS.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Reinice
    Reinice over 12 years ago

    Hi Andrew,

    Can you site me some example on how to setup .cdsplotinit to save waveform window to a *.png?

    Actually my target is to save the window waveform in *.png or *.jpg file just like doing File>save image in ViVA. But in my case I want to do this in SKILL.

    Thanks and Regards,

    Reinice

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

     Reinice,

    You do not need to put anything specific in the .cdsplotinit to save to png or jpg. You just have to have a .cdsplotinit existing - as I said, this is a rather odd need, but it's because the OCEAN interface to producing an image is performed via the printing API - even though it doesn't actually using the printing capability within ViVA at all.

    We are considering separating the API to save images from the hardCopy() function - the problem is that we're overloading both printing and saving of images into a single API, which over-complicates things. This is a historical decision, but with the increased flexibility we have in IC615 for saving images, it is making less sense now.

    So, if you use the .cdsplotinit I provided above - or indeed any .cdsplotinit - you will be able to save images in any format using the SKILL API.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Reinice
    Reinice over 12 years ago

    Hi Andrew,

    It's working now! Thanks a lot. But I notice that it only saves the active subwindow and not all subwindow in a current window. Is there function to save all subwindow? Also is there a setup to make it's background to white? To minimize the use of disk space.

    Thanks and Regards,

    Reinice

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    Reinice,

    You might find this solution useful.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Reinice
    Reinice over 12 years ago

    Hi Andrew,

    I' am having some problem in accessing the link.

    Thanks and Regards,

    Reinice

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    Reinice,

    Do you have a support.cadence.com account? If so, the link should work. If you're from a customer on maintenance, you can get one using your  license server hostid - otherwise if with a University, I believe that Europractice provides a mechanism for getting readonly accounts (no service request creation), and for other parts of the world I believe you can also have a support login (via whoever is responsible for the Cadence tools at your university).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information