|
DynExp
Highly flexible laboratory automation for dynamically changing experiments.
|
#include <NIDAQAnalogOut.h>
Inheritance diagram for DynExpInstr::NIDAQAnalogOutData:Public Member Functions | |
| NIDAQAnalogOutData ()=default | |
| virtual | ~NIDAQAnalogOutData ()=default |
Public Member Functions inherited from DynExpInstr::AnalogOutData | |
| AnalogOutData (size_t BufferSizeInSamples=1) | |
Constructs a DataStreamInstrumentData instance. | |
| AnalogOutData (DataStreamBasePtrType &&SampleStream) | |
Constructs a DataStreamInstrumentData instance. | |
| virtual | ~AnalogOutData ()=default |
Public Member Functions inherited from DynExpInstr::OutputPortData | |
| OutputPortData (DataStreamBasePtrType &&SampleStream) | |
Constructs a DataStreamInstrumentData instance. | |
| virtual | ~OutputPortData ()=default |
Public Member Functions inherited from DynExpInstr::FunctionGeneratorData | |
| FunctionGeneratorData (DataStreamBasePtrType &&SampleStream) | |
Constructs a DataStreamInstrumentData instance. | |
| virtual | ~FunctionGeneratorData ()=default |
| auto | GetCurrentWaveformType () const noexcept |
| Returns CurrentWaveformType. | |
| auto | GetCurrentFrequencyInHz () const noexcept |
| Returns CurrentFrequencyInHz. | |
| auto | GetCurrentAmplitude () const noexcept |
| Returns CurrentAmplitude. | |
| auto | GetCurrentOffset () const noexcept |
| Returns CurrentOffset. | |
| auto | GetCurrentPhaseInRad () const noexcept |
| Returns CurrentPhaseInRad. | |
| auto | GetCurrentDutyCycle () const noexcept |
| Returns CurrentDutyCycle. | |
| auto | GetCurrentTriggerMode () const noexcept |
| Returns CurrentTriggerMode. | |
| auto | GetCurrentTriggerEdge () const noexcept |
| Returns CurrentTriggerEdge. | |
| auto | GetShouldAutostart () const noexcept |
| Returns ShouldAutostart. | |
| auto | GetCurrentPulses () const noexcept |
| Returns CurrentPulses. | |
Public Member Functions inherited from DynExpInstr::DataStreamInstrumentData | |
| DataStreamInstrumentData (DataStreamBasePtrType &&SampleStream) | |
Constructs a DataStreamInstrumentData instance. | |
| virtual | ~DataStreamInstrumentData ()=default |
| DataStreamBasePtrType::element_type * | GetSampleStream () const noexcept |
| Getter for the data stream instrument's sample stream. Logical const-ness: always returns a non-const type to allow modules to directly manipulate the sample stream. | |
| template<typename T > | |
| auto | GetCastSampleStream () const |
| Casts the data stream instrument's sample stream to a derived data stream type. | |
| ValueType | GetHardwareMinValue () const noexcept |
| Returns HardwareMinValue. | |
| ValueType | GetHardwareMaxValue () const noexcept |
| Returns HardwareMaxValue. | |
| UnitType | GetValueUnit () const noexcept |
| Returns ValueUnit. | |
| void | SetHardwareMinValue (ValueType Value) noexcept |
| Sets HardwareMinValue. | |
| void | SetHardwareMaxValue (ValueType Value) noexcept |
| Sets HardwareMaxValue. | |
| void | SetValueUnit (UnitType Unit) noexcept |
| Sets ValueUnit. | |
Public Member Functions inherited from DynExp::InstrumentDataBase | |
| InstrumentDataBase () | |
| virtual | ~InstrumentDataBase () |
| auto | GetLastUpdateTime () const |
| Getter for LastUpdate. | |
| auto | GetException () const noexcept |
| Getter for InstrumentDataBase::InstrumentException. | |
| void | EnqueueTask (std::unique_ptr< TaskBase > &&Task) |
| Enqueues a task at the back of an instrument's task queue and notifies the instrument about the new task. | |
| void | EnqueuePriorityTask (std::unique_ptr< TaskBase > &&Task) |
| Enqueues a task at the front of an instrument's task queue and notifies the instrument about the new task. | |
| std::unique_ptr< TaskBase > | PopTaskFront () |
| Removes a task from the front of an instrument's task queue. | |
| std::unique_ptr< TaskBase > | PopTaskBack () |
| Removes a task from the back of an instrument's task queue. | |
| auto | GetTaskFront () noexcept |
| Getter for first enqueued task. | |
| auto | GetTaskBack () noexcept |
| Getter for last enqueued task. | |
| size_t | GetNumEnqueuedTasks () const noexcept |
| Getter for the instrument task queue's length. | |
| std::unique_ptr< TaskBase > | PopFinishedTask () |
| Removes a task from the front of an instrument's list of finished tasks. | |
| size_t | GetNumFinishedTasks () const noexcept |
| Getter for the length of the instrument's list of finished tasks. | |
| bool | IsQueueClosed () const noexcept |
| Determines whether the instrument task queue is closed. | |
Public Member Functions inherited from Util::INonCopyable | |
| INonCopyable (const INonCopyable &)=delete | |
| INonCopyable & | operator= (const INonCopyable &)=delete |
Public Attributes | |
| DynExp::LinkedObjectWrapperContainer< DynExpHardware::NIDAQHardwareAdapter > | HardwareAdapter |
| DynExpHardware::NIDAQHardwareAdapter::ChannelHandleType | ChannelHandle {} |
Public Attributes inherited from DynExp::InstrumentDataBase | |
| InstrumentBaseOnlyType | InstrumentBaseOnly |
Allow exclusive access to some of InstrumentDataBase's private methods to InstrumentBase. | |
| InstrumenThreadOnlyType | InstrumentThreadOnly |
Allow exclusive access to some of InstrumentDataBase's private methods to the instrument thread InstrumentThreadMain(). | |
Private Member Functions | |
| void | ResetImpl (dispatch_tag< AnalogOutData >) override final |
| virtual void | ResetImpl (dispatch_tag< NIDAQAnalogOutData >) |
Additional Inherited Members | |
Public Types inherited from DynExpInstr::AnalogOutData | |
| using | SampleStreamType = AnalogSampleStream |
| Data stream type this data stream instrument should operate on. | |
Public Types inherited from DynExpInstr::DataStreamInstrumentData | |
| enum class | UnitType { Arbitrary , LogicLevel , Counts , Volt , Ampere , Power_W , Power_dBm } |
| Units which can be used for data stream instruments. More... | |
| using | ValueType = double |
Data type to represent hardware limits on the sample values to write to the hardware adapter assigned to the related DataStreamInstrument instance. | |
Public Types inherited from DynExp::InstrumentDataBase | |
| using | TaskQueueType = std::list< std::unique_ptr< TaskBase > > |
| Type of an instrument task queue owning the tasks within. | |
| using | TaskQueueIteratorType = TaskQueueType::const_iterator |
Const iterator type to elements of TaskQueueType. | |
Static Public Member Functions inherited from DynExpInstr::DataStreamInstrumentData | |
| static const char * | UnitTypeToStr (const UnitType &Unit) |
| Returns a descriptive string of a respective unit to be e.g. used in plots. | |
Protected Member Functions inherited from Util::ISynchronizedPointerLockable | |
| ISynchronizedPointerLockable () | |
| ~ISynchronizedPointerLockable () | |
| Object should never be destroyed before completely unlocked. | |
Protected Member Functions inherited from Util::INonCopyable | |
| constexpr | INonCopyable ()=default |
| ~INonCopyable ()=default | |
Definition at line 86 of file NIDAQAnalogOut.h.
|
default |
|
virtualdefault |
|
finaloverrideprivatevirtual |
Reimplemented from DynExpInstr::AnalogOutData.
Definition at line 80 of file NIDAQAnalogOut.cpp.
|
inlineprivatevirtual |
Definition at line 97 of file NIDAQAnalogOut.h.
| DynExpHardware::NIDAQHardwareAdapter::ChannelHandleType DynExpInstr::NIDAQAnalogOutData::ChannelHandle {} |
Definition at line 93 of file NIDAQAnalogOut.h.
| DynExp::LinkedObjectWrapperContainer<DynExpHardware::NIDAQHardwareAdapter> DynExpInstr::NIDAQAnalogOutData::HardwareAdapter |
Definition at line 92 of file NIDAQAnalogOut.h.