Qstick User Manual
18
4
Software Development Kit
The Software Development Kit (SDK) for the Qstick spectrometer can be used to control
the spectrometer and take spectra from your own custom software. It includes a
Windows Dynamic Link Library (DLL) for the .NET framework, documentation and sample
code.
4.1
Prerequisites
The system requirements are the same as for Waves (see chapter 1.2).
You can use the SDK with any programming language that can connect to .NET DLLs. This
includes C#, Visual Basic .NET, C++/CLI, Delphi, LabView, Matlab and Mathematica. If you
are using a programming language that can connect to COM, but not to .NET libraries,
you may need to use Microsoft’s Assembly Registration Tool (
Regasm.exe
).
You should have a basic understanding of the concepts of object-oriented programming
in order to understand the structure and functionality of the SDK library.
4.2
Getting started
In order to get familiar with the SDK quickly, we suggest to:
1.
Read the next chapter 4.3 to understand the structure of the SDK library.
2.
Read the basic steps required in order to take a spectrum (chapter 4.5).
3.
Study the sample projects included in the SDK.
4.
Add the SDK library to your own project (chapter 4.4).
5.
Implement the basic functionality of taking a spectrum in your project.
6.
Implement advanced features as required.
4.3
Classes Overview
The SDK library contains classes for controlling a spectrometer or laser as well as abstract
base classes for various types of measurement and control devices.
The main class that you need in order to communicate with the spectrometer is:
Qstick
which is a descendant of the
ExtendedSpectrometer
class,
which is a descendant of the
Spectrometer
class,
which is a descendant of the
Device
class.
The
Device
class includes basic features used by all kinds of measurement and control
devices.
Spectrometer
is
a
base
class
for
a
simple
spectrometer.
Содержание q stick
Страница 1: ...User Manual ...
Страница 4: ......