LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Measuring humidity using DAQmx

Hi

I have a few question regarding the measurement of humidity using labview.

First of all I should say i'm a beginner and I am not too familiar with labview, but this is something that needs to be done.

 

I'm using a HIH4000 humidity sensor (3-wired) and a USB-6008 DAQ device. 

The problem is that i'm not sure how to configure the DAQmx.read block in labview to be able to measure relative humidity.

I've measured temperature before (when configuring the read block, temperature one of the options to choose from, while there is no 'relative humidity' option).

 

That's about it, if you need more information i'll share it with you asap.

 

Thank you! 

0 Kudos
Message 1 of 7
(3,960 Views)
The 6008 can only read voltage. So, read, scale, display.
0 Kudos
Message 2 of 7
(3,950 Views)

Hi,

have you tried to measure voltage?

Then you can count a relativy humidity from sensor range, maximum voltage and actual measured voltage.

 

Simyfre

0 Kudos
Message 3 of 7
(3,940 Views)

Thank you for your fast response!
But how exactly I scale the measured voltage? 
(i'm sorry if i'm asking stupid questions, but as mentioned, i'm pretty new).

0 Kudos
Message 4 of 7
(3,938 Views)

Relative humidity [%] = Range [%] * Actual voltage [V] / Range [V]

 

Simyfren

0 Kudos
Message 5 of 7
(3,932 Views)
You scale it according to the formula that is in the data sheet that comes with the sensor - so many volts per relative humidity. Attach the data sheet if you don't understand it. The basic math functions (add, multiply, etc.) can be used with scalars, arrays, waveforms.
0 Kudos
Message 6 of 7
(3,926 Views)

Thanks you guys again for helping me out!

Here is the datasheet:
HIH4000 datasheet

0 Kudos
Message 7 of 7
(3,920 Views)