LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI Scope configure vertical timing

Hello. I hope this is a right place to ask my question. 

I quite new to LabView and now trying to understand the NI-Scope initialization procedure. In vertical timing VI, there is min record length. if my minimum sampling rate is 2 MHz and min record length 14000000, does it mean that 14000000 samples will be recorded per second? And the sampling period is 0.5 us?

 

Thank you 

0 Kudos
Message 1 of 5
(689 Views)

Hi Lily,

 


@LilySamchuk wrote:

In vertical timing VI, there is min record length. if my minimum sampling rate is 2 MHz and min record length 14000000, does it mean that 14000000 samples will be recorded per second? And the sampling period is 0.5 us?


A sample rate of 2MS/s means a sample period of 0.5µs. And it means 2 million samples per second.

 

A record length of 14M samples means time = (number of samples) / samplerate = 14MS / 2MS/s = 7s…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(684 Views)

I believe you mean Horizontal Timing and the Vertical axis is typically volts/div... 

 

If you consider a typical oscilloscope has 10 divisions on the Horizontal scale:

 

Record Length =  Time/div (seconds) * Sample Rate * 10 (divisions) 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 3 of 5
(682 Views)

Hello. I am a bit confused with this block  niScope Configure Horizontal Timing specifically with min record length. Can someone explain how it is determined and how it workds? Thank you 

0 Kudos
Message 4 of 5
(630 Views)

@LilySamchuk wrote:

Hello. I am a bit confused with this block  niScope Configure Horizontal Timing specifically with min record length. Can someone explain how it is determined and how it workds? Thank you 


 

If you consider a typical oscilloscope has 10 divisions on the Horizontal scale:

 

Record Length = Time/div (seconds) * Sample Rate * 10 (divisions)

 

Screenshot 2023-07-18 070307.png

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 5 of 5
(593 Views)