# BoardConfig.GetChanRtdType() method

Returns the RTD sensor type for a specified channel.

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

## Function Prototype

VB .NET

Public Function SetChanRtdType(ByRef chan As Integer, ByRef RtdType As MccDaq.RtdType) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo SetChanRtdType(int chan, out RtdType RtdType)

## Parameters

chan

Returns the channel number.

RtdType

Returns the RTD sensor type.

## Returns

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