The software chain to operate a spectrometer comes in 3 parts: driver, library (programmer interface), main application.
While the driver controls the operating electronics intimately, the library provides the necessary tools to get the most out of a spectrometer. Of course there is a close interaction with hardware capabilities and function calls. The application itself should be heavily influenced by the application demand.
To harness the capabilities of a modern detector array a full range of operating modes are important. These allow to switch between measurements running continuously, synchronized, on demand, and even interrupting an ongoing data acquisition.