LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to calculate number of samples ni scope for PXI-5922

Hi,

 

I am streaming data from one of the channels from a PXI-5922.

Assuming the resolution at 16bits/sample and the sampling rate at 10MS/s, i should be streaming at a data rate of 20MB/s

 

So, if i stream for about 4 seconds, I should have collected 20x4 = 80MB of data for the duration, but I am collecting well around 300 MB.

Now, I am obviously missing something or my calculations are wrong, either way I will appreciate if someone can enlighten me on this.

Note : I have set the number of records to 524288 (i.e 2^19)

0 Kudos
Message 1 of 4
(2,968 Views)

Hi Anup_Amin,

 

Can you please tell us more about how you have your acquisition setup as well as how you are determining the amount of collected data. If you could post the code or a screenshot of your setup that would helpful in determining where the issue lies.

 

Regards,

Kaitlin N.
National Instruments
Applications Engineer
0 Kudos
Message 2 of 4
(2,937 Views)

I have attached the a screenshot of the block diagram as well as the settings that I use for your reference.

0 Kudos
Message 3 of 4
(2,925 Views)

Hi Anup_Amin,

 

Here is a document that helps explain why the sampling rate may not in fact be the same as what you have specified in your VI. Please see the Min Sampling Rate section at the link below:

 

Coercions of Horizontal Parameters

http://zone.ni.com/reference/en-XX/help/370592N-01/digitizers/horizontal_parameters/

 

I hope this helps answer your question.

 

Regards,

Kaitlin N.
National Instruments
Applications Engineer
0 Kudos
Message 4 of 4
(2,904 Views)