# BoardConfig.SetRange()

Sets the selected voltage range. For use with boards for which the range is manually selected.

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

## Function Prototype

VB .NET

Public Function SetRange(ByVal configVal As MccDaq.Range) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo SetRange(MccDaq.Range configVal)

## Parameters

configVal

Range code.

## Returns

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