top of page

Interface Packages and Libraries for Windows and Linux

avaspec dll package

AS-5216-DLL Windows and Linux interface packages
Available in both Linux and Windows (XP through 8) versions, the interface packages allow you to easily write custom software solutions for AvaSpec series spectrometers. 

The Windows version, AS-5216-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 (as5216x64.dll) which can be used when a 64-bit programming environment is used.

The software can be used for the following actions:

  • Establish 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 optional 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 acquisition and transferring the spectra to your application.

  • Communicate 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 synchronise 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 TTL's of this external I/O connector. The hardware synchronisation 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 point.

  • The following samples are included for the AS-5216-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 AS5216x64-DLL: LabView (National Instruments), Matlab (MathWorks), OxyGene (RemObjects Software) (former name: Delphi Prism), Visual C++ (native) / Qt4 (Microsoft / Digia), Visual Basic .net (Microsoft), Visual C# (Microsoft), 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 fibre 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. 

Colour-DLL 
The Colour-DLL is used to calculate the colour parameters L*, a* and b* as well as their hue angle (h*) and Chroma (C*) and X, Y, Z values from an array of reflection values, representing the reflectance values between 380 and 780nm with a 5nm interval. It runs under Windows XP through 8. 

Besides the reflectance array, the function requires another input variable - the illuminant. A choice can be made between 7 different illuminants - A, B, C, D50, D55, D65 and D75. 

An example program in Delphi is provided with the software package.

Irradiance-DLL 
The Irradiance-DLL includes the possibility to calculate colourimetric, 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 XP through 8.

Ordering information
bottom of page