Commit graph

458 commits

Author SHA1 Message Date
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