12-29-2008 10:50 AM
12-29-2008 11:24 AM
12-29-2008 11:57 AM
Let's take a step back and perform some troubleshooting steps that I mentioned before.
1. Put a known voltage across the AI channels. You can bring in a known voltage from any battery, and wire a differential input. If you have a function generator, that would be even better (since we can also check an AC signal).
2. Try different channels on the DAQ device, or different hardware (DAQ device, terminal block) altogether (if that is an option).
3. Try backing off the sampling rate. We may be acquiring frequency components in our signal that are not related to the temperature. Even the best thermocouples will not respond at 1000 Hz (we usually acquire at 10 Hz from thermocouples).
You might also try performing a Fast Fourier Transform (FFT), to see if we are acquiring any high frequency noise. Use the Spectral Measurements VI (Express palette»Signal Analysis) which will give you the frequency of the noise induced as a peak in the FFT waveform. If we see noise at a high frequency, we can add a software filter to remove this noise.
12-29-2008 01:26 PM
12-29-2008 03:32 PM
What is the expected voltage range of your signal? Have you set the gain on the card that best matches that range? It may improve the resolution.
-AK2DM
12-29-2008 05:15 PM
12-29-2008 05:59 PM - edited 12-29-2008 06:01 PM
Hi MarvinTsoi,
The gain that AnalogKid is referring to is programatically set for you by NI-DAQmx when you configure your input limits.
The above screenshot shows where you set these limits when using test panels. The screenshot below shows where you set the Signal Input Range, which tells DAQmx what gain setting to apply to the DAQ device. Make sure that these are configured correctly.
We could also try acquiring the voltage output of the thermocouple. You can read this in with either a Voltage task or the Test Panels. It would be interesting to take a look at a graph with the actual voltage fluctuation. The FFT will also be useful. In LabVIEW, all you would need is a DAQ Assistant, the Spectral Measurements VI, and a graph indicator. Let me know if you have issues with this.
12-29-2008 10:17 PM
I have been setting the range the whole time. I have a screen shot of a voltage reading of a type T thermocouple cause i thought something was wrong with my K type thermocouple.
After running the temperature task in MAX in continuous, i received the following graphs, sometimes it stays that way until i apply a temperature change, like changing from air temp to water, or just touching the thermocouple.
12-30-2008 07:48 AM
01-06-2009 06:32 AM