• 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. adding Point marker using ocean or skill commands

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 12719
  • 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

adding Point marker using ocean or skill commands

KiranTej
KiranTej over 4 years ago

Hi All,

I have read the previous posts on adding a point marker on a transient plot using ocean or skill commands and from all those older posts I could see that there is no specific command for point marker. I wanted to know if cadence implemented any new ocean/skill command for that point marker recently.

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 4 years ago

    Actually, this can be done - it was fixed in IC6.1.6 timeframe, and you can use the (rather non-obviously named) awvPlaceWaveformLabel or addWaveLabel functions:

    sig=v("n1" ?result 'tran)
    plot(sig)
    awvPlaceWaveformLabel( awvGetCurrentWindow() 1 list( 1.2u value(sig 1.2u) ) "MyMarker %X %Y" nil)

    or

    addWaveLabel(1 list(1.2u 200m) "PointMarker %X %Y" ?textOffset t)

    Note that with the addWaveLabel simpler function, you need to pass ?textOffset t otherwise it adds it as a label not a point marker.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 4 years ago

    Actually, this can be done - it was fixed in IC6.1.6 timeframe, and you can use the (rather non-obviously named) awvPlaceWaveformLabel or addWaveLabel functions:

    sig=v("n1" ?result 'tran)
    plot(sig)
    awvPlaceWaveformLabel( awvGetCurrentWindow() 1 list( 1.2u value(sig 1.2u) ) "MyMarker %X %Y" nil)

    or

    addWaveLabel(1 list(1.2u 200m) "PointMarker %X %Y" ?textOffset t)

    Note that with the addWaveLabel simpler function, you need to pass ?textOffset t otherwise it adds it as a label not a point marker.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • KiranTej
    KiranTej over 4 years ago in reply to Andrew Beckett

    Andrew, thanks for your reply. In the command you mentioned 'addWaveLabel(1 list(1.2u 200m) "PointMarker %X %Y" ?textOffset t)' -> "1", indicates the waveform ID. Is there a way to set this waveform ID for a particular waveform through any command?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to KiranTej

    The numbers are an old handle way of referring to a specific waveform, which is a hangover from the way it was done in an older waveform tool. Unfortunately there's not a more direct "object" way of doing it (yet - maybe one day).

    You can find out the relationship between the numbers and the expressions of the waveforms in the current waveform window by doing:

    awvGetWaveNameList(awvGetCurrentWindow())

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • KiranTej
    KiranTej over 4 years ago in reply to Andrew Beckett

    Thanks for the information Andrew, it was helpful

    • 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