Commit graph

722 commits

Author SHA1 Message Date
Jan Käberich 0e0173f62a switched to new calibration implementation 2022-08-29 20:07:07 +02:00
Jan Käberich dced8105f2 WIP: general SOLT calculations + EIGEN library 2022-08-28 22:06:16 +02:00
Jan Käberich 5c1180e443 WIP: calibration measurement GUI widgets 2022-08-28 13:49:53 +02:00
Jan Käberich 6e38aaddb8 WIP: flexible calibration measurements 2022-08-27 15:28:45 +02:00
Jan Käberich b442736cb5 Save/load new calkit format 2022-08-26 19:25:24 +02:00
Jan Käberich 623aa2b29a Calkit with flexible number of standards 2022-08-26 00:46:53 +02:00
Jan Käberich 1c607d2c42 Preparations for new calkit format: individual cal standards 2022-08-25 16:59:11 +02:00
Jan Käberich 0ca87ec867 Fix trace parsing of old setup files 2022-08-23 12:20:07 +02:00
Jan Käberich 2b591aa362 Handle more than two ports in SCPI and SA/SG GUI 2022-08-23 00:37:25 +02:00
Jan Käberich 4107c6ca73 Merge branch 'master' into compoundDevice 2022-08-21 22:51:56 +02:00
Jan Käberich 0281f13ba6 Fix circle/line intersection 2022-08-21 22:51:48 +02:00
Jan Käberich c05d248f83 interrupt safe USB send function 2022-08-21 22:20:59 +02:00
Jan Käberich 5137457545 Merge branch 'master' into compoundDevice 2022-08-21 17:41:23 +02:00
Jan Käberich 71239842f6 Frequency range override for smith/polar chart 2022-08-21 17:38:46 +02:00
Jan Käberich 33726a815a Merge branch 'master' of github.com:jankae/LibreVNA 2022-08-21 13:03:19 +02:00
Jan Käberich 75ebed2b5d partial line drawing for smith/polar charts 2022-08-21 13:02:29 +02:00
Kiara Navarro 0f22bd1287
widgets/charts: implement base polar chart class 2022-08-10 17:49:26 -05:00
jankae adc873e776
Merge pull request #145 from sophiekovalevsky/minimize-tile-full-screen
tile: minimize full screen when adding new tile if its enabled
2022-08-09 14:03:50 +02:00
Jan Käberich 73e26a25c4 WIP: synchronization 2022-08-08 18:08:40 +02:00
Jan Käberich 7b3aa6e158 WIP: synchronization 2022-08-07 13:28:31 +02:00
Kiara Navarro 4d818db64c
tile: minimize full screen if its enabled when adding new graph 2022-08-06 20:13:59 -05:00
Jan Käberich 58918f81c1 WIP: device synchronization 2022-08-07 03:01:22 +02:00
Kiara Navarro 5b26a4a9c1
widgets/charts: implement polar diagram 2022-08-06 16:54:29 -05:00
Jan Käberich 047f6ce981 more flexible USB protocol for VNA settings/measurements 2022-08-06 16:22:12 +02:00
Jan Käberich 74e6a439af Compound device edit dialog 2022-08-05 18:29:31 +02:00
Jan Käberich 90ac9c57e1 basic working wrapper 2022-08-05 12:20:41 +02:00
Jan Käberich a530cea085 wrapper work 2022-08-04 20:12:15 +02:00
Jan Käberich f0a40417e4 Partial virtual device wrapper 2022-08-04 17:31:24 +02:00
Jan Käberich 6a27d39444 update contextmenu after editing smith chart settings 2022-07-28 15:51:18 +02:00
Jan Käberich 787f0d0223 Merge branch 'master' of github.com:jankae/LibreVNA 2022-07-17 16:01:54 +02:00
Jan Käberich d516d1ae41 Minor pull-request adjustments
- Restore active mode after amplitude calibration
- Keep order of modes as before (must users are probably used to that order by now)
- Use correct parent for name popup when creating new modes
2022-07-17 15:39:13 +02:00
Jan Käberich 2a4850caf6 Merge branch 'mode-handler' 2022-07-17 15:33:00 +02:00
jankae 32164dda87
Merge pull request #139 from sophiekovalevsky/refactor-device-list
app: refactor enable connect to
2022-07-17 15:15:35 +02:00
Kiara Navarro 8ea6345e9f
app: refactor enable connect to
Instead of enabling multiple times "connect to" by iterating
over device list, let's use a flag that determine when at
least one device was found. In that way, the enabling method
is executed once.
2022-07-16 17:52:49 -05:00
Kiara Navarro fd5d21db0f
mode: convert averaging mode as a method used in all modes 2022-07-14 08:51:45 -05:00
Kiara Navarro 6bd80c5944
mode: remove mode handler dependency in child modes 2022-07-14 08:25:33 -05:00
jankae 104cdaf268
Merge pull request #135 from nbgsmk/import_limit_lines
Import/export limit lines for reuse
2022-07-13 10:27:42 +02:00
Kiara Navarro 2f34998904
app: implement setup menu
Offload app window initialization by moving
all menu related logic into another place.
2022-07-12 18:51:11 -05:00
Kiara Navarro 2fbe6e84be
mode: move responsabilities from mode to modehandler
- Pass the following responsabilities from mode to mode handler:
   - active / deactive target mode
   - get active mode
   - create new modes

