OpenHantek
Loading...
Searching...
No Matches
Dso::ControlSpecification Struct Reference

Stores the specifications of the currently connected device. More...

#include <controlspecification.h>

Public Types

typedef std::vector< double > VoltageScale
 The sample values for one div.

Public Member Functions

 ControlSpecification (unsigned channels)

Data Fields

const ChannelID channels
ControlSpecificationSamplerate samplerate
 The samplerate specifications.
std::vector< FixedSampleRatefixedSampleRates
 For devices that support only fixed sample rates.
bool hasCalibrationEEPROM = true
 DSO6022 has calibration in small EEPROM, DDS120 has big fw EEPROM.
bool isDemoDevice = false
std::vector< VoltageScalevoltageScale
std::vector< ControlSpecificationGainLevelgain
 Gain levels.
std::vector< Couplingcouplings = { Dso::Coupling::DC, Dso::Coupling::AC }
std::vector< TriggerModetriggerModes = { TriggerMode::ROLL, TriggerMode::AUTO, TriggerMode::NORMAL, TriggerMode::SINGLE }
int fixedUSBinLength = 0
bool hasACcoupling = false
QList< double > calfreqSteps

Detailed Description

Stores the specifications of the currently connected device.

Member Typedef Documentation

◆ VoltageScale

typedef std::vector< double > Dso::ControlSpecification::VoltageScale

The sample values for one div.

Constructor & Destructor Documentation

◆ ControlSpecification()

Dso::ControlSpecification::ControlSpecification ( unsigned channels)
explicit

Field Documentation

◆ calfreqSteps

QList< double > Dso::ControlSpecification::calfreqSteps

◆ channels

const ChannelID Dso::ControlSpecification::channels

◆ couplings

std::vector< Coupling > Dso::ControlSpecification::couplings = { Dso::Coupling::DC, Dso::Coupling::AC }

◆ fixedSampleRates

std::vector< FixedSampleRate > Dso::ControlSpecification::fixedSampleRates

For devices that support only fixed sample rates.

◆ fixedUSBinLength

int Dso::ControlSpecification::fixedUSBinLength = 0

◆ gain

std::vector< ControlSpecificationGainLevel > Dso::ControlSpecification::gain

Gain levels.

◆ hasACcoupling

bool Dso::ControlSpecification::hasACcoupling = false

◆ hasCalibrationEEPROM

bool Dso::ControlSpecification::hasCalibrationEEPROM = true

DSO6022 has calibration in small EEPROM, DDS120 has big fw EEPROM.

◆ isDemoDevice

bool Dso::ControlSpecification::isDemoDevice = false

◆ samplerate

ControlSpecificationSamplerate Dso::ControlSpecification::samplerate

The samplerate specifications.

◆ triggerModes

std::vector< TriggerMode > Dso::ControlSpecification::triggerModes = { TriggerMode::ROLL, TriggerMode::AUTO, TriggerMode::NORMAL, TriggerMode::SINGLE }

◆ voltageScale

std::vector< VoltageScale > Dso::ControlSpecification::voltageScale

The documentation for this struct was generated from the following files: