Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Convert temperature to voltage

Thanks Tony for your answer.

I developed an application in Visual Basic that uses ComponentWorks controls. In this application the user is free to add hardware specific channels. The user selects the type of thermocouple he wants to connect to a specific channel and its temperature range. Then the CWAI control uses this temperature range (set in voltage values) to determine the channel gain.

So, I need to convert the temperature range defined by the user to a voltage range.

To convert voltage data to temperature values I use the method ConvertTC from the CWDAQTools object. I want to know if there is a similar method to perform the inverse conversion or if there is an easy way of doing that conversion.
0 Kudos
Message 1 of 2
(3,080 Views)
Paulo;

Unfortunately, there isn't any CW method that will do that calculation automaticaly for you. You will need to create a method yourself, receiving the thermocouple type and temperature and calculate the voltage by using the thermocouple characteristics.

Regards
Filipe A.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,080 Views)