# BoardConfig.GetExpDetectOpenTc()

Returns the open thermocouple detection state that is set for an expansion board.

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

## Function Prototype

VB .NET

Public Function GetExpDetectOpenTc(channel As Integer, ByRef enabled As Integer) As MccDaq.ErrorInfo

Public Function GetExpDetectOpenTc(ByRef enabled As Integer) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo GetExpDetectOpenTc(int channel, out int enabled)

public MccDaq.ErrorInfo GetExpDetectOpenTc(out int enabled)

## Parameters

channel

The temperature input channel number.

enabled

The open thermocouple detection setting. 0 = disabled; 1 = enabled.

## Returns

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