- Move back setting averaging mode when settings are
updated using getModes() method instead of handling
logic in mode handler.
2022-07-11 19:33:28 -05:00
Zoran Kostic 5fe2d1e497 Import/export limit lines from Axis setup dialog 2022-07-12 01:01:09 +02:00
Jan Käberich b420dc3019 Update math on static traces 2022-07-12 00:12:52 +02:00
Jan Käberich 17454ebba2 Math traces bugfixes + comments 2022-07-11 23:53:24 +02:00
Jan Käberich cf31fd7908 Basic working support for math operations between traces 2022-07-11 21:37:06 +02:00
Kiara Navarro f56e32488e
app: activate mode from scpi
Fix missing activation of gui mode components
2022-07-10 10:45:56 -05:00
Jan Käberich 97fceb4ff4 reset preferences command line option 2022-07-10 15:30:42 +02:00
Zoran Kostic c5973fb0ea Marker tooltips 2022-07-10 14:24:03 +02:00
Jan Käberich e36783bc9f Show traces in alphabetical order in plot context menus 2022-07-10 12:41:41 +02:00
Kiara Navarro 0b7c3d5416
mode: do not re activate current tab when is moved 2022-07-09 18:55:12 -05:00
Jan Käberich a6df8c8c8b case-insensitive touchstone file ending 2022-07-09 22:20:43 +02:00
Jan Käberich 3af9b735ba Fix detection of reflection/transmission measurement for touchstone files with more than two ports 2022-07-09 21:58:02 +02:00
Kiara Navarro 287ee3757f
mode: refactor next selected mode when a tab is closed 2022-07-09 12:54:38 -05:00
Kiara Navarro 77e0d156d0
mode: set tabs moveable 2022-07-09 12:54:38 -05:00
Kiara Navarro cb9b03e418
app/mode: place tabs in menu corner
Signed-off-by: Kiara Navarro <sophiekovalevsky@fedoraproject.org>
2022-07-09 12:54:38 -05:00
Kiara Navarro 7a0e6da706
mode/app: decouple mode creation from gui components
Signed-off-by: Kiara Navarro <sophiekovalevsky@fedoraproject.org>
2022-07-09 12:54:34 -05:00
Jan Käberich 2e055bb55d Save version info in setup files (ignored on load) 2022-07-09 16:49:43 +02:00
Jan Käberich b4abca85c1 Prevent crash on setup parsing file error + activate first mode if none specified 2022-07-09 16:32:29 +02:00
jankae c21f51bf46
Merge pull request #126 from sophiekovalevsky/mode-tabs-movable
mode: set tabs movable
2022-07-09 15:51:13 +02:00
jankae f333162663
Merge pull request #125 from sophiekovalevsky/device-init-disconnect-in-active-mode
app: fix init and disconnect device in active mode
2022-07-09 15:48:22 +02:00
jankae ef000d276c
Merge pull request #124 from sophiekovalevsky/prevent-update-preferences
app: prevent update preferences in none active and destroyed modes
2022-07-09 15:46:19 +02:00
Jan Käberich d57970d3ed Use combobox for delta marker selection 2022-07-09 15:39:25 +02:00
Jan Käberich 17882c9d51 Sort markers on graph display 2022-07-09 15:02:36 +02:00
Jan Käberich f73a1e93d0 Hide/show helper markers when changing visibility 2022-07-09 14:35:03 +02:00
Jan Käberich 29544066bb Visibility setting for markers 2022-07-09 14:31:41 +02:00
Jan Käberich 80eaf5bce7 Split tile while keeping existing plot 2022-07-09 13:39:31 +02:00
Kiara Navarro 2ac2606bad
mode: set tabs movable 2022-07-05 18:49:30 -05:00
Kiara Navarro f1089303ea
app: fix init and disconnect device in active mode 2022-07-04 08:44:10 -05:00
Kiara Navarro c8b591a4a1
app: update preferences in all existing modes when applies 2022-07-04 08:23:28 -05:00
Kiara Navarro d530b2a213
app: prevent update preferences in none active and destroyed modes 2022-07-03 16:51:15 -05:00
Kiara Navarro d392229c4d
scpi/app: unify result name
When returning scpi values, there are common options
that are shared between different commands. This
change introduce a way to define those values in a
single place.

Signed-off-by: Kiara Navarro <sophiekovalevsky@fedoraproject.org>
2022-07-02 08:51:30 -05:00
Jan Käberich 506502ce02 Fix statusbar mode update connection 2022-06-27 19:58:30 +02:00
Jan Käberich afdb126d4d Version number increase + Changelog 2022-06-26 23:16:55 +02:00
Jan Käberich 8492b38936 Zerospan mode for spectrum analyzer mode 2022-06-26 22:53:12 +02:00
Jan Käberich 6adac7ebb4 resize zero span button 2022-06-26 19:32:51 +02:00
jankae c48ba999e5
Merge pull request #119 from sophiekovalevsky/refactor-reference
gui: set/get reference type and output regardless combobox index
2022-06-25 18:27:56 +02:00
Kiara Navarro 423585845e
vna/mode/app/sa: refactor plot update colors 2022-06-23 21:46:12 -05:00
Jan Käberich 794f55f1fb Merge branch 'master' of github.com:jankae/LibreVNA 2022-06-23 17:52:34 +02:00
jankae 7079586aa2
Merge pull request #120 from sophiekovalevsky/move-message-pattern
main/app: move message pattern to main
2022-06-23 00:58:17 +02:00
Jan Käberich 36f826f7a6 Set precision based on trace data domain 2022-06-23 00:02:36 +02:00
Jan Käberich edec4d9ec5 handle zero span data throughout the application 2022-06-22 23:50:21 +02:00
Jan Käberich 7151fffcdb Zero span improvements 2022-06-22 23:00:09 +02:00
Kiara Navarro 401a140449
main/app: move message pattern to main 2022-06-20 17:35:38 -05:00
Kiara Navarro e0143e9caf
gui: set/get reference type and output regardless combobox index 2022-06-19 18:19:46 -05:00
Jan Käberich 6393ae7fc3 WIP: preparation for zero span mode 2022-06-20 01:02:09 +02:00
Jan Käberich e8560e1a67 Start about dialog with information tab active 2022-06-19 12:06:09 +02:00
jankae aec12f7b0b
Merge pull request #116 from sophiekovalevsky/clipboard
about: add to clipboard
2022-06-19 11:53:54 +02:00
Kiara Navarro d191988d1c
about: add to clipboard
Signed-off-by: Kiara Navarro <sophiekovalevsky@fedoraproject.org>
2022-06-18 11:06:17 -05:00
Kiara Navarro 041a0c1633
traceplot: update trace color in plots
Fixes #114

