# BoardConfig.GetRFChannel()

Returns the RF channel number that a wireless device uses to communicate.

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

## Function Prototype

VB .NET

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

C# .NET

public MccDaq.ErrorInfo GetRFChannel(System.Int32 configVal)

## Parameters

configVal

Returns the number (from 12 to 23) of the RF channel selected for wireless communication.

## Returns

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