OpenHantek / OpenHantek6022

OpenHantek6022 is a DSO software for Hantek USB digital signal oscilloscopes 6022BE / BL. Development OS is Debian Linux, but the program also works on FreeBSD, MacOS, RaspberryPi and Windows. No support for non-Linux related issues unless a volunteer steps in!
GNU General Public License v3.0
868 stars 153 forks source link

Calibration file problem #105

Closed cryptozoy closed 4 years ago

cryptozoy commented 4 years ago

Found out under Fedora 32 Linux: Calibration file ~/.config/OpenHantek/modelDSO6022.ini alone do not change anything. Calibration file ~/.config/OpenHantek/modelDSO6022.conf alone do not change anything too. But if both these files exist in directiory, then calibration data applies from modelDSO6022.conf.

I could not figure out where to place the calibration file under Windows. Apparently, even all the settings are written to the registry.

Ho-Ro commented 4 years ago

Now it should work with an ini file alone, an existing model*.conf will be renamed automatically to model*.ini. Regarding the ini file location please check this Qt doc:

Linux/FreeBSD/macOS: $HOME/.config/OpenHantek/modelDSO6022.ini
Windows: %APPDATA%\OpenHantek\modelDSO6022.ini
cryptozoy commented 4 years ago

Thanks!