# DOutArray()

Sets the value of specified ports simultaneously.

Member of the MccBoard class.

## Function Prototype

VB .NET

Writes an array of integer values.

Public Function DOutArray(ByVal lowPort As MccDaq.DigitalPortType, ByVal highport As MccDaq.DigitalPortType, ByRef dataArray As Integer) As MccDaq.ErrorInfo

Writes an array of System.UInt32 values.

Public Function DOutArray(ByVal lowport As MccDaq.DigitalPortType, ByVal highport As MccDaq.DigitalPortType, ByRef dataArray As System.UInt32) As MccDaq.ErrorInfo

C# .NET

Writes an array of integer values.

public MccDaq.ErrorInfo DOutArray(MccDaq.DigitalPortType lowPort, MccDaq.DigitalPortType highPort, out int[] dataArray)

Writes an array of System.UInt32 values.

public MccDaq.ErrorInfo DOutArray(MccDaq.DigitalPortType lowPort, MccDaq.DigitalPortType highPort, out uint[] dataArray)

## Parameters

lowPort

The first digital port written to.

All firstPort settings are DigitalPortType enumerated constants.

highPort

The last digital port written to.

All lastPort settings are DigitalPortType enumerated constants.

dataArray

Digital output data array.

## Returns

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