abfNewDatatype()
Adds a new datatype to the currently open datatype.
Syntax
intabfNewDatatype(const char *name);
Inputs
- name
- The name of the datatype to be created.
Return Value
- 0
- On success
- 1
- On failure
Example
int ret;
ret = abfNewDatatype("Acceleration");
if (ret)
{
/* post error message */
}
Comments
This function must be called after an ABF file has been opened.
It is possible to have two datatypes with the same name. However, it is impossible to read data from the second one in the program.
abfNewDatatype() is also known as abfCreateDatatype().