# BoardConfig.GetDACRange() method

Returns the DAC range for a specified analog output channel.

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

## Function Prototype

VB .NET

Public Function GetDACRange(ByRef chan As Integer, ByRef range As MccDaq.Range) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo GetDACRange(int chan, out Range range)

## Parameters

chan

Returns the channel number.

range

Returns the D/A range code. Refer to board-specific information for a list of supported ranges.

## Returns

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