|
DynExp
Highly flexible laboratory automation for dynamically changing experiments.
|
#include <HardwareAdapterNIDAQ.h>
Classes | |
| struct | CircularStream |
Public Types | |
| enum class | ChannelType { DigialIn , DigitalOut , AnalogIn , AnalogOut } |
| enum class | SamplingModeType { Single , Continuous } |
| using | ChannelHandleType = size_t |
| using | AnalogValueType = double |
| using | DigitalValueType = uint8_t |
Public Member Functions | |
| NIDAQTask (ChannelType Type, NIDAQSyms::TaskHandle NITask, NIDAQHardwareAdapterParams::ChannelModeType ChannelMode=NIDAQHardwareAdapterParams::ChannelModeType::TaskPerChannel) | |
| ~NIDAQTask () | |
| auto | GetType () const noexcept |
| bool | IsCombined () const noexcept |
| auto | GetTimeout () const noexcept |
| auto | GetSamplingRate () const noexcept |
| auto | GetSamplingMode () const noexcept |
| auto | GetNumSamples () const noexcept |
| bool | IsMultisample () const noexcept |
| auto | GetNumChannels () const noexcept |
| auto | GetBufferSizeInSamples () const noexcept |
| auto | GetSampleSizeInBytes () const noexcept |
| auto | GetChannelIndex (ChannelHandleType ChannelHandle) const |
Private Member Functions | |
| void | AddChannel (ChannelHandleType ChannelHandle, uint64_t NumSamples) |
Private Attributes | |
| const ChannelType | Type |
| const NIDAQSyms::TaskHandle | NITask |
| const NIDAQHardwareAdapterParams::ChannelModeType | ChannelMode |
| double | Timeout = 0 |
| double | SamplingRate = 0 |
| SamplingModeType | SamplingMode = NIDAQTask::SamplingModeType::Single |
| uint64_t | NumSamples = 1 |
| uint32_t | NumChannels = 0 |
| std::map< ChannelHandleType, uint32_t > | ChannelIndexMap |
| std::vector< DigitalValueType > | DigitalValues |
| std::vector< AnalogValueType > | AnalogValues |
| std::vector< std::unique_ptr< CircularStream > > | ReadStreamPerChannel |
Friends | |
| class | NIDAQHardwareAdapter |
Definition at line 102 of file HardwareAdapterNIDAQ.h.
| using DynExpHardware::NIDAQTask::AnalogValueType = double |
Definition at line 108 of file HardwareAdapterNIDAQ.h.
| using DynExpHardware::NIDAQTask::ChannelHandleType = size_t |
Definition at line 107 of file HardwareAdapterNIDAQ.h.
| using DynExpHardware::NIDAQTask::DigitalValueType = uint8_t |
Definition at line 109 of file HardwareAdapterNIDAQ.h.
|
strong |
| Enumerator | |
|---|---|
| DigialIn | |
| DigitalOut | |
| AnalogIn | |
| AnalogOut | |
Definition at line 111 of file HardwareAdapterNIDAQ.h.
|
strong |
| Enumerator | |
|---|---|
| Single | |
| Continuous | |
Definition at line 112 of file HardwareAdapterNIDAQ.h.
| DynExpHardware::NIDAQTask::NIDAQTask | ( | ChannelType | Type, |
| NIDAQSyms::TaskHandle | NITask, | ||
| NIDAQHardwareAdapterParams::ChannelModeType | ChannelMode = NIDAQHardwareAdapterParams::ChannelModeType::TaskPerChannel |
||
| ) |
Definition at line 80 of file HardwareAdapterNIDAQ.cpp.
| DynExpHardware::NIDAQTask::~NIDAQTask | ( | ) |
Definition at line 87 of file HardwareAdapterNIDAQ.cpp.
|
private |
Definition at line 97 of file HardwareAdapterNIDAQ.cpp.
|
inlinenoexcept |
Definition at line 125 of file HardwareAdapterNIDAQ.h.
|
inline |
Definition at line 127 of file HardwareAdapterNIDAQ.h.
|
inlinenoexcept |
Definition at line 124 of file HardwareAdapterNIDAQ.h.
|
inlinenoexcept |
Definition at line 122 of file HardwareAdapterNIDAQ.h.
|
inlinenoexcept |
Definition at line 126 of file HardwareAdapterNIDAQ.h.
|
inlinenoexcept |
Definition at line 121 of file HardwareAdapterNIDAQ.h.
|
inlinenoexcept |
Definition at line 120 of file HardwareAdapterNIDAQ.h.
|
inlinenoexcept |
Definition at line 119 of file HardwareAdapterNIDAQ.h.
|
inlinenoexcept |
Definition at line 117 of file HardwareAdapterNIDAQ.h.
|
inlinenoexcept |
Definition at line 118 of file HardwareAdapterNIDAQ.h.
|
inlinenoexcept |
Definition at line 123 of file HardwareAdapterNIDAQ.h.
|
friend |
Definition at line 104 of file HardwareAdapterNIDAQ.h.
|
private |
Definition at line 154 of file HardwareAdapterNIDAQ.h.
|
private |
Definition at line 152 of file HardwareAdapterNIDAQ.h.
|
private |
Definition at line 144 of file HardwareAdapterNIDAQ.h.
|
private |
Definition at line 153 of file HardwareAdapterNIDAQ.h.
|
private |
Definition at line 143 of file HardwareAdapterNIDAQ.h.
|
private |
Definition at line 150 of file HardwareAdapterNIDAQ.h.
|
private |
Definition at line 149 of file HardwareAdapterNIDAQ.h.
|
private |
Definition at line 155 of file HardwareAdapterNIDAQ.h.
|
private |
Definition at line 148 of file HardwareAdapterNIDAQ.h.
|
private |
Definition at line 147 of file HardwareAdapterNIDAQ.h.
|
private |
Definition at line 146 of file HardwareAdapterNIDAQ.h.
|
private |
Definition at line 142 of file HardwareAdapterNIDAQ.h.