ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Oscilloscope timebase settings

Solved!
Go to solution

Hello All,

I am using Tektronix MSO5034B oscilloscope for one of my project and using its official driver to control and get data from it. In "Configure Timebase.vi", the timebase setting is confused. I though "Timebase" is for inputting time/div, so i tried multiple time/div settings in the box but it always sets its time/div to lowest value and the sample rate is fixed at 5Gs/s.

 

So, if I have desired time/div value, how to convert that to "Timebase", "Position" and "Record Length" values? Also, if i given these 3 values, how to find out time/div value?

 

Thanks

Ashutosh

0 Kudos
Message 1 of 2
(4,970 Views)
Solution
Accepted by topic author ashjoker

For those who may have this question, I do have found a way around.

Sampling rate of Scope = Record length / Range

Where range is entire horizontal width of oscilloscope time range which is given below as

Range = Number of divisions * Time/Div

For almost any oscilloscope, number of divisions in horizontal axes are 10.

And time/div is desired value.

 

For me max sampling rate is 5GS/s and record length is number of samples taken in entire visible window of scope.

hence, Sampling Rate = Record Length / (time/div * 10)

In above calculation, just make sure you do not cross your sampling rate provided by vendor. This calculation holds till 500ns/div, after that does some weird behaviour which I am still working on.

Message 2 of 2
(4,887 Views)