• 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. AWD plotting commands - _amsaDirectPlot

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 145
  • Views 4092
  • 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

AWD plotting commands - _amsaDirectPlot

swdesigner
swdesigner over 14 years ago
I know AWD is going to be discontinued, but we still use it for the time being. Is there any documentation available for such functions? I've set up a bindkey to do the work of ADE > Results > Direct Plot > Transient Signal because you can now select several signals and plot them in one shot. Problem is, I'm getting them replacing what's already in AWD. Is there any way to do an append? Thanks!
  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    Not sure using _amsaDirectPlot makes sense - that's rather private. Better would be to use the same callback the menu uses, which is sevDirectPlot(). For example:

    session=sevSession(hiGetCurrentWindow())
    eval(sevWindow(session)->hiForm)->artistPlottingMode->value="Append"  ; this sets the plotting mode on the ADE window
    sevDirectPlot(session 'asiiPlotTranSignalCB)

     

    That should then plot in append mode.

     

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Shen X
    Shen X over 3 years ago in reply to Andrew Beckett

    Hi Andrew, long time no see...

    This had worked perfectly for me until a Virtuoso update replaced ADE-L with maestro. Is there a quick fix for that?

    Thanks!

    Shen 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to Shen X

    Shen,

    Looking back, it was rather a hack. Not sure this response will be much better and I can't guarantee this won't change. The simplest would be to set the ADE default plotting mode before you start ADE by doing:

    envSetVal("asimenv.plotting" "artistPlottingMode" 'string "Append")

    If you need to force it during the session, then this is assuming you're using Explorer (with Assembler there's no real equivalent because you would need to know which test you are getting results for). However, it would be:

    session=sevSession(hiGetCurrentWindow())
    toolbar=deFindToolbar("Plotting" hiGetSessionWindow(sevWindow(session)))
    toolbar->axlPlotMode->value="Append"
    sevDirectPlot(session 'asiiPlotTranSignalCB)

    So it's really just the bit that changes the plotting mode to append that needs to change (that could be combined into a single line if you wanted).

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to Shen X

    Shen,

    Looking back, it was rather a hack. Not sure this response will be much better and I can't guarantee this won't change. The simplest would be to set the ADE default plotting mode before you start ADE by doing:

    envSetVal("asimenv.plotting" "artistPlottingMode" 'string "Append")

    If you need to force it during the session, then this is assuming you're using Explorer (with Assembler there's no real equivalent because you would need to know which test you are getting results for). However, it would be:

    session=sevSession(hiGetCurrentWindow())
    toolbar=deFindToolbar("Plotting" hiGetSessionWindow(sevWindow(session)))
    toolbar->axlPlotMode->value="Append"
    sevDirectPlot(session 'asiiPlotTranSignalCB)

    So it's really just the bit that changes the plotting mode to append that needs to change (that could be combined into a single line if you wanted).

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • AdamUQ
    AdamUQ over 3 years ago in reply to Andrew Beckett

    Hi Andrew,
    I'm trying to get this working too in ADE Explorer. sevWindow(session) returns nil (in my case session is set to sevSession17). I don't see any documentation for sevWindow. I did see in the hiGetSessionWindow() description the swindow() function but that takes an integer and I don't know what the best way to get the session number is, I believe that in my case it is 1.
    How would this function work nowadays?

    Also, why is the sevDirectPlot() function not using the "Append" mode from the toolbar? If I use the menu I see sevDirectPlot('sevSession1 'asiiPlotTranSignalCB) which takes notice of the plotting mode. I'm assuming that session is not evaluating to 'sevSession1 and this is actually a coding error in the MYappendSignal procedure that is posted.

    Many thanks

    Adam

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to AdamUQ

    Adam,

    I don't know why this isn't working - it's odd, because if the session=sevSession(hiGetCurrentWindow()) is working, then I would expect sevWindow(session) to return the window for the Explorer window. 

    The code above definitely worked when I tried it, but it's absolutely a hack - and when it works, the plot mode for the function should be honoured. The MyAppendSignal is from 11 years ago and was for ADE L, so that code can't be used anyway as-is.

    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