OpenHantek
Dso::ControlSpecification Struct Reference

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

#include <controlspecification.h>

Public Types

typedef std::vector< int > VoltageLimit
 The sample values at the top of the screen. More...
 
typedef std::vector< int > VoltageOffset
 

Public Member Functions

 ControlSpecification (unsigned channels)
 

Data Fields

const ChannelID channels
 
ControlSpecificationSamplerate samplerate
 The samplerate specifications. More...
 
std::vector< RecordLengthIDbufferDividers
 Samplerate dividers for record lengths. More...
 
std::vector< FixedSampleRatefixedSampleRates
 For devices that support only fixed sample rates. More...
 
std::vector< VoltageLimitvoltageLimit
 
std::vector< VoltageOffsetvoltageOffset
 
std::vector< ControlSpecificationGainLevelgain
 Gain levels. More...
 
std::vector< Couplingcouplings = {Dso::Coupling::DC, Dso::Coupling::AC}
 
std::vector< TriggerModetriggerModes
 
int fixedUSBinLength = 0
 

Detailed Description

Stores the specifications of the currently connected device.

Member Typedef Documentation

◆ VoltageLimit

typedef std::vector<int> Dso::ControlSpecification::VoltageLimit

The sample values at the top of the screen.

◆ VoltageOffset

typedef std::vector<int> Dso::ControlSpecification::VoltageOffset

Constructor & Destructor Documentation

◆ ControlSpecification()

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

Field Documentation

◆ bufferDividers

std::vector<RecordLengthID> Dso::ControlSpecification::bufferDividers

Samplerate dividers for record lengths.

◆ 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.

◆ samplerate

ControlSpecificationSamplerate Dso::ControlSpecification::samplerate

The samplerate specifications.

◆ triggerModes

std::vector<TriggerMode> Dso::ControlSpecification::triggerModes

◆ voltageLimit

std::vector<VoltageLimit> Dso::ControlSpecification::voltageLimit

◆ voltageOffset

std::vector<VoltageOffset> Dso::ControlSpecification::voltageOffset

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