OpenHantek
DataChannel Struct Reference

Struct for the analyzed data. More...

#include <ppresult.h>

Data Fields

SampleValues voltage
 The time-domain voltage levels (V) More...
 
SampleValues spectrum
 The frequency-domain power levels (dB) More...
 
bool valid = true
 Not clipped, distorted, dropouts etc. More...
 
double vmin = 0.0
 The minimum sample value of displayed part of trace. More...
 
double vmax = 0.0
 The maximum sample value of displayed part of trace. More...
 
double rms = 0.0
 The DC + AC rms value of the signal = sqrt( dc * dc + acc * ac ) More...
 
double dBmin = 0.0
 The minimum magnitude value. More...
 
double dBmax = 0.0
 The maximum magnitude value. More...
 
double dc = 0.0
 The DC bias of the signal. More...
 
double ac = 0.0
 The AC rms value of the signal. More...
 
double dB = 0.0
 The AC rms value as dB (dBV or other depending on config) More...
 
double frequency = 0.0
 The frequency of the signal. More...
 
QString note = ""
 The note value of the frequency. More...
 
double thd = 0.0
 The THD value. More...
 
double pulseWidth1 = 0.0
 The width of the triggered pulse. More...
 
double pulseWidth2 = 0.0
 The width of the following pulse. More...
 
Unit voltageUnit = UNIT_VOLTS
 unless UNIT_VOLTSQUARE for some math functions More...
 

Detailed Description

Struct for the analyzed data.

Field Documentation

◆ ac

double DataChannel::ac = 0.0

The AC rms value of the signal.

◆ dB

double DataChannel::dB = 0.0

The AC rms value as dB (dBV or other depending on config)

◆ dBmax

double DataChannel::dBmax = 0.0

The maximum magnitude value.

◆ dBmin

double DataChannel::dBmin = 0.0

The minimum magnitude value.

◆ dc

double DataChannel::dc = 0.0

The DC bias of the signal.

◆ frequency

double DataChannel::frequency = 0.0

The frequency of the signal.

◆ note

QString DataChannel::note = ""

The note value of the frequency.

◆ pulseWidth1

double DataChannel::pulseWidth1 = 0.0

The width of the triggered pulse.

◆ pulseWidth2

double DataChannel::pulseWidth2 = 0.0

The width of the following pulse.

◆ rms

double DataChannel::rms = 0.0

The DC + AC rms value of the signal = sqrt( dc * dc + acc * ac )

◆ spectrum

SampleValues DataChannel::spectrum

The frequency-domain power levels (dB)

◆ thd

double DataChannel::thd = 0.0

The THD value.

◆ valid

bool DataChannel::valid = true

Not clipped, distorted, dropouts etc.

◆ vmax

double DataChannel::vmax = 0.0

The maximum sample value of displayed part of trace.

◆ vmin

double DataChannel::vmin = 0.0

The minimum sample value of displayed part of trace.

◆ voltage

SampleValues DataChannel::voltage

The time-domain voltage levels (V)

◆ voltageUnit

Unit DataChannel::voltageUnit = UNIT_VOLTS

unless UNIT_VOLTSQUARE for some math functions


The documentation for this struct was generated from the following file: