Commit Graph

20 Commits

Author SHA1 Message Date
Chris Esposito 8aaaac42cb
Waveform generation clock settings #255 2023-11-01 13:22:49 +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 1b45b0d112
Whitespace cleanup (#192)
* Fix whitespace at EOL and EOF; replace tabs

* Normalize line endings
2021-11-08 10:44:12 +11: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 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
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
Sebastián Mestre a144105b23 Functiongencontrol refactor (#68)
* Add struct definition for functionGenControl channel data

* Add member variables for channel data to functionGenControl, deprecate old variables

* fix a typo

* Transition to new functionGenControl cahnnel data variables. Remove old ones.

* refactor genericUsbDriver::setFunctionGen to use the new ChannelData struct.

* functionGenControl: free(NULL) is safe

* Eliminate duplication of functionGenControl::waveformName_CH* fuctions by putting common things into a private template function

* get rid of comments added during refactor

* Move function gen channel data to use std::vector. algorithmify some code on genericUsbDriver::setFunctionGen

* various formatting changes, remove irrelevant comments

* functionGenControl::waveformName: always use utf8 and 16 byte buffers. Remove template

* fix typo introduced by last-second indentation change

* genericUsbDrive::setFunctionGen: shrink samples to fit

* functionGenControl::waveformName: clean up file path manipulation, clean up formatting

* change the two channel objects to an array of two elements. Add common implementations for all methods of functionGenControl. Fix a massive bug introduced earlier in the refactor. Formatting.
2019-03-04 20:02:18 +11:00
Chris Esposito 39d1bff5ab Fixed segfault; now displays message about iso failure too 2018-09-11 08:46:15 +10:00
EspoTek b9f37da420 Added PSU Calibration 2018-06-04 19:07:21 +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 22224bfd6f AVRdebug() added; control transfers can cope with IN buffers 2018-01-11 18:11:28 +11:00
Chris Esposito d5dad1f13f DAQ Settings in. 2017-12-27 12:44:49 +11:00
Chris Esposito 9f9e4e48c6 Prompts user to calibrate on launch (if uncalibrated) 2017-12-24 11:35:42 +11:00
EspoTek 96cb814e8e Firmware flashing more robust on Windows. Can't fail due to having too short a wait. Mac/Linux/Android not improved!! 2017-12-01 17:03:13 +11:00
EspoTek ca2406b2db Cleaned junk out of repo.
Still need to edit history


Former-commit-id: e2061432d4b3d2bbb1f9621f3cce34d43b682b2a
Former-commit-id: aeeed8aa2af692f92b7ea7ec8cc042d49c679ce5
2017-10-21 16:11:49 +11:00