Commit Graph

289 Commits

Author SHA1 Message Date
Chris Esposito 8aaaac42cb
Waveform generation clock settings #255 2023-11-01 13:22:49 +11:00
Jamal Mustafa 10c1f6bc37
update Multimeter UI (#235)
- rename `Series Resistance` to `Reference Resistance`
2023-01-19 12:18:42 +11:00
Chris Esposito 1169684399 Performance fix for Vincenzo's patch 2022-01-23 17:50:20 +11:00
Chris Esposito 1de5c60815 Looser tolerances on power supply calibration 2021-12-27 15:46:54 +11:00
Chris Esposito 8cc740c6e1 Revert "Simplify the waveform reading code (#194)"
This reverts commit 591940b225.

Revert "Whitespace cleanup (#192)"

This reverts commit 1b45b0d112.
2021-11-16 14:30:10 +11:00
turboencabulator 591940b225
Simplify the waveform reading code (#194)
Combine the Android and non-Android implementations.  Only difference
now is the path to the waveform data.

Remove arbitrarily-sized buffers and most C-style string handling
function calls.  Use native Qt string methods instead; this should
improve memory safety.
2021-11-10 09:44:16 +11:00
turboencabulator 1b45b0d112
Whitespace cleanup (#192)
* Fix whitespace at EOL and EOF; replace tabs

* Normalize line endings
2021-11-08 10:44:12 +11:00
turboencabulator 2cb3d45867
Use pkgconfig to build against the system libusb and fftw (#188)
* Use pkgconfig to build against the system libusb and fftw

* Remove FFTW build from make_appimage

Building it is failing silently in Travis, but the libfftw3-dev package
installs what we need anyway.
2021-11-04 12:47:28 +11:00
turboencabulator 556edb3245
Replace -lomp with -fopenmp (#187)
* Replace -lomp with -fopenmp

* Restore -lomp for OSX

Travis build indicates it does not recognize -fopenmp.
2021-11-04 12:47:18 +11:00
turboencabulator 682d49dc13
Fix a few compiler warnings (#189)
* Fix unused variable warnings

* Fix misleading indent warning

* Fix potential buffer overflow with fgets()

Was reading 256 bytes into a 255-byte array.  The function would read at
most 255 bytes then try to append a nul (which would overflow), now will
read at most 254 bytes before appending the nul.

* Move isoCallback() from .h to .cpp file

Fixes warnings that the function is unused by every other file that
includes unixusbdriver.h.
2021-11-04 12:47:00 +11:00
chrises fb04347852 reverted changes to Labrador.pro 2021-10-28 16:28:15 +11:00
chrises aa43bbdc36 Fixed on mac??? 2021-10-28 14:08:56 +11:00
chrises 57e63c6acb Force c++17??? 2021-10-28 12:51:09 +11:00
Chris Esposito 4daf08f285 /usr/lib/x86_64-linux-gnu/libstdc++.so.6 2021-10-18 22:02:17 +11:00
Chris Esposito 58df97be5f Fixed build 2021-10-18 17:23:31 +11:00
Vincenzo Petrolo aa193ec479 Vincenzo's FFT patch 2021-10-18 16:00:24 +11:00
Chris Esposito c980c98457 refactored siprint 2021-06-24 20:32:34 +10:00
Chris Esposito b24e39fb8b trigger frequency displayed 2021-06-24 20:12:28 +10:00
Chris Esposito ae7c631de0 isoBuffer calculates trigger frequency 2021-06-24 19:04:36 +10:00
Chris Esposito 7b0dc8e7bc can hide debug console 2021-06-24 17:59:36 +10:00
Chris Esposito faa07c7e3c better hyperlink colours for dark mode 2021-06-24 17:53:49 +10:00
Chris Esposito 38822a83a7 removed accidental depend on Qt 5.12 2021-06-24 17:37:35 +10:00
Chris Esposito 19454671e2 Dark Mode 2021-06-04 15:55:20 +10:00
Chad Clark 555c3eaffd
Android auto flash firmware (#167)
* Update build for Android.  Tool versions:
Qt 5.15.2
QtCreator 4.14.1
Java OpenJDK 11.0.10+9
SDK 28
NDK 21.3.6528147
Gradle 5.6.4
Gradle Plugin 3.6.0

* Add firmware images to Android package.

* Remove properties files ending in tilde.

* Android application will automatically flash firmware when a Labrador in bootloader mode is connected.

* Remove unused firmware images from Android package.
2021-04-19 10:55:31 +10:00
Chris Esposito b62f221056 Simplified scope range dialog 2021-03-29 15:34:57 +11:00
Chad Clark a098e6d7fb
Android build 20210328 (#166)
* Remove saving preference for the Range Dialog that has not been added to Android yet.
2021-03-29 15:29:01 +11:00
Oleksiy Protas d9f05e3ec5 Exporting the current oscilloscope view as image 2021-03-21 13:59:05 +11:00
Chris Esposito 7164791e1b Range Dialog Preference saved between launches 2021-03-17 17:22:04 +11:00
Chad Clark e52869554e
Update build for Android.
Tool versions:
Qt 5.15.2
QtCreator 4.14.1
Java OpenJDK 11.0.10+9
SDK 28
NDK 21.3.6528147
Gradle 5.6.4
Gradle Plugin 3.6.0
2021-03-17 16:53:48 +11:00
Chris Esposito 0893106ea5 Mutimeter works with negative voltages 2020-12-02 13:39:38 +11:00
Chris Esposito 4cab851f13 linuxdeployqt unbroken 2020-07-05 15:24:32 +10:00
Chris Esposito 3e651316d2 Degobindarification 2020-07-05 15:12:19 +10:00
Chris Esposito 90b966ede7 shows diagram to user 2020-07-05 13:49:06 +10:00
Chris Esposito d8b442f484 Tooltip appears when gobindar detected 2020-07-05 13:08:46 +10:00
Chris Esposito 0723116db0 Gobindar detection 2020-07-05 12:28:14 +10:00
jrwwallis e7c5e4e687
Allow PSU abort from PSU calibration (#115)
* Allow PSU abort from PSU calibration

* Fix indentation
2020-02-19 10:07:26 +11:00
Chris Esposito f6901671f4 Fixed trigger for Multimeter++ 2019-10-11 14:25:52 +11:00
Chris Esposito d04da3748d Triggering works in Double Sample Rate mode 2019-10-11 12:43:22 +11:00
Andrew Neitsch 1c324c1603 Enable smooth zoom (#103)
Correctly interpret trackpad scroll events
2019-10-09 12:34:51 +11:00
Chris Esposito db3d0543c8 hidable widgets on main page 2019-10-01 14:53:41 +10:00
Chris Esposito eec790411c Correct buffers cleared for mode 6 and 7 2019-09-22 00:37:07 +10:00
Chris Esposito 403dacb364 Fixed build 2019-08-24 12:09:27 +10:00
Chris Esposito e29004913c Added missing icon source files 2019-08-24 12:08:30 +10:00
Chris Esposito 132240fcc3 make_deb and make_appimage bail on error 2019-08-24 11:33:25 +10:00
Chris Esposito a4471c6ee6 Hides XY curve upon exiting mode 2019-08-21 20:53:45 +10:00
Chris Esposito 078e27bf70 Removed Windows-unfriendly trigram 2019-07-28 10:09:38 +10:00
Chris Esposito e2639ae67e 60Hz refresh rate on Linux 2019-07-21 07:48:55 +10:00
Chris Esposito 41e7c228aa Warns user if CH2 is disabled 2019-07-13 20:56:21 +10:00
Chris Esposito 44626f0f34 Fixed segfault when enabling DAQ CH2 2019-07-13 20:48:06 +10:00
Chris Esposito a19b5ce3fd Fixed .desktop and .deb 2019-07-13 20:30:07 +10:00