BoardConfig.GetRange()

Gets the selected voltage range. For switch-selectable gains only.

If the selected A/D board does not have a programmable gain feature, this method returns the range that the board is physically set for. This value is not read from the device, but is determined by configuration settings. Refer to InstaCal, API Detection, or Both? for addditional information.

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

Function Prototype

VB .NET

Public Function GetRange(ByRef configVal As MccDaq.Range) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo GetRange(out MccDaq.Range configVal)

Parameters

configVal

Returns the selected voltage range. Refer to board-specific information for a list of valid settings.

Returns