• 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. Plot custom template using ViVA

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 143
  • Views 16547
  • 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

Plot custom template using ViVA

cazatormentas
cazatormentas over 10 years ago

We want to export the simulation results through a script to guarantee some information to be included automatically on every plot. Also, as the design is finished the plot must be exported to an eps or pdf file, like the following example shows.

We tried using saveGraphImage and printGraph commands, with better results with printGraph as it lets define the header fields, the margins and orientation of the paper. And that was exactly what we want.


However, both of those commands use the ADE license, and the task must be achieved using only ViVA.  How can it be acheved using only ViVA?

Thanks a lot in advance.

Procedure used but checking ADE license.
procedure( ChexportImage( imageName )
        saveGraphImage( ?window winId ?fileName imageName ?width 8.27 ?height 5.83 ?units "inch" ?enableTitle t ?enableLegend t ?enableAxes t ?enableGrids t ?backgroundColor "white" )
)


procedure( ChprintGraph( imageName )
        printGraph( ?window winId ?fileName imageName ?paperSize "a5" ?orientation "landscape" ?enableHeader t ?enableFooter nil ?headerLeftText "Left Header" ?headerCenterText "$DATE" ?headerRightText "Right Header" ?horizontalMargin 0 ?verticalMargin 0 )
)


  • Cancel
Parents
  • cazatormentas
    cazatormentas over 10 years ago

    Thanks for your quick response, Andrew.

    Indeed, We do not expect to run this commands with not license at all. We have three licenses of ViVA XL for this tasks. And when we run our traditional Ocean scipts the ViVA XL license is checked out, as expected. But when printGraph and saveGraphImage commands are executed, the ADE license is checked out, and the result is two licenses used, and we want to achieve the task with only one license, the ViVA XL license.

     9:45:13 (cdslmd) OUT: "111" jmateus@cacupe  
     9:45:19 (cdslmd) OUT: "Virtuoso_Visual_Analysis_XL" jmateus@cacupe  
     9:45:20 (cdslmd) UNSUPPORTED: "Analog_Design_Environment_L" (PORT_AT_HOST_PLUS   ) jmateus@cacupe  (License server system does not support this feature. (-18,327:104 "Connection reset by peer"))
     9:45:20 (cdslmd) OUT: "Analog_Design_Environment_XL" jmateus@cacupe


    We wonder why can be exported the graphics though the graphical interface as we expect using only the ViVA XL license, but when the commands are called it takes also the ADE license. There is a ViVAXL license for a reason, and there must be a command procedure to export the graphics using this license alone.

    Best regards,


    Juan.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • cazatormentas
    cazatormentas over 10 years ago

    Thanks for your quick response, Andrew.

    Indeed, We do not expect to run this commands with not license at all. We have three licenses of ViVA XL for this tasks. And when we run our traditional Ocean scipts the ViVA XL license is checked out, as expected. But when printGraph and saveGraphImage commands are executed, the ADE license is checked out, and the result is two licenses used, and we want to achieve the task with only one license, the ViVA XL license.

     9:45:13 (cdslmd) OUT: "111" jmateus@cacupe  
     9:45:19 (cdslmd) OUT: "Virtuoso_Visual_Analysis_XL" jmateus@cacupe  
     9:45:20 (cdslmd) UNSUPPORTED: "Analog_Design_Environment_L" (PORT_AT_HOST_PLUS   ) jmateus@cacupe  (License server system does not support this feature. (-18,327:104 "Connection reset by peer"))
     9:45:20 (cdslmd) OUT: "Analog_Design_Environment_XL" jmateus@cacupe


    We wonder why can be exported the graphics though the graphical interface as we expect using only the ViVA XL license, but when the commands are called it takes also the ADE license. There is a ViVAXL license for a reason, and there must be a command procedure to export the graphics using this license alone.

    Best regards,


    Juan.

    • 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