# BoardConfig.SetAdDataRate()

Sets the A/D data rate for a specified analog input channel.

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

## Function Prototype

VB .NET

Public Function GetAdDataRate(channel As Integer, rate As Integer) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo GetAdDataRate(int channel, int rate)

## Parameters

channel

The analog input channel number.

rate

The data rate.

## Returns

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