OpenHantek
Loading...
Searching...
No Matches
hantekdso Directory Reference

Directories

 
models

Files

 
capturing.cpp
 
capturing.h
 
controlsettings.cpp
 
controlsettings.h
 
controlspecification.cpp
 
controlspecification.h
 
dsomodel.cpp
 
dsomodel.h
 
dsosamples.h
 
enums.cpp
 
enums.h
 
errorcodes.h
 
hantekdsocontrol.cpp
 
hantekdsocontrol.h
 
mathchannel.cpp
 
mathchannel.h
 
mathmodes.cpp
 
mathmodes.h
 
modelregistry.cpp
 
modelregistry.h
 
triggering.cpp
 
triggering.h

Detailed Description

Content

This directory contains the heart of OpenHantek, the HantekDSOControl class and all model definitions.

HantekDSOControl

The HantekDSOControl class manages all device settings (gain, offsets, channels, etc) and outputs DSOSamples via getLastSamples(). Observers are notified of a new set of available samples via the signal samplesAvailable(). Current device settings are stored in the controlsettings field and retriveable with the corresponding getter getDeviceSettings().

HantekDSOControl may only contain state fields to realize the fetch samples / modify settings loop.

Model

A model needs a ControlSpecification, which describes what specific Hantek protocol commands are to be used. All known models are specified in the subdirectory models.

Namespace

Relevant classes in here are in the DSO namespace.

Dependency

  • Files in this directory depend on structs in the usb folder.
  • Files in this directory depend on structs in the hantekprotocol folder.