Commit Graph

69 Commits

Author SHA1 Message Date
Vincenzo Petrolo 2dc723dc9a
feat : starting implementation for frequency spectrum
Signed-off-by: Vincenzo Petrolo <vincenzo@kernel-space.org>
2021-05-08 01:06:44 +02: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
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 db3d0543c8 hidable widgets on main page 2019-10-01 14:53:41 +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 0b007c4b37 XY Mode fixed 2019-06-30 13:02:55 +10:00
Chris Esposito 40bed49c25 Hex display on serial decoder 2019-06-23 13:45:54 +10:00
Chris Esposito 398f8252bf Better UI on 1366x768 displays 2019-06-23 13:45:54 +10:00
Chris Esposito 3245f1b242 Slightly wider UI by default 2019-06-23 13:45:54 +10:00
Sebastián Mestre b0e1d1eaf4 Isodriver refactor - part 1 (#81)
* isodriver.h: reflow comments, one declaration/line

* move delay to a struct that handles display settings

* Make changes related to isoDriver::window

 - move isoDriver::window to display struct
 - remove isoDriver::windowAtPause
 - remove isoDriver::setWindow
 - call isoDriver::timeWindowUpdated signal where deemed necessary

* Make changes related to isoDriver display settings

 - move x0, y0, x1, and y1 from isoDriver to DisplayControl
 - Replace some ternaries with std::max and std::min
 - Add some comments

* Move topRange and botRange from isoDriver into DisplayControl

* Move most of isoDriver::setVoltageRange into DisplayControl
2019-05-12 09:58:10 +10:00
Chris Esposito 3aa577aef8 Better laid out UI 2019-04-25 20:19:14 +10:00
Chris Esposito f13b720e22 DO_QUOTE macro 2019-04-01 21:35:58 +11:00
Chris Esposito 5cc7c9425d Standard QSettings fixes Windows calibration issue 2019-04-01 20:00:43 +11:00
Chris Esposito aff7f91b7d help/about updated for continuous release 2019-04-01 19:53:19 +11:00
Sebastián Mestre e6f0e24a28 'Functiongencontrol refactor - part 3 (#74)
* move ChannelID to outside of functionGenControl

* move ChannelData out of functionGenControl

* make the genericUsbDriver fGenPtrs into an array

* Make genericUsbDriver store pointers to ChannelData instead of to functionGenControl

* split genericUsbDriver::setFunctionGen into two parts. Stop reassigning the fGen pointers

* Big functionGenControl refactor

- Create functionGen namespace
- Rename functionGenControl to DualChannelController
- Create a SingleChannelController class that holds all the
functionality of a single channel (i.e. almost all of it).
This class acts as a Qt wrapper over the actual data, it
gives it the ability to emit and recieve signals while
keeping the actual data copiable.
- Add an alias functionGenControl = DualChannelController
2019-03-26 10:12:08 +11:00
Sebastián Mestre c149063452 Functiongencontrol refactor - part 2 (#69)
* use an enum instead of int to identify function generator channels

* Use local 8 bit encoding instead of utf8 for file paths

* use static_cast instead of function-style casts

* remove length member from channelData struct. use reference captures on some lambdas
2019-03-07 19:58:52 +11:00
Chris Esposito 1479d95f97 frontend for offset and attenuation: 2019-02-17 19:08:50 +11:00
Chris Esposito 17277fece6 Fixed multimeter LCD display rendering issue 2019-02-17 18:52:42 +11:00
Chris Esposito b78a65174f Added attenuation and offset to backend 2019-02-17 16:39:11 +11:00
Chris Esposito b0ac0cc645 Added Documentation and Pinout links 2019-01-28 11:34:04 +11:00
Sebastián Mestre 015d41624d Isobuffer refactor (#64)
* make isobuffer.cpp follow the common bracket style

* Add a few utility functions to isoBuffer, and reorganize and comment isobuffer.h

* refactor a few functions in isoBuffer using the newly added functions

* Clean up isoBuffer::readBuffer. Requires particular attention during review

* remove unused variable isoBuffer::firstTime

* Fix formatting and add a comment to isoBuffer::maybeOutputSampleToFile

* move invariant out of loop in isoBuffer::writeBuffer_short

* Substantially refactor isoBuffer::readBuffer

* change spaces to tabs on isoBuffer.h

* spaces to tabs on isobuffer.cpp and isobuffer.h, but properly

* Enforce const correctness on some methods of isoBuffer

* Add some comments to isobuffer.cpp

* Remove duplication in isoBuffer::cap_xnfromxxx functions by extracting common functionality to a free function

* Format isobuffer.h and isobuffer.cpp

* add inserted count to isoBuffer

* further modification to isoBuffer::readBuffer

* Correct a comment in isoBuffer::readBuffer

* add an anonymous namespace with file-wide constants

* remove isoBuffer::openFile, and move initialization isoBuffer to initializer list

* add lines between if statements in isoBuffer::insertIntoBuffer

* add spaces after // to some comments

* extract common functionality from writeBuffer_xxx functions to function template

* update header file to reflect previous commits

* make isoBuffer::return nullptr in a troublesome case

* add space after // to some other comments

* Make capSample a member function of isoBuffer, delete a macro in isobuffer.cpp

* clean up various comments and declarations in isobuffer.cpp

* make isoBuffer::gainBuffer work for any gain value

* make enableFileIO use the constant definitions made in a recent commit

* Remove type argument from isoBuffer::serialManage

* make isoBuffer::readBuffer return a zero-filled buffer instead of null

* Remove isoBuffer::glitchInsert

* Add a bunch of TODOs to isobuffer.cpp and isobuffer.h

* Rename member variables of isoBuffer to have an m_ prefix

* Move isoBuffer::capSample comparison functors to anonymous namespace

* Make CONSOLE_UPDATE_TIMER_PERIOD on isobuffer.h a constexpr intead of a macro
2019-01-23 16:13:40 +11:00
Chris Esposito 2b5ce2ecc4 Supports odd and even parity 2018-12-11 20:25:14 +11:00
Chris Esposito 1d9f2398bb Nicer looking textEdits 2018-11-06 11:50:26 +11:00
Chris Esposito 7a2f8cf35a Added option to hide graphs when paused 2018-09-05 08:26:21 +10:00
Chris Esposito 1a3fd72041 Can put scope range dialog on main window 2018-09-04 20:24:08 +10:00
Chris Esposito c96dd98c0f Added start of UI elements for I2C 2018-09-03 06:11:53 +10:00
EspoTek 2c2db8855b Fixed resolution scaling issues. (See Issue #46) 2018-08-12 16:28:14 +10:00
EspoTek 655258e98d Merge branch 'master' of https://github.com/EspoTek/Labrador 2018-08-12 16:18:33 +10:00
Chris Esposito 2d1bd5f438 resolution hard-coded 2018-08-07 22:11:12 +10:00
Chris Esposito ddf60d5c63 Low resolution mode only activated on low resolution displays 2018-08-08 03:10:47 +10:00
Chris Esposito b55ec2b0aa Fixed rendering issues on low-resolution displays 2018-08-08 02:52:56 +10:00
EspoTek c5495ca806 On-boot calibration calls PSU calibration too 2018-06-04 19:18:26 +10:00
EspoTek b9f37da420 Added PSU Calibration 2018-06-04 19:07:21 +10:00
Chris Esposito bb55118192 Android code fixed and Librador in place. 2018-05-19 15:23:22 +10:00
Chris Esposito f6ee6f0844 Added new function to firmware, to kickstart isochronous stream. 2018-04-02 16:21:54 +10:00
Chris Esposito a846895e53 Shared Lib can handle basic avrDebug() call over USB. 2018-03-29 13:29:36 +11:00
Chris Esposito eaaa4691bd Added demo skeleton for librador 2018-03-28 14:23:34 +11:00
Chris Esposito c026f07103
Quick edit 3/4 2018-02-18 13:20:09 +11:00
Chris Esposito 0d66cb870b QThread exits properly, preventing occasional crash on USB disconnect 2018-02-17 14:50:14 +11:00
Chris Esposito 704cb19b2c Fixed builds on desktop. Added "file->quit" button 2018-02-11 11:34:39 +11:00
Chris Esposito e4a458adc9 Android Interface improved for higher-DPI devices. 2018-02-11 11:21:19 +11:00
Chris Esposito 370857eff4 You can actually leave DAQ playback. Numbers on PSU slider no longer cut off. 2017-12-28 16:16:42 +11:00
Chris Esposito 025df96ea6 DAQ Playback tested and working 2017-12-28 13:23:33 +11:00