• 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. waveScan problem

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 149
  • Views 14610
  • 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

waveScan problem

leongec
leongec over 16 years ago

 hi, i have some problems in using the wavescan, hope somebody can clarify for me. 

i know how to set the axis attribute, as shown in the following

  wave3=getAsciiWave("temp1" 1 2)
drGetWaveformXVec(wave3)~>units="V"
drGetWaveformXVec(wave3)~>name="Vds"
drGetWaveformYVec(wave3)~>units="A"

my problem is, i have more than one data in the wavewindow,

it's not only wave3, but wave4 and wave5 , etc. i cant set the axis attribute with the code shown above, can anyone tell me how can i settle this?

thank you 
 
leongec 
  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 16 years ago

    I'm slightly confused, because I got another email from you (appears to be from the forum) saying that this didn't work:

    hi Andrew, thanks for your reply, but i cant do that by this method. The following is my code. Initially i get the data by using getAsciiWave, then i plot it in the Window and followed by the foreach to set the axis. After i execute my code.. the axis doesnt show... i have no ideal what 's wrong with it.. 
    
        newWindow();
    
        wave1=getAsciiWave("value1.txt" 1 2)
        plot(wave1)
        wave2=getAsciiWave("value2.txt" 1 2)
        plot(wave2)
        wave3=getAsciiWave("alue3.txt" 1 2)
        plot(wave3)
        wave4=getAsciiWave("value4.txt" 1 2)
        plot(wave4)
        wave5=getAsciiWave("value5.txt" 1 2)
        plot(wave5)
        
            
        foreach(wave list(wave1 wave2 wave3 wave4 wave5)
              drGetWaveformXVec(wave)~>units="V"
                 drGetWaveformXVec(wave)~>name="Vds"
               drGetWaveformYVec(wave)~>units="A"    ) ; foreach
    

    That's because you need to change the attributes on the wave objects before you plot them. Probably easiest to remove calls to plot() after each getAsciiWave, and then add a call plot(wave) within the foreach loop.

    Regards,

    Andrew.

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

    I'm slightly confused, because I got another email from you (appears to be from the forum) saying that this didn't work:

    hi Andrew, thanks for your reply, but i cant do that by this method. The following is my code. Initially i get the data by using getAsciiWave, then i plot it in the Window and followed by the foreach to set the axis. After i execute my code.. the axis doesnt show... i have no ideal what 's wrong with it.. 
    
        newWindow();
    
        wave1=getAsciiWave("value1.txt" 1 2)
        plot(wave1)
        wave2=getAsciiWave("value2.txt" 1 2)
        plot(wave2)
        wave3=getAsciiWave("alue3.txt" 1 2)
        plot(wave3)
        wave4=getAsciiWave("value4.txt" 1 2)
        plot(wave4)
        wave5=getAsciiWave("value5.txt" 1 2)
        plot(wave5)
        
            
        foreach(wave list(wave1 wave2 wave3 wave4 wave5)
              drGetWaveformXVec(wave)~>units="V"
                 drGetWaveformXVec(wave)~>name="Vds"
               drGetWaveformYVec(wave)~>units="A"    ) ; foreach
    

    That's because you need to change the attributes on the wave objects before you plot them. Probably easiest to remove calls to plot() after each getAsciiWave, and then add a call plot(wave) within the foreach loop.

    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