From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Temperature units task property not working as expected

Using labview 2013, daqmx. NI9213 module. We have created the TASK, created 16 virtual channels, set the thermocouple type to J and units to Fahrenheit by writing to the respective Task property nodes, then we use the start daqmx and subsequent daqmx reads but the daqmx read only returns the temperature in Celsius regardless of the setting in Deg F or Deg C using a constant wired to the Task property node. I tried Deg Kelvin but it bombs with a runtime error. Does setting the Units to Deg F do the conversions and return the temperature in Fahrenheit or do I need to add a scale property too? Or just do the conversion from C to F math on the result?
0 Kudos
Message 1 of 3
(2,747 Views)

Can you post your codes or a screenshot to see how you are implementing this? 

0 Kudos
Message 2 of 3
(2,698 Views)

!1.png

Here is a snippet of a working 9213 task scaled to Deg F using 8 K type thermocouples.

 

If you want. Drop it on a BD and right-Click- Generate code>>Configuration and you'll likely see where you are configured wrong.


"Should be" isn't "Is" -Jay
0 Kudos
Message 3 of 3
(2,692 Views)