Spectroscopy Software Drivers: C/C++, C#, Python, LabView, MATLAB +

Welcome to our repository of free spectroscopy software drivers! We’ve created these driver libraries for developers who want to integrate our spectrometers into your own C/C++, Python or C# applications, or for advanced users who wish to control our spectrometers from interactive graphical environments like LabVIEW or MATLAB. We strive to make our systems intuitive and easy to use from all the world’s most popular software frameworks – with tools to simplify your data collection and analysis.

(As a reminder, technically you don’t need to use our application libraries at all — if you want to talk to the spectrometer’s hardware USB interface directly, you can do so using the ENG-0001 USB API document published on our Technical Resources page.)

C# logo
.NET Driver

Wasatch.NET Application Driver

Nearly every Windows programming language and framework provides some way to hook into Microsoft’s immensely popular .NET foundation. Our WasatchNET.DLL makes it simple to instantiate Spectrometer objects and access their methods and properties as easily as your own native classes. Explore our various demos and sample code to see how easy integration can be, or directly browse the open-source source code to quickly grok the data structures and signatures underlying each function.

Significantly, Wasatch.NET is used heavily by our internal factory calibration and qualification software, so you can feel confident that you are generating results using the same library we use during manufacturing and characterization.

Visual C++ logo
Ubuntu logo

C/C++ Application Driver (Windows, Linux, MacOS)

If you prefer a stripped-down C or C++ library with absolutely no “managed code” or .NET net entanglements, Wasatch.VCPP could be for you. The “VCPP” stands for “Visual C++” to guarantee full support for Microsoft Windows and Visual Studio, but Makefiles are included for you command-line Linux nuts. Like libusb itself, it’s universal!

Python driver
Python logo

Python Application Driver (Windows, Linux, MacOS)

Our Python library is more than a convenience wrapper provided for customer use — it is the literal underbelly of ENLIGHTEN™, our standard cross-platform spectroscopy GUI, so you can feel confident that your Python programs are collecting spectra exactly as ENLIGHTEN™ itself does for maximum reproducibility.

Delphi sample code
Delphi RAD Studio logo

Embarcadero Delphi (RAD Studio) Sample Code (Windows)

LabVIEW sample code
LabVIEW logo

LabVIEW (VI and NXG)

  • Download sample .vi (LV 2018) or .gvi (NXG 4)


MATLAB sample .m

Excel demo
Excel logo

Microsoft Excel VBA sample .xlsm

Need help with our spectroscopy software drivers? Send us a software support request