OpenHantek
PPresult Class Reference

Post processing results. More...

#include <ppresult.h>

Public Member Functions

 PPresult (unsigned int channelCount)
 
const DataChanneldata (ChannelID channel) const
 Returns the analyzed data. More...
 
DataChannelmodifyData (ChannelID channel)
 Returns the analyzed data. The data structure can be modifed. More...
 
unsigned int sampleCount () const
 
unsigned int channelCount () const
 

Data Fields

bool softwareTriggerTriggered = false
 sw trigger status More...
 
unsigned triggeredPosition = 0
 skip samples at start of channel to get triggered trace on screen More...
 
double pulseWidth1 = 0.0
 The width of the triggered pulse. More...
 
double pulseWidth2 = 0.0
 The width of the following pulse. More...
 
ChannelsGraphs vaChannelSpectrum
 
ChannelsGraphs vaChannelVoltage
 
ChannelsGraphs vaChannelHistogram
 

Private Attributes

std::vector< DataChannelanalyzedData
 The analyzed data for each channel. More...
 

Detailed Description

Post processing results.

Constructor & Destructor Documentation

◆ PPresult()

PPresult::PPresult ( unsigned int  channelCount)
explicit

Member Function Documentation

◆ channelCount()

unsigned int PPresult::channelCount ( ) const

◆ data()

const DataChannel * PPresult::data ( ChannelID  channel) const

Returns the analyzed data.

Parameters
channelChannel, whose data should be returned.

◆ modifyData()

DataChannel * PPresult::modifyData ( ChannelID  channel)

Returns the analyzed data. The data structure can be modifed.

Parameters
channelChannel, whose data should be returned.

◆ sampleCount()

unsigned int PPresult::sampleCount ( ) const
Returns
The maximum sample count of the last analyzed data. This assumes there is at least one channel.

Field Documentation

◆ analyzedData

std::vector<DataChannel> PPresult::analyzedData
private

The analyzed data for each channel.

◆ pulseWidth1

double PPresult::pulseWidth1 = 0.0

The width of the triggered pulse.

◆ pulseWidth2

double PPresult::pulseWidth2 = 0.0

The width of the following pulse.

◆ softwareTriggerTriggered

bool PPresult::softwareTriggerTriggered = false

sw trigger status

◆ triggeredPosition

unsigned PPresult::triggeredPosition = 0

skip samples at start of channel to get triggered trace on screen

Not triggered

◆ vaChannelHistogram

ChannelsGraphs PPresult::vaChannelHistogram

◆ vaChannelSpectrum

ChannelsGraphs PPresult::vaChannelSpectrum

◆ vaChannelVoltage

ChannelsGraphs PPresult::vaChannelVoltage

The documentation for this class was generated from the following files: