LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to caculate the delay time between two signals?

My oscillograph is agilent 6032A,i want to use it to measure the delay time between two signals?(please look at the picture),I use LV7.1,Please help me ,please give me an example code,thank you!
0 Kudos
Message 1 of 7
(4,801 Views)

First, check your instrument manual to see whether it has a delay measurement. If it can be done by the scope, then you don't have to transfer the waveforms to the pc. If the scope doesn't have the measurement built in, then you can use a couple Basic Trigger Level Detection functions. Set the same trigger level for both and set mode to time. The difference between the two is your delay.

Message Edited by Dennis Knutson on 06-05-2006 07:52 AM

0 Kudos
Message 2 of 7
(4,787 Views)

6032A is a dc power supply so I don;t really know what scope you have. Most of the agilent scopes already do what you want. The megazoom scopes such as older 54645, and newer 546xx series all have a way to calculate what you want. You should also note that if you really want to transfer the waveform to PC most of the agilent scopes transfer only a subset of waveform to the PC due to all the megazoom capability and sampling, etc. I have run into situations where not enough of the waveform is transferred, but usually you can get enough.

With a PC scope such as NI5102 you would just look for the edges in the waveform and by knowing the dt and number of samples that seperates edge calculate time differences. There are several other ways depending on what VI's you use and which way you like to program it. There is some real easy stuff now but I tend to like a little control over the edge search algorithm based on my own criteria.

0 Kudos
Message 3 of 7
(4,762 Views)
Thank you for your answer!My scope is agilent DSO6032A,300Mhz,2Gs/s,I want use it to measure two DC 5V signals,when i use it,it also report error(picture1),and then I change the scope to TEK TDS3032B,and use the tkdds3k single channel waveform acquire example.vi,It also report error(picture2).Now I can't use the scope in Labview,it also report error.I don't know why,please help me!Beacause of the using of scope, I stop my project.wait for you reply,thank you very much!
0 Kudos
Message 4 of 7
(4,738 Views)
You didn't attach any pictures and posting the actual error code would have been pretty simple anyway.
0 Kudos
Message 5 of 7
(4,724 Views)
Now I can get the positive delay time with LV,but i cann't get collect time of negative delay(see picture,the collect time is 21us,but i measure in LV is 9.9E+37).Beacause the Ag6000a driver donn't have any set about delay,just look like source,measure positive or negative,I can set these with scope front panel.please help me!could you give me an example?.
Download All
0 Kudos
Message 6 of 7
(4,713 Views)
FWIW, I am having this very same problem. 

Having just got off the phone with Agilent about 20 minutes ago, it turns out that there is in fact no way to return a delay measurment between two waveforms through any of the programming interfaces. 

Even though you can eaily make the measurment with the front panel keys, or programatically, you can see the result but you can't have it!

This has previously been reported to them and is allegedly on their TODO list, but DHYFB.

My particular application doesn't use LabVIEW, (CVI) so the example of aquiring the trace data and performing the measurement manually doesn't make much sense to me.


0 Kudos
Message 7 of 7
(4,573 Views)