LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Converting value decimal to celcius

Hi Everyone, 
Hi everyone, I have a simulation to read the temperature of an object, I use a 3-wire RTD PT100 connected to an ADAM 6150. Actually I can read the decimal value, but I have difficulty converting the value into temperature.

0 Kudos
Message 1 of 6
(389 Views)

Hi farhan,

 

I guess there is a manual for your ADAM device. All you need to do is to apply the formula given in that manual to the decimal values you are reading...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 6
(354 Views)

The RTD data sheet should give you the proper series resistor and scaling formula to convert the voltage drop across the RTD to temperature. 

 

Without that you are kinda stuck. I guess you could use the formula for a similar RTD type and "calibrate" it by comparing the reading to a known temperature.

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 3 of 6
(333 Views)

@farhannmhd wrote:

Actually I can read the decimal value, but I have difficulty converting the value into temperature.


This statement is very ambiguous and can mean many things. The term "decimal" is a formatting convention to display numbers in decimal format (as opposed to e.g. hexadecimal, octal, or binary), while temperature is a physical property where the value is typically displayed in decimal, often with a fractional part and a unit. Can you see the confusion?

 

  1. A string (pink wire!) exclusively containing characters "0" ... "9" (and maybe "-", ".", or other allowed delimiters (or even  some leading and trailing other words and symbols).
  2. A numeric value (orange or blue wire!) where the indicator is formatted in decimal.
  3. Something else?

If it is a string, you need to scan it and convert to a numeric datatype before applying your scaling math.

 

Once you show us your code, we can probably identify the problem. What does the "decimal value" (sic) actually represent?

0 Kudos
Message 4 of 6
(293 Views)

@farhannmhd wrote:

Hi Everyone, 
Hi everyone, I have a simulation to read the temperature of an object, I use a 3-wire RTD PT100 connected to an ADAM 6150. Actually I can read the decimal value, but I have difficulty converting the value into temperature.


What do you mean by "simulation?"  What EXACTLY are your goals?    


"Should be" isn't "Is" -Jay
0 Kudos
Message 5 of 6
(283 Views)

If by value you mean a 4-20mA reading, then you just need to scale it with your measurement range. If it's -10 - 400°C it'll be ((Reading-4)/16 * 410) 

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 6 of 6
(241 Views)