OpenHantek
Loading...
Searching...
No Matches
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 (RO).
DataChannelmodifiableData (ChannelID channel)
 Returns the analyzed data (RW). The data structure can be modified.
unsigned int sampleCount () const
unsigned int channelCount () const

Data Fields

bool softwareTriggerTriggered = false
 sw trigger status
int triggeredPosition = 0
 skip samples at start of channel to get triggered trace on screen
double pulseWidth1 = 0.0
 The width of the triggered pulse.
double pulseWidth2 = 0.0
 The width of the following pulse.
unsigned tag
 track individual sample blocks (debug support)
ChannelsGraphs vaChannelSpectrum
ChannelsGraphs vaChannelVoltage
ChannelsGraphs vaChannelHistogram

Private Attributes

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

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 (RO).

Parameters
channelChannel, whose data should be returned.

◆ modifiableData()

DataChannel * PPresult::modifiableData ( ChannelID channel)

Returns the analyzed data (RW). The data structure can be modified.

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

◆ tag

unsigned PPresult::tag

track individual sample blocks (debug support)

◆ triggeredPosition

int 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: