55 Commits
Author SHA1 Message Date
Claudiu Pop 59f7df9176 Don't show the update firmware button until the firmware is downloaded
if the firmware is not downloaded when the user presses the update button the application would show an error and the user would need to replug the m1k.
This change is preventing this to happen

Signed-off-by: Claudiu Pop <Claudiu.Pop@analog.com>
2018-02-06 12:22:09 +02:00
AlexandraTrifan e53e408a81 SMU.cpp: Download firmware file.
Signed-off-by: Alexandra Trifan <Alexandra.Trifan@analog.com>
2018-02-06 10:02:56 +02:00
Claudiu Pop 9d62870da5 Changed firmware update functionality
now it uses libsmu to flash firmware to devices instead of bossa
2017-11-23 12:15:09 +02:00
Claudiu Pop 6b1fa14875 SMU.cpp : refactor write method
Signed-off-by: Claudiu Pop <Claudiu.Pop@analog.com>
2017-09-06 09:44:38 +03:00
Claudiu Pop 4cd0d0e279 Don't restart the session when changing mode while in sweep mode
Signed-off-by: Claudiu Pop <Claudiu.Pop@analog.com>
2017-09-05 10:54:00 +03:00
Claudiu Pop 7f229ecf0f End session after requested samples was read to end the usb transfer thread.(On windows)
Signed-off-by: Claudiu Pop <Claudiu.Pop@analog.com>
2017-07-27 10:24:19 +03:00
Claudiu Pop 7ab96de7d1 SMU,cpp: Fix signal generation when period is negative
Signed-off-by: Claudiu Pop <Claudiu.Pop@analog.com>
2017-07-18 09:57:37 +03:00
Claudiu Pop 7c5883e47c In continuous mode rewrite only the modified buffer 2017-07-14 14:12:19 +03:00
Claudiu Pop 453419fa9d Limit min out signal Frequency 2017-07-14 14:11:58 +03:00
Claudiu Pop 536a21eeba Fix update signal when changing parameters in continuous mode 2017-07-14 14:10:19 +03:00
Claudiu Pop 08da6d2108 Restart session when switching between continuous and sweep mode
Signed-off-by: Claudiu Pop <Claudiu.Pop@analog.com>
2017-07-14 13:45:39 +03:00
Dan Nechita 28c1097ec2 Change old libsmu with rework libsmu 2017-05-31 15:43:00 +03:00
Alexandra Trifan 9688b6bba4 Fix measurements in continuous mode.
Signed-off-by: Alexandra Trifan <Alexandra.Trifan@analog.com>
2016-10-20 15:04:19 +03:00
Dan bbf719ee37 SMU.cpp: Fix data type not being registered as meta type 2016-08-08 13:46:41 +03:00
Dan 5dad64bf3c SMU: Remove data type no longer available in Libsmu
Signed-off-by: Dan <Dan.Nechita@analog.com>
2016-08-08 13:27:45 +03:00
Alexandra Trifan 313ee62284 RMS and average enhancement.
The RMS value that is now displayed is the AC RMS value so the label is changed
accordingly and the average is also displayed now.

Signed-off-by: Alexandra Trifan <Alexandra.Trifan@analog.com>
2016-07-26 19:22:53 +03:00
AlexandraTrifan 28adda26c2 Add waveform measurement.
Peak-to-peak and RMS are displayed when voltage is being measured.

Signed-off-by: AlexandraTrifan <Alexandra.Trifan@analog.com>
2016-06-14 15:44:58 +03:00
Dan Nechita bec8b45b79 Adjust include paths to match the new libsmu changes
Signed-off-by: Dan Nechita <Dan.Nechita@analog.com>
2016-04-19 11:48:55 +03:00
Dan Nechita d123359da4 Fix deployment on MAC OS
Signed-off-by: Dan Nechita <dan.nechita@analog.com>
2015-12-02 18:50:50 +02:00
Dan Nechita 9b393d3ba0 Add methods to get the latest M1K firmware version and to download it
- use javascript to get the latest M1K firmware version
- use QNetworkAccessManager to get the M1K firmware .bin file

