• 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 16379
  • 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
Parents
  • 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
Reply
  • 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
Children
No Data

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