Creating and Opening the ABF File
The ABF library is used to write to Altair Binary Format files. Before you can write to an ABF file, it must first be initialized. Once the file is initialized, you can create and open the file. When you write to an ABF file, the existing file is overwritten without warning.
If there is only one file name specified on the command line after calling abfCommandLine(), you need not create and open the file. When only an input file name is given (the file to be translated), no output file needs to be created or opened. The ABF library automatically outputs the data to either the standard output stream, stdout, or a connection to an external reader.
-
Initialize the ABF file.
- Use abfCreateFile() to create an ABF file.
- Use abfOpenFile() to open the file for output.