# cbTEDSRead()

Reads data from a TEDS sensor into an array.

## Function Prototype

C/C++

int cbTEDSRead(int BoardNum, int Chan, BYTE* DataBuffer, long *Count, int Options)

Visual Basic

Function cbTEDSRead(ByVal BoardNum&, ByVal Chan&, DataBuffer, CBCount&, ByVal Options&) As Long

## Arguments

BoardNum

The number associated with the board when it was installed with InstaCal or created with cbCreateDaqDevice(). BoardNum may be 0 to 99.

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.
- Count - The actual number of data points read.

### Options argument values

Default

Reserved for future use.