ICalibration.SetThermocoupleCalibration Method
- Updated2023-02-21
- 3 minute(s) read
Sets calibration for a channel using a thermocouple scale where the raw voltage is converted to a temperature. You also can use the SetPolynomialCalibration method to set calibration using a polynomial scale. A single channel can have only one scale.
Namespace:
NationalInstruments.VeriStand.ClientAPIAssembly: NationalInstruments.VeriStand.ClientAPI (in NationalInstruments.VeriStand.ClientAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
| Visual Basic (Declaration) |
|---|
Function SetThermocoupleCalibration ( _ channelName As String, _ thermocoupleType As ThermocoupleType, _ units As TemperatureUnits, _ cjcType As CJCType, _ cjcChannelName As String, _ offset As Double, _ scale As Double _ ) As Error |
| C# |
|---|
Error SetThermocoupleCalibration( string channelName, ThermocoupleType thermocoupleType, TemperatureUnits units, CJCType cjcType, string cjcChannelName, double offset, double scale ) |
| Visual C++ |
|---|
Error^ SetThermocoupleCalibration( String^ channelName, ThermocoupleType thermocoupleType, TemperatureUnits units, CJCType cjcType, String^ cjcChannelName, double offset, double scale ) |
Parameters
- channelName
- Type: System.String
The name of channel on which to set calibration.
- thermocoupleType
- Type: NationalInstruments.VeriStand.ClientAPI.ThermocoupleType
The ThermocoupleType.
- units
- Type: NationalInstruments.VeriStand.ClientAPI.TemperatureUnits
The TemperatureUnits of the calibrated value.
- cjcType
- Type: NationalInstruments.VeriStand.ClientAPI.CJCType
The CJCType of the cold junction compensation sensor.
- cjcChannelName
- Type: System.String
The name of the cold junction compensation channel.
- offset
- Type: System.Double
The offset to apply after the primary scaling.
- scale
- Type: System.Double
The scale to apply after the primary scaling.