# TEDSRead()

Reads data from a TEDS sensor into an array.

Member of the MccBoard class.

## Function Prototype

VB .NET

Public Function TEDSRead(ByVal chan As Integer, dataBuffer As Byte(), count As Integer, ByVal options As MccDaq.TEDSReadOptions) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo TEDSRead(int chan, Byte[] dataBuffer, ref int count, MccDaq.TEDSReadOptions options)

## Parameters

chan

A/D channel number.

dataBuffer

Pointer to the data array.

count

Number of data points to read.

options

Reserved for future use.

## Returns

- Error code or 0 if no errors.

### options parameter values

Default | Reserved for future use.