abfOpenDatatype()
Opens an existing datatype in the currently open ABF file.
Syntax
intabfOpenDatatype(const char *name);
Inputs
- name
- The name of the datatype to be opened.
Return Value
- 0
- On success
- 1
- On failure (indicates datatype does not exist)
Example
int ret;
ret = abfOpenDatatype("Acceleration");
if (ret)
abfNewDatatype("Acceleration"):
abfOpenDatatype("Acceleration");
}
Comments
This function must be called after an ABF file has been opened.
Only one datatype can be open at a time.