Home
  • Products
  • Solutions
  • Support
  • Company

This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  • Products
  • Solutions
  • Support
  • Company
Community PCB Design & IC Packaging (Allegro X) PSpice Invalid expression in measurement function

Stats

  • State Verified Answer
  • Replies 1
  • Subscribers 26
  • Views 3772
  • Members are here 0
More Content

Invalid expression in measurement function

MujikaJulen
MujikaJulen over 1 year ago

Hey! Im trying to get the value of one signal when the other signal reaches 0.8V. The expression I had written is the following:

YatX(V(VALIM),XatNthY(V(PWR_FAIL),0.8,1))

Maybe this isn't the correct way to make this work. I will add a simulation capture to explain better the situation.

My objective is to make a function to obtain those 22.424V when V(PWR_FAIL) reaches 0.8V. (This will be applied for Monte Carlo analysis, thats why I would rather have a function than doing it manually with a cursor) 

  • Sign in to reply
  • Cancel
Parents
  • AyushD
    +1 AyushD over 1 year ago

    As i understand you are trying to feed the X value using the YatNthX measurement function but somehow Pspice is not reading that value.
    I am not sure if using Watch1 component from PSpice special library will work for you ? Once the simulation stops at a particular point, you can do the measurements at that X value.

    It is like a trigger function where if the measurement results move outside of the specified bounds, PSpice A/D pauses the simulation

    Enter values in the LO and HI properties columns to define the lower and upper bounds respectively
    In the ANALYSIS property column, type DC, AC, or TRAN (transient) for the type of analysis results you want to see

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
Reply
  • AyushD
    +1 AyushD over 1 year ago

    As i understand you are trying to feed the X value using the YatNthX measurement function but somehow Pspice is not reading that value.
    I am not sure if using Watch1 component from PSpice special library will work for you ? Once the simulation stops at a particular point, you can do the measurements at that X value.

    It is like a trigger function where if the measurement results move outside of the specified bounds, PSpice A/D pauses the simulation

    Enter values in the LO and HI properties columns to define the lower and upper bounds respectively
    In the ANALYSIS property column, type DC, AC, or TRAN (transient) for the type of analysis results you want to see

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
Children
No Data
Cadence Guidelines

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