# ExpansionConfig.SetThermType()

Sets the type of thermocouple configuration for the board (J, K, E, T, R, S, and B types).

Member of the cExpansionConfig class. Accessible from the MccBoard.ExpansionConfig property.

## Function Prototype

VB .NET

Public Function SetThermType(ByVal devNum As Integer, ByVal configVal As Integer) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo SetThermType(int devNum, int configVal)

## Parameters

devNum

Number of the expansion board.

configVal

Number that sets the type of thermocouple configured for the board. (J = 1, K = 2, T = 3, E = 4, R = 5, S = 6, B = 7, Platinum .00392 = 257, Platinum .00391 = 258, Platinum .00385 = 259, Copper .00427 = 260, Nickel/Iron .00581 = 261, Nickel/Iron .00527 = 262).

## Returns

- An ErrorInfo object that indicates the status of the operation.