02-26-2013 11:37 PM
Hi,
I am trying to measure DELAY between 2 waveform... The delay measurement should be from the first falling edge of channel1 to the first rising edge of channel 2.
Manually there is a configuration on setting this measurement (measurement should be from the first falling edge of channel1 to the first rising edge of channel 2).
However, I cant find this configuration on the instrument driver that I have for DPO 3034 oscilloscope.
With this, please kindly help and check my code.. Is there any driver or configuration that I need to add?
BTW, I attached my script for your reference.
Thank you.
02-26-2013 11:53 PM
Hi,
I just attached an additional information regarding the instrument driver that I need.
The two photos attached are the manual configuration of the DELAY measurement in which I cant find/ configure in my current script.
Thank you.
02-27-2013 08:50 AM
I don't understand your question. The Read Measurement Function does have a delay function.
02-27-2013 07:32 PM
Hi Dennis,
Thanks for the quick response.
Regarding my query, basically my problem is how to measure the time between the first falling edge of channel 1 to the first rising edge of channel 2?
By manual operation of the DPO3034 oscilloscope, I can measure it by configuring/clicking the ADD measurement function then I will choose DELAY then I will configure DELAY measurement as first falling edge of channel 1 to first rising edge of channel 2.
But I cannot do this configuration thru my VI.. I am not sure if there is additional configuration or instrument driver that I need to add to make my VI works for this specific function.
BTW, I attached a photo of the actual waveform that I need to measure..Including its actual time measurement... for your reference..
Thank you.
Geng
02-27-2013 10:10 PM
02-28-2013 05:50 AM
Digging through the drivers, I didn't see where you could set the rising/falling of the edges. You need to look up the command set and build your own command to setup a measurement. I created a driver for the TDS3000, which should at least be similar in syntax (I would expect the same). Here's the commands I used. Tweak as needed.
:MEASU:MEAS1:TYP DELAY; //sets measurement 1 as a delay SOURCE1 CH1; //set the first source (start edge's source) SOURCE2 CH2; //set the second source (end edge's source) DEL:DIRE FORW; //Use the first edge EDGE1 RIS; //start with rising edge of source1 EDGE2 FALL; //end with falling edge of source2 :MEASU:MEAS1:STATE ON; //turn the measurement on
03-05-2013 03:39 AM
Hi Dennis & Crossrulz,
Thanks for the help & suggestions.
BTW, we were able to resolve our problem through elapse time function.
From our script, we do the tracking of the first instance that the channel 1 becomes 0V and the first instance that the channel2 becomes 5V.
Those instances represent our first falling edge for channel 1 and first rising edge for channel2.
Then we get the elapse time inbetween these two instances.
Thanks
Geng