OpenHantek
DsoSettingsScope Struct Reference

Holds the settings for the oscilloscope. More...

#include <scopesettings.h>

Public Member Functions

double gain (unsigned channel) const
 
bool anyUsed (ChannelID channel)
 
Dso::Coupling coupling (ChannelID channel, const Dso::ControlSpecification *deviceSpecification) const
 
unsigned countChannels () const
 
double getMarker (unsigned int marker) const
 
void setMarker (unsigned int marker, double value)
 

Data Fields

std::vector< double > gainSteps
 The selectable voltage gain steps in V/div. More...
 
std::vector< DsoSettingsScopeSpectrumspectrum
 Spectrum analysis settings. More...
 
std::vector< DsoSettingsScopeVoltagevoltage
 Settings for the normal graphs. More...
 
DsoSettingsScopeHorizontal horizontal
 Settings for the horizontal axis. More...
 
DsoSettingsScopeTrigger trigger
 Settings for the trigger. More...
 
DsoSettingsScopeAnalysis analysis
 Settings for the analysis. More...
 
unsigned verboseLevel = 0
 
bool histogram = false
 
bool hasACcoupling = false
 
bool hasACmodification = false
 

Detailed Description

Holds the settings for the oscilloscope.

Member Function Documentation

◆ anyUsed()

bool DsoSettingsScope::anyUsed ( ChannelID  channel)
inline

◆ countChannels()

unsigned DsoSettingsScope::countChannels ( ) const
inline

◆ coupling()

Dso::Coupling DsoSettingsScope::coupling ( ChannelID  channel,
const Dso::ControlSpecification deviceSpecification 
) const
inline

◆ gain()

double DsoSettingsScope::gain ( unsigned  channel) const
inline

◆ getMarker()

double DsoSettingsScope::getMarker ( unsigned int  marker) const
inline

◆ setMarker()

void DsoSettingsScope::setMarker ( unsigned int  marker,
double  value 
)
inline

Field Documentation

◆ analysis

DsoSettingsScopeAnalysis DsoSettingsScope::analysis

Settings for the analysis.

◆ gainSteps

std::vector< double > DsoSettingsScope::gainSteps
Initial value:
= { 2e-2, 5e-2, 1e-1, 2e-1,
5e-1, 1e0, 2e0, 5e0 }

The selectable voltage gain steps in V/div.

◆ hasACcoupling

bool DsoSettingsScope::hasACcoupling = false

◆ hasACmodification

bool DsoSettingsScope::hasACmodification = false

◆ histogram

bool DsoSettingsScope::histogram = false

◆ horizontal

DsoSettingsScopeHorizontal DsoSettingsScope::horizontal

Settings for the horizontal axis.

◆ spectrum

std::vector< DsoSettingsScopeSpectrum > DsoSettingsScope::spectrum

Spectrum analysis settings.

◆ trigger

DsoSettingsScopeTrigger DsoSettingsScope::trigger

Settings for the trigger.

◆ verboseLevel

unsigned DsoSettingsScope::verboseLevel = 0

◆ voltage

std::vector< DsoSettingsScopeVoltage > DsoSettingsScope::voltage

Settings for the normal graphs.


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