# BoardConfig.GetChanTcType()

Returns 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 GetChanTcType(ByRef chan As Integer, ByRef tcType As MccDaq.TcType) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo GetChanTcType(int chan, out TcType tcType)

## Parameters

chan

Returns the channel number.

tcType

Returns the thermocouple sensor type – Valid values are J, K, S, R, B, E, T, or N.

## Returns

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