# BoardConfig.SetChanTcType()

Sets the thermocouple sensor type for a specified channel.

Member of the cBoardConfig class. Accessible from the MccBoard.BoardConfig property.

## Function Prototype

VB .NET

Public Function SetChanTcType(ByRef chan As Integer, ByRef tcType As MccDaq.TcType) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo SetChanTcType(TcType tcType, int chan)

## Parameters

chan

The channel number.

tcType

The thermocouple sensor type. All tcType settings are MccDaq.TcType enumerated constants. Valid values are J, K, S, R, B, E, T, and N.

## Returns

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