ABF File Data Output
Once the data structure and data for each component have been specified, the ABF library can output the ABF file.
Up to this point, the information is stored in memory. Data is output using abfWriteHeaderAndData(). abfCloseFile() is then called to complete the translation. Even if the translator does not explicitly open an ABF file with abfOpenFile(), a virtual file is created and output either to the standard Unix output stream, stdout, or a pipe connection to an external reader. This virtual file must be closed using abfCloseFile() to free memory used as temporary storage by the ABF library.