OpenHantek
mathmodes.h File Reference
#include "utils/enumclass.h"
#include "utils/printutils.h"
#include <QMetaType>

Go to the source code of this file.

Namespaces

 Dso
 

Enumerations

enum  Dso::MathMode : unsigned {
  Dso::MathMode::ADD_CH1_CH2, Dso::MathMode::SUB_CH2_FROM_CH1, Dso::MathMode::SUB_CH1_FROM_CH2, Dso::MathMode::MUL_CH1_CH2,
  Dso::MathMode::AND_CH1_CH2, Dso::MathMode::AND_NOT_CH1_NOT_CH2, Dso::MathMode::AND_NOT_CH1_CH2, Dso::MathMode::AND_CH1_NOT_CH2,
  Dso::MathMode::EQU_CH1_CH2, Dso::MathMode::LP10_CH1, Dso::MathMode::LP10_CH2, Dso::MathMode::LP100_CH1,
  Dso::MathMode::LP100_CH2, Dso::MathMode::SQ_CH1, Dso::MathMode::SQ_CH2, Dso::MathMode::AC_CH1,
  Dso::MathMode::AC_CH2, Dso::MathMode::DC_CH1, Dso::MathMode::DC_CH2, Dso::MathMode::ABS_CH1,
  Dso::MathMode::ABS_CH2, Dso::MathMode::SIGN_CH1, Dso::MathMode::SIGN_CH2, Dso::MathMode::SIGN_AC_CH1,
  Dso::MathMode::SIGN_AC_CH2, Dso::MathMode::TRIG_CH1, Dso::MathMode::TRIG_CH2
}
 The different math modes for the math-channel. More...
 

Functions

Unit Dso::mathModeUnit (MathMode mode)
 
QString Dso::mathModeString (MathMode mode)
 Return string representation of the given math mode. More...
 
unsigned Dso::mathChannelsUsed (MathMode mode)
 
template<class T >
MathMode Dso::getMathMode (T &t)
 

Variables

const auto Dso::LastBinaryMathMode = MathMode::EQU_CH1_CH2
 
const auto Dso::LastMathMode = MathMode::TRIG_CH2