abfOpenDatatypeByIndex()

Opens an existing datatype in the currently open ABF file.

Syntax

intabfOpenDatatypeByIndex(int idx);

Inputs

idx
The name of the datatype to be opened.

Return Value

0
On success
1
On failure (indicates datatype does not exist)

Example

abfOpenDatatypeByIndex(3);

Comments

This function must be called after an ABF file has been opened.

Only one datatype can be open at a time.

Indexes are zero-based.