06-20-2022 09:18 PM
Hi,
I have 3 digital waveform input signals, one of which controls the other two. Is there a way to measure the timing between the rising edges and calculate the differences between them.
Thank you.
06-20-2022 09:53 PM
Yeah, first you have to identify the index of the samples that contain the rising edge, you can do this by comparing the voltage against a threshold (if analog value) or look for two consecutive samples that are low and a high.
Once you've the rising edge indices of the required signals, you can subtract the indices to find out the timing between the rising edges, now you can convert this timing in samples into seconds by multiplying with sampling rate at which the digital/analog signal was captured.
06-21-2022 06:59 AM
Hi Santosh,
Can you give me an example of how that would be accomplished? I attached what I have so far. I thought using the "Get Waveform Time Array.vi" would do the trick but it expects a compressed signal.
Thanks.