Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set up DELAY MEASUREMENT FUNCTION using DPO3034 Tektronix Oscilloscope

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.

0 Kudos
Message 1 of 7
(7,668 Views)

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.

Download All
0 Kudos
Message 2 of 7
(7,663 Views)

I don't understand your question. The Read Measurement Function does have a delay function.

0 Kudos
Message 3 of 7
(7,644 Views)

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

 

 

 

0 Kudos
Message 4 of 7
(7,624 Views)
I understand now. I don't see anything either to configure channel 1 for a falling edge. It may be buried someplace. You should look up the commands in the manual and do a search text to see if they are there. If not, just implement them with a VISA Write.
0 Kudos
Message 5 of 7
(7,620 Views)

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

 


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 6 of 7
(7,609 Views)

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

0 Kudos
Message 7 of 7
(7,574 Views)