OpenHantek
Public Types | Static Public Member Functions
SoftwareTrigger Class Reference

#include <softwaretrigger.h>

Public Types

typedef std::tuple< unsigned, unsigned, unsigned > PrePostStartTriggerSamples
 

Static Public Member Functions

static PrePostStartTriggerSamples compute (const PPresult *data, const DsoSettingsScope *scope)
 Computes a software trigger point. More...
 

Detailed Description

Contains software trigger algorithms. At the moment this works on the analysed data of the DataAnalyser class. TODO Should work on the raw data within HantekDsoControl

Member Function Documentation

◆ compute()

SoftwareTrigger::PrePostStartTriggerSamples SoftwareTrigger::compute ( const PPresult data,
const DsoSettingsScope scope 
)
static

Computes a software trigger point.

Parameters
dataAnalysed data from the
scopeScope settings
Returns
Returns a tuple of positions [preTrigger, postTrigger, startTrigger]

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