# BoardConfig.SetDmaChan()

Sets the DMA channel (0, 1 or 3).

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

## Function Prototype

VB .NET

Public Function SetDmaChan(ByVal configVal As Integer) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo SetDmaChan(int configVal)

## Parameters

configVal

Sets the DMA channel to 0, 1 or 3.

## Returns

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