Mechanism of writing spectrum files

Navigation:  Interfacing BREIN > Transfer of spectra to BREIN >

Mechanism of writing spectrum files

Previous pageReturn to chapter overviewNext page

Since BREIN permanently scans the network folders for new measured spectra, one must exclude that it detects and tries to read a file which is not yet complete. There is a simple mechanism to avoid this conflict: The data acquisition software first writes the spectrum to a file with an extension different from *.xy. This file is not recognized by the BREIN search which is limited to *.xy files. When the file is completely written and closed, the data acquisition software renames the file to the designated filename such that the file can be found by BREIN. The rename operation of Windows is safe for this purpose.