Signed-off-by: Dan Nechita <Dan.Nechita@analog.com>
2015-11-23 15:31:25 +02:00
Kevin Mehall 0d9b619929 Update displayed measurements periodically in continuous mode 2015-05-01 11:27:39 -07:00
Kevin Mehall bec026b04a Meet FloatBuffer's assumptions for sweep mode after switching from continuous
Fixes #69
2015-04-29 16:13:15 -07:00
Kevin Mehall 893fbfde62 Fix flicker on right-hand side of sample period.
Deal with rounded-up sample counts from libsmu.
2015-04-29 10:58:24 -07:00
Ian Daniher 5dd522d9f5 callFinishedOnDetached 2015-04-16 11:31:19 -04:00
Ian Daniher a45b520006 call destroy_available at the end of onDetached handler 2015-04-16 10:53:54 -04:00
Ian Daniher bcad220615 comment SMU.h & SMU.cpp 2015-04-16 10:42:24 -04:00
Ian Daniher 7a83e38722 do cancel/wait on app thread 2015-04-15 14:27:35 -04:00
Dan Nechita 3fac483171 Fix C++ compile warnings
Fixes:
 - unused variables
 - comparison between different data types
 - the order of members initializers for a contructor

Signed-off-by: Dan Nechita <Dan.Nechita@analog.com>
2015-03-09 15:52:38 +02:00
Ian Daniher 2a78f316e8 Merge branch 'stairstep' 2015-03-04 00:46:12 -05:00
ezra e5ac2582f3 4 space tabs 2015-02-24 12:26:34 -05:00
Ian Daniher ee36d108d3 add naive impelementation of stairstep signal source for curve tracing 2015-02-21 16:39:13 -05:00
Ian Daniher 39748842e2 fix janky implementation - only remove detached device, wait for transfer completion / cancellation, drop debug prints 2015-02-03 11:11:17 -05:00
Ian Daniher 7259fd4011 better error handling 2015-02-02 12:20:07 -05:00
Ian Daniher 29e8a8db38 mass push to hotplug drefactor branch 2015-02-01 11:35:44 -05:00
Kevin Mehall 4ae64d1d1f Update sources as they change in continuous mode 2015-01-27 11:49:08 -08:00
Kevin Mehall 3cc073dcb9 Associate a status with the finished event 2015-01-27 11:48:11 -08:00
Kevin Mehall 5f8085221b Fix FloatBuffer for continuous mode 2015-01-26 12:00:45 -08:00
Kevin Mehall 5d5a0f8648 Continuous mode enable and buffering 2015-01-26 11:59:43 -08:00
Ian Daniher 83d49229cf improve hotplug 2015-01-21 10:08:18 -05:00
Ian Daniher c767f28cf5 merge hotplug support 2015-01-20 14:07:12 -05:00
Ian Daniher f292ddcab3 add drag for duty cycle adjust, sawtooth period adjust, revert 0.5 duty cycle hack 2014-12-01 11:56:07 -05:00
Kevin Mehall 9bf933c2e0 Fix Qt update notification and use-after-free in device cleanup. 2014-11-26 09:40:29 -08:00
Kevin Mehall 6ffb0dcfca Stop and close devices before exiting 2014-11-16 19:22:48 -08:00
Kevin Mehall 7fef4b0d87 Show average measurement for input constant signals 2014-11-08 22:12:07 -08:00
Kevin Mehall da54bd4b8f Don't clear samples between sweeps in repeated sweep mode 2014-10-11 16:05:59 -07:00
Kevin Mehall 16d3ff4179 Rename completed -> finished to avoid confusion with Component.onCompleted 2014-09-23 09:52:33 -07:00
Kevin Mehall c7d0d3050e Defer output source updates 2014-09-21 00:11:32 -07:00
Kevin Mehall d549efea73 isInput / isOutput properties 2014-09-20 16:09:51 -07:00
Kevin Mehall c9b2a03278 QObject parent hierarchy 2014-09-20 16:09:01 -07:00
Kevin Mehall 1964f1bfb1 Bindings for output parameters 2014-09-20 15:24:54 -07:00