4#include "hantekprotocol/types.h"
5#include "hantekprotocol/bulkcode.h"
6#include "hantekprotocol/controlStructs.h"
9struct OffsetsPerGainStep;
14struct ControlSamplerateLimits;
20 enum SamplerrateSet { Duration, Samplerrate } samplerateSet;
36 Dso::TriggerMode
mode = Dso::TriggerMode::HARDWARE_SOFTWARE;
37 Dso::Slope
slope = Dso::Slope::Positive;
55 std::vector<ControlSettingsVoltage>
voltage;
Definition controlStructs.h:27
Stores the samplerate limits for calculations.
Definition controlspecification.h:16
Stores the target samplerate settings of the device.
Definition controlsettings.h:17
double duration
The target record time set via setRecordTime.
Definition controlsettings.h:19
double samplerate
The target samplerate set via setSamplerate.
Definition controlsettings.h:18
Stores the current samplerate settings of the device.
Definition controlsettings.h:24
ControlSettingsSamplerateTarget target
The target samplerate values.
Definition controlsettings.h:25
unsigned int downsampler
The variable downsampling factor.
Definition controlsettings.h:27
double current
The current samplerate.
Definition controlsettings.h:28
const ControlSamplerateLimits * limits
The samplerate limits.
Definition controlsettings.h:26
Stores the current trigger settings of the device.
Definition controlsettings.h:32
Dso::Slope slope
The trigger slope.
Definition controlsettings.h:37
bool special
true, if the trigger source is special
Definition controlsettings.h:38
unsigned int source
The trigger source.
Definition controlsettings.h:39
unsigned int point
The trigger position in Hantek coding.
Definition controlsettings.h:35
Dso::TriggerMode mode
The trigger mode.
Definition controlsettings.h:36
double position
The current pretrigger position.
Definition controlsettings.h:34
std::vector< double > level
The trigger level for each channel in V.
Definition controlsettings.h:33
Stores the current amplification settings of the device.
Definition controlsettings.h:43
double offsetReal
The real offset for each channel (Due to quantization)
Definition controlsettings.h:45
unsigned gain
The gain id.
Definition controlsettings.h:46
bool used
true, if the channel is used
Definition controlsettings.h:47
double offset
The screen offset for each channel.
Definition controlsettings.h:44
Stores the current settings of the device.
Definition controlsettings.h:51
unsigned usedChannels
Number of activated channels.
Definition controlsettings.h:58
ControlSettingsTrigger trigger
The trigger settings.
Definition controlsettings.h:56
Hantek::OffsetsPerGainStep * offsetLimit
Calibration data for the channel offsets.
Definition controlsettings.h:60
RecordLengthID recordLengthId
The id in the record length array.
Definition controlsettings.h:57
ControlSettingsSamplerate samplerate
The samplerate settings.
Definition controlsettings.h:54
unsigned swSampleMargin
Software trigger, sample margin.
Definition controlsettings.h:59
std::vector< ControlSettingsVoltage > voltage
The amplification settings.
Definition controlsettings.h:55
Definition controlStructs.h:131
Definition definitions.h:40