OpenHantek
Loading...
Searching...
No Matches
DataChannel Struct Reference

Struct for the analyzed data. More...

#include <ppresult.h>

Data Fields

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

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: