12-02-2013 09:43 PM
I am using NI 9234 to acquire my sensor data using labVIEW 8.6. I am been using labView for only the past two weeks, so please bear with me as my knowledge is so basic. I am trying to read multiple channels with time. My problem occurred when I finished my VI, I found out the whenever I change my sampling rate in the VI code, it still faster (more sampling rate than whatever I specify).
Solved! Go to Solution.
12-03-2013 02:23 PM
These two links might be helpful:
What Are the Valid Sampling Rates for the NI 9233, NI 9234, and NI 9237?
What Sample Rates Is my DAQ Board Actually Capable of Achieving?
12-03-2013 02:40 PM
Thank you MIG for the reply.
As I checked your 1st link, I found that the allowable sampling rate for NI 9234 is ranging from 1.652 to 51.2 kS/s. Does it mean that I can not have a sampling rate of less than 1652 readings per sec (cycle), let's say 100 readings or less per sec ? I am just not sure about that. I have a very basic knowledge about DAQ systems.
12-03-2013 02:48 PM
Yes, it would appear so.
I am not familiar with the NI 9234, but according to the link there are only 31 allowable sampling rates, and when using the internal timebase, 1.652 kHz is the lowest.
12-03-2013 02:57 PM
Ok. I am just wondering what is the difference between internal and external master timebase. How to make sure what r u using? I mean can I use external master timebase? and what should I change in the VI code or which properties?
12-03-2013 03:17 PM
I've never used an external timebase with a DAQ card, so it's a little outside my area of knowledge. Perhaps you could refer to the manual to see if it's possible.
Personally, I wouldn't bother. If you want a lower sampling rate than 1.652 kHz you could always decimate down to a lower rate. For example, if you sample at 1.652 kHz and then take every 16th sample, you would then end up with an effective sample rate of 103.25 Hz.
If you want exactly 100 Hz you could do as they suggest in the link and use the "Resample Waveforms (continuous).vi" to resample your data.
12-03-2013 04:58 PM
Thank you MIG. I will try to do it that way to get lower sampling rate. In fact I am changing my complicated VI code from using DAQmx to DAQ assistance since it easier to deal with for a beginner and I will see what happens with the new code, because I used to have an error due to my samples to read. I think I get timed out every time I run the test because I misunderstood my default min sampling rate. Thanks
12-04-2013 02:07 AM
Although i agree with MIG that downsampling is the correct way to go, if you're using such low speeds as 10-100Hz you can read single samples and software time it, it's accurate enough for those speeds. 🙂
/Y