# cGlobalConfig class

The cGlobalConfig class contains all of the members for setting and getting the global configuration.

cGlobalConfig is a member of the MccBoard class.

## cGlobalConfig constructors

The following code examples create a new instance of the cGlobalConfig class with a reference to the MccBoard object (DaqBoard) passed to it.

Visual Basic

Private ConfigGlobal As MccDaq.MccBoard.cGlobalConfig = New MccDaq.MccBoard.cGlobalConfig(DaqBoard)

C#

private MccDaq.MccBoard.cGlobalConfig ConfigGlobal;

ConfigGlobal= new MccDaq.MccBoard.cGlobalConfig(DaqBoard);

## Properties

##### NumBoards property

Returns the maximum number of boards you can install at one time.

Visual Basic:

Public Shared ReadOnly Property NumBoards As Integer

C#:

public static int NumBoards [get]

##### NumExpBoards property

Returns the maximum number of expansions boards allowed to be installed on the board.

Visual Basic

Public Shared ReadOnly Property NumExpBoards As Integer

C#

public static int NumExpBoards [get]

##### Version property

This information is used by the library to determine compatibility.

Visual Basic

Public Shared ReadOnly Property Version As Integer

C#

public static int Version [get]