10-29-2014 03:52 AM
Hi all,
I have tried to set sample rate for the accelerometer module 9234 but I've realized that the sample frequency I set does not correspond with the actual one.
For example, set frequency = 5 kHz - actual frequency = 5120 Hz
I've found this article
http://digital.ni.com/public.nsf/allkb/593CC07F76B1405A862570DE005F6836
This article reports that NI 9233, NI 9234, and NI 9237 modules supports only specific sample rates. If the specified sample rate does not match one of the allowable values, then it gets coerced up to the next valid sample rate.
Is there a way to programmatically get the list of supported sample rate?
Thanks all
10-31-2014 04:30 AM
Hi,
unfortunately there is no way to programmatically determine the list of supported sample rates for these devices when used with DAQmx (in FPGA target it is possibile).
You can read the actual Sample Clock Timebase Source property (shown in the document you linked) and then apply the formula to get all possible values.
Bye,
Licia
10-31-2014 05:02 AM