16 class FunctionGenerator;
21 namespace FunctionGeneratorDefs
173 PulsesDescType(
const std::vector<double>& PulseStarts,
const std::vector<double>& PulseAmplitudes,
double Offset = 0.0);
355 inline double RectFunc(
double DutyCycle,
double Phase);
366 inline double InvRectFunc(
double DutyCycle,
double Phase);
379 inline double RampFunc(
double RiseFallRatio,
double Phase);
385 namespace FunctionGeneratorTasks
598 void ResetImpl(dispatch_tag<DataStreamInstrumentData>)
override final;
639 virtual const char*
GetParamClassTag() const noexcept
override {
return "FunctionGeneratorParams"; }
778 constexpr
static auto Name() noexcept {
return "Function Generator"; }
779 constexpr
static auto Category() noexcept {
return "I/O"; }
939 void ResetImpl(dispatch_tag<DataStreamInstrument>)
override final;
966 virtual std::unique_ptr<DynExp::InitTaskBase>
MakeInitTask()
const override {
return DynExp::MakeTask<FunctionGeneratorTasks::InitTask>(); }
967 virtual std::unique_ptr<DynExp::ExitTaskBase>
MakeExitTask()
const override {
return DynExp::MakeTask<FunctionGeneratorTasks::ExitTask>(); }
968 virtual std::unique_ptr<DynExp::UpdateTaskBase>
MakeUpdateTask()
const override {
return DynExp::MakeTask<FunctionGeneratorTasks::UpdateTask>(); }
Implementation of a data stream meta instrument and of data streams input/output devices might work o...
std::vector< BasicSample > BasicSampleListType
Type of a list containing data stream samples of type BasicSample.
Configurator class for DataStreamInstrument.
Data class for DataStreamInstrument.
const DataStreamBasePtrType SampleStream
Refer to DynExp::InstrumentDataBase::Reset(). Using tag dispatch mechanism to ensure that ResetImpl()...
Parameter class for DataStreamInstrument.
Defines a task for deinitializing an instrument within an instrument inheritance hierarchy....
Defines a task for initializing an instrument within an instrument inheritance hierarchy....
Defines a task for updating an instrument within an instrument inheritance hierarchy....
Implementation of the data stream meta instrument, which is a base class for all instruments reading/...
Configurator class for FunctionGenerator.
FunctionGeneratorConfigurator()=default
virtual ~FunctionGeneratorConfigurator()=0
Data class for FunctionGenerator.
virtual void ResetImpl(dispatch_tag< FunctionGeneratorData >)
auto GetCurrentAmplitude() const noexcept
Returns CurrentAmplitude.
auto GetCurrentWaveformType() const noexcept
Returns CurrentWaveformType.
FunctionGeneratorDefs::TriggerDescType::TriggerModeType CurrentTriggerMode
Current trigger mode.
virtual ~FunctionGeneratorData()=default
FunctionGeneratorDefs::TriggerDescType::TriggerEdgeType CurrentTriggerEdge
Current edge type to trigger on.
auto GetCurrentOffset() const noexcept
Returns CurrentOffset.
auto GetShouldAutostart() const noexcept
Returns ShouldAutostart.
double CurrentAmplitude
Current waveform's amplitude.
double CurrentDutyCycle
Current waveform's duty cycle or rise/fall ratio.
double CurrentOffset
Current waveform's offset.
auto GetCurrentTriggerEdge() const noexcept
Returns CurrentTriggerEdge.
auto GetCurrentFrequencyInHz() const noexcept
Returns CurrentFrequencyInHz.
auto GetCurrentTriggerMode() const noexcept
Returns CurrentTriggerMode.
auto GetCurrentPhaseInRad() const noexcept
Returns CurrentPhaseInRad.
double CurrentPhaseInRad
Current waveform's phase in radians.
FunctionGeneratorDefs::WaveformTypes CurrentWaveformType
Current waveform type.
auto GetCurrentPulses() const noexcept
Returns CurrentPulses.
auto GetCurrentDutyCycle() const noexcept
Returns CurrentDutyCycle.
FunctionGeneratorData(DataStreamBasePtrType &&SampleStream)
Constructs a DataStreamInstrumentData instance.
FunctionGeneratorDefs::PulsesDescType CurrentPulses
Current waveform's pulse segments.
void ResetImpl(dispatch_tag< DataStreamInstrumentData >) override final
double CurrentFrequencyInHz
Current waveform's frequency in Hz.
bool DataHasBeenUpdated
Indicates whether new data has been written to the instrument's data stream which needs now to be tra...
bool ShouldAutostart
Determines whether to directly make the underlying hardware device start generating the function (tru...
Parameter class for FunctionGenerator.
virtual ~FunctionGeneratorParams()=0
FunctionGeneratorParams(DynExp::ItemIDType ID, const DynExp::DynExpCore &Core)
Constructs the parameters for a FunctionGenerator instance.
Param< double > DutyCycle
Parameter to store waveform's duty cycle or rise/fall ratio. Refer to FunctionGeneratorDefs::RectFunc...
ListParam< double > PulseStarts
Parameter to store the start times of the waveform's pulse segments. Refer to FunctionGeneratorDefs::...
Param< double > PhaseInRad
Parameter to store waveform's phase in radians. Refer to FunctionGeneratorDefs::SineFunctionDescType:...
Param< FunctionGeneratorDefs::WaveformTypes > WaveformType
Parameter to store the waveform type.
Param< FunctionGeneratorDefs::TriggerDescType::TriggerEdgeType > TriggerEdge
Parameter to store the edge type to trigger on.
ListParam< double > PulseAmplitudes
Parameter to store the amplitudes of the waveform's pulse segments. Refer to FunctionGeneratorDefs::P...
Param< double > FrequencyInHz
Parameter to store waveform's frequency in Hz. Refer to FunctionGeneratorDefs::FunctionDescType::Freq...
virtual const char * GetParamClassTag() const noexcept override
This function is intended to be overridden once in each derived class returning the name of the respe...
Param< double > Amplitude
Parameter to store waveform's amplitude. Refer to FunctionGeneratorDefs::FunctionDescType::Amplitude.
Param< bool > Autostart
Determines whether to directly make the underlying hardware device start generating the waveform afte...
Param< double > Offset
Parameter to store waveform's offset to be added to each sample. Refer to FunctionGeneratorDefs::Func...
void ConfigureParamsImpl(dispatch_tag< DataStreamInstrumentParams >) override final
Called by DynExp::ParamsBase::ConfigureParams() as a starting point for the tag dispatch mechanism to...
virtual void ConfigureParamsImpl(dispatch_tag< FunctionGeneratorParams >)
Called by DynExp::ParamsBase::ConfigureParams() as a starting point for the tag dispatch mechanism to...
Param< FunctionGeneratorDefs::TriggerDescType::TriggerModeType > TriggerMode
Parameter to store the trigger mode.
Defines a task for deinitializing an instrument within an instrument inheritance hierarchy....
void ExitFuncImpl(dispatch_tag< DataStreamInstrumentTasks::ExitTask >, DynExp::InstrumentInstance &Instance) override final
Deinitializes the respective instrument within the instrument inheritance hierarchy....
virtual void ExitFuncImpl(dispatch_tag< ExitTask >, DynExp::InstrumentInstance &Instance)
Deinitializes the respective instrument within the instrument inheritance hierarchy....
Defines a task for initializing an instrument within an instrument inheritance hierarchy....
virtual void InitFuncImpl(dispatch_tag< InitTask >, DynExp::InstrumentInstance &Instance)
Initializes the respective instrument within the instrument inheritance hierarchy....
void InitFuncImpl(dispatch_tag< DataStreamInstrumentTasks::InitTask >, DynExp::InstrumentInstance &Instance) override final
Initializes the respective instrument within the instrument inheritance hierarchy....
Task to write an arbitrary function defined by a list of samples to the related data stream instrumen...
bool Autostart
Determines whether to directly make the underlying hardware device start generating the function (tru...
SetArbitraryFunctionTask(DataStreamBase::BasicSampleListType &&Samples, bool Autostart, CallbackType CallbackFunc) noexcept
Constructs a SetArbitraryFunctionTask instance.
virtual DynExp::TaskResultType RunChild(DynExp::InstrumentInstance &Instance) override
Runs the task. Override RunChild() to define a derived task's action(s). Any exception leaving RunChi...
DataStreamBase::BasicSampleListType Samples
Samples the function consists of.
Task to write a function consisting of pulse segments to the related data stream instrument.
virtual DynExp::TaskResultType RunChild(DynExp::InstrumentInstance &Instance) override
Runs the task. Override RunChild() to define a derived task's action(s). Any exception leaving RunChi...
SetPulseFunctionTask(const FunctionGeneratorDefs::PulsesDescType &FunctionDesc, bool Autostart, CallbackType CallbackFunc) noexcept
Constructs a SetPulseFunctionTask instance.
FunctionGeneratorDefs::PulsesDescType FunctionDesc
Description of the pulse function.
bool Autostart
Determines whether to directly make the underlying hardware device start generating the function (tru...
Task to write a ramp function to the related data stream instrument.
bool Autostart
Determines whether to directly make the underlying hardware device start generating the function (tru...
FunctionGeneratorDefs::RampFunctionDescType FunctionDesc
Description of the ramp function.
SetRampFunctionTask(const FunctionGeneratorDefs::RampFunctionDescType &FunctionDesc, bool Autostart, CallbackType CallbackFunc) noexcept
Constructs a SetRampFunctionTask instance.
virtual DynExp::TaskResultType RunChild(DynExp::InstrumentInstance &Instance) override
Runs the task. Override RunChild() to define a derived task's action(s). Any exception leaving RunChi...
Task to write a rectangular function to the related data stream instrument.
bool Autostart
Determines whether to directly make the underlying hardware device start generating the function (tru...
FunctionGeneratorDefs::RectFunctionDescType FunctionDesc
Description of the rectangular function.
virtual DynExp::TaskResultType RunChild(DynExp::InstrumentInstance &Instance) override
Runs the task. Override RunChild() to define a derived task's action(s). Any exception leaving RunChi...
SetRectFunctionTask(const FunctionGeneratorDefs::RectFunctionDescType &FunctionDesc, bool Autostart, CallbackType CallbackFunc) noexcept
Constructs a SetRectFunctionTask instance.
Task to write a sine function to the related data stream instrument.
bool Autostart
Determines whether to directly make the underlying hardware device start generating the function (tru...
FunctionGeneratorDefs::SineFunctionDescType FunctionDesc
Description of the sine function.
SetSineFunctionTask(const FunctionGeneratorDefs::SineFunctionDescType &FunctionDesc, bool Autostart, CallbackType CallbackFunc) noexcept
Constructs a SetSineFunctionTask instance.
virtual DynExp::TaskResultType RunChild(DynExp::InstrumentInstance &Instance) override
Runs the task. Override RunChild() to define a derived task's action(s). Any exception leaving RunChi...
Task to initialize the trigger of the related function generator instrument. The task only updates Fu...
virtual DynExp::TaskResultType RunChild(DynExp::InstrumentInstance &Instance) override
Runs the task. Override RunChild() to define a derived task's action(s). Any exception leaving RunChi...
SetTriggerTask(const FunctionGeneratorDefs::TriggerDescType &TriggerDesc) noexcept
Constructs a SetTriggerTask instance.
FunctionGeneratorDefs::TriggerDescType TriggerDesc
Trigger settings to apply.
Defines a task for updating an instrument within an instrument inheritance hierarchy....
virtual void UpdateFuncImpl(dispatch_tag< UpdateTask >, DynExp::InstrumentInstance &Instance)
Updates the respective instrument within the instrument inheritance hierarchy. Call UpdateFuncImpl() ...
void UpdateFuncImpl(dispatch_tag< DataStreamInstrumentTasks::UpdateTask >, DynExp::InstrumentInstance &Instance) override final
Updates the respective instrument within the instrument inheritance hierarchy. Call UpdateFuncImpl() ...
Function generator meta instrument based on the data stream meta instrument to generate waveforms by ...
virtual Util::FeatureTester< QuantityCapsType > GetModulationCapsChild() const
Returns the modulation types the function generator is capable of.
virtual void ForceTriggerSync() const
Synchronized version of ForceTrigger(), which blocks until the task enqueued by ForceTrigger() has be...
QuantityCapsType
Type enumerating quantities the function generator might be able to modulate or sweep (in hardware).
@ NUM_ELEMENTS
Must be last. Refer to Util::FeatureTester.
@ Frequency
Waveform's frequency.
@ Amplitude
Waveform's amplitude.
virtual void SetModulation(const FunctionGeneratorDefs::ModulationDescType &ModulationDesc, bool PersistParams=false, DynExp::TaskBase::CallbackType CallbackFunc=nullptr) const
Configures the function generator to perform a modulation.
FunctionGenerator(const std::thread::id OwnerThreadID, DynExp::ParamsBasePtrType &&Params)
Constructs an instrument instance.
virtual bool IsPhaseAdjustable() const noexcept
Determines whether the function generator has the capability to set the phase of the generated wavefo...
virtual std::string GetCategory() const override
Returns the category of this Object type.
WaveformCapsType
Type enumerating waveform types the function generator might be able to produce (in hardware).
@ NUM_ELEMENTS
Must be last. Refer to Util::FeatureTester.
@ Rect
Rectangular waveform.
@ UserDefined
Arbitrary waveform.
@ Pulse
Manually defined pulses.
void ResetImpl(dispatch_tag< DataStreamInstrument >) override final
Refer to DynExp::Object::Reset(). Using tag dispatch mechanism to ensure that ResetImpl() of every de...
virtual FunctionGeneratorDefs::FunctionDescType GetParamDefaultsChild() const
Returns the default values to assign to a description of a generic periodic function.
virtual ~FunctionGenerator()=0
FunctionGeneratorDefs::FunctionDescType GetParamDefaults() const
Returns the default values to assign to a description of a generic periodic function.
virtual FunctionGeneratorDefs::FunctionDescType GetMaxCapsChild() const
Returns the maximal values assignable to a description of a generic periodic function.
virtual void ResetImpl(dispatch_tag< FunctionGenerator >)=0
Refer to DynExp::Object::Reset(). Using tag dispatch mechanism to ensure that ResetImpl() of every de...
virtual void SetRampFunction(const FunctionGeneratorDefs::RampFunctionDescType &FunctionDesc, bool PersistParams=false, bool Autostart=false, DynExp::TaskBase::CallbackType CallbackFunc=nullptr) const
Generates a ramp function.
virtual std::unique_ptr< DynExp::ExitTaskBase > MakeExitTask() const override
Factory function for an exit task (ExitTaskBase). Override to define the desired deinitialization tas...
Util::FeatureTester< WaveformCapsType > GetWaveformCaps() const
Returns the waveform types the function generator is able to produce.
virtual void SetRectFunction(const FunctionGeneratorDefs::RectFunctionDescType &FunctionDesc, bool PersistParams=false, bool Autostart=false, DynExp::TaskBase::CallbackType CallbackFunc=nullptr) const
Generates a rectangular function.
FunctionGeneratorDefs::FunctionDescType GetMinCaps() const
Returns the minimal values assignable to a description of a generic periodic function.
virtual std::unique_ptr< DynExp::UpdateTaskBase > MakeUpdateTask() const override
Factory function for an update task (UpdateTaskBase). Override to define the desired update task in d...
virtual std::string GetName() const override
Returns the name of this Object type.
virtual void SetTriggerChild(const FunctionGeneratorDefs::TriggerDescType &TriggerDesc, bool PersistParams, DynExp::TaskBase::CallbackType CallbackFunc) const
SetTrigger() configures the function generator's trigger, which determines when the waveform generati...
virtual void SetSweep(const FunctionGeneratorDefs::SweepDescType &SweepDesc, bool PersistParams=false, DynExp::TaskBase::CallbackType CallbackFunc=nullptr) const
Configures the function generator to perform a sweep.
virtual void SetPulseFunction(const FunctionGeneratorDefs::PulsesDescType &FunctionDesc, bool PersistParams=false, bool Autostart=false, DynExp::TaskBase::CallbackType CallbackFunc=nullptr) const
Generates a function consisting of pulse segments.
TriggerCapsType
Type enumerating trigger features the function generator might be capable of (in hardware).
@ NUM_ELEMENTS
Must be last. Refer to Util::FeatureTester.
@ CanForce
Triggering can be forced (executed by the software).
@ CanConfigure
Trigger settings can be adjusted by the software.
virtual Util::FeatureTester< QuantityCapsType > GetSweepCapsChild() const
Returns the sweep types the function generator is capable of.
constexpr static auto Category() noexcept
Every derived class has to redefine this function.
FunctionGeneratorDefs::FunctionDescType GetMaxCaps() const
Returns the maximal values assignable to a description of a generic periodic function.
virtual FunctionGeneratorDefs::FunctionDescType GetMinCapsChild() const
Returns the minimal values assignable to a description of a generic periodic function.
virtual std::unique_ptr< DynExp::InitTaskBase > MakeInitTask() const override
Factory function for an init task (InitTaskBase). Override to define the desired initialization task ...
Util::FeatureTester< QuantityCapsType > GetSweepCaps() const
Returns the sweep types the function generator is capable of.
virtual void SetSineFunction(const FunctionGeneratorDefs::SineFunctionDescType &FunctionDesc, bool PersistParams=false, bool Autostart=false, DynExp::TaskBase::CallbackType CallbackFunc=nullptr) const
Generates a sine function.
virtual void ForceTrigger(DynExp::TaskBase::CallbackType CallbackFunc=nullptr) const
Forces the generation of the waveform ignoring the trigger.
Util::FeatureTester< TriggerCapsType > GetTriggerCaps() const
Returns the trigger features the function generator is capable of.
virtual Util::FeatureTester< WaveformCapsType > GetWaveformCapsChild() const =0
Returns the waveform types the function generator is able to produce.
virtual Util::FeatureTester< TriggerCapsType > GetTriggerCapsChild() const
Returns the trigger features the function generator is capable of.
virtual void SetArbitraryFunction(DataStreamBase::BasicSampleListType &&Samples, bool Autostart=false, DynExp::TaskBase::CallbackType CallbackFunc=nullptr) const
Generates an arbitrary function defined by the function samples.
constexpr static auto Name() noexcept
Every derived class has to redefine this function.
Util::FeatureTester< QuantityCapsType > GetModulationCaps() const
Returns the modulation types the function generator is capable of.
void SetTrigger(const FunctionGeneratorDefs::TriggerDescType &TriggerDesc, bool PersistParams=false, DynExp::TaskBase::CallbackType CallbackFunc=nullptr) const
SetTrigger() configures the function generator's trigger, which determines when the waveform generati...
DynExp's core class acts as the interface between the user interface and DynExp's internal data like ...
Defines a task for deinitializing an instrument within an instrument inheritance hierarchy....
Refer to DynExp::ParamsBase::dispatch_tag.
Defines a task for initializing an instrument within an instrument inheritance hierarchy....
Refer to DynExp::ParamsBase::dispatch_tag.
Base class for instruments. Instruments comprise virtual devices (meta instruments) and physial devic...
Configurator class for InstrumentBase.
Data structure to contain data which is synchronized in between different threads....
Refer to ParamsBase::dispatch_tag.
Defines data for a thread belonging to a InstrumentBase instance. Refer to RunnableInstance.
Parameter class for InstrumentBase.
const std::thread::id OwnerThreadID
Thread id of the thread which has constructed (and owns) this Object instance.
const ParamsBasePtrType Params
Pointer to the parameter class instance belonging to this Object instance.
Refer to ParamsBase::dispatch_tag.
const ItemIDType ID
ID of the Object this parameter class instance belongs to.
const DynExpCore & Core
Reference to DynExp's core.
Tag for function dispatching mechanism within this class used when derived classes are not intended t...
Base class for all tasks being processed by instruments. The class must not contain public virtual fu...
std::function< void(const TaskBase &, ExceptionContainer &)> CallbackType
Type of a callback function which is invoked when a task has finished, failed or has been aborted....
TaskBase(CallbackType CallbackFunc=nullptr) noexcept
Constructs an instrument task.
const CallbackType CallbackFunc
This callback function is called after the task has finished (either successfully or not) with a refe...
Defines the return type of task functions.
Defines a task for updating an instrument within an instrument inheritance hierarchy....
Refer to DynExp::ParamsBase::dispatch_tag.
Holds a bitset containing flags to indicate which features a certain instrument/ module etc....
double RectFunc(double DutyCycle, double Phase)
Calculates the value of a rectangular function depending on the current Phase.
constexpr Util::seconds PeriodFromFunctionDesc(const FunctionDescType &FunctionDesc)
Calculates the period from the given function description.
double InvRectFunc(double DutyCycle, double Phase)
Calculates the value of an inverse rectangular function depending on the current Phase.
constexpr FunctionDescType GetDefaultMinFunctionDesc()
Determines minimal values assignable to a description of a generic periodic function.
WaveformTypes
Type to determine the waveform type.
@ Rect
Rectangular waveform.
@ Pulse
Manually defined pulses.
@ None
Unspecified/arbitrary waveform.
double RampFunc(double RiseFallRatio, double Phase)
Calculates the value of a ramp function depending on the current Phase.
constexpr FunctionDescType GetDefaultMaxFunctionDesc()
Determines maximal values assignable to a description of a generic periodic function.
constexpr FunctionDescType GetDefaultDefaultFunctionDesc()
Determines default values to assign to a description of a generic periodic function.
@ Rise
Trigger on rising edge.
@ Continuous
Run continuously disabling the trigger.
DynExp's instrument namespace contains the implementation of DynExp instruments which extend DynExp's...
DataStreamPtrType< DataStreamBase > DataStreamBasePtrType
Type of a pointer owning a DataStreamBase instance.
std::unique_ptr< ParamsBase > ParamsBasePtrType
Alias for a pointer to the parameter system base class ParamsBase.
size_t ItemIDType
ID type of objects/items managed by DynExp.
std::chrono::duration< double > seconds
Extends std::chrono by a duration data type for seconds capable of storing fractions of seconds.
Accumulates include statements to provide a precompiled header.
Type describing a generic periodic function.
double Offset
Offset of the function to be added to each sample.
double FrequencyInHz
Frequency of the function in Hz.
constexpr FunctionDescType() noexcept=default
double Amplitude
Amplitude of the function.
Type describing modulation parameters for a waveform.
ModulationShapeType
Type to determine the shape of the modulation.
@ Sine
Sinusoidally modulate the affected quantity.
@ Pulse
Pulse (binary) modulation switching the affected quantity between two values.
double PulseDutyCycle
Duty cycle (in between 0 and 1) of the pulses in case of binary modulation (Shape is ModulationShapeT...
double Depth
Depth (amplitude) of the modulation.
ModulationDescType() noexcept=default
ModulationShapeType Shape
Shape of the modulation.
ModulationType
Type to determine the modulation type.
@ Phase
Modulation affecting the waveform's phase.
@ Frequency
Modulation affecting the waveform's frequency.
@ Amplitude
Modulation affecting the waveform's amplitude.
double FrequencyInHz
Frequency of the modulation in Hz.
ModulationType Type
Type of the modulation.
Type describing function consisting of a series of pulses.
void Reset()
Removes all pulse segments from Pulses.
double Offset
Offset of the function to be added to each sample.
PulsesDescType & operator=(PulsesDescType &&Other)
Move assignment operator. Reset() is called on Other after the operation.
PulsesType Pulses
Series of segments forming the pulse sequence. The resulting function stays constant during a segment...
PulsesDescType(const PulsesDescType &Other)
Copy constructs a PulsesDescType instance.
std::map< double, double > PulsesType
Type containing pulses as tuples (time [s], value). The time refers to the beginning of a segment whe...
PulsesDescType(const PulsesType &Pulses)
Constructs a PulsesDescType instance copying Pulses and setting Offset to 0.
Type describing a ramp function.
double PhaseInRad
Phase of the function in radians.
constexpr RampFunctionDescType() noexcept=default
double RiseFallRatio
Ratio between the ramp's falling and rising edge lengths (in between 0 and 1)
Type describing a rectangular function.
constexpr RectFunctionDescType() noexcept=default
double PhaseInRad
Phase of the function in radians.
double DutyCycle
Duty cycle of the function (in between 0 and 1)
Type describing a sine function.
constexpr SineFunctionDescType() noexcept=default
double PhaseInRad
Phase of the function in radians.
Type describing sweep parameters for a waveform.
double Max
Maximal value where the sweep ends.
bool Retrace
If true, retraces the sweep going back to its start value after its end has been reached.
double Min
Minimal value where the sweep starts.
double TimeDiffPerSample_ms
Time per sweep sample in milliseconds.
SweepDescType() noexcept=default
SweepType Type
Type of the sweep.
double ValueDiffPerSample
Value difference in between subsequent samples of the sweep.
SweepType
Type to determine the sweep type.
@ Frequency
Sweep the waveform's frequency.
@ Disabled
Sweep functionality disabled.
@ Amplitude
Sweep the waveform's amplitude.
Type describing trigger parameters determining when the waveform is generated.
TriggerModeType TriggerMode
Trigger mode.
TriggerEdgeType
Type to determine at which edge of a trigger signal to trigger. Not a strongly-typed enum to allow us...
@ Fall
Trigger on falling edge.
@ Rise
Trigger on rising edge.
TriggerDescType() noexcept=default
TriggerEdgeType TriggerEdge
Edge to trigger on.
TriggerModeType
Type to determine the trigger mode. Not a strongly-typed enum to allow using the enumeration in a Dyn...
@ ExternStep
Advance by a single (sweep) sample after an external trigger signal has been detected.
@ Manual
Only trigger by a user command.
@ Continuous
Run continuously disabling the trigger.
@ ExternSingle
Run once after an external trigger signal has been detected.