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) const
 
Dso::Coupling coupling (ChannelID channel, const Dso::ControlSpecification *deviceSpecification) const
 
ChannelID countChannels () const
 
double getMarker (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...
 
int verboseLevel = 0
 
int toolTipVisible = 1
 
bool histogram = false
 
bool hasACcoupling = false
 
bool hasACmodification = false
 
bool liveCalibrationActive = false
 

Detailed Description

Holds the settings for the oscilloscope.

Member Function Documentation

◆ anyUsed()

bool DsoSettingsScope::anyUsed ( ChannelID  channel) const
inline

◆ countChannels()

ChannelID 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 ( 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.

◆ liveCalibrationActive

bool DsoSettingsScope::liveCalibrationActive = false

◆ spectrum

std::vector< DsoSettingsScopeSpectrum > DsoSettingsScope::spectrum

Spectrum analysis settings.

◆ toolTipVisible

int DsoSettingsScope::toolTipVisible = 1

◆ trigger

DsoSettingsScopeTrigger DsoSettingsScope::trigger

Settings for the trigger.

◆ verboseLevel

int 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: