# BoardConfig.SetTempRejFreq()

Sets the rejection frequency of a temperature input channel.

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

## Function Prototype

VB .NET

Public Function SetTempRejFreq(ByRef configVal As Integer) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo SetTempRejFreq(int configVal)

## Parameters

configVal

Temperature rejection frequency. Valid values are 0 (off), 50 (50 Hz), and 60 (60 Hz).
When set to 50 or 60, data is over-sampled during one cycle of either 50 Hz or 60 Hz for a high level of 50 Hz or 60 Hz rejection.

## Returns

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