teds_read()

Reads data from a TEDS sensor into an array.

Prototype

teds_read(board_num, channel, count, data_array=None, options=0)

Parameters

board_num (int)

The number associated with the board when it was installed with InstaCal or created with create_daq_device().

channel (int)

A/D channel number.

data_array (POINTER(c_byte), optional)

Pointer to the TEDS data array. If this parameter is omitted (or None), the array will be allocated by this function. Reusing the array by passing it in as the parameter may be useful as an optimization to prevent excessive allocations, saving memory and CPU time.

options (int, optional)

Reserved for future use.

Returns