Documentation Home Page ◇ RT-LAB Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.
Misc. | CROSSING TIME
CROSSING TIME – [CROSST]
Output the time at which the signal cross the threshold, depending on direction and slope parameter.
CATEGORY
Miscellaneous
DESCRIPTION
The function outputs time value at which the signal cross the threshold, depending on direction and slope parameter. The scope of the search is limited to the window formed by Begin_Time and End_Time. Using HUGE for the End_Time will set the parameter to match the end of acquisition. If there is no match, the graphic will be empty.
Direction | Forward will search the threshold value from Begin_Time toward End_Time. Backward will do the opposite. |
---|---|
Slope | Using Positive Slope will search the threshold when the slope increase in function of time while Negative will search it when the slope decrease in function of time. |
RESULT VARIABLES AND PARAMETERS
Result | Time at which the signal cross the threshold in function of the parameters |
---|---|
Signal | Input signal |
Threshold | Reference value to which the signal is compared |
Begin Time | Beginning time of the function |
End Time | Ending time of the function |
Direction | Direction for the search (1: Forward, 0 : Backward) |
Slope | Type of slope (1: Positive, 0 : Negative) |
SYNTAX
Result = crosst(Input,Threshold,T_Beg,T_End,Direction,Slope)
CHARACTERISTICS
Data type support
Double Floating point
EXAMPLE
Threshold = 0, T_Beg = 0, T_End = Huge
OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter