LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI Scope Sample Rate Settings

I think I found my problem with determining the frequency of my 1D DBL array.

I'm using a PXI-5112 scope card, and in many of my aquisitions, I'm setting the sample rate to 40MS/s. Apparently, this is not a valid number and the scope reverts to 50 MS/s? Later when I try to calculate cycles per second based on cycles per sample, I need the actual sample rate, and 40 MS/s ain't it.

I'm trying to find a list of realizable sample rates for this card, I didn't see anything in the data sheet. Any suggestions?
~~~~~~~~~~~~~~~~~~~~
Paul Johnson
Renco Encoders, Inc
Goleta, CA
~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 1 of 3
(2,912 Views)
Sample rates are determined by dividing the sample clock by an integer. If you ask for a sample rate that is not exactly obtainable by an integer division then you end up with the closest one.

To get the exact sample rate either (1) use a property node or (2) acquire the data as a waveform and extract dt.
0 Kudos
Message 2 of 3
(2,909 Views)
Thanks, I just ran across this info in one of the help files as well.

Do you mena a property node for the scope card? I use property nodes for programming objects, butI ahven't used one for a piece of hardware before.

For now I'll just stick to integer divided clock speeds. It may also be better to aquire at full rate and then decimate the array. Still stuck with needing to decimate by integer though.
~~~~~~~~~~~~~~~~~~~~
Paul Johnson
Renco Encoders, Inc
Goleta, CA
~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 3 of 3
(2,903 Views)