|
OpenHantek
|
This directory contains the heart of OpenHantek, the HantekDSOControl class and all model definitions.
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.
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.
Relevant classes in here are in the DSO namespace.
usb folder.hantekprotocol folder.