LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Convert raw data to temperature reading of TMP36 via a ADAM-4017+

Hi everyone. I have a ADAM-4017+ Analog Input device which has a TMP36 connected on it. I am using Modbus RTU with RS-485(2 wire) to connect and transfer data between my ADAM device and my LabVIEW on my computer. I have created a LabVIEW  programme to display the temperature reading of the TMP36 but i can only receive the raw data of the TMP36( around '36000+' in decimal). In the Utility app of the ADAM device i am able to read the raw data and the temperature in volts. What conversion must i do so that i can also read the temperature in volts in my labview programme? The Modbus library that i used in my code is the official NI Modbus Library found in the VI Package Manager

0 Kudos
Message 1 of 3
(2,835 Views)

For some reason I can not look at your pictures, but if you are using Modbus then the Modbus register specifications for your instrument should give you the scaling factor you need to convert that to actual temperature.

 

Also different Modbus registers may have the information in the format you want. 

 

Also you could read the data sheet for the TMP36 and transpose the formula to get the raw voltage from the temperature reported.

 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 2 of 3
(2,809 Views)

I think you want to be looking at the ADAM-4000_Series_User_manual_Ed.8.pdf, in particular Appendix B.

You'll also need to know the configured full range.


GCentral
0 Kudos
Message 3 of 3
(2,794 Views)