Wasatch.VCPP 1.0.19
Visual C++ driver for Wasatch Photonics spectrometers
FeatureMask.h
Go to the documentation of this file.
1
8#pragma once
9
10#include <cstdint>
11
12namespace WasatchVCPP
13{
19 {
20 public:
21 enum Flags
22 {
23 FLAG_INVERT_X_AXIS = 0x0001, // 2^0
24 FLAG_BIN_2X2 = 0x0002, // 2^1
25 FLAG_GEN15 = 0x0004, // 2^2
26 FLAG_CUTOFF_FILTER = 0x0008, // 2^3
27 FLAG_EVEN_ODD = 0x0010 // 2^4
28 };
29
30 FeatureMask(uint16_t value = 0);
31
32 uint16_t toUInt16();
33
47 bool invertXAxis = false;
48
59 bool bin2x2 = false;
60
65 bool gen15 = false;
66
69
72 bool hardwareEvenOdd = false;
73 };
74}
Internal class encapsulating a 16-bit set of boolean flags which indicate whether a given spectromete...
Definition: FeatureMask.h:19
bool hardwareEvenOdd
InGaAs spectrometer has even/odd pixel gain/offset correction implemented in the FPGA.
Definition: FeatureMask.h:72
bool cutoffFilterInstalled
Spectrometer has a cutoff filter installed.
Definition: FeatureMask.h:68
bool bin2x2
Some 2D detectors use a Bayer filter in which pixel columns alternate between red and blue sensitivit...
Definition: FeatureMask.h:59
bool gen15
Spectrometer has the new "Gen 1.5" OEM Accessory Connector providing triggering, external lamp contro...
Definition: FeatureMask.h:65
bool invertXAxis
The orientations of the grating and detector in this spectrometer are rotated such that spectra are r...
Definition: FeatureMask.h:47
Namespace encapsulating the internal implementation of WasatchVCPP; customers would not normally acce...
Definition: Driver.h:26