DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

total time of two lavels

how to calculate time for which the signal had reached to a level

 

0 Kudos
Message 1 of 4
(3,830 Views)

means total level crossing time

X1+X2=?

0 Kudos
Message 2 of 4
(3,827 Views)

time calc.png

how to calculate total time of signal reached to a level.

X1+X2=???

time at level is there in analysis but it is not working any one can help

0 Kudos
Message 3 of 4
(3,781 Views)

Hello destiny.ritesh

 

In DIAdem 2015 we have developed new mathematical functions for those problems. Here is a script for your situation:

 

dim oXChannel, oYChannel, dLowerLimit, dUpperLimit
set oXChannel = Data.GetChannel(My_X_Channel)
set oYChannel = Data.GetChannel(My_Y_Channel)

dLowerLimit = 1
dUpperLimit = 0.5

ChnEventList1 = ChnEventDetectionWindow(oXChannel, oYChannel, dLowerLimit, dUpperLimit, 0, 0)
msgbox ChnEventDuration(ChnEventList1)

Greetings

Walter

0 Kudos
Message 4 of 4
(3,775 Views)