Commit graph

696 commits

Author SHA1 Message Date
Jan Käberich 483c16bcbb add missing form to test project 2023-02-12 23:08:59 +01:00
Jan Käberich 952c43073e add IP address list for TCP drivers 2023-02-12 22:58:45 +01:00
Jan Käberich 9b5bb1678c moved USB/packet log into LibreVNA driver, cleanup old device class 2023-02-12 21:43:51 +01:00
Jan Käberich 9e858feeba Merge branch 'master' into DeviceInterface 2023-02-12 19:21:13 +01:00
Jan Käberich e16b4fca69 Fix sign error in SDC parameters 2023-02-12 19:20:56 +01:00
Jan Käberich 06912584b0 removing TODOs 2023-02-12 19:19:01 +01:00
Jan Käberich d02efdb146 Add warnings if calibration standard does not cover calibration measurement range 2023-02-12 13:21:07 +01:00
Jan Käberich d9b4da3a8f Merge branch 'master' into DeviceInterface 2023-02-10 12:32:55 +01:00
Jan Käberich fe6ee093cb Merge branch 'master' of github.com:jankae/LibreVNA 2023-02-10 11:55:20 +01:00
Jan Käberich ea4c637842 improve touchstone parsing robustness 2023-02-10 11:41:53 +01:00
Jan Käberich ad9e19c102 working SSA3000X driver 2023-02-08 22:57:17 +01:00
Jan Käberich b701479e87 WIP: working compound driver, partial SSA3000X as a demonstration 2023-02-07 18:30:05 +01:00
Jan Käberich 89e46057a5 LibreVNA settings widget 2023-02-06 18:06:50 +01:00
Jan Käberich 2c86cf1d6c LibreVNA TCP driver 2023-01-29 18:02:32 +01:00
Jan Käberich 80c5fc0ff6 LibreVNADriver specific actions 2023-01-25 23:07:33 +01:00
Jan Käberich cde564299c WIP: device driver abstraction 2023-01-17 00:25:58 +01:00
Jan Käberich db6d823e0f WIP: device driver abstraction 2023-01-16 00:25:29 +01:00
Jan Käberich 59e30e93c5 DeviceDriver base class 2023-01-15 00:41:49 +01:00
Jan Käberich 9776b81b45 Fix min calibration frequency after taking measurement 2023-01-14 19:56:03 +01:00
Jan Käberich 6aef3fe0ac Merge branch 'master' of github.com:jankae/LibreVNA 2023-01-05 19:53:03 +01:00
Jan Käberich 0dbf362f57 new marker type: negative peak table 2023-01-05 19:52:54 +01:00
Jan Käberich 3d51f1f497 .gitignore temp data 2022-12-22 22:16:50 +01:00
Jan Käberich b41b3e218e provide de-embedding data for rData() if available 2022-12-22 22:15:03 +01:00
Jan Käberich 77dfabc67f Fix import bug for through standard touchstone files 2022-12-21 16:51:38 +01:00
Jan Käberich 5ad44c780c Rename: non-uniformity -> flatness, also show lines 2022-12-16 22:29:21 +01:00
Jan Käberich e35766c7b8 assign signal receiver to delete connection when closing dialog 2022-12-16 14:16:09 +01:00
Jan Käberich be340f2adc Fix device connection when loading setups 2022-12-16 13:56:28 +01:00
Jan Käberich 0cc5968b12 Check device serial when loading calibration 2022-12-15 22:43:41 +01:00
Jan Käberich fe340ac620 Add virtual destructors, fix warnings 2022-12-15 00:00:15 +01:00
Jan Käberich 4568be8ff4 Merge branch 'master' of github.com:jankae/LibreVNA 2022-12-14 11:00:02 +01:00
Jan Käberich 886be660f6 New marker type: non-uniformity 2022-12-14 10:59:53 +01:00
Jan Käberich 2c62fe71a3 Prevent updating trace widget for every added de-embedding point 2022-12-13 11:32:49 +01:00
Jan Käberich 0c3046b9c7 Prevent error message when connecting to compound device on Windows 2022-12-13 11:32:21 +01:00
Jan Käberich 8778d82576 prevent scrolling when zooming graph 2022-12-12 23:09:27 +01:00
Jan Käberich fb347c37ac add scroll bars to graph area 2022-12-12 22:59:10 +01:00
Jan Käberich e6678435bd WIP: additional SCPI commands for de-embedding 2022-12-12 22:42:33 +01:00
Jan Käberich d674d05083 WIP: SCPI commands for de-embedding 2022-12-12 17:39:17 +01:00
Jan Käberich fa8f49086c Only evaluate file if filename has changed 2022-12-12 13:59:25 +01:00
Jan Käberich 7f5228d934 Add missing break 2022-12-12 13:58:59 +01:00
Jan Käberich 917b33f17d fix wrong format when saving 2xthru de-embedding 2022-12-12 10:57:23 +01:00
Jan Käberich 89c9f20d16 keep original trace data when de-embedding, toggle de-embedding view for individual traces 2022-12-11 20:37:29 +01:00
Jan Käberich b67275831b consider internal reflection path for matching network 2022-12-09 17:41:32 +01:00
Jan Käberich a84d8de0e6 Allow higher port number for de-embedding 2022-12-08 22:05:31 +01:00
Jan Käberich d30d444bc7 increase robustness of option line parsing 2022-12-08 14:19:20 +01:00
Jan Käberich 8db7f003ee new matching network option: defined shunt 2022-12-08 13:45:07 +01:00
Jan Käberich 32a5fac5ef Fix matching calculation order for remote port 2022-12-08 12:35:34 +01:00
Jan Käberich 77f73d3e05 Fix reference impedance for de-embedding traces 2022-12-08 00:02:51 +01:00
Andre Dunford be433c00cb include PacketConstants.h and update FW_CHUNK_SIZE reference 2022-11-29 09:59:18 -08:00
Andre Dunford c05b3a5c8b fix duplicate condition in match() string comparisons 2022-11-26 00:16:32 -08:00
Jan Käberich 73426459ef moved to -alpha.2, updated release workflow 2022-11-20 21:08:57 +01:00
Jan Käberich 0c17288ece SA/GEN integration tests + bugfixes 2022-11-20 20:48:36 +01:00
Jan Käberich 46b41a4a04 Further integration tests 2022-11-19 15:47:08 +01:00
Jan Käberich 30aa5f414f Bugfix calibration range calculation 2022-11-17 18:06:28 +01:00
Jan Käberich d4d1d2d272 limit calibration span to selected standard 2022-11-17 12:06:15 +01:00
Jan Käberich aeaf9340d3 Add option to capture raw receiver values 2022-11-16 12:28:46 +01:00
Jan Käberich a29c323556 LibreCAL API udpate 2022-11-14 15:40:32 +01:00
Jan Käberich b03c8b3958 Save/load calkit SCPI command + re-entrancy bugfix during calibration 2022-11-14 00:08:45 +01:00
Jan Käberich 9b7f457aa5 new command: :VNA:CAL:ACTIVE? + bugfixes in LibreCAL handling 2022-11-13 18:44:19 +01:00
Jan Käberich 4ad3d3ac54 support saving of trace data in setup files 2022-11-09 23:29:37 +01:00
Jan Käberich 7d7bd3a44c Added mixed mode conversion dialog 2022-11-09 12:33:14 +01:00
Jan Käberich 93ade5afe6 Limit movement of markers to displayed span 2022-11-03 20:08:36 +01:00
Jan Käberich a0cacdfbef fix marker grab position 2022-11-03 20:08:14 +01:00
Jan Käberich e400f62f04 Fix calibration measurement interpolation bug 2022-11-02 22:42:06 +01:00
Jan Käberich aaea3cb3a3 increase displayed precision of calkit entries 2022-11-01 15:28:40 +01:00
Jan Käberich 5ace021e41 added mutexes 2022-11-01 01:12:04 +01:00
Jan Käberich f3eb560d61 USB logging 2022-10-31 22:06:23 +01:00
Jan Käberich 69f7c878b9 Fix calibration bug + improve device shutdown 2022-10-31 15:09:19 +01:00
Jan Käberich 6500f67b5e various minor improvements 2022-10-31 11:25:33 +01:00
Jan Käberich e58a76c488 activate mode when created 2022-10-30 13:19:02 +01:00
Jan Käberich 6c1bc842f0 select individual default formats to show for markers 2022-10-30 13:05:05 +01:00
Jan Käberich 19a5e3f57e Selectable cursor format 2022-10-30 12:34:35 +01:00
Jan Käberich eff18a22e8 Improve load time of setup files by omitting excessive device configuration 2022-10-30 12:07:59 +01:00
Jan Käberich 2f5cbc80e9 Added run/stop button 2022-10-30 00:20:57 +02:00
Jan Käberich dfd1abeea5 pan/zoom for smith chart and polar plot 2022-10-29 22:59:17 +02:00
Jan Käberich 7889676ac7 fix crash on preferences save 2022-10-29 22:57:50 +02:00
Jan Käberich 6f0fb5430d Sweep indicator on graphs 2022-10-29 21:19:30 +02:00
Jan Käberich 1fcf25d060 Set full span behavior in preferences 2022-10-29 19:32:16 +02:00
Jan Käberich 6552100775 switch cursor label to black on light background 2022-10-29 19:11:55 +02:00
Jan Käberich 658e8252b1 improve USB protocol decoding 2022-10-28 00:14:24 +02:00
Jan Käberich 2357052c95 remove rise/fall time restriction 2022-10-26 10:52:50 +02:00
Jan Käberich 2dd4edfae6 Improve old calibration import + graph pan/zoom settings 2022-10-25 14:21:09 +02:00
Jan Käberich c343cdf69f Improve autoscaling when no traces are visible, fix display issue of long tick labels 2022-10-25 13:23:08 +02:00
jankae 53702a8154
Merge pull request #156 from sophiekovalevsky/fix-std-runtime
prbs: add stdexcept
2022-10-25 00:35:10 +02:00
Jan Käberich 776ccf8d55 Add parsing of old calibration file format 2022-10-25 00:24:59 +02:00
Kiara Navarro f4d69baa7d
prbs: add stdexcept 2022-10-24 09:06:22 -03:00
Jan Käberich 5ee4208c32 Remove unnecessary code 2022-10-24 00:10:49 +02:00
Jan Käberich 70488f8262 eye diagram thread rework + uninitialized variables fix 2022-10-24 00:08:10 +02:00
Jan Käberich 0539dea4ef use queued connections for all device signals 2022-10-23 21:19:53 +02:00
Jan Käberich 3a9d169d46 Fixing variable initializations part 1 2022-10-23 20:34:20 +02:00
Jan Käberich 796a8cb3f9 update marker when restrict frequencies are changed 2022-10-21 19:51:38 +02:00
Jan Käberich b9b501bd00 Improve display of eye diagram 2022-10-21 19:50:06 +02:00
Jan Käberich ee3c6274ad Move eye diagram from tools to new graph type, enable zoom/pan on graphs 2022-10-21 16:50:04 +02:00
Jan Käberich 329f4487ee Improve impulse response interpolation 2022-10-20 15:58:57 +02:00
Jan Käberich 5387019f5f Wait for calculation thread when closing dialog 2022-10-20 00:41:13 +02:00
Jan Käberich 168f3beec8 Graph axes + input value checking 2022-10-20 00:28:10 +02:00
Jan Käberich c7a99af820 partial eye diagram implementation 2022-10-19 17:31:14 +02:00
Jan Käberich 7043ba1fee Added graph chapter to user manual 2022-10-14 19:43:02 +02:00
Jan Käberich a7f3565064 Improve autonaming of calibration 2022-10-14 17:55:46 +02:00
Jan Käberich 735aa1d746 Bugfix: allow taking of isolation measurements 2022-10-14 15:00:36 +02:00
Jan Käberich c5cbc8af20 Prevent activating calibration without defined calibration standard 2022-10-14 12:26:37 +02:00
Jan Käberich 532702f7fb Removed warnings 2022-10-14 00:27:22 +02:00
Jan Käberich 3f7fb99f58 Github actions test for calibration crash 2022-10-13 23:28:02 +02:00
Jan Käberich 4ae7b31a48 Fix test compile on windows 2022-10-11 14:37:24 +02:00
Jan Käberich 03eac96557 Prevent X axis label clipping for large font sizes 2022-10-08 13:29:17 +02:00
Jan Käberich 26ba329a0c Option: restrict marker position 2022-10-05 22:17:53 +02:00
Jan Käberich 63ebbf8348 Version number increase + boot LED debug reverted 2022-10-01 23:27:03 +02:00
Jan Käberich 101819fd36 moved udev rule file back to original place 2022-10-01 23:14:50 +02:00
Jan Käberich f56cb40e9c removed binary files from git 2022-10-01 23:13:30 +02:00
Jan Käberich d43a1e6e38 TRL calibration routine 2022-10-01 23:11:13 +02:00
Jan Käberich b20e5598be Port extension test 2022-10-01 20:09:46 +02:00
Jan Käberich fa7d789935 remove unused test code, adjust release workflow paths 2022-10-01 17:19:37 +02:00
Jan Käberich ba7ec1914d .github test failure check 2022-10-01 17:15:26 +02:00
Jan Käberich d8da82c74d remove binary 2022-10-01 17:14:18 +02:00
Jan Käberich 8d66770acf Move project, add simple test 2022-10-01 17:10:44 +02:00
Jan Käberich a58b705f08 Move project, add simple test 2022-10-01 17:10:34 +02:00
Jan Käberich fc1d006edd Sliding load support + TRL standard and measurements 2022-10-01 16:12:33 +02:00
Jan Käberich 858e945373 Add loss to load standard 2022-10-01 02:31:53 +02:00
Jan Käberich d2f1ca8f95 remove calEdited flag from VNA class 2022-10-01 02:31:42 +02:00
Jan Käberich 8dd747af62 Calibration SCPI API adjusted 2022-10-01 02:05:30 +02:00
Jan Käberich 9cf76c9681 WIP: make de-embedding and calibration work with arbitrary number of ports 2022-09-13 21:42:47 +02:00
Jan Käberich 8301448343 Take automatic calibration measurements 2022-09-11 23:22:11 +02:00
Jan Käberich cb0e553a17 Parial eCal dialog 2022-09-10 00:06:54 +02:00
Jan Käberich 00ef868671 Merge branch 'master' into compoundDevice 2022-09-04 19:15:53 +02:00
Jan Käberich ab828ec292 Additional options for marker symbol style 2022-09-04 15:19:08 +02:00
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