LabVIEW

cancel
Showing results for
Did you mean:

Solved!
Go to solution

NI9234 sampling rate - LabVIEW FPGA

Hey guys,

I have very simple question. I am checking a sample code in labview examples for NI 9234. what is the difference between data rate and samples per channels?

If we read with maximum data rate which is 51.2 KS/s (reading 4 channels), so the samples per channel should be 51.2/4=12.8 KS/s/ch . am I right? if this is correct, what is the sample per channel control in the FPGA vi?

Message 1 of 7
(2,077 Views)
Solution
Accepted by topic author far_nia

Re: NI9234 sampling rate - LabVIEW FPGA

The rate is how often a sample is taken by the a/d. The sample count is how many of those samples you return to the program. For example, if you had a rate of 1000 samples per second you could request 500 samples which would take 500 ms to acquire. At a rate of 2000 samples/sec, requesting 500 samples would take half as long. Keeping the same 2000 samples/sec and requesting 2000 samples, we are back to to 500 ms to acquire.
Message 2 of 7
(2,066 Views)

Re: NI9234 sampling rate - LabVIEW FPGA

Thanks for the quick reply. but could you please explain your sentence one more time: "if you had a rate of 1000 samples per second you could request 500 samples which would take 500 ms to acquire" where does this "500ms" come from? I am a little confused by your answer

Message 3 of 7
(2,061 Views)

Re: NI9234 sampling rate - LabVIEW FPGA

p.s. You adjust the sample rate to adjust the detail of the waveform you wish to capture. A rate of 2000 samples per second has resolution twice that of 1000 samples per second.
Message 4 of 7
(2,059 Views)

Re: NI9234 sampling rate - LabVIEW FPGA

It's just basic arithmetic. Doesn't it make sense that if you had a rate of 1000 samples per second and requested 1000 samples, the acquisition would take exactly 1 second? Time to acquire is number of samples divided by samples per second.
Message 5 of 7
(2,049 Views)

got it!

Message 6 of 7
(2,024 Views)

got it!

Message 7 of 7
(2,019 Views)