# BoardConfig.GetTempAvg()

Returns the number of samples per average to convert to temperature.

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

## Function Prototype

VB .NET

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

C# .NET

public MccDaq.ErrorInfo GetTempAvg(out int configVal)

## Parameters

configVal

Returns the number of samples per average. Valid values are 1 to 16384 when SetTempRejFreq() is off (0) and 16 to 16384 when SetTempRejFreq() is on (50 or 60).

## Returns

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