# ExpansionConfig.GetRange2()

Gets the range/gain of the high 16 channels.

Member of the Member of the cExpansionConfig class. Accessible from the MccBoard.ExpansionConfig property.

## Function Prototype

VB .NET

Public Function GetRange2(ByVal devNum As Integer, ByRef configVal As Integer) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo GetRange2(int devNum, out int configVal)

## Parameters

devNum

Number of the expansion board.

configVal

Returns the range (gain) of the high 16 channels.

## Returns

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