04-29-2009 03:41 AM
Hello everybody
I'm actually measuring 10 battery cell voltages (which are connected in series) with a NI 9205 (slot 1) in a NI cDAQ-9172 chassis.
Every cell voltage is measured in differential mode with channels 0 to 7, 16 and 17. I have no connections to the COM pin of the NI 9205.
The other modules in the chassis are NI 9217 (2 modules,slot 2 and 3), NI 9481 (slot 4) and NI 9401 (slot 5).
In my LabView program, I'm putting all channels from the NI 9205 and the NI 9217 modules in one task, because just one task can run at a time for analog input measurement.
My problem is, that some of the values measured by the NI 9205 do not match the reality. Every of the ten cell voltages is around 2.60 V (measured with DMM). But for example, channel 2 shows 2.67. Some channels are right and others are not.
I tried to vary the sampling rate, but this does not really solve the problem.
For example:
Sampling rate = 1000 => Channel 2 = 2.72 V
Sampling rate = 100 => Channel 2 = 2.67 V
Sampling rate = 10 => Channel 2 = 2.67 V
Then I tried to put every channel in a single task and let run one task after each other. And then it worked!
But the data acqusition is so slow, when creating a single task for every channel and that's why I prefer the way with multiple channels in one task.
I'm not sure if my wiring should consider any connections to ground!?
Thanks for any help!
Regards
Socki
Solved! Go to Solution.
04-29-2009 06:39 AM
As statet in the manual, you should provide a path for the bias current. Propably a 1M from battery low to AGND is worth a try.
04-29-2009 09:16 AM
Thanks Henrik
I connected the resistor between battery low and AGND but the results got even worse.
Some values are now around 0 V, others over 3 V.
Any other ideas that could help the issue?
Greetings
Socki
04-29-2009 01:15 PM
04-30-2009 07:40 AM
Hey Patrick
Your hint really helped me out of trouble.
I had to reduce the convert clock rate of my AI module. Now it works great!
Sampling rate is 20 and convert clock rate is 200 (for 10 channels)
The vi from the following link shows how to change the convert clock rate (Set Convert Clock.vi):
http://digital.ni.com/public.nsf/websearch/42484E84DA98053686256D32006E0494?OpenDocument
For my module I additionally had to choose and connect the "active devices" setting on the DAQmx-Timing property node.
Thank you!!
Regards
Socki
07-03-2009 02:08 PM
Hello Socki,
i have the same problem you had and i have done some alterations but i don't achieve correct values.
Could you show me how to change the clock converter and the sampling rate?
Best regards,
José
07-06-2009 01:01 AM
Hey José
Click the following link:
http://digital.ni.com/public.nsf/websearch/42484E84DA98053686256D32006E0494?OpenDocument
At the bottom of the side, you can find some attachements. The "Set Convert Clock.vi" describes how to set the convert clock rate and the sampling rate.
Regards Socki
07-06-2009 04:23 AM
Hello Socki,
what have you connected to the ActiveDevs optinos?
The best
07-06-2009 05:09 AM
Hy José
I forgot to tell you this.
To the ActiveDevs I connected just a constant with the name of my module (cDAQ1Mod1).
Information:
For the sampling mode I chose continuous samples and the rate is 15.
My convert clock rate is 200.
Cheers
07-06-2009 06:11 AM
the convert clock i just change the convert clock but i don't know how to change the sampling rate.
When you say sampling rate is the ratiio betwwen samples and frequency?
The best