OpenHantek
Loading...
Searching...
No Matches
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
std::vector< double > mathGainSteps
std::vector< DsoSettingsScopeSpectrumspectrum
 Spectrum analysis settings.
std::vector< DsoSettingsScopeVoltagevoltage
 Settings for the normal graphs.
DsoSettingsScopeHorizontal horizontal
 Settings for the horizontal axis.
DsoSettingsScopeTrigger trigger
 Settings for the trigger.
DsoSettingsScopeAnalysis analysis
 Settings for the analysis.
int verboseLevel = 0
int toolTipVisible = 1
bool doNotTranslate = false
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.

◆ doNotTranslate

bool DsoSettingsScope::doNotTranslate = false

◆ gainSteps

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

◆ 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

◆ mathGainSteps

std::vector< double > DsoSettingsScope::mathGainSteps
Initial value:
= {
2e-2, 5e-2, 1e-1, 2e-1, 5e-1, 1e0, 2e0, 5e0, 1e1, 2e1, 5e1, 1e2, 2e2, 5e2, 1e3 }

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