OpenHantek
enums.h File Reference
#include "utils/enumclass.h"
#include <QMetaType>
#include <QString>

Go to the source code of this file.

Namespaces

 Dso
 

Enumerations

enum  Dso::ChannelMode { Dso::ChannelMode::Voltage, Dso::ChannelMode::Spectrum }
 The channel display modes. More...
 
enum  Dso::GraphFormat { Dso::TY, Dso::XY }
 The possible viewing formats for the graphs on the scope. More...
 
enum  Dso::Coupling { Dso::Coupling::DC, Dso::Coupling::AC, Dso::Coupling::GND }
 The coupling modes for the channels. More...
 
enum  Dso::TriggerMode { Dso::TriggerMode::AUTO, Dso::TriggerMode::NORMAL, Dso::TriggerMode::SINGLE }
 The different triggering modes. More...
 
enum  Dso::Slope : uint8_t { Dso::Slope::Positive = 0, Dso::Slope::Negative = 1, Dso::Slope::Both = 2 }
 The slope that causes a trigger. More...
 
enum  Dso::InterpolationMode { Dso::INTERPOLATION_OFF = 0, Dso::INTERPOLATION_LINEAR, Dso::INTERPOLATION_COUNT }
 The different interpolation modes for the graphs. More...
 

Functions

QString Dso::graphFormatString (GraphFormat format)
 Return string representation of the given graph format. More...
 
QString Dso::couplingString (Coupling coupling)
 Return string representation of the given channel coupling. More...
 
QString Dso::triggerModeString (TriggerMode mode)
 Return string representation of the given trigger mode. More...
 
QString Dso::slopeString (Slope slope)
 Return string representation of the given trigger slope. More...