# ExpansionConfig.GetCjcChan()

Gets the channel that the CJC is connected to.

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

## Function Prototype

VB .NET

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

C# .NET

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

## Parameters

devNum

Number of the expansion board.

configVal

Number indicating the channel on the A/D board that the CJC is connected to.

## Returns

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