# MemSetDTMode()

Sets the DT-Connect Mode of a memory board.

Member of the MccBoard class.

## Function Prototype

VB .NET

Public Function MemSetDTMode(ByVal mode As MccDaq.DTMode) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo MemSetDTMode(MccDaq.DTMode mode)

## Parameters

mode

Must be set to either DTIn or DTOut. Set the mode on the memory board to DTIn to transfer data from an A/D board to the memory board. Set mode = DTOut to transfer data from a memory board to a D/A board.

## Returns

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

## Notes

- This command only controls the direction of data transfer between the memory board and the base board connected to it via a DT-Connect cable.
- If using the ExtMemory option with AInScan() or other methods, do not use this method, as the Memory Board mode is already set through the ExtMemory option.
- Use this method only when the base board is not supported by the Universal Library.