05-08-2019 03:08 AM
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
05-08-2019 09:33 AM - edited 05-08-2019 09:37 AM
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.
05-08-2019 11:36 AM
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.