LASP 1.0
Library for Acoustic Signal Processing
|
Stores channel configuration data for each channel. I.e. the physical quantity measured, sensitivity, device-specific channel settings, a channel name and others. More...
#include <lasp_daqconfig.h>
Public Types | |
enum class | Qty { Number , AcousticPressure , Voltage , UserDefined } |
Possible physical quantities that are recorded. More... | |
Public Member Functions | |
DaqChannel () | |
bool | operator== (const DaqChannel &other) const |
Compare two channels to eachother. They are equal when the name, sensitivity and quantity are the same. | |
Public Attributes | |
bool | enabled = false |
Whether the channel is enabled. | |
string | name = "" |
double | sensitivity = 1 |
The conversion between recorded physical unit and stored / outputed number, i.e. Number/Volt or Number/Pa. Converting stored numbers to physical qty, divide by the sensitivity. | |
bool | IEPEEnabled = false |
For input-only: enable IEPE constant current power supply for this channel. Only for hardware that is capable of doing so. | |
bool | ACCouplingMode = false |
Whether to enable HW AC-coupling for this channel. | |
int | rangeIndex = 0 |
Index in possible ranges for input / output. | |
Qty | qty = Qty::Number |
The physical quantity that is inputed / outputed. | |
double | digitalHighPassCutOn = -1 |
Whether to enable a digital high pass on the signal before passing the result in case of input, or outputing the result in case of output. | |
Stores channel configuration data for each channel. I.e. the physical quantity measured, sensitivity, device-specific channel settings, a channel name and others.
Definition at line 161 of file lasp_daqconfig.h.
|
strong |
Possible physical quantities that are recorded.
Enumerator | |
---|---|
Number | |
AcousticPressure | |
Voltage | |
UserDefined |
Definition at line 167 of file lasp_daqconfig.h.
|
inline |
Definition at line 169 of file lasp_daqconfig.h.
|
inline |
Compare two channels to eachother. They are equal when the name, sensitivity and quantity are the same.
other | The DaqChannel to compare with |
Definition at line 216 of file lasp_daqconfig.h.
bool DaqChannel::ACCouplingMode = false |
Whether to enable HW AC-coupling for this channel.
Definition at line 191 of file lasp_daqconfig.h.
double DaqChannel::digitalHighPassCutOn = -1 |
Whether to enable a digital high pass on the signal before passing the result in case of input, or outputing the result in case of output.
Definition at line 206 of file lasp_daqconfig.h.
bool DaqChannel::enabled = false |
Whether the channel is enabled.
Definition at line 174 of file lasp_daqconfig.h.
bool DaqChannel::IEPEEnabled = false |
For input-only: enable IEPE constant current power supply for this channel. Only for hardware that is capable of doing so.
Definition at line 187 of file lasp_daqconfig.h.
string DaqChannel::name = "" |
Definition at line 176 of file lasp_daqconfig.h.
Qty DaqChannel::qty = Qty::Number |
The physical quantity that is inputed / outputed.
Definition at line 199 of file lasp_daqconfig.h.
int DaqChannel::rangeIndex = 0 |
Index in possible ranges for input / output.
Definition at line 195 of file lasp_daqconfig.h.
double DaqChannel::sensitivity = 1 |
The conversion between recorded physical unit and stored / outputed number, i.e. Number/Volt or Number/Pa. Converting stored numbers to physical qty, divide by the sensitivity.
Definition at line 182 of file lasp_daqconfig.h.