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

Go to the source code of this file.

Namespaces

namespace  Dso
 

Enumerations

enum class  Dso::MathMode : unsigned {
  Dso::ADD_CH1_CH2 , Dso::SUB_CH2_FROM_CH1 , Dso::SUB_CH1_FROM_CH2 , Dso::MUL_CH1_CH2 ,
  Dso::AND_CH1_CH2 , Dso::AND_NOT_CH1_NOT_CH2 , Dso::AND_NOT_CH1_CH2 , Dso::AND_CH1_NOT_CH2 ,
  Dso::EQU_CH1_CH2 , Dso::LP10_CH1 , Dso::LP10_CH2 , Dso::LP100_CH1 ,
  Dso::LP100_CH2 , Dso::SQ_CH1 , Dso::SQ_CH2 , Dso::AC_CH1 ,
  Dso::AC_CH2 , Dso::DC_CH1 , Dso::DC_CH2 , Dso::ABS_CH1 ,
  Dso::ABS_CH2 , Dso::SIGN_CH1 , Dso::SIGN_CH2 , Dso::SIGN_AC_CH1 ,
  Dso::SIGN_AC_CH2 , Dso::TRIG_CH1 , Dso::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.
 
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