How can I record sim time when a variable reaches certain value?

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

Submitted by vinayak on Thu, 07/16/2009 - 02:14 

 

How can I record and report elapsed sim time when a specific variable reaches certain value (for the first time in that simulation). Example > Beverage temperature in pull-down test reaches setpoint at 10 hrs from the beginning of the simulation.

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Submitted by pete on Thu, 07/16/2009 - 02:19.

    Use crossDetect to send a pulse when a signal hits the desired level. The pulse is used to trigger an export block. The values on the input pins will be logged to the exported file. The ramp block gives you sim time, you can log the actual value of the signal and any other info you want.
    The attached diagram shows how to put it all together.

    Unable to find an attachment - read this blog