05-25-2015 01:21 AM
Hello, there:
i want to use sequence in attachment to check the relation ship of input voltage(Vi)&output current(Io).
I build 2 arraies of Vi and Io with For loop in same index.
how can i get the delay time between Vi and Io signal?
thanks!
Solved! Go to Solution.
05-25-2015 06:18 AM
Hi,
You can write a DLL or a simple test sequence to do it.
Assume a dll
finddelay(samplingrate,voltagearray,currentarray)
{
Iterate (read values from the start of array) the voltage array until you see the spike - 0 to 1 transition
start a counter at this point
Continue iteration but with the current array until you see the spike.
stop the counter at this point.
counter value x sampling rate = delay.
}
Hope this helps.
Ravi
05-25-2015 10:39 PM
Thanks reply, SUNRS.
would you also tell me the simple sequence method? because i don't have tools to write dll on my computer........
05-26-2015 01:17 AM
Please check the attached sequence.