Interface Packages and Libraries for Windows and Linux

AvaSpec-DLL Windows and Linux interface packages
Available in both Linux and Windows versions, the interface packages allow you to easily write custom software solutions for AvaSpec series spectrometers.

The Windows version, AvaSpec-DLL, is 32-bit software that works seamlessly under 64-bit versions of Windows in a mode called WoW64. The Windows version also includes a 64-bit version (AvaSpecx64.DLL) which can be used when a 64-bit programming environment is used.

The software can be used for the following actions:

  • Establishing connection to one or more connected USB spectrometers, activation and deactivation.
  • Setting and retrieving device hardware parameters from the spectrometer’s EEPROM. This includes wavelength coefficients, gain and offset values and optio-nal parameters that can be added. These include non-linearity calibration, irradiance calibration and others. Data collection parameters, such as integration time, averaging, smoothing and start/stop pixel can be stored to the EEPROM.
  • Data acquisitioning and transferring the spectra to your application
  • Communicating with other devices by using TTL and/or analog output signals. The AvaSpec series spectrometers are equipped with a 26-pin digital I/O connector: 3 grounds, 1 digital-in (predefined for external hardware trigger), 3 programmable digital-in, 1 digital-out to control a pulsed light source (such as AvaLight-XE), 1 digital-out to synchronize a pulsed laser (e.g. for LIBS applications) and 10 programmable (TTL level with 6 outputs programmable with pulse width modulation – PWM) digital-out signals. 2 analog-out and 2 analog-in are included as well. The packages include options to control the TTLs of this external I/O connector. The hardware synchronization between the connected spectrometers can be software controlled. The packages also include a number of sample programs to give examples on how to write your programs. They are an excellent starting position.

Example source codes:

The following samples are included for the AvaSpec-DLL:

  • C++ Builder (Embarcadero)
  • Delphi (Embarcadero)
  • LabView (National Instruments)
  • Matlab (MathWorks)
  • Visual Basic .net (Microsoft)
  • Visual C# (Microsoft)
  • Visual C++, (managed) (Microsoft)

The following samples are included for the AvaSpecx64-DLL:

  • LabView (National Instruments)
  • Matlab (MathWorks)
  • OxyGene (RemObjects Software) (former name: Delphi Prism)
  • Visual Basic .net (Microsoft)
  • Visual C# (Microsoft)
  • Visual C++ (native) / Qt4 (Microsoft / Digia)
  • Visual C++ (managed) (Microsoft)

The following samples are included for the Linux library:

  • C++ / Qt4 (Open Source / Digia)

FOM-DLL Windows interface package for fiber-optic multiplexer
To facilitate writing custom software solutions for the fiber-optic multiplexer under Windows, the FOM-DLL has been developed. It runs under Windows XP through 8 and contains options to control the position of the multiplexer to one of the 16 positions, travel to the step motor’s reference position and to request status information. Example source code in Visual C++, Delphi, C++ Builder and LabView demonstrate how to use the MUX-DLL is included in the package.

The Irradiance-DLL includes the possibility to calculate colorimetric, radiometric, photometric and peak parameters from an array of irradiance values (µW/nm•cm2) as well as the CRI. Example programs in C++ and Labview are included as well. It runs under Windows.


Interface DLL package for AvaSpec-EVO platform for Windows

Interface DLL package for Fiber-optic Multiplexer (FOM-UVIR400-1x16, FOM-UVIR400-4x4 and FOM-UVIR400-2x8) for Windows


32-bit DLL for Irradiance/LED application for Windows 


Linux interface package