Signed-off-by: Kiara Navarro <sophiekovalevsky@fedoraproject.org>
2022-06-18 08:53:58 -05:00
Jan Käberich d701ed64d7 Fix SCPI output of frequency values 2022-06-12 21:15:37 +02:00
Jan Käberich fa3a74df94 remove cast (overflow caused issues with TG offset limits 2022-06-07 14:13:43 +02:00
Jan Käberich c248bba1ed Merge branch 'master' of github.com:jankae/LibreVNA 2022-06-06 21:52:05 +02:00
Jan Käberich 18e03d02a4 Improve automatic source/receiver calibration, mitigate effect of limited fractional PLL divider 2022-06-06 21:51:55 +02:00
Kiara Navarro e863d5d3c9
app/main/device: move metatypes to device 2022-05-29 12:43:50 -05:00
jankae 5f0f99cfbf
Merge pull request #105 from sophiekovalevsky/improving-app
gui/main: adjustments
2022-05-28 18:41:33 +02:00
Jan Käberich d84d3e80aa Added single sweep functionality 2022-05-17 20:07:40 +02:00
Kiara Navarro 9434b9d590
gui/main: refactor signal handler 2022-05-13 18:59:35 -05:00
Kiara Navarro 7b09b2fe60
gui/main: remove headers 2022-05-13 18:28:05 -05:00
Jan Käberich 53dcff8745 :fix valgrind issues 2022-04-23 16:31:36 +02:00
Jan Käberich f29f62c3f7 Show limit lines even if start and stop point are out of view 2022-04-22 13:53:12 +02:00
Jan Käberich 27490e1a33 Contant lines/limits on XY-Plot 2022-04-22 13:46:46 +02:00
Jan Käberich cacea26e3f Fix cleanup when deleting mode 2022-04-22 13:04:36 +02:00
Jan Käberich 96f0e82688 Preparations for limit lines on XY-plot 2022-04-22 01:45:19 +02:00
Jan Käberich 775a805948 add scroll area to preferences window 2022-04-21 13:10:28 +02:00
Jan Käberich e50ac5702d Version number increase + changelog 2022-04-20 15:43:37 +02:00
Jan Käberich d7830de8d1 customizable font sizes on graphs 2022-04-20 15:19:58 +02:00
Jan Käberich 2cf4c5a311 CSV export options extended 2022-04-08 21:55:58 +02:00
Jan Käberich ac39caccfb Fix missing initializer + fill changelog 2022-04-05 14:13:33 +02:00
Jan Käberich 4243e64f7f Merge branch 'master' of github.com:jankae/LibreVNA 2022-04-05 14:10:34 +02:00
Jan Käberich c96ac7b794 allow multiple VNA/SG/SA tabs 2022-04-03 23:34:18 +02:00
Jan Käberich c6ef075f4f split device info and status protocol messages 2022-04-03 20:26:30 +02:00
Jan Käberich ea6fdac2a4 Merge branch 'master' of github.com:jankae/LibreVNA 2022-03-28 22:07:20 +02:00
Jan Käberich a9113af357 dBuV for markers, removed 'db/dBm' unit from magnitude 2022-03-28 22:07:09 +02:00
Jan Käberich 4307a392fb Impedance renormalization moved to de-embedding 2022-03-17 18:24:18 +01:00
Jan Käberich d08388f903 Fix warning and valgrind issues 2022-03-17 12:53:13 +01:00
Jan Käberich 1a779531ea Alignment options for waterfall plot 2022-03-16 23:56:44 +01:00
Jan Käberich bd69646c32 Prevent class/instance name clash 2022-03-16 15:02:15 +01:00
Jan Käberich 5897705f32 Waterfall display 2022-03-16 14:45:59 +01:00
Jan Käberich a7fcaf7d97 Preparations for waterfall display 2022-03-15 16:59:52 +01:00
Jan Käberich 754ded1d08 dBuV axis option for spectrum analyzer 2022-03-15 15:52:57 +01:00
Jan Käberich cece0080ed Selectable reference impedance 2022-03-15 15:26:02 +01:00
Jan Käberich d526270fd2 Linear magnitude option 2022-03-13 23:00:06 +01:00
Jan Käberich 602289d9cb Fix averaging with segmented sweep 2022-03-08 16:59:54 +01:00
Jan Käberich 16e001a64d Ignore incoming datapoints while changing settings 2022-03-07 22:51:56 +01:00
Jan Käberich ffedd3028c allow segmented sweeps for more points 2022-03-06 23:01:11 +01:00
Jan Käberich c9ffdcd52b attempt to fix --no-gui option for windows 2022-03-03 12:28:59 +01:00
Jan Käberich 6e07be0af5 options to load calibration/setup files via command line 2022-03-01 12:31:38 +01:00
Jan Käberich 855d67d028 selectable calkit load model 2022-03-01 12:14:44 +01:00
Jan Käberich 55421d60aa Move statusbar update slot to correct thread 2022-02-22 19:10:22 +01:00
Jan Käberich 670dff15c6 Use different prefixes depending on the axis type 2022-02-04 12:47:07 +01:00
Jan Käberich 2265b8f6c0 Add reference settings to setup file 2022-02-04 12:32:19 +01:00
Jan Käberich 9e614a23f8 Fix: load SA stop frequency from setup file 2022-02-03 12:07:04 +01:00
Jan Käberich 7ceaee1050 Add missing units for XAxisTypes 2022-01-30 20:35:13 +01:00
Jan Käberich cb5f472c47 improve autostart from setup file 2022-01-30 18:09:47 +01:00
Jan Käberich 0c782fc009 restrict SA graph options, show dBm instead dB 2022-01-30 17:40:46 +01:00
Jan Käberich b2ed124240 Add setup file as default startup configuration 2022-01-29 23:31:58 +01:00
Jan Käberich 3afbf42791 Fix: prevent crash when closing preferences without connected device 2022-01-29 15:10:38 +01:00
Jan Käberich 392b06f0eb Show setup/calibration info in statusbar 2022-01-21 22:33:58 +01:00
Jan Käberich fa481e2062 Save/open preferences 2022-01-15 17:00:57 +01:00
Jan Käberich 5d8efd4336 user selectable IF frequencies 2022-01-15 16:11:33 +01:00
Jan Käberich d5f2f7019e Separate Z0/resistance entries for load in calibration kit 2022-01-14 11:24:41 +01:00
Jan Käberich dc5cb73b3f Bugfix: time gate filter size, improve dialog shutdown 2022-01-13 19:34:57 +01:00
Jan Käberich 4d959598b5 Additional YAxisType: Unwrapped phase 2022-01-09 15:41:40 +01:00
Jan Käberich 4ba02a810f Fix: initialize logSweep at startup 2022-01-08 00:49:00 +01:00
Jan Käberich cd106b3040 Customizable constant lines in smith chart 2022-01-08 00:46:17 +01:00
Jan Käberich 483618befb initialize calWaitFirst 2022-01-07 17:54:26 +01:00
Jan Käberich 2f7449ed21 Optionally interpolate markers 2022-01-07 12:37:47 +01:00
Jan Käberich 367451dc04 prevent crash on invalid log scale settings 2022-01-05 22:12:24 +01:00
Jan Käberich 6fd2598ae8 Log option for frequency sweep 2022-01-05 16:01:51 +01:00
Jan Käberich 0379040a05 Log option for X axis in XY plot (frequency axis only) 2022-01-05 14:59:25 +01:00
Jan Käberich dd8f0c4fa9 attempt to connect at startup with empty devicelist (triggers udev info msg) 2022-01-05 12:13:57 +01:00
Jan Käberich 1194894a12 Merge branch 'master' of github.com:jankae/LibreVNA 2022-01-05 11:43:05 +01:00
Jan Käberich 13f210321d Invalidate touchstone cache when updating calkit to prevent crash 2022-01-05 11:42:53 +01:00
Jan Käberich 6aa1157992 Use default impedance for load standard transmission line 2022-01-02 21:48:26 +01:00
Jan Käberich 069f68a5d0 additional "apply" button in calkit dialog 2022-01-01 20:11:03 +01:00
Jan Käberich 2c8df0eb83 zoomable smith chart 2022-01-01 20:04:43 +01:00
Jan Käberich 8e47d14192 Move DFT/TDR calculation into dedicated thread, limit update rate 2021-12-30 15:23:07 +01:00
Jan Käberich fd786c4176 Constrain marker X position to trace data points 2021-12-27 16:23:11 +01:00
Jan Käberich 85c1c24294 Show units on XY-Plots (optional) 2021-12-27 16:13:03 +01:00
Jan Käberich 12818d9f7f Improve touchstone/csv file extensions when saving file 2021-12-14 16:41:33 +01:00
Jan Käberich c5cbfddbfe Merge branch 'master' of https://www.github.com/jankae/VNA2 2021-12-13 16:06:03 +01:00
Jan Käberich 399ef3fd5e Fix 32 bit overflow in SCPI commands 2021-12-13 16:05:45 +01:00
Jan Käberich 0d6dac4969 group delay option for Y axis 2021-12-10 23:36:28 +01:00
Jan Käberich 75f4ee245f Fix valgrind issues 2021-12-10 20:46:04 +01:00
Jan Käberich 1c6a1ab6fd Version number increased, added changelog 2021-12-05 19:53:14 +01:00
Jan Käberich 2ea668a715 Fix: prevent crash when deleting marker whose group was already deleted 2021-12-05 19:35:34 +01:00
Jan Käberich 8246e80d69 shortcut for creating linked markers for all traces 2021-12-05 19:28:36 +01:00
Jan Käberich b2d3c407fc allow deletion of multiple measurements at once 2021-12-05 18:30:08 +01:00
Jan Käberich aba0650d25 Add preference option for trace line width 2021-12-05 18:26:32 +01:00
Jan Käberich 45cf2200b8 Show gender of required standard in additional column 2021-12-04 21:16:45 +01:00
Jan Käberich ecf994cf4a option for zero-length through 2021-12-02 22:41:51 +01:00
Jan Käberich 0908cd7fbd Merge branch 'mf_calkit' 2021-12-01 23:29:30 +01:00
Jan Käberich 93ad894de6 use json for calibration file format, allow male/female standard selection 2021-12-01 23:21:13 +01:00
Jan Käberich dced1732d6 median option for averaging 2021-12-01 22:11:50 +01:00
Jan Käberich 55ac50ee84 allow different paramaters for male/female standards 2021-11-27 23:32:41 +01:00
Jan Käberich 82891ac766 Merge branch 'master' of github.com:jankae/LibreVNA 2021-11-27 19:12:01 +01:00
Jan Käberich 8269fdfa57 de-embed touchstone-defined through 2021-11-27 19:11:45 +01:00
Kiara Navarro 1a7de82cf7
theme: include logo in svg 2021-11-19 21:47:39 -03:00
Jan Käberich 7cd0b1e0fd omit invisible traces for Y axis autoscale calculation 2021-11-13 20:07:49 +01:00
Jan Käberich 1bf0e45f7c Prevent crash when attempting to move marker on empty trace 2021-11-13 19:48:03 +01:00
jankae e3ce765e64
Merge pull request #66 from sophiekovalevsky/xyplot-markers
gui/plotxy: fix hidden description in filter markers related
2021-11-13 19:36:14 +01:00
Jan Käberich b3cc97c0c9 Merge branch 'master' of github.com:jankae/LibreVNA 2021-11-13 19:27:47 +01:00
Jan Käberich f688aaa220 Additional debug output for point numbers 2021-11-13 19:26:27 +01:00
jankae 2529b20429
Merge pull request #65 from sophiekovalevsky/icon-app
app: add LibreVNA logo and use it as icon launcher
2021-11-13 19:23:16 +01:00
Kiara Navarro 16bde62cbd
gui/plotxy: fix hidden description in filter markers related 2021-11-13 06:42:39 -03:00
Kiara Navarro f3083d7069
app: add LibreVNA logo and use it as icon launcher
Now it's possible to identify LibreVNA with a logo. This logo would be
visible as an icon when app is launched.

A banner containing same logo has been added to README. Also,
a desktop launcher file is created to be used in GNU/Linux environments
enabling in this way the ability to add as favorite.

Closes #57
2021-11-12 09:05:48 -03:00
Jan Käberich 72f2a72445 fix plot drawing in case of autoscale and no trace data 2021-11-11 21:01:52 +01:00
Jan Käberich 8972af3f53 Prevent array access out of bounds 2021-11-01 19:15:22 +01:00
Jan Käberich 1b9feeca1f Fix corner-case calculation of secondary Y axis background coordinates 2021-10-30 20:53:38 +02:00
Jan Käberich 583349e3ec use float instead of int when reading Y axis json 2021-10-30 20:41:07 +02:00
Jan Käberich 57866ec7da Add missing include for Windows/OSX 2021-10-25 21:21:37 +02:00
Jan Käberich 4bead8bcb2 Merge branch 'pull-requests' 2021-10-25 21:09:15 +02:00
Jan Käberich 61a081d3c6 Choose font color based on background color 2021-10-25 20:56:27 +02:00
Jan Käberich 1e1b7e0382 Merge branch 'master' into pull-requests 2021-10-25 20:44:00 +02:00
Jan Käberich a8aebfb216 Fix x ticks display issue, adjust default values 2021-10-25 20:41:58 +02:00
Kiara Navarro fc258e6afb
app: sort header list 2021-10-21 08:31:31 -03:00
Kiara Navarro 39c8a1f3a7
gui/traces: highlight traces and markers name in xyplot
When a trace is added to any plot it will appear as a label
within a rounded colored box. The same applies for any marker
added highlighting only marker number.
2021-10-19 21:59:23 -03:00
Kiara Navarro 6ef0d9e87a
gui/plotxy: implement background ticks
Improve trace readability when is displayed on xy plot.
The user is able to enable this option throughout preferences dialog.
2021-10-19 08:50:11 -03:00
Jan Käberich ea8693566f Merge branch 'smithchart_fix' 2021-10-17 21:08:31 +02:00
Jan Käberich 19f81da857 Merge branch 'master' of https://www.github.com/jankae/VNA2 2021-10-17 20:57:54 +02:00
Jan Käberich 400fb7aa90 Merge branch 'statusbar' 2021-10-17 20:57:32 +02:00
Jan Käberich c1bdc3aa89 use enum class for DeviceStatusBar 2021-10-17 20:57:23 +02:00
Kiara Navarro 6e36d488e9
gui/traces: prevent out of range when marker is added on smith chart
When a marker is added in enabled trace for smith chart and there no
samples received yet, an out of range is produced causing that
application closes. This implementation set closes point when
iterating over samples preventing mentioned behavior.
2021-10-16 10:58:01 -03:00
Kiara Navarro 07e000f01e
gui: implement status bar based upon device state
When device has not been connected for the first time,
status bar doesn't any information.

This implementation tries to encapsulate changes required on
several widgets associated with status bar based upon device state
whether this has been connected or not.
2021-10-14 22:20:09 -03:00
Jan Käberich 09366d73cc SCPI commands for saving/loading calibration files 2021-10-12 21:58:44 +02:00
Jan Käberich e4106fe3a2 Improved error handling when opening files 2021-10-12 20:52:11 +02:00
Jan Käberich 63cb5e4f67 allow reactance only for reflection measurement, rename real/imag 2021-10-12 17:43:36 +02:00
Andrew Rodland 604a51560c Add Reactance Y-axis option (imaginary impedance in ohms) 2021-10-11 21:28:10 -04:00
Jan Käberich d9000903dc Real/imag option for Y axis 2021-10-11 15:22:08 +02:00
Jan Käberich 3f835eea13 configurable Z0 for short/open + additional comment entries 2021-10-10 18:50:14 +02:00
Jan Käberich 3176037c5d Added SCPI command for touchstone file format 2021-09-07 22:49:51 +02:00
Jan Käberich 68dc9842e9 Include mode/sweep/acquisition settings in setup files 2021-09-03 19:01:22 +02:00
Jan Käberich cf22f40630 Allow multiple calibration measurements at once 2021-09-03 13:13:33 +02:00
Jan Käberich dc885e947e Adjust version number 2021-08-22 16:52:28 +02:00
Jan Käberich 6bb22b5e43 Hide power sweep controls on windows/Qt5.12 2021-07-14 21:47:43 +02:00
Jan Käberich 3038dc0f75 Handle traces created from CSV files in trace edit dialog 2021-07-13 19:57:01 +02:00
Jan Käberich fa4e954f73 Handle csv import/export with power traces 2021-07-13 18:40:40 +02:00
Jan Käberich deefe30beb added SCPI commands for power sweep 2021-07-11 18:41:05 +02:00
Jan Käberich 217574e0cb bugfixes power sweep handling 2021-07-10 14:04:05 +02:00
Jan Käberich 6fdbaea55f adjusted custom expressions to handle power sweep data 2021-07-10 13:36:25 +02:00
Jan Käberich dda149f3d5 Add setting for graph behavior when trace no longer supported 2021-07-10 13:12:30 +02:00
Jan Käberich b45645f04e Marker extended for use on power domain traces 2021-07-10 12:16:28 +02:00
Jan Käberich 67489084e9 basic working power sweep 2021-07-09 22:26:44 +02:00
Jan Käberich 6490d6fd14 Prepare GUI for power sweep 2021-07-09 18:42:22 +02:00
jankae 14e2794826
Merge pull request #38 from sophiekovalevsky/full-screen-plots
gui: set individual plot as full screen when double clicked
2021-07-03 22:15:09 +02:00
Kiara Navarro 0b2cd5bdc5
gui: set individual plot as full screen when double clicked
The following commit features to set specific plot as full screen
if double clicked event is triggered while mouse is over that
particular plot.

This becomes handy if you are interested in a particular traces over
that plot and want to inspect it in more detail.
2021-07-03 16:09:28 -03:00
Jan Käberich 747aa07ab6 added missing manual control SCPI commands 2021-07-03 14:32:21 +02:00
Jan Käberich 0c3714d80c SCPI commands for manual control dialog 2021-07-02 21:59:18 +02:00
Jan Käberich 12b2a0d5ca Adjusted link to groups.io 2021-06-30 17:38:55 +02:00
jankae d7ae23bdda
Merge pull request #36 from sophiekovalevsky/update-plots
gui: replot active mode when settings plot are updated
2021-06-29 20:48:44 +02:00
Kiara Navarro ada6a2ce93
gui: fix app window header 2021-06-28 23:58:57 -03:00
Kiara Navarro d6cecf2603
gui: replot active mode when settings plot are updated 2021-06-28 23:47:02 -03:00
jankae b7a7626e3d
Merge pull request #34 from sophiekovalevsky/implement-about
implement about dialog, refactor app version/hash
2021-06-28 21:31:52 +02:00
Jan Käberich 4d1dedd46a Set application name/organization before loading preferences, minor adjustments to about text 2021-06-28 21:21:12 +02:00
jankae a21586c438
Merge pull request #35 from sophiekovalevsky/exit-gracefully
gui: exits gracefully
2021-06-28 21:00:47 +02:00
Kiara Navarro 25caf77c52
gui: exits gracefully 2021-06-27 19:34:42 -03:00
Jan Käberich e27e594435 Calculate additional parameters (R/L/C,...) for markers and traces 2021-06-27 23:40:50 +02:00
Kiara Navarro 99d0066f1e
gui: implement about dialog and unify app version/hash 2021-06-27 13:23:50 -03:00
Jan Käberich a232be3443 Marker improvements: linked marker groups 2021-06-19 15:33:43 +02:00
Jan Käberich cf401fcb01 Additional SCPI commands: checking for end of sweep 2021-06-11 18:53:31 +02:00
Jan Käberich 973862588b Increase patch number 2021-06-08 18:12:00 +02:00
Jan Käberich 7513766c45 Fix parsing of calibration kit dialog entries 2021-06-08 18:02:38 +02:00
Jan Käberich de1fd7d3ba increment version number 2021-06-06 19:20:04 +02:00
Jan Käberich 84ce57e505 clear trace data in SA mode when initializing device 2021-06-05 13:55:04 +02:00
Jan Käberich 41b93daa87 Use SIUnitEdit for all fields in the calibration kit dialog 2021-06-01 19:18:36 +02:00
Jan Käberich 0efd31e8ce Fix visibility of information boxes in certain situations by introducing a blocking option 2021-05-24 12:02:31 +02:00
Jan Käberich 0316091d89 increased version number to 1.1.0 2021-05-22 11:58:50 +02:00
Jan Käberich f1ca961d0e Correctly load window/detector type on startup 2021-05-21 19:52:29 +02:00
Jan Käberich 71699d1bd7 Handle delta markers on graphs 2021-05-14 20:55:54 +02:00
Jan Käberich ba3527d7b6 Add markers by right-clicking a graph 2021-05-14 20:34:23 +02:00
Jan Käberich 93f5eba6a8 Display marker data on graphs if enabled 2021-05-14 16:18:43 +02:00
Jan Käberich ee82237993 Prevent crash by creating contextmenu only once 2021-05-14 15:31:38 +02:00
Jan Käberich 036837a6ae Selectable marker data format, preparation for showing marker data on graphs 2021-05-14 15:05:22 +02:00
Jan Käberich 2d13fdfe5e Improvements to time domain gate handling 2021-05-12 22:55:05 +02:00
Jan Käberich 3d4d3c9468 Catch exception when importing files and display error message 2021-05-12 22:05:50 +02:00
Jan Käberich 938f444c73 TCXO offset calibration 2021-05-01 18:34:53 +02:00
Jan Käberich 4f4b2db549 More user friendly time gate with filter in time domain 2021-04-25 15:46:34 +02:00
Jan Käberich bb18dffb55 Option to duplicate traces, removed debug code 2021-04-23 23:03:15 +02:00
Jan Käberich 5855149d04 Output format of trace data in SA mode changed 2021-04-22 18:06:38 +02:00
Jan Käberich 69f13cface remove columns with empty header 2021-04-22 18:00:10 +02:00
Jan Käberich 3f62ad64ad Additional SCPI command for reading min/max freq/amplitude 2021-04-21 18:27:57 +02:00
Jan Käberich 642995cec4 SIUnitEdit behavior improvement
- ignore mousewheel event when cursor in front of first digit
- keep text if value is changed while editing
2021-04-17 23:22:54 +02:00
Jan Käberich 26dc68fb73 use max harmonic frequency for limiting span when harmonic mixing enabled 2021-04-17 23:22:14 +02:00
Jan Käberich aebe92111b Documentation of SCPI commands 2021-04-15 19:24:11 +02:00
Jan Käberich 438b62e06e SCPI commands for modifying traces 2021-04-13 21:33:51 +02:00
Jan Käberich e66fc0131a Simple screenshot functionality 2021-04-12 20:15:38 +02:00
Jan Käberich 62939ff882 Enforce amplitude cal point limit, SCPI command for reading trace data 2021-04-12 19:48:19 +02:00
Jan Käberich 611b1ef59d Additional SCPI commands + configuration of port in preferences 2021-04-11 12:33:37 +02:00
Jan Käberich a15d02f217 Implementation of some SCPI commands via TCP 2021-04-11 00:10:22 +02:00
Jan Käberich 2bac0bbbe1 Version bumped to 1.0.0 2021-04-10 13:00:35 +02:00
Jan Käberich 8a5f944214 Rename to LibreVNA 2021-04-10 12:10:57 +02:00
Jan Käberich 47b9a7a20d Merge branch 'osx' of https://github.com/ttrftech/VNA2 into librevna-rename 2021-04-10 12:04:12 +02:00
Jan Käberich 28c9fe25b3 Experimental json tree view 2021-04-10 12:04:07 +02:00
Jan Käberich ba62925b67 minor adjustments to Qt layout 2021-04-06 18:31:51 +02:00
erikkaashoek 8865de81b7 Added bound checking 2021-04-06 14:50:40 +02:00
erikkaashoek cfde664b6c Sweep function added 2021-04-06 11:58:48 +02:00
Jan Käberich 631b7e6d40 Bugfix: hide de-embedding menu in generator/SA modes 2021-03-22 21:28:30 +01:00
Jan Käberich 7a4113cd6b Option to apply calibration and de-embedding while/after importing 2021-03-11 21:52:58 +01:00
Jan Käberich f0669ab4c0 additional signal when traces were imported 2021-03-11 18:34:03 +01:00
Jan Käberich 05ca7e6434 Bugfix?: changed sign detection of root calculation 2021-02-23 21:02:04 +01:00
Jan Käberich 23ab9383ee Math edit window consolidated with trace edit window 2021-02-22 21:50:28 +01:00
Jan Käberich f6cc46781e Automatically adjust domain of graph to dropped trace 2021-02-22 13:39:47 +01:00
Jan Käberich c25fd3912b Added missing up/down icon on windows 2021-02-17 16:39:31 +01:00
Jan Käberich b3338eab9d Bugfix impedance corrected 2xthru 2021-02-13 20:20:58 +01:00
Jan Käberich e3f072b307 display error flags in statusbar (overload/unlock/unlevel) 2021-02-11 22:49:47 +01:00
Jan Käberich 7352ad07b5 optional 2xthru impedance correction 2021-02-11 16:59:59 +01:00
TT 8a4055dc91 change Application name to VNA2 2021-02-06 10:19:25 +09:00
TT 55b8edec0c osx patch 2021-02-06 00:41:55 +09:00
Jan Käberich 0f7c397a8a Bugfix 2xthru 2021-01-31 13:18:31 +01:00
Jan Käberich 09d5c53bc7 Additional de-embedding options: 2xthru and matching network 2021-01-29 21:44:44 +01:00
Jan Käberich b7ad595628 Fix muparserX compilation on minGW (UNICODE disabled) 2020-12-18 19:41:11 +01:00
Jan Käberich 9614c9d850 Custom math expressions + bugfix harmonic mixing 2020-12-18 18:52:38 +01:00
Jan Käberich 49e0b901fd Optional harmonic mixing 2020-12-18 15:03:01 +01:00
Jan Käberich 457c745c48 Merge branch 'master' of github.com:jankae/VNA2 2020-12-17 20:39:42 +01:00
Jan Käberich 0f345ba253 XY-Plot setup handling improved
- Use readable names for axis type/mode in json (old integer encoding still valid when loading old setups)
- Bugfix: time domain traces not included in context menu when plot is constructed after the trace
2020-12-17 20:37:30 +01:00
jankae 34f2c3255e
Merge pull request #22 from nbgsmk/master
Bandpass marker: init editor with "dB"
2020-12-15 18:19:09 +01:00
Jan Käberich 0b00186a5a Low/high/bandpass markers: only create helpermarkers for transmission measurements 2020-12-15 18:16:21 +01:00
Jan Käberich 00f0de43f2 Timeout handling in FPGA communication (better recovery from missing reference) 2020-12-15 18:03:29 +01:00
Jan Käberich f0c5962878 Fix disappearing marker data 2020-12-15 16:51:27 +01:00
Zoran Kostic 6fc7e79e16 - Bandpass marker -init editor with "dB" 2020-12-15 13:46:21 +01:00
Jan Käberich c5440210b4 CSV trace import 2020-12-12 22:51:38 +01:00
Jan Käberich 2868c2cb74 Fix compiler error due to file renaming 2020-12-12 14:35:23 +01:00
Jan Käberich 6e55eb02dd CSV export + DFT math operation 2020-12-11 20:28:40 +01:00
Jan Käberich 79a990af47 Proper cleanup of delta marker connections 2020-12-10 13:23:25 +01:00
Zoran Kostic 69c64458af Fixed crash when deleting delta markers (partial) 2020-12-10 04:07:52 +01:00
Zoran Kostic 4545efaf7a Compact Reference widgets 2020-12-10 02:03:15 +01:00
Jan Käberich 753dd3d261 Ask to save calibration when closing the app 2020-12-07 20:21:24 +01:00
Jan Käberich 15c7492bec Update calibration widget tooltip when span changes 2020-12-07 17:58:13 +01:00
Zoran Kostic 9ed73cfa13 Cal widget with coloured tooltip 2020-12-07 16:39:14 +01:00
Zoran Kostic 059eaafb40 Cal widget in multiple colors attempt - not ok 2020-12-07 04:18:01 +01:00
Zoran Kostic 323fb88c8f Using Unit::ToString for descriptive calibration name 2020-12-07 02:44:25 +01:00
Zoran Kostic d5aca3d5e1 Merge remote-tracking branch 'origin/trace_math' 2020-12-07 00:52:56 +01:00
Jan Käberich 12ce07a970 Additional option "impulse response magnitude" for time domain graph 2020-12-06 15:37:16 +01:00
Jan Käberich 5ddc3d6794 Bugfixes TDR 2020-12-05 13:33:42 +01:00
Jan Käberich 8d382e8b9c save/load markers in setup 2020-12-05 12:59:23 +01:00
Jan Käberich 9ad8def2ea Save/load trace and graph setup 2020-12-04 23:49:52 +01:00
Jan Käberich b91f431473 Markers adjusted for time domain math + distance mode fixed 2020-12-02 22:15:34 +01:00
Jan Käberich b8ccca5ebc consolidated TDR bandpass/lowpass mode, configuration dialog for TDR 2020-12-01 22:28:32 +01:00
Jan Käberich 2039c8f74d Merge branch 'master' into trace_math 2020-12-01 16:08:08 +01:00
Zoran Kostic 18526407fb Calibration - minor changes 2020-11-30 22:27:38 +01:00
Jan Käberich c63d15a8b3 Update port extension while editing 2020-11-30 21:49:16 +01:00
Jan Käberich 40793d2e7d Selectable digit for scrollwheel increment 2020-11-30 21:33:41 +01:00
Zoran Kostic 3fae95b33f Calibration - show in tooltip 2020-11-30 20:34:26 +01:00
Zoran Kostic cde385935d Calibration - highlight state; save/load cosmetics 2020-11-30 20:34:26 +01:00
Jan Käberich e1dfc48906 Fix bugs with displaying of axis ticks 2020-11-29 18:33:25 +01:00
Jan Käberich fe78ccdeeb Better X axis ticks in manual mode, minor cleanup for siunitedit 2020-11-29 18:06:58 +01:00
Jan Käberich 49f9b5442d Updated graphs to use new math system 2020-11-28 22:34:40 +01:00
Jan Käberich a7ff3d60fb some experiments with TDR math operations 2020-11-28 19:32:18 +01:00
Jan Käberich 8e661aecd6 added edit dialog for median filter and optimized for speed 2020-11-28 13:57:22 +01:00
Jan Käberich 163b23f28d Merge branch 'master' into trace_math 2020-11-28 13:56:30 +01:00
Jan Käberich 0837db05ad Option to view raw calibration measurements + calkit typos fixed 2020-11-27 18:18:31 +01:00
Jan Käberich 6893af1386 Prevent crash on Y-axis autoscale when all trace values are identical 2020-11-27 16:53:41 +01:00
Jan Käberich d81b8168ad Disable initially invalid options on dialog creation 2020-11-27 16:36:21 +01:00
Jan Käberich a168e81cca minimal median filter implementation for math testing 2020-11-27 16:31:05 +01:00
Jan Käberich 692bb85b5d Merge branch 'master' into trace_math 2020-11-26 21:02:37 +01:00
Jan Käberich 19bc31b7cc Overflow/replot bugfix when moving markers 2020-11-26 21:00:16 +01:00
Jan Käberich 1a7212191a Graph display bugfixes 2020-11-26 17:45:55 +01:00
Jan Käberich 3a88e10875 SIUnitEdit changeable with scroll wheel 2020-11-25 21:43:42 +01:00
Jan Käberich 6e13473337 Further preparation 2020-11-25 21:20:31 +01:00
Jan Käberich 66f8b86159 Preparations for math functions on traces 2020-11-25 16:47:29 +01:00
Zoran Kostic 2f79d60b76 SignalGen - more precision digits; ui panel mod. 2020-11-25 15:08:11 +01:00
Jan Käberich 1b003cc481 Removed warnings, added XY-plot data next to cursor 2020-11-25 11:55:53 +01:00
Jan Käberich 37bd9a0435 minor GUI fixes + preparation for spectrum analyzer export/import 2020-11-24 18:08:00 +01:00
Jan Käberich 3c2ff5e8c7 Workflow test without Qwt 2020-11-24 16:36:15 +01:00
Jan Käberich 4093578b62 smithchart data next to cursor 2020-11-24 16:36:15 +01:00
Jan Käberich 93bf7255c3 time domain markers 2020-11-24 16:36:15 +01:00
Jan Käberich c22d576984 Qwt dependency removed, drag&drop for traces added 2020-11-24 16:36:15 +01:00
Jan Käberich 25196fbc30 partial reconstruction from qwt to manual plotting 2020-11-24 16:36:15 +01:00
Jan Käberich ef97d54913 detect missing points + minor USB speedup 2020-11-24 16:28:57 +01:00
Jan Käberich 764e8b8692 Load/save amplitude calibration from/to file 2020-11-23 14:12:06 +01:00
Jan Käberich b636274b3b Font-dependent width in toolbar 2020-11-23 13:02:56 +01:00
jankae bcb47717b5
Merge pull request #10 from nbgsmk/master
Check some invalid conditions
2020-11-23 12:21:20 +01:00