• 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 16540
  • 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
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    ViVA either runs with an ADE license, or a "ViVA XL" license (feature Virtuoso_Visual_Analysis_XL). The default behaviour is to check out the ViVA XL license if you have it if you run "viva" standalone - and then these functions work fine without needing an ADE license.

    However, not that many customers have these ViVA XL licenses - so even if you run "viva", it would still use an ADE license. If you were expecting this to run with no license at all, you'd be out of luck...

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • 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
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    Juan,

    Which subversion of IC616 are you using? (Help->About in the CIW will tell you)

    Thanks,

    Andrew.

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

    Andew,


    we are using the IC6.1.6-64b.500.2.1.


    Thanks,

    Juan

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

    Juan,

    I tried that subversion too, and I can't reproduce this. If I open a ViVA graph window, use the results browser to access the waveforms and plot some signals, and then use your functions - and it only uses the ViVA XL license.

    We might need to see the complete set of things you're doing - can you take this to customer support?

    Regards,

    Andrew.

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

    Andrew,

    thanks very much for your help . I will go to the customer support.


    Regards,

    Juan.

    • 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