From 43bebfbad6e7ba026bd3d55720c7d9e12a7ef8ef Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Mon, 8 Aug 2022 23:08:17 +0200 Subject: New upstream version 2.6.0~rc2+repack --- CMakeLists.txt | 19 +- Configuration.cpp | 54 +- Configuration.hpp | 9 +- Configuration.ui | 456 +- Decoder/decodedtext.cpp | 2 + NEWS | 169 +- Radio.cpp | 6 +- Release_Notes.txt | 137 +- Transceiver/HamlibTransceiver.cpp | 1 + Transceiver/OmniRigTransceiver.cpp | 19 +- cty.dat | 4 +- doc/CMakeLists.txt | 1 + doc/common/links.adoc | 4 +- doc/user_guide/en/acknowledgements.adoc | 11 +- doc/user_guide/en/controls-functions-left.adoc | 6 +- .../en/controls-functions-main-window.adoc | 2 +- doc/user_guide/en/controls-functions-menus.adoc | 13 +- doc/user_guide/en/decoder_notes.adoc | 4 +- doc/user_guide/en/images/Best_S+P.png | Bin 3816 -> 3664 bytes doc/user_guide/en/images/FST4_center.png | Bin 4020 -> 4437 bytes doc/user_guide/en/images/active_stations.png | Bin 0 -> 31029 bytes doc/user_guide/en/images/auto-seq.png | Bin 3833 -> 4383 bytes doc/user_guide/en/images/colors.png | Bin 29939 -> 27468 bytes doc/user_guide/en/images/help-menu.png | Bin 8915 -> 8525 bytes doc/user_guide/en/images/misc-controls-center.png | Bin 6855 -> 7298 bytes doc/user_guide/en/images/misc-main-ui.png | Bin 5831 -> 6581 bytes doc/user_guide/en/images/reporting.png | Bin 23870 -> 18027 bytes doc/user_guide/en/images/save-menu.png | Bin 1627 -> 3601 bytes doc/user_guide/en/images/settings-advanced.png | Bin 20063 -> 22172 bytes doc/user_guide/en/images/settings-general.png | Bin 26985 -> 23782 bytes doc/user_guide/en/images/view-menu.png | Bin 5645 -> 4939 bytes doc/user_guide/en/images/wide-graph-controls.png | Bin 5483 -> 5026 bytes doc/user_guide/en/intro_subsections.adoc | 5 +- doc/user_guide/en/introduction.adoc | 8 + doc/user_guide/en/make-qso.adoc | 24 +- doc/user_guide/en/new_features.adoc | 71 +- doc/user_guide/en/settings-advanced.adoc | 7 +- doc/user_guide/en/support.adoc | 7 +- doc/user_guide/en/tutorial-example4.adoc | 6 +- lib/77bit/packjt77.f90 | 6 +- lib/astro0.f90 | 4 + lib/astrosub.f90 | 6 + lib/avecho.f90 | 74 +- lib/averms.f90 | 2 +- lib/chkcall.f90 | 4 +- lib/echo_snr.f90 | 51 + lib/ft8/chkdec.f90 | 161 + lib/ft8/ft8_a7.f90 | 378 ++ lib/ft8/ft8c.f90 | 261 + lib/ft8/ft8q3.f90 | 109 + lib/ft8/gen_ft8wave.f90 | 9 +- lib/ft8/subtractft8.f90 | 2 + lib/ft8/test_ft8q3.f90 | 41 + lib/ft8_decode.f90 | 71 +- lib/gen65.f90 | 16 +- lib/grid2deg.f90 | 3 +- lib/q65_decode.f90 | 141 +- lib/qra/q65/q65.f90 | 15 +- lib/test_snr.f90 | 67 + lib/wsprd/wsprsim_utils.c | 2 +- map65/astro.cpp | 4 +- map65/devsetup.cpp | 11 +- map65/devsetup.h | 3 +- map65/devsetup.ui | 30 +- map65/libm65/wideband_sync.f90 | 4 + map65/mainwindow.cpp | 12 +- map65/mainwindow.h | 2 +- map65/soundin.cpp | 14 +- map65/soundin.h | 4 +- models/CabrilloLog.cpp | 16 + models/CabrilloLog.hpp | 2 + models/FrequencyList.cpp | 2 +- pax_global_header | 1 - revision_utils.cpp | 2 +- translations/wsjtx_ru.ts | 6695 ++++++++++++++++++++ widgets/AbstractLogWindow.cpp | 64 +- widgets/CabrilloLogWindow.cpp | 9 + widgets/CabrilloLogWindow.hpp | 1 + widgets/CabrilloLogWindow.ui | 19 + widgets/FrequencyDeltaLineEdit.cpp | 4 +- widgets/FrequencyLineEdit.cpp | 2 +- widgets/about.cpp | 5 +- widgets/activeStations.cpp | 125 + widgets/activeStations.h | 52 + widgets/activeStations.ui | 202 + widgets/astro.cpp | 6 - widgets/displaytext.cpp | 46 +- widgets/displaytext.h | 4 +- widgets/logqso.cpp | 10 + widgets/mainwindow.cpp | 877 ++- widgets/mainwindow.h | 55 +- widgets/mainwindow.ui | 1310 ++-- widgets/signalmeter.cpp | 2 +- widgets/widgets.pri | 3 + 94 files changed, 10813 insertions(+), 1253 deletions(-) create mode 100755 doc/user_guide/en/images/active_stations.png create mode 100755 lib/echo_snr.f90 create mode 100755 lib/ft8/chkdec.f90 create mode 100755 lib/ft8/ft8_a7.f90 create mode 100755 lib/ft8/ft8c.f90 create mode 100755 lib/ft8/ft8q3.f90 create mode 100755 lib/ft8/test_ft8q3.f90 create mode 100755 lib/test_snr.f90 delete mode 100755 pax_global_header create mode 100755 translations/wsjtx_ru.ts create mode 100755 widgets/activeStations.cpp create mode 100755 widgets/activeStations.h create mode 100755 widgets/activeStations.ui diff --git a/CMakeLists.txt b/CMakeLists.txt index 69e3ae95..ffe482eb 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,7 +45,7 @@ if (POLICY CMP0075) endif () project (wsjtx - VERSION 2.5.4.0 + VERSION 2.6.0.0 LANGUAGES C CXX Fortran ) set (PROJECT_DESCRIPTION "WSJT-X: Digital Modes for Weak Signal Communications in Amateur Radio") @@ -71,7 +71,7 @@ message (STATUS "******************************************************") include (set_build_type) # RC 0 or omitted is a development build, GA is a General Availability release build -set_build_type (GA) +set_build_type (RC 2) set (wsjtx_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}${BUILD_TYPE_REVISION}") # @@ -126,7 +126,8 @@ option (WSJT_GENERATE_DOCS "Generate documentation files." ON) option (WSJT_RIG_NONE_CAN_SPLIT "Allow split operation with \"None\" as rig.") option (WSJT_TRACE_UDP "Debugging option that turns on UDP message protocol diagnostics.") option (WSJT_BUILD_UTILS "Build simulators and code demonstrators." ON) - +CMAKE_DEPENDENT_OPTION (WSJT_QDEBUG_IN_RELEASE "Leave Qt debugging statements in Release configuration." OFF + "NOT is_debug_build" OFF) CMAKE_DEPENDENT_OPTION (WSJT_ENABLE_EXPERIMENTAL_FEATURES "Enable features not fully ready for public releases." ON is_debug_build OFF) CMAKE_DEPENDENT_OPTION (WSJT_CREATE_WINMAIN @@ -273,6 +274,7 @@ set (wsjtx_CXXSRCS widgets/about.cpp widgets/astro.cpp widgets/messageaveraging.cpp + widgets/activeStations.cpp widgets/colorhighlighting.cpp WSPR/WsprTxScheduler.cpp widgets/mainwindow.cpp @@ -336,6 +338,7 @@ set (wsjt_FSRCS lib/timer_module.f90 lib/wavhdr.f90 lib/qra/q65/q65_encoding_modules.f90 + lib/ft8/ft8_a7.f90 # remaining non-module sources lib/addit.f90 @@ -382,6 +385,7 @@ set (wsjt_FSRCS lib/demod64a.f90 lib/determ.f90 lib/downsam9.f90 + lib/echo_snr.f90 lib/encode232.f90 lib/encode4.f90 lib/encode_msk40.f90 @@ -460,7 +464,6 @@ set (wsjt_FSRCS lib/inter_wspr.f90 lib/jplsubs.f lib/jt9fano.f90 - lib/jtmsg.f90 lib/libration.f90 lib/lorentzian.f90 lib/fst4/lorentzian_fading.f90 @@ -540,6 +543,7 @@ set (wsjt_FSRCS lib/sync9.f90 lib/sync9f.f90 lib/sync9w.f90 + lib/test_snr.f90 lib/timf2.f90 lib/tweak1.f90 lib/twkfreq.f90 @@ -650,6 +654,7 @@ set (wsjtx_UISRCS widgets/echograph.ui widgets/fastgraph.ui widgets/messageaveraging.ui + widgets/activeStations.ui widgets/widegraph.ui widgets/logqso.ui Configuration.ui @@ -1127,6 +1132,9 @@ target_link_libraries (jt65sim wsjt_fort wsjt_cxx) add_executable (sumsim lib/sumsim.f90) target_link_libraries (sumsim wsjt_fort wsjt_cxx) +add_executable (test_snr lib/test_snr.f90) +target_link_libraries (test_snr wsjt_fort) + add_executable (q65sim lib/qra/q65/q65sim.f90) target_link_libraries (q65sim wsjt_fort wsjt_cxx) @@ -1259,6 +1267,7 @@ set (LANGUAGES ja # Japanese #no # Norwegian #pt # Portuguese + ru # Russian #sv # Swedish zh # Chinese zh_HK # Chinese per Hong Kong @@ -1442,7 +1451,7 @@ set_target_properties (wsjtx PROPERTIES ) target_include_directories (wsjtx PRIVATE ${FFTW3_INCLUDE_DIRS}) -if (APPLE) +if ((NOT ${OPENMP_FOUND}) OR APPLE) target_link_libraries (wsjtx wsjt_fort) else () target_link_libraries (wsjtx wsjt_fort_omp) diff --git a/Configuration.cpp b/Configuration.cpp index 7b78abed..d313d5bb 100755 --- a/Configuration.cpp +++ b/Configuration.cpp @@ -593,6 +593,7 @@ private: bool highlight_by_mode_; bool highlight_only_fields_; bool include_WAE_entities_; + bool highlight_73_; int LotW_days_since_upload_; TransceiverFactory::ParameterPack rig_params_; @@ -645,6 +646,7 @@ private: bool TX_messages_; bool enable_VHF_features_; bool decode_at_52s_; + bool Tune_watchdog_disabled_; bool single_decode_; bool twoPass_; bool bSpecialOp_; @@ -670,6 +672,8 @@ private: bool bLowSidelobes_; bool pwrBandTxMemory_; bool pwrBandTuneMemory_; + bool highlight_DXcall_; + bool highlight_DXgrid_; QAudioDeviceInfo audio_input_device_; QAudioDeviceInfo next_audio_input_device_; @@ -750,6 +754,7 @@ int Configuration::watchdog () const {return m_->watchdog_;} bool Configuration::TX_messages () const {return m_->TX_messages_;} bool Configuration::enable_VHF_features () const {return m_->enable_VHF_features_;} bool Configuration::decode_at_52s () const {return m_->decode_at_52s_;} +bool Configuration::Tune_watchdog_disabled () const {return m_->Tune_watchdog_disabled_;} bool Configuration::single_decode () const {return m_->single_decode_;} bool Configuration::twoPass() const {return m_->twoPass_;} bool Configuration::x2ToneSpacing() const {return m_->x2ToneSpacing_;} @@ -787,6 +792,9 @@ DecodeHighlightingModel const& Configuration::decode_highlighting () const {retu bool Configuration::highlight_by_mode () const {return m_->highlight_by_mode_;} bool Configuration::highlight_only_fields () const {return m_->highlight_only_fields_;} bool Configuration::include_WAE_entities () const {return m_->include_WAE_entities_;} +bool Configuration::highlight_73 () const {return m_->highlight_73_;} +bool Configuration::highlight_DXcall () const {return m_->highlight_DXcall_;} +bool Configuration::highlight_DXgrid () const {return m_->highlight_DXgrid_;} void Configuration::set_calibration (CalibrationParams params) { @@ -893,7 +901,7 @@ QString Configuration::Field_Day_Exchange() const { return m_->FD_exchange_; } - +/* void Configuration::setEU_VHF_Contest() { m_->bSpecialOp_=true; @@ -902,6 +910,7 @@ void Configuration::setEU_VHF_Contest() m_->SelectedActivity_ = static_cast (SpecialOperatingActivity::EU_VHF); m_->write_settings(); } +*/ QString Configuration::RTTY_Exchange() const { @@ -920,6 +929,30 @@ void Configuration::set_location (QString const& grid_descriptor) m_->dynamic_grid_ = grid_descriptor.trimmed (); } +void Configuration::setSpecial_Hound() +{ + m_->bSpecialOp_=true; + m_->ui_->gbSpecialOpActivity->setChecked(m_->bSpecialOp_); + m_->ui_->rbHound->setChecked(true); + m_->SelectedActivity_ = static_cast (SpecialOperatingActivity::HOUND); + m_->write_settings(); +} + +void Configuration::setSpecial_Fox() +{ + m_->bSpecialOp_=true; + m_->ui_->gbSpecialOpActivity->setChecked(m_->bSpecialOp_); + m_->ui_->rbFox->setChecked(true); + m_->SelectedActivity_ = static_cast (SpecialOperatingActivity::FOX); + m_->write_settings(); +} + +void Configuration::setSpecial_None() +{ + m_->bSpecialOp_=false; + m_->ui_->gbSpecialOpActivity->setChecked(m_->bSpecialOp_); + m_->write_settings(); +} namespace { #if defined (Q_OS_MAC) @@ -984,6 +1017,7 @@ Configuration::impl::impl (Configuration * self, QNetworkAccessManager * network , highlight_by_mode_ {false} , highlight_only_fields_ {false} , include_WAE_entities_ {false} + , highlight_73_ {false} , LotW_days_since_upload_ {0} , last_port_type_ {TransceiverFactory::Capabilities::none} , rig_is_dummy_ {false} @@ -1122,6 +1156,7 @@ Configuration::impl::impl (Configuration * self, QNetworkAccessManager * network ui_->special_op_activity_button_group->setId (ui_->rbField_Day, static_cast (SpecialOperatingActivity::FIELD_DAY)); ui_->special_op_activity_button_group->setId (ui_->rbRTTY_Roundup, static_cast (SpecialOperatingActivity::RTTY)); ui_->special_op_activity_button_group->setId (ui_->rbWW_DIGI, static_cast (SpecialOperatingActivity::WW_DIGI)); + ui_->special_op_activity_button_group->setId (ui_->rbARRL_Digi, static_cast (SpecialOperatingActivity::ARRL_DIGI)); ui_->special_op_activity_button_group->setId (ui_->rbFox, static_cast (SpecialOperatingActivity::FOX)); ui_->special_op_activity_button_group->setId (ui_->rbHound, static_cast (SpecialOperatingActivity::HOUND)); @@ -1320,6 +1355,7 @@ void Configuration::impl::initialize_models () ui_->TX_messages_check_box->setChecked (TX_messages_); ui_->enable_VHF_features_check_box->setChecked(enable_VHF_features_); ui_->decode_at_52s_check_box->setChecked(decode_at_52s_); + ui_->disable_Tune_watchdog_check_box->setChecked(Tune_watchdog_disabled_); ui_->single_decode_check_box->setChecked(single_decode_); ui_->cbTwoPass->setChecked(twoPass_); ui_->gbSpecialOpActivity->setChecked(bSpecialOp_); @@ -1397,7 +1433,10 @@ void Configuration::impl::initialize_models () ui_->highlight_by_mode_check_box->setChecked (highlight_by_mode_); ui_->only_fields_check_box->setChecked (highlight_only_fields_); ui_->include_WAE_check_box->setChecked (include_WAE_entities_); + ui_->highlight_73_check_box->setChecked (highlight_73_); ui_->LotW_days_since_upload_spin_box->setValue (LotW_days_since_upload_); + ui_->cbHighlightDXcall->setChecked(highlight_DXcall_); + ui_->cbHighlightDXgrid->setChecked(highlight_DXgrid_); set_rig_invariants (); } @@ -1492,6 +1531,7 @@ void Configuration::impl::read_settings () highlight_by_mode_ = settings_->value("HighlightByMode", false).toBool (); highlight_only_fields_ = settings_->value("OnlyFieldsSought", false).toBool (); include_WAE_entities_ = settings_->value("IncludeWAEEntities", false).toBool (); + highlight_73_ = settings_->value("Highlight73", false).toBool (); LotW_days_since_upload_ = settings_->value ("LotWDaysSinceLastUpload", 365).toInt (); lotw_users_.set_age_constraint (LotW_days_since_upload_); @@ -1531,6 +1571,7 @@ void Configuration::impl::read_settings () TX_messages_ = settings_->value ("Tx2QSO", true).toBool (); enable_VHF_features_ = settings_->value("VHFUHF",false).toBool (); decode_at_52s_ = settings_->value("Decode52",false).toBool (); + Tune_watchdog_disabled_ = settings_->value("TuneWatchdogDisabled",false).toBool (); single_decode_ = settings_->value("SingleDecode",false).toBool (); twoPass_ = settings_->value("TwoPass",true).toBool (); bSpecialOp_ = settings_->value("SpecialOpActivity",false).toBool (); @@ -1554,6 +1595,8 @@ void Configuration::impl::read_settings () calibration_.slope_ppm = settings_->value ("CalibrationSlopePPM", 0.).toDouble (); pwrBandTxMemory_ = settings_->value("pwrBandTxMemory",false).toBool (); pwrBandTuneMemory_ = settings_->value("pwrBandTuneMemory",false).toBool (); + highlight_DXcall_ = settings_->value("highlight_DXcall",false).toBool (); + highlight_DXgrid_ = settings_->value("highlight_DXgrid",false).toBool (); } void Configuration::impl::find_audio_devices () @@ -1626,6 +1669,7 @@ void Configuration::impl::write_settings () settings_->setValue ("HighlightByMode", highlight_by_mode_); settings_->setValue ("OnlyFieldsSought", highlight_only_fields_); settings_->setValue ("IncludeWAEEntities", include_WAE_entities_); + settings_->setValue ("Highlight73", highlight_73_); settings_->setValue ("LotWDaysSinceLastUpload", LotW_days_since_upload_); settings_->setValue ("toRTTY", log_as_RTTY_); settings_->setValue ("dBtoComments", report_in_comments_); @@ -1662,6 +1706,7 @@ void Configuration::impl::write_settings () settings_->setValue ("SplitMode", QVariant::fromValue (rig_params_.split_mode)); settings_->setValue ("VHFUHF", enable_VHF_features_); settings_->setValue ("Decode52", decode_at_52s_); + settings_->setValue ("TuneWatchdogDisabled", Tune_watchdog_disabled_); settings_->setValue ("SingleDecode", single_decode_); settings_->setValue ("TwoPass", twoPass_); settings_->setValue ("SelectedActivity", SelectedActivity_); @@ -1685,6 +1730,8 @@ void Configuration::impl::write_settings () settings_->setValue ("pwrBandTuneMemory", pwrBandTuneMemory_); settings_->setValue ("Region", QVariant::fromValue (region_)); settings_->setValue ("AutoGrid", use_dynamic_grid_); + settings_->setValue ("highlight_DXcall", highlight_DXcall_); + settings_->setValue ("highlight_DXgrid", highlight_DXgrid_); settings_->sync (); } @@ -2088,6 +2135,7 @@ void Configuration::impl::accept () azel_directory_.setPath (ui_->azel_path_display_label->text ()); enable_VHF_features_ = ui_->enable_VHF_features_check_box->isChecked (); decode_at_52s_ = ui_->decode_at_52s_check_box->isChecked (); + Tune_watchdog_disabled_ = ui_->disable_Tune_watchdog_check_box->isChecked (); single_decode_ = ui_->single_decode_check_box->isChecked (); twoPass_ = ui_->cbTwoPass->isChecked (); bSpecialOp_ = ui_->gbSpecialOpActivity->isChecked (); @@ -2163,6 +2211,7 @@ void Configuration::impl::accept () highlight_by_mode_ = ui_->highlight_by_mode_check_box->isChecked (); highlight_only_fields_ = ui_->only_fields_check_box->isChecked (); include_WAE_entities_ = ui_->include_WAE_check_box->isChecked (); + highlight_73_ = ui_->highlight_73_check_box->isChecked (); LotW_days_since_upload_ = ui_->LotW_days_since_upload_spin_box->value (); lotw_users_.set_age_constraint (LotW_days_since_upload_); @@ -2172,7 +2221,8 @@ void Configuration::impl::accept () dynamic_grid_.clear (); } use_dynamic_grid_ = ui_->use_dynamic_grid->isChecked(); - + highlight_DXcall_ = ui_->cbHighlightDXcall->isChecked(); + highlight_DXgrid_ = ui_->cbHighlightDXgrid->isChecked(); write_settings (); // make visible to all } diff --git a/Configuration.hpp b/Configuration.hpp index b0f6bf75..8d76040b 100755 --- a/Configuration.hpp +++ b/Configuration.hpp @@ -134,6 +134,7 @@ public: bool split_mode () const; bool enable_VHF_features () const; bool decode_at_52s () const; + bool Tune_watchdog_disabled () const; bool single_decode () const; bool twoPass() const; bool bFox() const; @@ -181,8 +182,14 @@ public: bool highlight_by_mode () const; bool highlight_only_fields () const; bool include_WAE_entities () const; + bool highlight_73 () const; + void setSpecial_Hound(); + void setSpecial_Fox(); + void setSpecial_None(); + bool highlight_DXcall () const; + bool highlight_DXgrid () const; - enum class SpecialOperatingActivity {NONE, NA_VHF, EU_VHF, FIELD_DAY, RTTY, WW_DIGI, FOX, HOUND}; + enum class SpecialOperatingActivity {NONE, NA_VHF, EU_VHF, FIELD_DAY, RTTY, WW_DIGI, ARRL_DIGI, FOX, HOUND}; SpecialOperatingActivity special_op_id () const; struct CalibrationParams diff --git a/Configuration.ui b/Configuration.ui index 17fd1a32..3dbef882 100755 --- a/Configuration.ui +++ b/Configuration.ui @@ -6,8 +6,8 @@ 0 0 - 554 - 560 + 588 + 642 @@ -171,46 +171,6 @@ Display - - - - Show outgoing transmitted messages in the Rx frequency window. - - - &Tx messages to Rx frequency window - - - - - - - Show if decoded stations are new DXCC entities or worked before. - - - Show &DXCC, grid, and worked-before status - - - false - - - - - - - <html><head/><body><p>Check to have decodes for a new period start at the top of the Band Activity window and not scroll off the top when the window is full.</p><p>This is to aid selecting decodes to double-click while decoding is still in progress. Use the Band Activity vertical scroll bar to reveal decodes past the bottom of the window.</p></body></html> - - - Start new period decodes at top - - - - - - - Show principal prefix instead of country name - - - @@ -285,6 +245,60 @@ + + + + Highlight DX Grid in message + + + + + + + Show principal prefix instead of country name + + + + + + + Highlight DX Call in message + + + + + + + <html><head/><body><p>Check to have decodes for a new period start at the top of the Band Activity window and not scroll off the top when the window is full.</p><p>This is to aid selecting decodes to double-click while decoding is still in progress. Use the Band Activity vertical scroll bar to reveal decodes past the bottom of the window.</p></body></html> + + + Start new period decodes at top + + + + + + + Show outgoing transmitted messages in the Rx frequency window. + + + &Tx messages to Rx frequency window + + + + + + + Show if decoded stations are new DXCC entities or worked before. + + + Show &DXCC, grid, and worked-before status + + + false + + + @@ -489,6 +503,16 @@ quiet period when decoding is done. + + + + <html><head/><body><p>Disable the Tune watchdog.</p></body></html> + + + Disable Tune watchdog + + + @@ -2302,6 +2326,23 @@ Right click for insert and delete options. + + + + Include extra WAE entities + + + + + + + Check to for grid highlighting to only apply to unworked grid fields + + + Only grid Fields sought + + + @@ -2349,20 +2390,10 @@ Right click for insert and delete options. - - - - Include extra WAE entities - - - - - - - Check to for grid highlighting to only apply to unworked grid fields - + + - Only grid Fields sought + Highlight also messages with 73 or RR73 @@ -2483,78 +2514,10 @@ Right click for insert and delete options. Advanced - - - - <html><head/><body><p>User-selectable parameters for JT65 VHF/UHF/Microwave decoding.</p></body></html> - - - JT65 VHF/UHF/Microwave decoding parameters - - - - - - Random erasure patterns: - - - sbNtrials - - - - - - - <html><head/><body><p>Maximum number of erasure patterns for stochastic soft-decision Reed Solomon decoder is 10^(n/2).</p></body></html> - - - 0 - - - 12 - - - 6 - - - - - - - Aggressive decoding level: - - - sbAggressive - - - - - - - <html><head/><body><p>Higher levels will increase the probability of decoding, but will also increase probability of a false decode.</p></body></html> - - - 10 - - - - - - - Two-pass decoding - - - true - - - - - - - Special operating activity: Generation of FT4, FT8, and MSK144 messages + Special operating activity true @@ -2563,27 +2526,27 @@ Right click for insert and delete options. false - - + + - <html><head/><body><p>FT8 DXpedition mode: Hound operator calling the DX.</p></body></html> + <html><head/><body><p>FT8 DXpedition mode: Fox (DXpedition) operator.</p></body></html> - Hound + Fox - Hound + Fox - true + false special_op_activity_button_group - - + + 0 @@ -2591,40 +2554,21 @@ Right click for insert and delete options. - <html><head/><body><p>North American VHF/UHF/Microwave contests and others in which a 4-character grid locator is the required exchange.</p></body></html> - - - NA VHF Contest - - - NA VHF Contest - - - special_op_activity_button_group - - - - - - - <html><head/><body><p>FT8 DXpedition mode: Fox (DXpedition) operator.</p></body></html> + <html><head/><body><p>European VHF+ contests requiring a signal report, serial number, and 6-character locator.</p></body></html> - Fox + EU VHF Contest - Fox - - - false + EU VHF Contest special_op_activity_button_group - - + + 0 @@ -2632,13 +2576,13 @@ Right click for insert and delete options. - <html><head/><body><p>European VHF+ contests requiring a signal report, serial number, and 6-character locator.</p></body></html> + <html><head/><body><p>North American VHF/UHF/Microwave contests and others in which a 4-character grid locator is the required exchange.</p></body></html> - EU VHF Contest + NA VHF Contest - EU VHF Contest + NA VHF special_op_activity_button_group @@ -2658,18 +2602,37 @@ Right click for insert and delete options. - - + + + + <html><head/><body><p>FT8 DXpedition mode: Hound operator calling the DX.</p></body></html> + + + Hound + + + Hound + + + true + + + special_op_activity_button_group + + + + + - + - <html><head/><body><p>ARRL RTTY Roundup and similar contests. Exchange is US state, Canadian province, or &quot;DX&quot;.</p></body></html> + <html><head/><body><p>ARRL Field Day exchange: number of transmitters, Class, and ARRL/RAC section or &quot;DX&quot;.</p></body></html> - R T T Y Roundup + A R R L Field Day - RTTY Roundup messages + ARRL Field Day special_op_activity_button_group @@ -2677,7 +2640,7 @@ Right click for insert and delete options. - + Qt::Horizontal @@ -2690,22 +2653,22 @@ Right click for insert and delete options. - + - + - RTTY Roundup exchange + Field Day exchange - RTTY RU Exch: + FD Exch: - RTTY_Exchange + Field_Day_Exchange - + 70 @@ -2713,10 +2676,10 @@ Right click for insert and delete options. - <html><head/><body><p>ARRL RTTY Roundup and similar contests. Exchange is US state, Canadian province, or &quot;DX&quot;.</p></body></html> + <html><head/><body><p>ARRL Field Day exchange: number of transmitters, Class, and ARRL/RAC section or &quot;DX&quot;.</p></body></html> - NJ + 6A SNJ Qt::AlignCenter @@ -2727,18 +2690,40 @@ Right click for insert and delete options. - - + + + + + 0 + 18 + + + + <html><head/><body><p>World-Wide Digi-mode contest</p><p><br/></p></body></html> + + + WW Digital Contest + + + WW Digi Contest + + + special_op_activity_button_group + + + + + - + - <html><head/><body><p>ARRL Field Day exchange: number of transmitters, Class, and ARRL/RAC section or &quot;DX&quot;.</p></body></html> + <html><head/><body><p>FT Roundup and similar contests. Exchange is US state, Canadian province, or &quot;DX&quot;.</p></body></html> - A R R L Field Day + R T T Y Roundup - ARRL Field Day + FT Roundup special_op_activity_button_group @@ -2746,7 +2731,7 @@ Right click for insert and delete options. - + Qt::Horizontal @@ -2759,22 +2744,22 @@ Right click for insert and delete options. - + - + - Field Day exchange + RTTY Roundup exchange - FD Exch: + FT RU Exch: - Field_Day_Exchange + RTTY_Exchange - + 70 @@ -2782,10 +2767,10 @@ Right click for insert and delete options. - <html><head/><body><p>ARRL Field Day exchange: number of transmitters, Class, and ARRL/RAC section or &quot;DX&quot;.</p></body></html> + <html><head/><body><p>FT Roundup and similar contests. Exchange is US state, Canadian province, or &quot;DX&quot;.</p></body></html> - 6A SNJ + NJ Qt::AlignCenter @@ -2796,22 +2781,13 @@ Right click for insert and delete options. - - - - - 0 - 18 - - + + - <html><head/><body><p>World-Wide Digi-mode contest</p><p><br/></p></body></html> - - - WW Digital Contest + <html><head/><body><p>ARRL International Digital Contest</p></body></html> - WW Digi Contest + ARRL Digi Contest special_op_activity_button_group @@ -2993,6 +2969,74 @@ Right click for insert and delete options. + + + + <html><head/><body><p>User-selectable parameters for JT65 VHF/UHF/Microwave decoding.</p></body></html> + + + JT65 VHF/UHF/Microwave decoding parameters + + + + + + Random erasure patterns: + + + sbNtrials + + + + + + + <html><head/><body><p>Maximum number of erasure patterns for stochastic soft-decision Reed Solomon decoder is 10^(n/2).</p></body></html> + + + 0 + + + 12 + + + 6 + + + + + + + Aggressive decoding level: + + + sbAggressive + + + + + + + <html><head/><body><p>Higher levels will increase the probability of decoding, but will also increase probability of a false decode.</p></body></html> + + + 10 + + + + + + + Two-pass decoding + + + true + + + + + + @@ -3234,12 +3278,12 @@ Right click for insert and delete options. + + + + - - - - diff --git a/Decoder/decodedtext.cpp b/Decoder/decodedtext.cpp index e65d34bd..3c684f82 100755 --- a/Decoder/decodedtext.cpp +++ b/Decoder/decodedtext.cpp @@ -60,6 +60,8 @@ DecodedText::DecodedText (QString const& the_string) // qDebug () << "DecodedText: the_string:" << the_string << "Nbsp pos:" << the_string.indexOf (QChar::Nbsp); if (message_.length() >= 1) { +// remove appended confidence (?) and ap designators before truncating the message + message_ = clean_string_.mid (column_qsoText + padding_).trimmed (); message0_ = message_.left(37); message_ = message_.left(37).remove (QRegularExpression {"[<>]"}); int i1 = message_.indexOf ('\r'); diff --git a/NEWS b/NEWS index 534196d7..47dee1f9 100755 --- a/NEWS +++ b/NEWS @@ -9,7 +9,159 @@ \$$ \$$ \$$$$$$ \$$$$$$ \$$ \$$ \$$ -Copyright 2001 - 2021 by Joe Taylor, K1JT. +Copyright 2001 - 2022 by Joe Taylor, K1JT, and the WSJT Development Team + + Release: WSJT-X 2.6.0-rc2 + July 21, 2022 + ---------------------- + +WSJT-X 2.6.0 Release Candidate 2 brings a number of improvements as +well as some bug fixes. + + - The "Measure function in Echo mode now uses the computed fspread + for DX grid, when available. This feature is especially useful for + microwave EME tests, enabling accurate measurement of SNR for a DX + station. + + - Settings for T/R period and Submode are now remembered by mode when + you switch directly between (for example) MSK144-15, Q65-60A, + JT65-C, or FST4-120. + + - Tx and Rx audio frequencies are remembered and restored when you + return from a mode that sets a default frequency 1500 Hz (MSK144, + FST4W, Echo, WSPR, FreqCal), switching back to FT4, FT8, Q65, JT65, + or FST4. + + - QSOs in the Contest Log can now be displayed in increasing or + decreasing order of logged time. By default the log is scrolled to + the latest logged QSO, ready for insertion of a new contact. The + total number of QSOs in the Contest Log is displayed at bottom left + of its window. + + - Default FT8 frequency for 4m band (Region 1) is set to 70.154 MHz. + + - Layout of mode buttons has been optimized for 4K screens. + + - Display of Keyboard Shortcuts has been updated. + + - The OK button now has default focus in the LogQSO dialog window. + You may just hit Enter to log the QSO. + +- Bug fix: The Tx Freq spinbox remained red when coming back from + some Q65 submodes. Corrected. + + - Hamlib bug fix: make sure that VFOB is selected when required on + some rigs (e.g. IC7610, IC7100). + + + Release: WSJT-X 2.6.0-rc1 + June 20, 2022 + ---------------------- + +WSJT-X 2.6.0 Release Candidate 1 introduces support for the ARRL +International Digital Contest; performance enhancements for FT8, Q65, +and EME Echo mode; new controls and options on the GUI; and several +bug fixes. + +In program WSJT-X: + + - Improved decoding for FT8: additional messages are marked 'a7' + + - Improved decoding for Q65 when AP is in use + + - Optional new "Active Stations" window and other features + supporting ARRL International Digital Contest + + - Accurate SNR measurements in Echo mode, including large Doppler + spreads + + - Add mode selection buttons on main window for FT4, FT8, JT65, + MSK144, and Q65 + + - Add a button to toggle FT8's Hound mode ON or OFF + + - Add a "Clr Avg" button for Echo mode + + - Add optional highlighting of DX Call and DX Grid + + - Add optional highlighting of messages containing RR73 or 73 + + - New options for writing to ALL.TXT: split the file yearly, monthly, + or disable writing altogether + + - Add Russian to available translations of user interface + + - Add a 90 s Tune watchdog with optional disable + + - Allow auto reply for non-CQ messages via UDP (JTAlert, etc.) when + Hold Tx Freq is enabled + + - Suppress transmission of blank messages + + - Suppress self-spotting when running multiple instances + + - Correct the handling of messages starting with "CQ xxxx ..." + + - Correct a flaw that could cause Windows to drop audio samples + + - Correct a flaw that could send incorrect frequencies to ALL.TXT + and PSK Reporter after a band change + + - Correct the auto-sequencing logic in several specific circumstances + + - Correct a flaw in WSPR mode when handling three-character callsigns + + - Correct a flaw that could cause OmniRig 1.19 or later to set + incorrect frequencies after initialization + + - Clean up some ToolTips + + - Fix an inconsistancy in the macOS installation package that caused + the pwr slider to behave incorrectly on macOS 12 + +In program MAP65 (Windows only): + + - Send additional information to file azel.dat + + - Allow optional scaling of digital I/Q data + + - Suppress a bounds error caused by too-wide setting of display + bandwidth + + + Release: WSJT-X 2.5.4 + Dec 28, 2021 + ---------------------- + +This is mostly a bug fix release. It has the following changes since +release 2.5.3: + +WSJTX: + - Repair a defect that caused occasional crashes when in QSO with + stations using nonstandard callsigns. + +MAP65: + - Allowing MAP65 "Best-fit Delta phi" solution to be displayed to the + user. + + + Release: WSJT-X 2.5.3 + Dec 7, 2021 + ---------------------- + +This release has the following changes since release 2.5.2: + + - Add a note in memory of G4WJS to the About window + + - Add a simple $DXCALL macro capability for Tx messages, and update + the User Guide accordingly + + - Ensure that MAIN VFO is used for receiving on rigs that require it + + - Repair a defect in reporting low-confidence decodes to PskReporter + + - Updated CTY.DAT database, tnx to Jim AD1C + Release: WSJT-X 2.5.2 Nov 4, 2021 @@ -60,6 +212,7 @@ release 2.5.1: providing updates for 32-bit only systems. 32-bit WSJT-X can still be built for Linux Intel and is supported at least until some prerequisite package is no longer available. + Release: WSJT-X 2.5.1 Oct 21, 2021 @@ -111,6 +264,7 @@ and repairs for defects detected since the 2.5.0 GA release. - Improved main window layout to ensure TxN messages are fully visible. + Release: WSJT-X 2.5.0 Sept 27, 2021 @@ -141,6 +295,7 @@ WSJTX: - Ensure that CALL3.TXT is not deleted while updating the file (this allows sharing using symlinks to work). + Release: WSJT-X 2.5.0-rc6 Sept 6, 2021 ------------------------- @@ -161,6 +316,7 @@ WSJT-X: - Repair a regression that prevented WSPR band-hopping working when the Tx percentage is zero. + Release: WSJT-X 2.5.0-rc5 Aug 5, 2021 ------------------------- @@ -178,6 +334,7 @@ MAP65: WSJT-X: - Repair a regression that caused some messages involving compound or nonstandard callsigns to be encoded as free text + Release: WSJT-X 2.5.0-rc4 Aug 2, 2021 @@ -199,6 +356,7 @@ WSJT-X: - Revised User Guide using FT8 mode for the basic tutorial - Allow contest and FD operating in Q65 mode + Release: WSJT-X 2.5.0-rc3 Jul 5, 2021 ------------------------- @@ -221,6 +379,7 @@ WSJT-X: messages to not be sent when no other intervening messages are sent. + Release: WSJT-X 2.5.0-rc2 Jun 28, 2021 ------------------------- @@ -261,6 +420,7 @@ WSJT-X (including the decoder for Q65 used by MAP65): series rigs, and support for the Icom IC-575 rig. - Updated CTY.DAT database + Release: WSJT-X 2.5.0-rc1 Jun 3, 2021 ------------------------- @@ -615,7 +775,6 @@ release candidate. - Several updates to international UI translations. - Release: WSJT-X 2.3.0-rc2 Nov 16, 2020 ------------------------- @@ -1080,6 +1239,7 @@ prior v2.1.0 release. - Fix a production issue with the macOS tool chain that generated broken executables. + Release: WSJT-X 2.1 July 15, 2019 ------------------- @@ -1149,6 +1309,7 @@ feedback to guide future development. *Note* this release is not for general public release and we request that it is not distributed. + Release: WSJT-X 2.1.0-rc1 March 25, 2019 ------------------------- @@ -1282,6 +1443,7 @@ Some details of changes since WSJT-X-rc5 include the following: - Update the WSJT-X User Guide to v2.0 (more to come...) - Update cty.dat + Release: WSJT-X 2.0-rc5 November 26, 2018 ----------------------- @@ -1513,7 +1675,6 @@ Changes from WSJT-X Version 1.9.0-rc2 include the following: to be CAT controlled by WSJT-X. - Release: WSJT-X Version 1.9.0-rc2 February 26, 2018 --------------------------------- @@ -1683,8 +1844,6 @@ message from populating the Tx message boxes. - Fix an issue with editing IARU regions in the working frequencies table. - - Release: WSJT-X Version 1.8.0-rc2 September 2, 2017 --------------------------------- diff --git a/Radio.cpp b/Radio.cpp index ed4bf388..5ee29040 100755 --- a/Radio.cpp +++ b/Radio.cpp @@ -54,7 +54,7 @@ namespace Radio value *= std::pow (10., scale); if (ok) { - if (value < 0. || value > std::numeric_limits::max ()) + if (value < 0. || value > static_cast(std::numeric_limits::max ())) { value = 0.; *ok = false; @@ -91,8 +91,8 @@ namespace Radio value *= std::pow (10., scale); if (ok) { - if (value < -std::numeric_limits::max () - || value > std::numeric_limits::max ()) + if (value < static_cast(std::numeric_limits::min ()) + || value > static_cast(std::numeric_limits::max ())) { value = 0.; *ok = false; diff --git a/Release_Notes.txt b/Release_Notes.txt index ff8efca5..b4bad5fc 100755 --- a/Release_Notes.txt +++ b/Release_Notes.txt @@ -9,7 +9,125 @@ \$$ \$$ \$$$$$$ \$$$$$$ \$$ \$$ \$$ -Copyright 2001 - 2021 by Joe Taylor, K1JT. +Copyright 2001 - 2022 by Joe Taylor, K1JT, and the WSJT Development Team + + Release: WSJT-X 2.6.0-rc2 + July 21, 2022 + ---------------------- + +WSJT-X 2.6.0 Release Candidate 2 brings a number of improvements as +well as some bug fixes. + + - The "Measure" function in Echo mode now uses the computed Doppler + spread for DX grid, when available. This feature is especially + helpful for microwave EME tests, enabling accurate measurement of + SNR for a DX station. + + - Settings for T/R period and Submode are now remembered by mode when + you switch directly between (for example) MSK144-15, Q65-60A, + JT65C, or FST4-120. + + - Tx and Rx audio frequencies are remembered and restored when you + return from a mode that sets a default frequency of 1500 Hz + (MSK144, FST4W, Echo, WSPR, FreqCal) and then switching back to + FT4, FT8, Q65, JT65, or FST4. + + - QSOs in the Contest Log can now be displayed in increasing or + decreasing order of logged time. By default the log is scrolled to + the latest logged QSO, ready for insertion of a new contact. The + total number of QSOs in the Contest Log is displayed at bottom left + of its window. + + - Default FT8 frequency for 4m band (Region 1) is set to 70.154 MHz. + + - Layout of mode buttons has been optimized for 4K screens. + + - Display of Keyboard Shortcuts has been updated. + + - The OK button now has default focus in the LogQSO dialog window. + You may just hit Enter to log the QSO. + +- Bug fix: The Tx Freq spinbox remained red when coming back from + some Q65 submodes. Corrected. + + - Hamlib bug fixes: make sure that VFOB is selected when required on + some rigs (e.g. IC7610, IC7100), and others. + + + Release: WSJT-X 2.6.0-rc1 + June 20, 2022 + ---------------------- + +WSJT-X 2.6.0 Release Candidate 1 introduces support for the ARRL +International Digital Contest; performance enhancements for FT8, Q65, +and EME Echo mode; new controls and options on the GUI; and several +bug fixes. + +In program WSJT-X: + + - Improved decoding for FT8: additional messages are marked 'a7' + + - Improved decoding for Q65 when AP is in use + + - Optional new "Active Stations" window and other features + supporting ARRL International Digital Contest + + - Accurate SNR measurements in Echo mode, including large Doppler + spreads + + - Add mode selection buttons on main window for FT4, FT8, JT65, + MSK144, and Q65 + + - Add a button to toggle FT8's Hound mode ON or OFF + + - Add a "Clr Avg" button for Echo mode + + - Add optional highlighting of DX Call and DX Grid + + - Add optional highlighting of messages containing RR73 or 73 + + - New options for writing to ALL.TXT: split the file yearly, monthly, + or disable writing altogether + + - Add Russian to available translations of user interface + + - Add a 90 s Tune watchdog with optional disable + + - Allow auto reply for non-CQ messages via UDP (JTAlert, etc.) when + Hold Tx Freq is enabled + + - Suppress transmission of blank messages + + - Suppress self-spotting when running multiple instances + + - Correct the handling of messages starting with "CQ xxxx ..." + + - Correct a flaw that could cause Windows to drop audio samples + + - Correct a flaw that could send incorrect frequencies to ALL.TXT + and PSK Reporter after a band change + + - Correct the auto-sequencing logic in several specific circumstances + + - Correct a flaw in WSPR mode when handling three-character callsigns + + - Correct a flaw that could cause OmniRig 1.19 or later to set + incorrect frequencies after initialization + + - Clean up some ToolTips + + - Fix an inconsistancy in the macOS installation package that caused + the pwr slider to behave incorrectly on macOS 12 + +In program MAP65 (Windows only): + + - Send additional information to file azel.dat + + - Allow optional scaling of digital I/Q data + + - Suppress a bounds error caused by too-wide setting of display + bandwidth + Release: WSJT-X 2.5.4 Dec 28, 2021 @@ -94,6 +212,7 @@ release 2.5.1: providing updates for 32-bit only systems. 32-bit WSJT-X can still be built for Linux Intel and is supported at least until some prerequisite package is no longer available. + Release: WSJT-X 2.5.1 Oct 21, 2021 @@ -145,6 +264,7 @@ and repairs for defects detected since the 2.5.0 GA release. - Improved main window layout to ensure TxN messages are fully visible. + Release: WSJT-X 2.5.0 Sept 27, 2021 @@ -175,6 +295,7 @@ WSJTX: - Ensure that CALL3.TXT is not deleted while updating the file (this allows sharing using symlinks to work). + Release: WSJT-X 2.5.0-rc6 Sept 6, 2021 ------------------------- @@ -194,6 +315,7 @@ WSJT-X: - Repair an issue when non-ASCII characters used in account names. - Repair a regression that prevented WSPR band-hopping working when the Tx percentage is zero. + Release: WSJT-X 2.5.0-rc5 Aug 5, 2021 @@ -213,6 +335,7 @@ WSJT-X: - Repair a regression that caused some messages involving compound or nonstandard callsigns to be encoded as free text + Release: WSJT-X 2.5.0-rc4 Aug 1, 2021 ------------------------- @@ -234,6 +357,7 @@ WSJT-X: - Revised User Guide using FT8 mode for the basic tutorial - Allow contest and FD operating in Q65 mode + Release: WSJT-X 2.5.0-rc3 Jul 5, 2021 ------------------------- @@ -256,6 +380,7 @@ WSJT-X: messages to not be sent when no other intervening messages are sent. + Release: WSJT-X 2.5.0-rc2 Jun 28, 2021 ------------------------- @@ -296,6 +421,7 @@ WSJT-X (including the decoder for Q65 used by MAP65): series rigs, and support for the Icom IC-575 rig. - Updated CTY.DAT database + Release: WSJT-X 2.5.0-rc1 Jun 3, 2021 ------------------------- @@ -650,7 +776,6 @@ release candidate. - Several updates to international UI translations. - Release: WSJT-X 2.3.0-rc2 Nov 16, 2020 ------------------------- @@ -683,7 +808,6 @@ includes some new functionality that missed the RC1 cut off deadline. choice. - Release: WSJT-X 2.3.0-rc1 Sept 28, 2020 ------------------------- @@ -1116,6 +1240,7 @@ prior v2.1.0 release. - Fix a production issue with the macOS tool chain that generated broken executables. + Release: WSJT-X 2.1 July 15, 2019 ------------------- @@ -1137,6 +1262,7 @@ There are numerous minor enhancements and bug fixes. We now provide a separate installation package for 64-bit Windows 7 and later, with significant improvements in decoding speed. + Release: WSJT-X 2.1.0-rc7 June 3, 2019 ------------------------- @@ -1267,6 +1393,7 @@ feedback to guide future development. *Note* this release is not for general public release and we request that it is not distributed. + Release: WSJT-X 2.1.0-rc1 March 25, 2019 ------------------------- @@ -1400,6 +1527,7 @@ Some details of changes since WSJT-X-rc5 include the following: - Update the WSJT-X User Guide to v2.0 (more to come...) - Update cty.dat + Release: WSJT-X 2.0-rc5 November 26, 2018 ----------------------- @@ -1629,7 +1757,6 @@ Changes from WSJT-X Version 1.9.0-rc2 include the following: to be CAT controlled by WSJT-X. - Release: WSJT-X Version 1.9.0-rc2 February 26, 2018 --------------------------------- @@ -1799,8 +1926,6 @@ message from populating the Tx message boxes. - Fix an issue with editing IARU regions in the working frequencies table. - - Release: WSJT-X Version 1.8.0-rc2 September 2, 2017 --------------------------------- diff --git a/Transceiver/HamlibTransceiver.cpp b/Transceiver/HamlibTransceiver.cpp index a0670c0f..eb69bbae 100755 --- a/Transceiver/HamlibTransceiver.cpp +++ b/Transceiver/HamlibTransceiver.cpp @@ -911,6 +911,7 @@ void HamlibTransceiver::do_frequency (Frequency f, MODE m, bool no_ignore) // to frequency such as the TS-2000 auto mode setting CAT_TRACE ("rig_set_mode mode=" << rig_strrmode (new_mode)); m_->error_check (rig_set_mode (m_->rig_.data (), target_vfo, new_mode, RIG_PASSBAND_NOCHANGE), tr ("setting current VFO mode")); + rig_set_mode (m_->rig_.data (), RIG_VFO_B, new_mode, RIG_PASSBAND_NOCHANGE), tr ("setting VFOB mode"); } update_mode (m); } diff --git a/Transceiver/OmniRigTransceiver.cpp b/Transceiver/OmniRigTransceiver.cpp index 952af9a7..4aa68994 100755 --- a/Transceiver/OmniRigTransceiver.cpp +++ b/Transceiver/OmniRigTransceiver.cpp @@ -280,17 +280,30 @@ int OmniRigTransceiver::do_start () resolution = 2; // 20Hz rounded } } + + // For OmniRig v1.19 or later we need a delay between GetRxFrequency () and SetFreq (f), + // otherwise rig QRG stays at f+55 Hz. 200 ms should do job for all modern transceivers. + // However, with very slow rigs, QRG may still stay at f+55 Hz. Such rigs should use v1.18. + // Due to the asynchronous nature of Omnirig commands, a better solution would be to implement + // an event handler for OmniRig's OnParamChange event and read the frequency inside that handler. + if (OmniRig::PM_FREQ & writable_params_) { - rig_->SetFreq (f); + QTimer::singleShot (200, [=] { + rig_->SetFreq (f); + }); } else if (reversed_ && (OmniRig::PM_FREQB & writable_params_)) { - rig_->SetFreqB (f); + QTimer::singleShot (200, [=] { + rig_->SetFreqB (f); + }); } else if (!reversed_ && (OmniRig::PM_FREQA & writable_params_)) { - rig_->SetFreqA (f); + QTimer::singleShot (200, [=] { + rig_->SetFreqA (f); + }); } update_rx_frequency (f); CAT_TRACE ("started"); diff --git a/cty.dat b/cty.dat index 843e99b0..bdba2c70 100755 --- a/cty.dat +++ b/cty.dat @@ -2445,7 +2445,7 @@ Corsica: 15: 28: EU: 42.00: -9.00: -1.0: TK: Central African Republic: 36: 47: AF: 6.75: -20.33: -1.0: TL: TL; Republic of the Congo: 36: 52: AF: -1.02: -15.37: -1.0: TN: - TN; + TN0,TN1,TN2,TN3,TN4,TN5,TN6,TN7,TN8,TN9; Gabon: 36: 52: AF: -0.37: -11.73: -1.0: TR: TR; Chad: 36: 47: AF: 15.80: -18.17: -1.0: TT: @@ -3376,7 +3376,7 @@ Indonesia: 28: 51: OC: -7.30: -109.88: -7.0: YB: 8D8[54],8E8[54],8F8[54],8G8[54],8H8[54],8I8[54],YB8[54],YC8[54],YD8[54],YE8[54],YF8[54],YG8[54], YH8[54]; Iraq: 21: 39: AS: 33.92: -42.78: -3.0: YI: - HN,YI,=K4CY/M,=YI1IRQ/ND; + HN0,HN1,HN2,HN3,HN4,HN5,HN6,HN7,HN8,HN9,YI,=K4CY/M,=YI1IRQ/ND; Vanuatu: 32: 56: OC: -17.67: -168.38: -11.0: YJ: YJ; Syria: 20: 39: AS: 35.38: -38.20: -2.0: YK: diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 1bd72c7f..7c48c544 100755 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -62,6 +62,7 @@ set (UG_SRCS ) set (UG_IMGS + images/active_stations.png images/AstroData_2.png images/Astronomical_data.png images/auto-seq.png diff --git a/doc/common/links.adoc b/doc/common/links.adoc index fc4e38ed..a9d45db2 100755 --- a/doc/common/links.adoc +++ b/doc/common/links.adoc @@ -98,6 +98,7 @@ d). Edit lines as needed. Keeping them in alphabetic order help see dupes. :win64_openssl: https://slproweb.com/download/Win64OpenSSL_Light-1_1_1L.msi[Win64 OpenSSL Light Package] :writelog: https://writelog.com/[Writelog] :wsjtx_group: https://groups.io/g/WSJTX[WSJTX Group] +:wsjtx_group2: https://groups.io/g/WSJTX[join the group] :wsjtx: https://physics.princeton.edu/pulsar/K1JT/wsjtx.html[WSJT-X] :wspr0_guide: https://www.physics.princeton.edu/pulsar/K1JT/WSPR0_Instructions.TXT[WSPR0 Guide] :wspr: https://physics.princeton.edu/pulsar/K1JT/wspr.html[WSPR Home Page] @@ -120,7 +121,8 @@ d). Edit lines as needed. Keeping them in alphabetic order help see dupes. :svn: https://subversion.apache.org/packages.html#windows[Subversion] :win32: https://physics.princeton.edu/pulsar/K1JT/wsjtx-{VERSION}-win32.exe[wsjtx-{VERSION}-win32.exe] :win64: https://physics.princeton.edu/pulsar/K1JT/wsjtx-{VERSION}-win64.exe[wsjtx-{VERSION}-win64.exe] -:wsjt-devel: https://lists.sourceforge.net/lists/listinfo/wsjt-devel[here] +:wsjt-devel: https://sourceforge.net/p/wsjt/mailman/wsjt-devel/[join the group] +:wsjt-devel2: https://sourceforge.net/p/wsjt/mailman/wsjt-devel/[subscribe to the list] :wsjt_repo: https://sourceforge.net/p/wsjt/wsjt_orig/ci/master/tree/[WSJT Source Repository] :wspr_code: https://physics.princeton.edu/pulsar/K1JT/WSPRcode.exe[WSPRcode.exe] :wspr_svn: https://sourceforge.net/p/wsjt/wspr/ci/master/tree/[WSPR Source Repository] diff --git a/doc/user_guide/en/acknowledgements.adoc b/doc/user_guide/en/acknowledgements.adoc index e5e59479..d027b73e 100755 --- a/doc/user_guide/en/acknowledgements.adoc +++ b/doc/user_guide/en/acknowledgements.adoc @@ -1,12 +1,13 @@ // Status=review The _WSJT_ project was started by *K1JT* in 2001. Since 2005 it has -been an Open Source project, which now includes the programs _WSJT_, +been an Open Source project, and it has included the programs _WSJT_, _MAP65_, _WSPR_, _WSJT-X_, and _WSPR-X_. *G4WJS* (since 2013), *K9AN* -(since 2015), and *IV3NWV* (since 2016) have made major contributions -to _WSJT-X_. Together with K1JT they now form the core development -team. *G4WJS* and *W9MDB* have made major contributions to _hamlib_, -on which _WSJT-X_ depends for rig control. +(since 2015), *IV3NWV* (since 2016), *KG4IYS* (since 2021), and +*DG2YCB* (since 2021) have made major contributions to _WSJT-X_. +Together with K1JT they now form the core development team. *G4WJS* +and *W9MDB* have made major contributions to the _hamlib_ library, on +which _WSJT-X_ depends for rig control. All code in the _WSJT_ project is licensed under the GNU Public License (GPL). Many users of these programs, too numerous to mention diff --git a/doc/user_guide/en/controls-functions-left.adoc b/doc/user_guide/en/controls-functions-left.adoc index ee90eaf8..906e96fa 100755 --- a/doc/user_guide/en/controls-functions-left.adoc +++ b/doc/user_guide/en/controls-functions-left.adoc @@ -1,8 +1,10 @@ // Status=edited Controls related to frequency selection, received audio level, the -station being called, and date and time are found in the lower, left-hand section of the -main window: +station being called, and date and time are found in the lower, +left-hand section of the main window. Buttons are provided for making +quick changes among the modes FT8, FT4, MSK144, Q65, and JT65, and +for toggling FT8 Hound mode ON or OFF. //.Misc Controls Left image::misc-main-ui.png[align="center",alt="Misc Menu Items"] diff --git a/doc/user_guide/en/controls-functions-main-window.adoc b/doc/user_guide/en/controls-functions-main-window.adoc index 0027100d..31017e86 100755 --- a/doc/user_guide/en/controls-functions-main-window.adoc +++ b/doc/user_guide/en/controls-functions-main-window.adoc @@ -1,7 +1,7 @@ // Status=edited The following controls appear just under the decoded text windows on -the main screen: +the main screen. Some of them are visible only in certain modes. //.Main UI image::main-ui-controls.png[align="center",width=650,alt="Main UI Controls"] diff --git a/doc/user_guide/en/controls-functions-menus.adoc b/doc/user_guide/en/controls-functions-menus.adoc index defb075a..85079a41 100755 --- a/doc/user_guide/en/controls-functions-menus.adoc +++ b/doc/user_guide/en/controls-functions-menus.adoc @@ -37,7 +37,18 @@ examples for configurations `FT8` and `Echo`: ==== View Menu image::view-menu.png[align="left",alt="View Menu"] -The *SWL Mode* action reduces the _WSJT-X_ main window to a minimum +*Active Stations* displays a window that can help you to work the most +distant stations, in particular for the distance-scored ARRL +International Digital Contest. Controls are provided to set the +maximum length of the list and the maximum "`age`" of decodes in Rx +sequences. You can request display of only ready-to-be-called +stations. For the ARRL International Digital Contest the window +displays scoring rate (points in the most recent hour), total score, +and the number of band changes in the past hour. + +image::active_stations.png[align="left",alt="Active Stations"] + +*SWL Mode* reduces the _WSJT-X_ main window to a minimum size with just the menus, decodes windows, and status bar visible. You may find this useful when running multiple instances of the application. Both size and location of the main window are saved and diff --git a/doc/user_guide/en/decoder_notes.adoc b/doc/user_guide/en/decoder_notes.adoc index ff237c0e..4bcedd49 100755 --- a/doc/user_guide/en/decoder_notes.adoc +++ b/doc/user_guide/en/decoder_notes.adoc @@ -24,7 +24,8 @@ AP bits, with a specified level of confidence. Successful AP decodes are labeled with an end-of-line indicator of the form `aP`, where `P` is one of the single-digit AP decoding types listed in Table 1. For example, `a2` indicates that the successful decode used MyCall as -hypothetically known information. +hypothetically known information. Type `a7`, used only in FT8 mode, +uses information from the previous Rx sequence. [[FT8_AP_INFO_TABLE]] .FST4, FT4, and FT8 AP information types @@ -37,6 +38,7 @@ hypothetically known information. |a4|MyCall DxCall RRR |a5|MyCall DxCall 73 |a6|MyCall DxCall RR73 +|a7|(Call_1 or CQ) Call_2     ? |=== If a codeword is found that is judged to have high (but not diff --git a/doc/user_guide/en/images/Best_S+P.png b/doc/user_guide/en/images/Best_S+P.png index 4ebfd39d..f65bff41 100755 Binary files a/doc/user_guide/en/images/Best_S+P.png and b/doc/user_guide/en/images/Best_S+P.png differ diff --git a/doc/user_guide/en/images/FST4_center.png b/doc/user_guide/en/images/FST4_center.png index b66aa185..0c3e0c7f 100755 Binary files a/doc/user_guide/en/images/FST4_center.png and b/doc/user_guide/en/images/FST4_center.png differ diff --git a/doc/user_guide/en/images/active_stations.png b/doc/user_guide/en/images/active_stations.png new file mode 100755 index 00000000..5a820ed4 Binary files /dev/null and b/doc/user_guide/en/images/active_stations.png differ diff --git a/doc/user_guide/en/images/auto-seq.png b/doc/user_guide/en/images/auto-seq.png index 0b155310..ae631da7 100755 Binary files a/doc/user_guide/en/images/auto-seq.png and b/doc/user_guide/en/images/auto-seq.png differ diff --git a/doc/user_guide/en/images/colors.png b/doc/user_guide/en/images/colors.png index bbfa9da8..7d29f881 100755 Binary files a/doc/user_guide/en/images/colors.png and b/doc/user_guide/en/images/colors.png differ diff --git a/doc/user_guide/en/images/help-menu.png b/doc/user_guide/en/images/help-menu.png index 3af2ec08..b4de7378 100755 Binary files a/doc/user_guide/en/images/help-menu.png and b/doc/user_guide/en/images/help-menu.png differ diff --git a/doc/user_guide/en/images/misc-controls-center.png b/doc/user_guide/en/images/misc-controls-center.png index f2fdf64b..7847797a 100755 Binary files a/doc/user_guide/en/images/misc-controls-center.png and b/doc/user_guide/en/images/misc-controls-center.png differ diff --git a/doc/user_guide/en/images/misc-main-ui.png b/doc/user_guide/en/images/misc-main-ui.png index 1889992a..fac4e53d 100755 Binary files a/doc/user_guide/en/images/misc-main-ui.png and b/doc/user_guide/en/images/misc-main-ui.png differ diff --git a/doc/user_guide/en/images/reporting.png b/doc/user_guide/en/images/reporting.png index 4cced8bb..f1243f77 100755 Binary files a/doc/user_guide/en/images/reporting.png and b/doc/user_guide/en/images/reporting.png differ diff --git a/doc/user_guide/en/images/save-menu.png b/doc/user_guide/en/images/save-menu.png index 6d1ff7a1..2c04b8bd 100755 Binary files a/doc/user_guide/en/images/save-menu.png and b/doc/user_guide/en/images/save-menu.png differ diff --git a/doc/user_guide/en/images/settings-advanced.png b/doc/user_guide/en/images/settings-advanced.png index 399806bb..b1ed3cc8 100755 Binary files a/doc/user_guide/en/images/settings-advanced.png and b/doc/user_guide/en/images/settings-advanced.png differ diff --git a/doc/user_guide/en/images/settings-general.png b/doc/user_guide/en/images/settings-general.png index 6971060e..cee21694 100755 Binary files a/doc/user_guide/en/images/settings-general.png and b/doc/user_guide/en/images/settings-general.png differ diff --git a/doc/user_guide/en/images/view-menu.png b/doc/user_guide/en/images/view-menu.png index 3f3fc048..489b5ad7 100755 Binary files a/doc/user_guide/en/images/view-menu.png and b/doc/user_guide/en/images/view-menu.png differ diff --git a/doc/user_guide/en/images/wide-graph-controls.png b/doc/user_guide/en/images/wide-graph-controls.png index d776ee4c..be1791a8 100755 Binary files a/doc/user_guide/en/images/wide-graph-controls.png and b/doc/user_guide/en/images/wide-graph-controls.png differ diff --git a/doc/user_guide/en/intro_subsections.adoc b/doc/user_guide/en/intro_subsections.adoc index 9b8cbe2b..0ae17daf 100755 --- a/doc/user_guide/en/intro_subsections.adoc +++ b/doc/user_guide/en/intro_subsections.adoc @@ -26,7 +26,10 @@ The _WSJT-X_ user interface (UI) is now available in many languages. When a translated UI is available for the computer's default System Language, it will appear automatically on program startup. The UI language may be overridden if desired by starting _WSJT-X_ with a -command line option. +command line option. For example, to start _WSJT-X_ with its user +interface in Spanish, enter this command at the prompt: + + +`wsjtx --language es` === How You Can Contribute diff --git a/doc/user_guide/en/introduction.adoc b/doc/user_guide/en/introduction.adoc index 8765b272..2cc1f691 100755 --- a/doc/user_guide/en/introduction.adoc +++ b/doc/user_guide/en/introduction.adoc @@ -89,3 +89,11 @@ Release candidates should be used _only_ during a short testing period. They carry an implied obligation to provide feedback to the program development group. Candidate releases should not be used on the air after a full release with the same number is made. + +A companion program _MAP65_, written by K1JT, is designed for EME +communication using the JT65 and Q65 protocols. When used with RF +hardware providing coherent signal channels for two orthogonal +polarizations, the program provides automatic polarization-matched +reception for every JT65 or Q65 signal in a 90 kHz passband. On the +Windows platform, _MAP65_ is installed automatically along with +_WSJT-X_. diff --git a/doc/user_guide/en/make-qso.adoc b/doc/user_guide/en/make-qso.adoc index c48d5f74..a11c819d 100755 --- a/doc/user_guide/en/make-qso.adoc +++ b/doc/user_guide/en/make-qso.adoc @@ -69,9 +69,9 @@ Check *Auto Seq* on the main window to enable this feature: image::auto-seq.png[align="center",alt="AutoSeq"] -When calling CQ you may also choose to check the box *Call 1st*. -_WSJT-X_ will then respond automatically to the first decoded -responder to your CQ. +When calling CQ you may choose to select *CQ: First* to reply +automatically to the first decoded responder, or *CQ: Max Dist* +to reply to the most distant responder. NOTE: When *Auto-Seq* is enabled, the program de-activates *Enable Tx* at the end of each QSO. It is not intended that _WSJT-X_ should make @@ -83,14 +83,14 @@ operator replacement. The FT4, FT8, and MSK144 protocols support special messages optimized for *NA VHF* and *EU VHF* contests. FT4 and FT8 also support messages -for *ARRL Field Day*, *ARRL RTTY Roundup*, and the *WW Digi* contest. +for *ARRL Field Day*, *FT Roundup*, and the *WW Digi* contest. The decoders recognize and decode these messages at any time. Configure the program to automatically generate the required message types for contest exchanges and carry out suitable auto-sequencing by selecting a supported operating activity on the *Settings | Advanced* tab. Model QSOs then proceed as follows, for each event type: -*NA VHF Contest* +*NA VHF Contest* and *ARRL International Digital Contest* CQ TEST K1ABC FN42 K1ABC W9XYZ EN37 @@ -98,8 +98,9 @@ tab. Model QSOs then proceed as follows, for each event type: K1ABC W9XYZ RRR W9XYZ K1ABC 73 -Either callsign (or both) may have /R appended. You can use RR73 in -place of RRR, and the final 73 is optional. +Either callsign (or both) may have /R appended to signify a Rover in a +VHF contest. You can use RR73 in place of RRR, and the final 73 is +optional. *EU VHF Contest* @@ -124,7 +125,7 @@ to upgrade _WSJT-X_ if you will use *EU VHF Contest* messages. W9XYZ K1ABC R 2B EMA K1ABC W9XYZ RR73 -*ARRL RTTY Roundup* +*FT Roundup* CQ RU K1ABC FN42 K1ABC W9XYZ 579 WI @@ -144,7 +145,7 @@ station's log and not the supposed QSO partner's. To avoid Not-in-Log (NIL) penalties for yourself and others, we recommend the following guidelines for contest logging with FT4, FT8, and MSK144: - - Activate and learn to use the alternate F1-F6 bindings selectable + - Activate and learn to use the *Alternate F1-F6 bindings* selectable on the *Settings | General* tab. - Always log a QSO when you have received RRR, RR73, or 73 from a @@ -153,8 +154,9 @@ guidelines for contest logging with FT4, FT8, and MSK144: - Log a QSO when you send RR73 or 73 if you are reasonably confident it will be copied. But be sure to watch for any indication that it was not copied, and then take appropriate action. For example, if - you receive the Tx3 message (R plus contest exchange) again, hit F4 - to re-send your RR73. + you receive the Tx3 message (R plus contest exchange) again, and if + you have activated the *Alternate F1-F6 bindings*, hit *F4* to + re-send your RR73. [[COMP-CALL]] === Nonstandard Callsigns diff --git a/doc/user_guide/en/new_features.adoc b/doc/user_guide/en/new_features.adoc index cd30a448..f2bf6b23 100755 --- a/doc/user_guide/en/new_features.adoc +++ b/doc/user_guide/en/new_features.adoc @@ -1,29 +1,48 @@ [[NEW_FEATURES]] === New in Version {VERSION_MAJOR}.{VERSION_MINOR} -_WSJT-X 2.5_ introduces an enhanced Q65 decoder that measures and -compensates for linear frequency drifts of Q65 signals. Activate this -feature by setting a spinner control *Max Drift* on the _WSJT-X_ main -window to a number greater than 0. We suggest a setting of 10 for -submode Q65-60A, the recommended submode for EME on 50 and 144 MHz, -which will accommodate drift rates up to 20 Hz/minute. Similarly, we -suggest *Max Drift* = 40 for submode Q65-15C, used for for 10 GHz QSOs -(up to 900 km) via aircraft scatter and drift rates up to about 20 -Hz/s. When *Max Drift* = 50 the decoder will use an enhanced algorithm -to compensate for larger aircraft scatter drift rates, successful -decodes with this algorithm are tagged with a `q5` indicator. - -On the Windows platform only, _WSJT-X 2.5_ installations now include -an early version of _MAP65 3.0_. This program works together with -suitable hardware that converts RF to baseband. The hardware/software -combination implements a wideband, highly optimized receiver for the -Q65 and JT65 protocols, with matching transmitting features that -require a standard SSB transceiver. _MAP65_ is effective in both -single-polarization and dual-polarization systems. If two -polarization channels are available, _MAP65_ determines and matches -the linear polarization angle of each decodable signal. This -capability provides a major advantage for efficient EME communication -on bands up to 432 MHz. A single-channel _MAP65_ system works -extremely well for EME on 1296 MHz and higher bands, displaying all -signals in a 90 kHz sub-band and decoding all the Q65 and JT65 -signals. +- _WSJT-X 2.6_ implements new features supporting the ARRL +International Digital Contest and its distance based scoring. The +*Call 1st* checkbox has been replaced by a drop-down control offering +*CQ Max Dist* as an alternative. With this option selected, the +program will select the reply to your CQ that yields the most contest +points. In addition, a new window labeled *Active Stations* displays +a list of received but unworked callsigns, sorted in decreasing order +of potential contest points. Click on a line in this window to call +that station. + +- Decoding performance for FT8 and Q65 has been improved in a variety +of situations with available _a priori_ (AP) information. + +- *Echo* mode now offers a *Clear Avg* button and produces reliable +measurements of SNR even when Doppler spread is large. The *Measure* +function can be used to measure SNR for a received unmodulated carrier +-- for example, a key-down test signal emitted by another station and +reflected from the Moon. + +- New buttons on the main window allow quick changes between modes +FT4, FT8, MSK144, Q65, and JT65. Another new button allows toggling +FT8 Hound mode ON or OFF. + +- Optional color highlighting is provided for specified DX Call and DX +Grid, and for messages containing RR73 or 73. + +- New options are provided for writing to file ALL.TXT. You can +request automatic starting of a new file every month or every year, +and you can disable writing altogether. + +- Settings for T/R period and Submode are remembered by mode when you +switch directly between (for example) MSK144-15, Q65-60A, JT65-C, or +FST4-120. + +- Tx and Rx audio frequencies are remembered and restored when you +return from a mode that sets a default frequency 1500 Hz (MSK144, +FST4W, Echo, WSPR, FreqCal), then switching back to FT4, FT8, Q65, +JT65, or FST4. + +- Other changes include bug fixes and rig control for some new radios. + +- _MAP65 3.0_ (available for Windows only) now sends additional +information to file azel.dat and offers digital scaling of input I/Q +data. + diff --git a/doc/user_guide/en/settings-advanced.adoc b/doc/user_guide/en/settings-advanced.adoc index d8d09527..d0f34987 100755 --- a/doc/user_guide/en/settings-advanced.adoc +++ b/doc/user_guide/en/settings-advanced.adoc @@ -38,15 +38,14 @@ with twice or four times the normal tone spacing. This feature is intended for use with specialized LF/MF transmitters that divide generated frequencies by 2 or 4 as part of the transmission process. -_Special Operating Activity: Generation of FT4, FT8, and MSK144 -messages_ +_Special Operating Activity_ - Check this box and select the type of activity to enable auto-generation of special message formats for contesting and DXpeditions. For *ARRL Field Day*, enter your operating Class and -ARRL/RAC section; for *ARRL RTTY Roundup*, enter your state or province. +ARRL/RAC section; for *FT Roundup*, enter your state or province. Use “DX” for section or state if you are not in the US or Canada. In -the RTTY Roundup, Stations in Alaska and Hawaii should enter “DX”. +the FT Roundup, Stations in Alaska and Hawaii should enter “DX”. - Check *Fox* if you are a DXpedition station operating in FT8 DXpedition Mode. Check *Hound* if you wish to make QSOs with such a diff --git a/doc/user_guide/en/support.adoc b/doc/user_guide/en/support.adoc index c02965f0..1e4f472e 100755 --- a/doc/user_guide/en/support.adoc +++ b/doc/user_guide/en/support.adoc @@ -4,8 +4,8 @@ The best source of help in setting up your station or configuring _WSJT-X_ is the {wsjtx_group} at email address wsjtx@groups.io. The chances are good that someone with similar interests and equipment has already solved your problem and -will be happy to help. To post messages here you will need to join -the group. +will be happy to help. To post messages here you will need to +{wsjt-devel}. === Bug Reports @@ -13,8 +13,7 @@ One of your responsibilities as a _WSJT-X_ user is to help the volunteer programmers to make the program better. Bugs may be reported to the WSJTX forum on Groups.io {wsjtgroup_mail} or the WSJT Developers list (wsjt-devel@lists.sourceforge.net). Again, you will -need to join the group or subscribe to the list. You can register for -the list {wsjt-devel}. +need to {wsjtx_group2} or {wsjt-devel2}. To be useful, bug reports should include at least the following information: diff --git a/doc/user_guide/en/tutorial-example4.adoc b/doc/user_guide/en/tutorial-example4.adoc index 22785896..f9d476b5 100755 --- a/doc/user_guide/en/tutorial-example4.adoc +++ b/doc/user_guide/en/tutorial-example4.adoc @@ -19,7 +19,7 @@ frequency limit is approximately 3300 Hz. +...\save\samples\FT4\200514_182053.wav+. The waterfall and Band Activity window should look something like the following screen shots. This sample file was recorded during a practice contest test session, so -most of the decoded messages use the *RTTY Roundup* message formats. +most of the decoded messages use the *FT Roundup* message formats. [[X16]] image::ft4_waterfall.png[align="left",alt="Wide Graph Decode FT4"] @@ -56,7 +56,7 @@ and treat it as if you had double-clicked on that line of decoded text. Here "best potential QSO partner" means "New Multiplier" (1st priority) or "New Call on Band" (2nd priority). "New Multiplier" is currently interpreted to mean "New DXCC"; a more broadly defined -multiplier category (for the ARRL RTTY Roundup rules) will be +multiplier category (for the FT Roundup rules) will be implemented in due course. We may provide additional priority rankings, for example “New Grid on Band” (useful for North American VHF contests), sorting by signal strength, etc. @@ -66,7 +66,7 @@ supposed to mean. This is done by configuring suitable options on the *Settings | Colors* tab. Selection and ordering of color-highlighting options determines what potential QSO partners will be chosen by the "Best S+P" feature. Optimum choices will be different for different -contests. In a contest using RTTY Roundup rules we recommend +contests. In a contest using FT Roundup rules we recommend activating *My Call in message*, *New DXCC*, *New Call on Band*, *CQ in message* and *Transmitted message*, reading from top to bottom. diff --git a/lib/77bit/packjt77.f90 b/lib/77bit/packjt77.f90 index 23d4bdb8..8fc575f0 100755 --- a/lib/77bit/packjt77.f90 +++ b/lib/77bit/packjt77.f90 @@ -830,7 +830,9 @@ subroutine split77(msg,nwords,nw,w) iz=j !Message length nwords=k !Number of words in msg if(nwords.le.0) go to 900 - nw(k)=len(trim(w(k))) + do i=1,nwords + nw(i)=len(trim(w(i))) + enddo msg(iz+1:)=' ' if(nwords.lt.3) go to 900 call chkcall(w(3),bcall_1,ok1) @@ -839,7 +841,7 @@ subroutine split77(msg,nwords,nw,w) w(2:12)=w(3:13) !Move all remaining words down by one nwords=nwords-1 endif - + 900 return end subroutine split77 diff --git a/lib/astro0.f90 b/lib/astro0.f90 index 9eebab9d..e59b7eff 100755 --- a/lib/astro0.f90 +++ b/lib/astro0.f90 @@ -11,6 +11,7 @@ subroutine astro0(nyear,month,nday,uth8,freq8,mygrid,hisgrid, & real*8 uth8,techo8,freq8 real*8 xl,b common/librcom/xl(2),b(2) + common/echocom2/fspread_self,fspread_dx data uth8z/0.d0/ save @@ -44,6 +45,9 @@ subroutine astro0(nyear,month,nday,uth8,freq8,mygrid,hisgrid, & width1=0.5*6741*fghz*rate1 rate2=sqrt((dldt1+dldt2)**2 + (dbdt1+dbdt2)**2) width2=0.5*6741*fghz*rate2 + if(hisgrid(1:4).eq.' ') width2=width1 !No hisgrid, use self width + fspread_self=width1 !Save for avecho() + fspread_dx=width2 !Save for avecho() AzSun8=AzSun ElSun8=ElSun diff --git a/lib/astrosub.f90 b/lib/astrosub.f90 index 0ca7b49c..8e27a4a5 100755 --- a/lib/astrosub.f90 +++ b/lib/astrosub.f90 @@ -54,6 +54,12 @@ contains width1,width2,xlst8,techo8) if (len_trim(AzElFileName) .eq. 0) go to 999 + if(len(trim(hisgrid)).eq.0) then !If DX grid is blank, set these to zero: + AzMoonB8=0 + ElMoonB8=0 + ndop=0 + width2=0 + endif imin=60*uth8 isec=3600*uth8 ih=uth8 diff --git a/lib/avecho.f90 b/lib/avecho.f90 index 9ee79982..04b80df6 100755 --- a/lib/avecho.f90 +++ b/lib/avecho.f90 @@ -1,4 +1,5 @@ -subroutine avecho(id2,ndop,nfrit,nqual,f1,xlevel,sigdb,snr,dfreq,width) +subroutine avecho(id2,ndop,nfrit,nauto,nqual,f1,xlevel,snrdb,db_err, & + dfreq,width) integer TXLENGTH parameter (TXLENGTH=27648) !27*1024 @@ -13,11 +14,23 @@ subroutine avecho(id2,ndop,nfrit,nqual,f1,xlevel,sigdb,snr,dfreq,width) real s(8192) real x(NFFT) integer ipkv(1) + logical ex complex c(0:NH) equivalence (x,c),(ipk,ipkv) common/echocom/nclearave,nsum,blue(NZ),red(NZ) + common/echocom2/fspread_self,fspread_dx save dop0,sa,sb + fspread=fspread_dx !### Use the predicted Doppler spread ### + if(nauto.eq.1) fspread=fspread_self + inquire(file='fspread.txt',exist=ex) + if(ex) then + open(39,file='fspread.txt',status='old') + read(39,*) fspread + close(39) + endif + fspread=min(max(0.1,fspread),700.0) + width=fspread dop=ndop sq=0. do i=1,TXLENGTH @@ -48,69 +61,28 @@ subroutine avecho(id2,ndop,nfrit,nqual,f1,xlevel,sigdb,snr,dfreq,width) if(ia.gt.7590 .or. ib.gt.7590) go to 900 nsum=nsum+1 - do i=1,NZ sa(i)=sa(i) + s(ia+i-2048) !Center at initial doppler freq sb(i)=sb(i) + s(ib+i-2048) !Center at expected echo freq enddo - - call pctile(sb,200,50,r0) - call pctile(sb(1800),200,50,r1) - - sum=0. - sq=0. - do i=1,NZ - y=r0 + (r1-r0)*(i-100.0)/1800.0 - blue(i)=sa(i)/y - red(i)=sb(i)/y - if(i.le.500 .or. i.ge.3597) then - sum=sum+red(i) - sq=sq + (red(i)-1.0)**2 - endif - enddo - ave=sum/1000.0 - rms=sqrt(sq/1000.0) - - redmax=maxval(red) - ipkv=maxloc(red) - fac=10.0/max(redmax,10.0) - dfreq=(ipk-2048)*df - snr=(redmax-ave)/rms - - sigdb=-99.0 - if(ave.gt.0.0) sigdb=10.0*log10(redmax/ave - 1.0) - 35.7 - - nqual=0 - if(nsum.ge.2 .and. nsum.lt.4) nqual=(snr-4)/5 - if(nsum.ge.4 .and. nsum.lt.8) nqual=(snr-3)/4 - if(nsum.ge.8 .and. nsum.lt.12) nqual=(snr-3)/3 - if(nsum.ge.12) nqual=(snr-2.5)/2.5 - if(nqual.lt.0) nqual=0 + call echo_snr(sa,sb,fspread,blue,red,snrdb,db_err,dfreq,snr_detect) + nqual=snr_detect-2 + if(nqual.lt.0) nqual=0 if(nqual.gt.10) nqual=10 ! Scale for plotting + redmax=maxval(red) + fac=10.0/max(redmax,10.0) blue=fac*blue red=fac*red - - sum=0. - do i=ipk,ipk+300 - if(i.gt.NZ) exit - if(red(i).lt.1.0) exit - sum=sum+(red(i)-1.0) - enddo - do i=ipk-1,ipk-300,-1 - if(i.lt.1) exit - if(red(i).lt.1.0) exit - sum=sum+(red(i)-1.0) - enddo - bins=sum/(red(ipk)-1.0) - width=df*bins - nsmo=max(0.0,0.25*bins) - + nsmo=max(0.0,0.25*width/df) do i=1,nsmo call smo121(red,NZ) call smo121(blue,NZ) enddo +! write(*,3001) snrdb,db_err,dfreq,snr_detect,redmax,nqual,nsmo,nclearave,nsum +!3001 format('A',5f10.1,4i4) + 900 return end subroutine avecho diff --git a/lib/averms.f90 b/lib/averms.f90 index 904004c8..a037c27d 100755 --- a/lib/averms.f90 +++ b/lib/averms.f90 @@ -7,7 +7,7 @@ subroutine averms(x,n,nskip,ave,rms) sq=0. ipk=maxloc(x) do i=1,n - if(abs(i-ipk(1)).gt.nskip) then + if((nskip.lt.0) .or. (abs(i-ipk(1)).gt.nskip)) then s=s + x(i) sq=sq + x(i)**2 ns=ns+1 diff --git a/lib/chkcall.f90 b/lib/chkcall.f90 index 23900748..944cfeeb 100755 --- a/lib/chkcall.f90 +++ b/lib/chkcall.f90 @@ -34,7 +34,9 @@ subroutine chkcall(w,bc,cok) ! One of first two characters (c1 or c2) must be a letter if((.not.isletter(bc(1:1))) .and. (.not.isletter(bc(2:2)))) go to 100 - if(bc(1:1).eq.'Q') go to 100 !Calls don't start with Q +! Real calls don't start with Q, but we'll allow the placeholder +! callsign QU1RK to be considered a standard call: + if(bc(1:1).eq.'Q' .and. bc(1:5).ne.'QU1RK') go to 100 ! Must have a digit in 2nd or 3rd position i1=0 diff --git a/lib/echo_snr.f90 b/lib/echo_snr.f90 new file mode 100755 index 00000000..fb976b73 --- /dev/null +++ b/lib/echo_snr.f90 @@ -0,0 +1,51 @@ +subroutine echo_snr(sa,sb,fspread,blue,red,snrdb,db_err,fpeak,snr_detect) + + parameter (NZ=4096) + real sa(NZ) + real sb(NZ) + real blue(NZ) + real red(NZ) + integer ipkv(1) + equivalence (ipk,ipkv) + + df=12000.0/32768.0 + wh=0.5*fspread+10.0 + i1=nint((1500.0 - 2.0*wh)/df) - 2048 + i2=nint((1500.0 - wh)/df) - 2048 + i3=nint((1500.0 + wh)/df) - 2048 + i4=nint((1500.0 + 2.0*wh)/df) - 2048 + +! call pctile(sb(i1),i2-i1,50,r0) +! call pctile(sb(i3+1),i4-i3,50,r1) +! ave=0.5*(r0+r1) +! blue=sa/ave +! red=sb/ave + + baseline=(sum(sb(i1:i2-1)) + sum(sb(i3+1:i4)))/(i2+i4-i1-i3) + blue=sa/baseline + red=sb/baseline + psig=sum(red(i2:i3)-1.0) + pnoise_2500 = 2500.0/df + snrdb=db(psig/pnoise_2500) + + smax=0. + mh=max(1,nint(0.2*fspread/df)) + do i=i2,i3 + ssum=sum(red(i-mh:i+mh)) + if(ssum.gt.smax) then + smax=ssum + ipk=i + endif + enddo + fpeak=ipk*df - 750.0 + + call averms(red(i1:i2-1),i2-i1,-1,ave1,rms1) + call averms(red(i3+1:i4),i4-i3,-1,ave2,rms2) + perr=0.707*(rms1+rms2)*sqrt(float(i2-i1+i4-i3)) + snr_detect=psig/perr + db_err=99.0 + if(psig.gt.perr) db_err=snrdb - db((psig-perr)/pnoise_2500) + if(db_err.lt.0.5) db_err=0.5 + + return +end subroutine echo_snr diff --git a/lib/ft8/chkdec.f90 b/lib/ft8/chkdec.f90 new file mode 100755 index 00000000..7a5e7618 --- /dev/null +++ b/lib/ft8/chkdec.f90 @@ -0,0 +1,161 @@ +program chkdec + + parameter(NMAX=100) + character*88 line + character*37 msg(NMAX),msg0,msg1 + character*2 c2(NMAX) + character*1 c1(NMAX) + character*1 only + integer nsnr(NMAX,0:1),nf(NMAX,0:1) + real dt(NMAX,0:1) + logical found,eof + +! These files are sorted by freq within each Rx sequence + open(10,file='all.wsjtx',status='old') + open(11,file='all.jtdx',status='old') + write(20,1030) +1030 format(' iseq B w j W W+ J E B w j W', & + ' W+ J E'/80('-')) + + nutc0=-1 + nbt=0 !Both + nwt=0 !WSJT-X only + njt=0 !JTDX only + net=0 !Either + n7t=0 !a7 + eof=.false. + + do iseq=1,9999 + j=0 + msg=' ' + nsnr=-99 + nf=-99 + dt=-99 + c1=' ' + c2=' ' + do i=1,NMAX + read(10,'(a88)',end=8) line !Read from the WSJT-X file + if(line(25:30).ne.'Rx FT8') cycle !Ignore any line not an FT8 decode + read(line(8:13),*) nutc + if(nutc0.lt.0) nutc0=nutc !First time only + if(nutc.ne.nutc0) then + backspace(10) + go to 10 !Finished WSJT-X for this sequence + endif + j=j+1 + if(j.eq.1) then + nf(j,0)=-1 + j=j+1 + endif + read(line,1001) nsnr(j,0),dt(j,0),nf(j,0),msg(j),c2(j) +1001 format(30x,i7,f5.1,i5,1x,a36,2x,a2) +! if(nutc.eq.180215 .and. c2(j).eq.'a7') print*,'aaa',j,nf(j,0),c2(j) + nutc0=nutc + enddo ! i + +8 eof=.true. +10 jz=j + do i=1,NMAX + read(11,'(a88)',end=20) line !Read from the JTDX file + if(line(31:31).ne.'~') cycle !Ignore any line not an FT8 decode + read(line(10:15),*) nutc + if(nutc.ne.nutc0) then + backspace(11) + go to 20 !Finished JTDX for this sequence + endif + msg1=line(33:58) + read(line(25:29),*) nf1 + found=.false. + do j=1,jz + if(msg(j).eq.msg1) then + read(line,1002) nsnr(j,1),dt(j,1),nf(j,1),c1(j) +1002 format(15x,i4,f5.1,i5,29x,a1) + found=.true. + exit + endif + i1=index(msg(j),'<') + if(i1.gt.0) then + i2=index(msg(j),'>') + msg0=msg(j)(1:i1-1)//msg(j)(i1+1:i2-1)//msg(j)(i2+1:) + if(msg0.eq.msg1) then + read(line,1002) nsnr(j,1),dt(j,1),nf(j,1),c1(j) + found=.true. + exit + endif + endif + enddo ! j + + if(.not.found) then !Insert this one as a new message + do j=1,jz + if(nf1.ge.nf(j,0) .and. nf1.lt.nf(j+1,0)) then + jj=j+1 + exit + endif + enddo + do j=jz+1,jj+1,-1 + nsnr(j,0)=nsnr(j-1,0) + dt(j,0)=dt(j-1,0) + nf(j,0)=nf(j-1,0) + msg(j)=msg(j-1) + c1(j)=c1(j-1) + c2(j)=c2(j-1) + enddo ! j + read(line,1004) nsnr(jj,1),dt(jj,1),nf(jj,1),msg(jj),c1(jj) +1004 format(15x,i4,f5.1,i5,3x,a26,a1) + c2(jj)=' ' + nsnr(jj,0)=-99 + dt(jj,0)=-99.0 + nf(jj,0)=-99 + jz=jz+1 + endif + enddo ! i + +20 nb=0 + nw=0 + nj=0 + ne=0 + n7=0 + do j=2,jz + write(line,1020) nutc0,j,nsnr(j,:),dt(j,:),nf(j,:),msg(j)(1:26), & + c2(j),c1(j) +1020 format(i6.6,i3,1x,2i4,1x,2f6.1,1x,2i5,1x,a26,1x,a2,1x,a1) + if(c2(j).eq.'a7') n7=n7+1 + only=' ' + if(line(12:14).eq.'-99') then + line(12:14)=' ' + only='j' + nj=nj+1 +! if(c2(j).eq.'a7') print*,'aaa ',trim(line) + endif + if(line(16:18).eq.'-99') then + line(16:18)=' ' + only='w' + nw=nw+1 + endif + if(line(12:14).ne.' ' .or. line(16:19).ne.' ') ne=ne+1 + if(line(12:14).ne.' ' .and. line(16:19).ne.' ') nb=nb+1 + if(line(21:25).eq.'-99.0') line(21:25)=' ' + if(line(27:31).eq.'-99.0') line(27:31)=' ' + if(line(35:37).eq.'-99') line(35:37)=' ' + if(line(40:42).eq.'-99') line(40:42)=' ' +! if(line(12:14).ne.' ') nw=nw+1 +! if(line(16:18).ne.' ') nj=nj+1 + write(*,'(a74,1x,a1)') line(1:74),only + enddo ! j + + nbt=nbt+nb + nwt=nwt+nw + n7t=n7t+n7 + njt=njt+nj + net=net+ne + nutc0=nutc + write(*,*) + + write(20,1031) iseq,nb,nw,nj,nb+nw-n7,nb+nw,nb+nj,ne,nbt,nwt,njt, & + nbt+nwt-n7t,nbt+nwt,nbt+njt,net +1031 format(i5,2x,7i4,2x,7i6) + if(eof) exit +! if(iseq.eq.2) exit + enddo ! iseq + +end program chkdec diff --git a/lib/ft8/ft8_a7.f90 b/lib/ft8/ft8_a7.f90 new file mode 100755 index 00000000..d32c9634 --- /dev/null +++ b/lib/ft8/ft8_a7.f90 @@ -0,0 +1,378 @@ +module ft8_a7 + + parameter(MAXDEC=100) + +! For the following three arrays +! First index i=decode number in this sequence +! Second index j=0 or 1 for even or odd sequence +! Third index k=0 or 1 for previous or current tally for this j + real dt0(MAXDEC,0:1,0:1) !dt0(i,j,k) + real f0(MAXDEC,0:1,0:1) !f0(i,j,k) + character*37 msg0(MAXDEC,0:1,0:1) !msg0(i,j,k) + + integer itone_a7(79) + integer jseq !even=0, odd=1 + integer ndec(0:1,0:1) !ndec(j,k) + data ndec/4*0/,jseq/0/ + +contains + +subroutine ft8_a7_save(nutc,dt,f,msg) + + use packjt77 + character*37 msg,msg1 + character*13 w(19) + character*4 g4 + integer nw(19) + logical isgrid4 + +! Statement function: + isgrid4(g4)=(len_trim(g4).eq.4 .and. & + ichar(g4(1:1)).ge.ichar('A') .and. ichar(g4(1:1)).le.ichar('R') .and. & + ichar(g4(2:2)).ge.ichar('A') .and. ichar(g4(2:2)).le.ichar('R') .and. & + ichar(g4(3:3)).ge.ichar('0') .and. ichar(g4(3:3)).le.ichar('9') .and. & + ichar(g4(4:4)).ge.ichar('0') .and. ichar(g4(4:4)).le.ichar('9')) + + if(index(msg,'/').ge.1 .or. index(msg,'<').ge.1) go to 999 + call split77(msg,nwords,nw,w) !Parse msg into words + if(nwords.lt.1) go to 999 + if(w(1)(1:3).eq.'CQ_') go to 999 + j=mod(nutc/5,2) !j is 0 or 1 for odd/even sequence + jseq=j + +! Add this decode to current table for this sequence + ndec(j,1)=ndec(j,1)+1 !Number of decodes in this sequence + i=ndec(j,1) !i is index of a new table entry + if(i.ge.MAXDEC-1) return !Prevent table overflow + + dt0(i,j,1)=dt !Save dt in table + f0(i,j,1)=f !Save f in table + msg0(i,j,1)=trim(w(1))//' '//trim(w(2)) !Save "call_1 call_2" + if(w(1)(1:3).eq.'CQ ' .and. nw(2).le.2) then + msg0(i,j,1)='CQ '//trim(w(2))//' '//trim(w(3)) !Save "CQ DX Call_2" + endif + msg1=msg0(i,j,1) !Message without grid + nn=len(trim(msg1)) !Message length without grid +! Include grid as part of message + if(isgrid4(w(nwords))) msg0(i,j,1)=trim(msg0(i,j,1))//' '//trim(w(nwords)) + +! If a transmission at this frequency with message fragment "call_1 call_2" +! was decoded in the previous sequence, flag it as "DO NOT USE" because +! we have already decoded and subtracted that station's next transmission. + + call split77(msg0(i,j,1),nwords,nw,w) !Parse msg into words + do i=1,ndec(j,0) + if(f0(i,j,0).le.-98.0) cycle + i2=index(msg0(i,j,0),' '//trim(w(2))) + if(abs(f-f0(i,j,0)).le.3.0 .and. i2.ge.3) then + f0(i,j,0)=-98.0 !Flag as "do not use" for a potential a7 decode + endif + enddo + +999 return +end subroutine ft8_a7_save + +subroutine ft8_a7d(dd0,newdat,call_1,call_2,grid4,xdt,f1,xbase,nharderrors,dmin, & + msg37,xsnr) + +! Examine the raw data in dd0() for possible "a7" decodes. + + use crc + use timer_module, only: timer + use packjt77 + include 'ft8_params.f90' + parameter(NP2=2812) + character*37 msg37,msg,msgsent,msgbest + character*12 call_1,call_2 + character*4 grid4 + real a(5) + real s8(0:7,NN) + real s2(0:511) + real dmm(206) + real bmeta(174),bmetb(174),bmetc(174),bmetd(174) + real llra(174),llrb(174),llrc(174),llrd(174) !Soft symbols + real dd0(15*12000) + real ss(9) + real rcw(174) + integer*1 cw(174) + integer*1 msgbits(77) + integer*1 nxor(174),hdec(174) + integer itone(NN) + integer icos7(0:6),ip(1) + logical one(0:511,0:8) + integer graymap(0:7) + integer iloc(1) + complex cd0(0:3199) + complex ctwk(32) + complex csymb(32) + complex cs(0:7,NN) + logical std_1,std_2 + logical first,newdat + data icos7/3,1,4,0,6,5,2/ !Sync array + data first/.true./ + data graymap/0,1,3,2,5,6,4,7/ + save one + + if(first) then + one=.false. + do i=0,511 + do j=0,8 + if(iand(i,2**j).ne.0) one(i,j)=.true. + enddo + enddo + first=.false. + endif + + call stdcall(call_1,std_1) + if(call_1(1:3).eq.'CQ ') std_1=.true. + call stdcall(call_2,std_2) + + fs2=12000.0/NDOWN + dt2=1.0/fs2 + twopi=8.0*atan(1.0) + delfbest=0. + ibest=0 + + call timer('ft8_down',0) + call ft8_downsample(dd0,newdat,f1,cd0) !Mix f1 to baseband and downsample + call timer('ft8_down',1) + + i0=nint((xdt+0.5)*fs2) !Initial guess for start of signal + smax=0.0 + do idt=i0-10,i0+10 !Search over +/- one quarter symbol + call sync8d(cd0,idt,ctwk,0,sync) !NB: ctwk not used here + if(sync.gt.smax) then + smax=sync + ibest=idt + endif + enddo + +! Peak up in frequency + smax=0.0 + do ifr=-5,5 !Search over +/- 2.5 Hz + delf=ifr*0.5 + dphi=twopi*delf*dt2 + phi=0.0 + do i=1,32 + ctwk(i)=cmplx(cos(phi),sin(phi)) + phi=mod(phi+dphi,twopi) + enddo + call sync8d(cd0,ibest,ctwk,1,sync) + if( sync .gt. smax ) then + smax=sync + delfbest=delf + endif + enddo + a=0.0 + a(1)=-delfbest + call twkfreq1(cd0,NP2,fs2,a,cd0) + f1=f1+delfbest !Improved estimate of DF + + call timer('ft8_down',0) + call ft8_downsample(dd0,.false.,f1,cd0) !Mix f1 to baseband and downsample + call timer('ft8_down',1) + + smax=0.0 + do idt=-4,4 !Search over +/- one quarter symbol + call sync8d(cd0,ibest+idt,ctwk,0,sync) + ss(idt+5)=sync + enddo + smax=maxval(ss) + iloc=maxloc(ss) + ibest=iloc(1)-5+ibest + xdt=(ibest-1)*dt2 - 0.5 + sync=smax + + do k=1,NN + i1=ibest+(k-1)*32 + csymb=cmplx(0.0,0.0) + if( i1.ge.0 .and. i1+31 .le. NP2-1 ) csymb=cd0(i1:i1+31) + call four2a(csymb,32,1,-1,1) + cs(0:7,k)=csymb(1:8)/1e3 + s8(0:7,k)=abs(csymb(1:8)) + enddo + +! sync quality check + is1=0 + is2=0 + is3=0 + do k=1,7 + ip=maxloc(s8(:,k)) + if(icos7(k-1).eq.(ip(1)-1)) is1=is1+1 + ip=maxloc(s8(:,k+36)) + if(icos7(k-1).eq.(ip(1)-1)) is2=is2+1 + ip=maxloc(s8(:,k+72)) + if(icos7(k-1).eq.(ip(1)-1)) is3=is3+1 + enddo +! hard sync sum - max is 21 + nsync=is1+is2+is3 +! if(nsync .le. 6) return ! bail out + + do nsym=1,3 + nt=2**(3*nsym) + do ihalf=1,2 + do k=1,29,nsym + if(ihalf.eq.1) ks=k+7 + if(ihalf.eq.2) ks=k+43 + amax=-1.0 + do i=0,nt-1 + i1=i/64 + i2=iand(i,63)/8 + i3=iand(i,7) + if(nsym.eq.1) then + s2(i)=abs(cs(graymap(i3),ks)) + elseif(nsym.eq.2) then + s2(i)=abs(cs(graymap(i2),ks)+cs(graymap(i3),ks+1)) + elseif(nsym.eq.3) then + s2(i)=abs(cs(graymap(i1),ks)+cs(graymap(i2),ks+1)+cs(graymap(i3),ks+2)) + else + print*,"Error - nsym must be 1, 2, or 3." + endif + enddo + i32=1+(k-1)*3+(ihalf-1)*87 + if(nsym.eq.1) ibmax=2 + if(nsym.eq.2) ibmax=5 + if(nsym.eq.3) ibmax=8 + do ib=0,ibmax + bm=maxval(s2(0:nt-1),one(0:nt-1,ibmax-ib)) - & + maxval(s2(0:nt-1),.not.one(0:nt-1,ibmax-ib)) + if(i32+ib .gt.174) cycle + if(nsym.eq.1) then + bmeta(i32+ib)=bm + den=max(maxval(s2(0:nt-1),one(0:nt-1,ibmax-ib)), & + maxval(s2(0:nt-1),.not.one(0:nt-1,ibmax-ib))) + if(den.gt.0.0) then + cm=bm/den + else ! erase it + cm=0.0 + endif + bmetd(i32+ib)=cm + elseif(nsym.eq.2) then + bmetb(i32+ib)=bm + elseif(nsym.eq.3) then + bmetc(i32+ib)=bm + endif + enddo + enddo + enddo + enddo + call normalizebmet(bmeta,174) + call normalizebmet(bmetb,174) + call normalizebmet(bmetc,174) + call normalizebmet(bmetd,174) + + scalefac=2.83 + llra=scalefac*bmeta + llrb=scalefac*bmetb + llrc=scalefac*bmetc + llrd=scalefac*bmetd + +! apmag=maxval(abs(llra))*1.01 + + MAXMSG=206 + pbest=0. + dmin=1.e30 + nharderrors=-1 + + do imsg=1,MAXMSG + msg=trim(call_1)//' '//trim(call_2) + i=imsg + if(call_1(1:3).eq.'CQ ' .and. i.ne.5) msg='QU1RK '//trim(call_2) + if(.not.std_1) then + if(i.eq.1 .or. i.ge.6) msg='<'//trim(call_1)//'> '//trim(call_2) + if(i.ge.2 .and. i.le.4) msg=trim(call_1)//' <'//trim(call_2)//'>' + else if(.not.std_2) then + if(i.le.4 .or. i.eq.6) msg='<'//trim(call_1)//'> '//trim(call_2) + if(i.ge.7) msg=trim(call_1)//' <'//trim(call_2)//'>' + endif + j0=len(trim(msg))+2 + if(i.eq.2) msg(j0:j0+2)='RRR' + if(i.eq.3) msg(j0:j0+3)='RR73' + if(i.eq.4) msg(j0:j0+1)='73' + if(i.eq.5) then + if(std_2) then + msg='CQ '//trim(call_2) + if(call_1(3:3).eq.'_') msg=trim(call_1)//' '//trim(call_2) + if(grid4.ne.'RR73') msg=trim(msg)//' '//grid4 + endif + if(.not.std_2) msg='CQ '//trim(call_2) + endif + if(i.eq.6 .and. std_2) msg(j0:j0+3)=grid4 + if(i.ge.7) then + isnr = -50 + (i-7)/2 + if(iand(i,1).eq.1) then + write(msg(j0:j0+2),'(i3.2)') isnr + if(msg(j0:j0).eq.' ') msg(j0:j0)='+' + else + write(msg(j0:j0+3),'("R",i3.2)') isnr + if(msg(j0+1:j0+1).eq.' ') msg(j0+1:j0+1)='+' + endif + endif + + i3=-1 + n3=-1 + call genft8(msg,i3,n3,msgsent,msgbits,itone) !Source-encode this message + call encode174_91(msgbits,cw) !Get codeword for this message + rcw=2*cw-1 + pow=0.0 + do i=1,79 + pow=pow+s8(itone(i),i)**2 + enddo + + hdec=0 + where(llra.ge.0.0) hdec=1 + nxor=ieor(hdec,cw) + da=sum(nxor*abs(llra)) + + hdec=0 + where(llrb.ge.0.0) hdec=1 + nxor=ieor(hdec,cw) + dbb=sum(nxor*abs(llrb)) + + hdec=0 + where(llrc.ge.0.0) hdec=1 + nxor=ieor(hdec,cw) + dc=sum(nxor*abs(llrc)) + + hdec=0 + where(llrd.ge.0.0) hdec=1 + nxor=ieor(hdec,cw) + dd=sum(nxor*abs(llrd)) + + dm=min(da,dbb,dc,dd) + dmm(imsg)=dm + if(dm.lt.dmin) then + dmin=dm + msgbest=msgsent + pbest=pow + if(dm.eq.da) then + nharderrors=count((2*cw-1)*llra.lt.0.0) + else if(dm.eq.dbb) then + nharderrors=count((2*cw-1)*llrb.lt.0.0) + else if(dm.eq.dc) then + nharderrors=count((2*cw-1)*llrc.lt.0.0) + else if(dm.eq.dd) then + nharderrors=count((2*cw-1)*llrd.lt.0.0) + endif + endif + + enddo ! imsg + + iloc=minloc(dmm) + dmm(iloc(1))=1.e30 + iloc=minloc(dmm) + dmin2=dmm(iloc(1)) + xsnr=-24. + arg=pbest/xbase/3.0e6-1.0 + if(arg.gt.0.0) xsnr=max(-24.0,db(arg)-27.0) +! write(41,3041) nharderrors,dmin,dmin2,dmin2/dmin,xsnr,trim(msgbest) +!3041 format(i3,2f7.1,f7.2,f7.1,1x,a) + if(dmin.gt.100.0 .or. dmin2/dmin.lt.1.3) nharderrors=-1 + msg37=msgbest + if(msg37(1:3).eq.'CQ ' .and. std_2 .and. grid4.eq.' ') nharderrors=-1 + if(msg37(1:6).eq.'QU1RK ') nharderrors=-1 + + return +end subroutine ft8_a7d + +end module ft8_a7 diff --git a/lib/ft8/ft8c.f90 b/lib/ft8/ft8c.f90 new file mode 100755 index 00000000..a7d1ccb9 --- /dev/null +++ b/lib/ft8/ft8c.f90 @@ -0,0 +1,261 @@ +subroutine ft8c(dd0,newdat,call_1,call_2,grid4,xdt,f1,nharderrors,dmin, & + msg37,xsnr) + + use crc + use timer_module, only: timer + use packjt77 + include 'ft8_params.f90' + parameter(NP2=2812) + character*37 msg37,msg,msgsent,msgbest + character*12 call_1,call_2 + character*4 grid4 + real a(5) + real s8(0:7,NN) + real s2(0:511) + real bmeta(174),bmetb(174),bmetc(174),bmetd(174) + real llra(174),llrb(174),llrc(174),llrd(174),llrbest(174) !Soft symbols + real dd0(15*12000) + real ss(9) + real rcw(174) + integer*1 cw(174) + integer*1 msgbits(77) + integer*1 nxor(174),hdec(174) + integer itone(NN) + integer icos7(0:6),ip(1) + logical one(0:511,0:8) + integer graymap(0:7) + integer iloc(1) + complex cd0(0:3199) + complex ctwk(32) + complex csymb(32) + complex cs(0:7,NN) + logical std_1,std_2 + logical first,newdat + data icos7/3,1,4,0,6,5,2/ ! Flipped w.r.t. original FT8 sync array + data first/.true./ + data graymap/0,1,3,2,5,6,4,7/ + save one + + if(first) then + one=.false. + do i=0,511 + do j=0,8 + if(iand(i,2**j).ne.0) one(i,j)=.true. + enddo + enddo + first=.false. + endif + + call stdcall(call_1,std_1) + if(call_1(1:3).eq.'CQ ') std_1=.true. + call stdcall(call_2,std_2) + + nharderrors=-1 + fs2=12000.0/NDOWN + dt2=1.0/fs2 + twopi=8.0*atan(1.0) + delfbest=0. + ibest=0 + + call timer('ft8_down',0) + call ft8_downsample(dd0,newdat,f1,cd0) !Mix f1 to baseband and downsample + call timer('ft8_down',1) + + i0=nint((xdt+0.5)*fs2) !Initial guess for start of signal + smax=0.0 + do idt=i0-10,i0+10 !Search over +/- one quarter symbol + call sync8d(cd0,idt,ctwk,0,sync) + if(sync.gt.smax) then + smax=sync + ibest=idt + endif + enddo + +! Now peak up in frequency + smax=0.0 + do ifr=-5,5 !Search over +/- 2.5 Hz + delf=ifr*0.5 + dphi=twopi*delf*dt2 + phi=0.0 + do i=1,32 + ctwk(i)=cmplx(cos(phi),sin(phi)) + phi=mod(phi+dphi,twopi) + enddo + call sync8d(cd0,ibest,ctwk,1,sync) + if( sync .gt. smax ) then + smax=sync + delfbest=delf + endif + enddo + a=0.0 + a(1)=-delfbest + call twkfreq1(cd0,NP2,fs2,a,cd0) + f1=f1+delfbest !Improved estimate of DF + + call timer('ft8_down',0) + call ft8_downsample(dd0,.false.,f1,cd0) !Mix f1 to baseband and downsample + call timer('ft8_down',1) + + smax=0.0 + do idt=-4,4 !Search over +/- one quarter symbol + call sync8d(cd0,ibest+idt,ctwk,0,sync) + ss(idt+5)=sync + enddo + smax=maxval(ss) + iloc=maxloc(ss) + ibest=iloc(1)-5+ibest + xdt=(ibest-1)*dt2 - 0.5 + sync=smax + + do k=1,NN + i1=ibest+(k-1)*32 + csymb=cmplx(0.0,0.0) + if( i1.ge.0 .and. i1+31 .le. NP2-1 ) csymb=cd0(i1:i1+31) + call four2a(csymb,32,1,-1,1) + cs(0:7,k)=csymb(1:8)/1e3 + s8(0:7,k)=abs(csymb(1:8)) + enddo + +! sync quality check + is1=0 + is2=0 + is3=0 + do k=1,7 + ip=maxloc(s8(:,k)) + if(icos7(k-1).eq.(ip(1)-1)) is1=is1+1 + ip=maxloc(s8(:,k+36)) + if(icos7(k-1).eq.(ip(1)-1)) is2=is2+1 + ip=maxloc(s8(:,k+72)) + if(icos7(k-1).eq.(ip(1)-1)) is3=is3+1 + enddo +! hard sync sum - max is 21 + nsync=is1+is2+is3 +! if(nsync .le. 6) return ! bail out + + do nsym=1,3 + nt=2**(3*nsym) + do ihalf=1,2 + do k=1,29,nsym + if(ihalf.eq.1) ks=k+7 + if(ihalf.eq.2) ks=k+43 + amax=-1.0 + do i=0,nt-1 + i1=i/64 + i2=iand(i,63)/8 + i3=iand(i,7) + if(nsym.eq.1) then + s2(i)=abs(cs(graymap(i3),ks)) + elseif(nsym.eq.2) then + s2(i)=abs(cs(graymap(i2),ks)+cs(graymap(i3),ks+1)) + elseif(nsym.eq.3) then + s2(i)=abs(cs(graymap(i1),ks)+cs(graymap(i2),ks+1)+cs(graymap(i3),ks+2)) + else + print*,"Error - nsym must be 1, 2, or 3." + endif + enddo + i32=1+(k-1)*3+(ihalf-1)*87 + if(nsym.eq.1) ibmax=2 + if(nsym.eq.2) ibmax=5 + if(nsym.eq.3) ibmax=8 + do ib=0,ibmax + bm=maxval(s2(0:nt-1),one(0:nt-1,ibmax-ib)) - & + maxval(s2(0:nt-1),.not.one(0:nt-1,ibmax-ib)) + if(i32+ib .gt.174) cycle + if(nsym.eq.1) then + bmeta(i32+ib)=bm + den=max(maxval(s2(0:nt-1),one(0:nt-1,ibmax-ib)), & + maxval(s2(0:nt-1),.not.one(0:nt-1,ibmax-ib))) + if(den.gt.0.0) then + cm=bm/den + else ! erase it + cm=0.0 + endif + bmetd(i32+ib)=cm + elseif(nsym.eq.2) then + bmetb(i32+ib)=bm + elseif(nsym.eq.3) then + bmetc(i32+ib)=bm + endif + enddo + enddo + enddo + enddo + call normalizebmet(bmeta,174) + call normalizebmet(bmetb,174) + call normalizebmet(bmetc,174) + call normalizebmet(bmetd,174) + + scalefac=2.83 + llra=scalefac*bmeta + llrb=scalefac*bmetb + llrc=scalefac*bmetc + llrd=scalefac*bmetd + +! apmag=maxval(abs(llra))*1.01 + + MAXMSG=206 + pbest=0. + do imsg=1,MAXMSG + msg=trim(call_1)//' '//trim(call_2) + i=imsg + if(call_1(1:3).eq.'CQ ' .and. i.ne.5) msg='QQ0XYZ '//trim(call_2) + if(.not.std_1) then + if(i.eq.1 .or. i.ge.6) msg='<'//trim(call_1)//'> '//trim(call_2) + if(i.ge.2 .and. i.le.4) msg=trim(call_1)//' <'//trim(call_2)//'>' + else if(.not.std_2) then + if(i.le.4 .or. i.eq.6) msg='<'//trim(call_1)//'> '//trim(call_2) + if(i.ge.7) msg=trim(call_1)//' <'//trim(call_2)//'>' + endif + j0=len(trim(msg))+2 + if(i.eq.2) msg(j0:j0+2)='RRR' + if(i.eq.3) msg(j0:j0+3)='RR73' + if(i.eq.4) msg(j0:j0+1)='73' + if(i.eq.5) then + if(std_2) then + msg='CQ '//trim(call_2) + if(call_1(3:3).eq.'_') msg=trim(call_1)//' '//trim(call_2) + if(grid4.ne.'RR73') msg=trim(msg)//' '//grid4 + endif + if(.not.std_2) msg='CQ '//trim(call_2) + endif + if(i.eq.6 .and. std_2) msg(j0:j0+3)=grid4 + if(i.ge.7) then + isnr = -50 + (i-7)/2 + if(iand(i,1).eq.1) then + write(msg(j0:j0+2),'(i3.2)') isnr + if(msg(j0:j0).eq.' ') msg(j0:j0)='+' + else + write(msg(j0:j0+3),'("R",i3.2)') isnr + if(msg(j0+1:j0+1).eq.' ') msg(j0+1:j0+1)='+' + endif + endif + +! Source-encode, then get codeword + i3=-1 + n3=-1 + call genft8(msg,i3,n3,msgsent,msgbits,itone) + call encode174_91(msgbits,cw) + rcw=2*cw-1 + pa=sum(llra*rcw) + pb=sum(llrb*rcw) + pc=sum(llrc*rcw) + pd=sum(llrd*rcw) + + if(pa.gt.pbest) then + pbest=pa + msgbest=msgsent + llrbest=llra + nharderrors=count((2*cw-1)*llra.lt.0.0) + hdec=0 + where(llra.ge.0.0) hdec=1 + nxor=ieor(hdec,cw) + dmin=sum(nxor*abs(llra)) + endif + enddo ! imsg + +! write(*,4001) pbest,nharderrors,dmin,trim(msgbest) +!4001 format('$$$',f7.1,i4,f7.1,2x,a) + msg37=msgbest + + return +end subroutine ft8c diff --git a/lib/ft8/ft8q3.f90 b/lib/ft8/ft8q3.f90 new file mode 100755 index 00000000..122e49c9 --- /dev/null +++ b/lib/ft8/ft8q3.f90 @@ -0,0 +1,109 @@ +subroutine ft8q3(cd,xdt,f0,call_1,call_2,grid4,msgbest,snr) + +! Get q3-style decodes for FT8. + + use packjt77 + parameter(NN=79,NSPS=32) + parameter(NWAVE=NN*NSPS) !2528 + parameter(NZ=3200,NLAGS=NZ-NWAVE) + character*12 call_1,call_2 + character*4 grid4 + character*37 msg,msgbest,msgsent + character c77*77 + complex cwave(0:NWAVE-1) + complex cd(0:NZ-1) + complex z + real xjunk(NWAVE) + real ccf(0:NLAGS-1) + real ccfmsg(206) + integer itone(NN) + integer*1 msgbits(77) + logical std_1,std_2 + + if(xdt.eq.-99.0) return !Silence compiler warning + call stdcall(call_1,std_1) + call stdcall(call_2,std_2) + + fs=200.0 !Sample rate (Hz) + dt=1.0/fs !Sample interval (s) + bt=2.0 + ccfbest=0. + lagbest=-1 + + do imsg=1,206 + msg=trim(call_1)//' '//trim(call_2) + i=imsg + if(.not.std_1) then + if(i.eq.1 .or. i.ge.6) msg='<'//trim(call_1)//'> '//trim(call_2) + if(i.ge.2 .and. i.le.4) msg=trim(call_1)//' <'//trim(call_2)//'>' + else if(.not.std_2) then + if(i.le.4 .or. i.eq.6) msg='<'//trim(call_1)//'> '//trim(call_2) + if(i.ge.7) msg=trim(call_1)//' <'//trim(call_2)//'>' + endif + j0=len(trim(msg))+2 + if(i.eq.2) msg(j0:j0+2)='RRR' + if(i.eq.3) msg(j0:j0+3)='RR73' + if(i.eq.4) msg(j0:j0+1)='73' + if(i.eq.5) then + if(std_2) msg='CQ '//trim(call_2)//' '//grid4 + if(.not.std_2) msg='CQ '//trim(call_2) + endif + if(i.eq.6 .and. std_2) msg(j0:j0+3)=grid4 + if(i.ge.7 .and. i.le.206) then + isnr = -50 + (i-7)/2 + if(iand(i,1).eq.1) then + write(msg(j0:j0+2),'(i3.2)') isnr + if(msg(j0:j0).eq.' ') msg(j0:j0)='+' + else + write(msg(j0:j0+3),'("R",i3.2)') isnr + if(msg(j0+1:j0+1).eq.' ') msg(j0+1:j0+1)='+' + endif + endif + +! Source-encode, then get itone() + i3=-1 + n3=-1 + call pack77(msg,i3,n3,c77) + call genft8(msg,i3,n3,msgsent,msgbits,itone) +! Generate complex cwave + call gen_ft8wave(itone,NN,NSPS,bt,fs,f0,cwave,xjunk,1,NWAVE) + + lagmax=-1 + ccfmax=0. + nsum=32*2 + do lag=0,nlags-1 + z=0. + s=0. + do i=0,NWAVE-1 + z=z + cd(i+lag)*conjg(cwave(i)) + if(mod(i,nsum).eq.nsum-1 .or. i.eq.NWAVE-1) then + s=s + abs(z) + z=0. + endif + enddo + ccf(lag)=s + if(ccf(lag).gt.ccfmax) then + ccfmax=ccf(lag) + lagmax=lag + endif + enddo ! lag + ccfmsg(imsg)=ccfmax + if(ccfmax.gt.ccfbest) then + ccfbest=ccfmax + lagbest=lagmax + msgbest=msg + endif + enddo ! imsg + + call pctile(ccfmsg,207,50,base) + call pctile(ccfmsg,207,67,sigma) + sigma=sigma-base + ccfmsg=(ccfmsg-base)/sigma +! do imsg=1,207 +! write(44,3044) imsg,ccfmsg(imsg) +!3044 format(i5,f10.3) +! enddo + snr=maxval(ccfmsg) + + return +end subroutine ft8q3 diff --git a/lib/ft8/gen_ft8wave.f90 b/lib/ft8/gen_ft8wave.f90 index 9e277375..c7be0915 100755 --- a/lib/ft8/gen_ft8wave.f90 +++ b/lib/ft8/gen_ft8wave.f90 @@ -9,11 +9,12 @@ subroutine gen_ft8wave(itone,nsym,nsps,bt,fsample,f0,cwave,wave,icmplx,nwave) real pulse(23040) real dphi(0:(nsym+2)*nsps-1) integer itone(nsym) - data ibt0/0/ - save pulse,twopi,dt,hmod,ibt0,ctab + data fchk0/0.0/ + save pulse,twopi,dt,hmod,fchk0,ctab ibt=nint(10*bt) - if(ibt0.ne.ibt) then + fchk=nsym+nsps+bt+fsample + if(fchk.ne.fchk0) then twopi=8.0*atan(1.0) dt=1.0/fsample hmod=1.0 @@ -22,11 +23,11 @@ subroutine gen_ft8wave(itone,nsym,nsps,bt,fsample,f0,cwave,wave,icmplx,nwave) tt=(i-1.5*nsps)/real(nsps) pulse(i)=gfsk_pulse(bt,tt) enddo - ibt0=nint(10*bt) do i=0,NTAB-1 phi=i*twopi/NTAB ctab(i)=cmplx(cos(phi),sin(phi)) enddo + fchk0=fchk endif ! Compute the smoothed frequency waveform. diff --git a/lib/ft8/subtractft8.f90 b/lib/ft8/subtractft8.f90 index 7c3b5908..40657e7e 100755 --- a/lib/ft8/subtractft8.f90 +++ b/lib/ft8/subtractft8.f90 @@ -58,6 +58,8 @@ subroutine subtractft8(dd0,itone,f0,dt,lrefinedt) sq0=sqf(0) !Do the subtraction with idt=0 endif dd0=dd !Return dd0 with this signal subtracted +! write(44,3044) nint(f0),dt-0.5,1.e-8*sum(dd*dd) +!3044 format(i4,f7.2,f10.6) return contains diff --git a/lib/ft8/test_ft8q3.f90 b/lib/ft8/test_ft8q3.f90 new file mode 100755 index 00000000..4a3802c3 --- /dev/null +++ b/lib/ft8/test_ft8q3.f90 @@ -0,0 +1,41 @@ +program test_ft8q3 + +! Test q3-style decodes for FT8. + + use packjt77 + parameter(NN=79,NSPS=32) + parameter(NWAVE=NN*NSPS) !2528 + parameter(NZ=3200,NLAGS=NZ-NWAVE) + character arg*12 + character*37 msg + character*12 call_1,call_2 + character*4 grid4 + complex cd(0:NZ-1) + +! Get command-line argument(s) + nargs=iargc() + if(nargs.ne.4 .and. nargs.ne.5) then + print*,'Usage: ft8q3 DT f0 call_1 call_2 [grid4]' + go to 999 + endif + call getarg(1,arg) + read(arg,*) xdt !Time offset from nominal (s) + call getarg(2,arg) + read(arg,*) f0 !Frequency (Hz) + call getarg(3,call_1) !First callsign + call getarg(4,call_2) !Second callsign + grid4=' ' + if(nargs.eq.5) call getarg(5,grid4) !Locator for call_2 + + do i=0,NZ-1 + read(40,3040) cd(i) +3040 format(17x,2f10.3) + enddo + + call sec0(0,t) + call ft8q3(cd,xdt,f0,call_1,call_2,grid4,msg,snr) + call sec0(1,t) + write(*,1100) t,snr,trim(msg) +1100 format('Time:',f6.2,' S/N:',f6.1,' msg: ',a) + +999 end program test_ft8q3 diff --git a/lib/ft8_decode.f90 b/lib/ft8_decode.f90 index 73d0f8c2..b3362973 100755 --- a/lib/ft8_decode.f90 +++ b/lib/ft8_decode.f90 @@ -38,6 +38,7 @@ contains use iso_c_binding, only: c_bool, c_int use timer_module, only: timer use shmem, only: shmem_lock, shmem_unlock + use ft8_a7 include 'ft8/ft8_params.f90' @@ -53,7 +54,8 @@ contains logical newdat,lsubtract,ldupe,lrefinedt logical*1 ldiskdat logical lsubtracted(MAX_EARLY) - character*12 mycall12,hiscall12 + character*12 mycall12,hiscall12,call_1,call_2 + character*4 grid4 integer*2 iwave(15*12000) integer apsym2(58),aph10(10) character datetime*13,msg37*37 @@ -64,13 +66,33 @@ contains integer itone_save(NN,MAX_EARLY) real f1_save(MAX_EARLY) real xdt_save(MAX_EARLY) + data nutc0/-1/ - save s,dd,dd1,ndec_early,itone_save,f1_save,xdt_save,lsubtracted,allmessages + save s,dd,dd1,nutc0,ndec_early,itone_save,f1_save,xdt_save,lsubtracted,& + allmessages this%callback => callback write(datetime,1001) nutc !### TEMPORARY ### 1001 format("000000_",i6.6) + if(nutc0.eq.-1) then + msg0=' ' + dt0=0. + f0=0. + endif + if(nutc.ne.nutc0) then +! New UTC. Move previously saved 'a7' data from k=1 to k=0 + iz=ndec(jseq,1) + dt0(1:iz,jseq,0) = dt0(1:iz,jseq,1) + f0(1:iz,jseq,0) = f0(1:iz,jseq,1) + msg0(1:iz,jseq,0) = msg0(1:iz,jseq,1) + ndec(jseq,0)=iz + ndec(jseq,1)=0 + nutc0=nutc + dt0(:,jseq,1)=0. + f0(:,jseq,1)=0. + endif + if(ndepth.eq.1 .and. nzhsym.lt.50) then ndec_early=0 return @@ -178,7 +200,7 @@ contains hiscall12,f1,xdt,xbase,apsym2,aph10,nharderrors,dmin, & nbadcrc,iappass,msg37,xsnr,itone) call timer('ft8b ',1) - nsnr=nint(xsnr) + nsnr=nint(xsnr) xdt=xdt-0.5 hd=nharderrors+dmin if(nbadcrc.eq.0) then @@ -198,6 +220,11 @@ contains qual=1.0-(nharderrors+dmin)/60.0 ! scale qual to [0.0,1.0] if(emedelay.ne.0) xdt=xdt+2.0 call this%callback(sync,nsnr,xdt,f1,msg37,iaptype,qual) + call ft8_a7_save(nutc,xdt,f1,msg37) !Enter decode in table +! ii=ndec(jseq,1) +! write(41,3041) jseq,ii,nint(f0(ii,jseq,0)),msg0(ii,jseq,0)(1:22),& +! nint(f0(ii,jseq,1)),msg0(ii,jseq,1)(1:22) +!3041 format(3i5,2x,a22,i5,2x,a22) endif endif call timestamp(tsec,tseq,ctime) @@ -209,7 +236,43 @@ contains 800 ndec_early=0 if(nzhsym.lt.50) ndec_early=ndecodes -900 return +900 continue + if(nzhsym.eq.50 .and. ndec(jseq,0).ge.1) then + newdat=.true. + do i=1,ndec(jseq,0) + if(f0(i,jseq,0).eq.-99.0) exit + if(f0(i,jseq,0).eq.-98.0) cycle + if(index(msg0(i,jseq,0),'<').ge.1) cycle !### Temporary ### + msg37=msg0(i,jseq,0) + i1=index(msg37,' ') + i2=index(msg37(i1+1:),' ') + i1 + call_1=msg37(1:i1-1) + call_2=msg37(i1+1:i2-1) + grid4=msg37(i2+1:i2+4) + if(grid4.eq.'RR73' .or. index(grid4,'+').gt.0 .or. & + index(grid4,'-').gt.0) grid4=' ' + xdt=dt0(i,jseq,0) + f1=f0(i,jseq,0) + xbase=10.0**(0.1*(sbase(max(1,nint(f1/3.125)))-40.0)) + msg37=' ' + call timer('ft8_a7d ',0) + call ft8_a7d(dd,newdat,call_1,call_2,grid4,xdt,f1,xbase,nharderrors, & + dmin,msg37,xsnr) + call timer('ft8_a7d ',1) + + if(nharderrors.ge.0) then + if(associated(this%callback)) then + nsnr=xsnr + iaptype=7 + qual=1.0 + call this%callback(sync,nsnr,xdt,f1,msg37,iaptype,qual) + call ft8_a7_save(nutc,xdt,f1,msg37) !Enter decode in table + endif + endif + enddo + endif + + return end subroutine decode subroutine timestamp(tsec,tseq,ctime) diff --git a/lib/gen65.f90 b/lib/gen65.f90 index af036c2a..2fd6495a 100755 --- a/lib/gen65.f90 +++ b/lib/gen65.f90 @@ -1,9 +1,10 @@ -subroutine gen65(msg0,ichk,msgsent,itone,itype) +subroutine gen65(msg00,ichk,msgsent0,itone,itype) BIND(c) ! Encodes a JT65 message to yieild itone(1:126) ! Temporarily, does not implement EME shorthands use packjt + character*1 msg00(23),msgsent0(23) character*22 msg0 character*22 message !Message to be generated character*22 msgsent !Message as it will be received @@ -21,6 +22,10 @@ subroutine gen65(msg0,ichk,msgsent,itone,itype) 1,1,1,1,1,1/ save + do i=1,22 + msg0(i:i)=msg00(i) + enddo + if(msg0(1:1).eq.'@') then read(msg0(2:5),*,end=1,err=1) nfreq go to 2 @@ -48,7 +53,7 @@ subroutine gen65(msg0,ichk,msgsent,itone,itype) call unpackmsg(dgen,msgsent) !Unpack to get message sent msgsent(20:22)=cok call fmtmsg(msgsent,iz) - if(ichk.ne.0) go to 999 !Return if checking only + if(ichk.ne.0) go to 900 !Return if checking only call rs_encode(dgen,sent) !Apply Reed-Solomon code call interleave63(sent,1) !Apply interleaving @@ -79,5 +84,10 @@ subroutine gen65(msg0,ichk,msgsent,itone,itype) endif endif -999 return +900 do i=1,22 + msgsent0(i)=msgsent(i:i) + enddo + msgsent0(23)=char(0) + + return end subroutine gen65 diff --git a/lib/grid2deg.f90 b/lib/grid2deg.f90 index 843fc848..a7ec1c89 100755 --- a/lib/grid2deg.f90 +++ b/lib/grid2deg.f90 @@ -3,7 +3,8 @@ subroutine grid2deg(grid0,dlong,dlat) ! Converts Maidenhead grid locator to degrees of West longitude ! and North latitude. - character*6 grid0,grid + character*(*) grid0 + character*6 grid character*1 g1,g2,g3,g4,g5,g6 grid=grid0 diff --git a/lib/q65_decode.f90 b/lib/q65_decode.f90 index 00022c58..04e58eb8 100755 --- a/lib/q65_decode.f90 +++ b/lib/q65_decode.f90 @@ -62,6 +62,7 @@ contains character(len=12) :: mycall, hiscall !Used for AP decoding character(len=6) :: hisgrid character*37 decoded !Decoded message + character*37 decodes(100) character*77 c77 character*78 c78 character*6 cutc @@ -80,6 +81,8 @@ contains ! Start by setting some parameters and allocating storage for large arrays call sec0(0,tdecode) + ndecodes=0 + decodes=' ' nfa=nfa0 nfb=nfb0 nqd=nqd0 @@ -153,14 +156,21 @@ contains call q65_enc(dgen,codewords) !Initialize the Q65 codec nused=1 iavg=0 + +! W3SZ patch: Initialize AP params here, rather than afer the call to ana64(). + call ft8apset(mycall,hiscall,ncontest,apsym0,aph10) ! Generate ap symbols + where(apsym0.eq.-1) apsym0=0 + npasses=2 + if(nQSOprogress.eq.5) npasses=3 + call timer('q65_dec0',0) ! Call top-level routine in q65 module: establish sync and try for a ! q3 or q0 decode. call q65_dec0(iavg,nutc,iwave,ntrperiod,nfqso,ntol,ndepth,lclearave, & emedelay,xdt,f0,snr1,width,dat4,snr2,idec,stageno) call timer('q65_dec0',1) -! write(*,3001) '=a',sum(abs(float(iwave))),nfqso,ntol,ndepth,xdt,f0,idec -!3001 format(a2,f15.0,3i5,f7.2,f7.1,i5) +! write(*,3001) '=a',nfqso,ntol,ndepth,xdt,f0,idec +!3001 format(a2,3i5,f7.2,f7.1,i5) if(idec.ge.0) then dtdec=xdt !We have a q3 or q0 decode at nfqso @@ -173,11 +183,6 @@ contains if(ntrperiod.le.30) jpk0=(xdt+0.5)*6000 !For shortest sequences if(jpk0.lt.0) jpk0=0 call ana64(iwave,npts,c00) !Convert to complex c00() at 6000 Sa/s - call ft8apset(mycall,hiscall,ncontest,apsym0,aph10) ! Generate ap symbols - where(apsym0.eq.-1) apsym0=0 - - npasses=2 - if(nQSOprogress.eq.5) npasses=3 if(lapcqonly) npasses=1 iaptype=0 do ipass=0,npasses !Loop over AP passes @@ -199,6 +204,7 @@ contains call q65_loops(c00,npts/2,nsps/2,nsubmode,ndepth,jpk0, & xdt,f0,iaptype,xdt1,f1,snr2,dat4,idec) call timer('q65loops',1) +! write(*,3001) '=b',nfqso,ntol,ndepth,xdt,f0,idec if(idec.ge.0) then dtdec=xdt1 f0dec=f1 @@ -266,33 +272,41 @@ contains ! Unpack decoded message for display to user write(c77,1000) dat4(1:12),dat4(13)/2 1000 format(12b6.6,b5.5) - call unpack77(c77,1,decoded,unpk77_success) !Unpack to get msgsent - call q65_snr(dat4,dtdec,f0dec,mode_q65,nused,snr2) - nsnr=nint(snr2) - call this%callback(nutc,snr1,nsnr,dtdec,f0dec,decoded, & - idec,nused,ntrperiod) - call q65_hist(nint(f0dec),msg0=decoded) - if(iand(ndepth,128).ne.0 .and. .not.lagain .and. & - int(abs(f0dec-nfqso)).le.ntol ) call q65_clravg !AutoClrAvg - call sec0(1,tdecode) - open(22,file=trim(data_dir)//'/q65_decodes.dat',status='unknown', & - position='append',iostat=ios) - if(ios.eq.0) then + call unpack77(c77,1,decoded,unpk77_success) !Unpack to get decoded + idupe=0 + do i=1,ndecodes + if(decodes(i).eq.decoded) idupe=1 + enddo + if(idupe.eq.0) then + ndecodes=min(ndecodes+1,100) + decodes(ndecodes)=decoded + call q65_snr(dat4,dtdec,f0dec,mode_q65,nused,snr2) + nsnr=nint(snr2) + call this%callback(nutc,snr1,nsnr,dtdec,f0dec,decoded, & + idec,nused,ntrperiod) + call q65_hist(nint(f0dec),msg0=decoded) + if(iand(ndepth,128).ne.0 .and. .not.lagain .and. & + int(abs(f0dec-nfqso)).le.ntol ) call q65_clravg !AutoClrAvg + call sec0(1,tdecode) + open(22,file=trim(data_dir)//'/q65_decodes.dat',status='unknown', & + position='append',iostat=ios) + if(ios.eq.0) then ! Save decoding parameters to q65_decoded.dat, for later analysis. - write(cmode,'(i3)') ntrperiod - cmode(4:4)=char(ichar('A')+nsubmode) - c6=hiscall(1:6) - if(c6.eq.' ') c6=' ' - c4=hisgrid(1:4) - if(c4.eq.' ') c4=' ' - fmt='(i6.4,1x,a4,4i2,6i3,i4,f6.2,f7.1,f6.1,f7.1,f6.2,'// & - '1x,a6,1x,a6,1x,a4,1x,a)' - if(ntrperiod.le.30) fmt(5:5)='6' - if(idec.eq.3) nrc=0 - write(22,fmt) nutc,cmode,nQSOprogress,idec,idfbest,idtbest,ibw, & - ndistbest,nused,icand,ncand,nrc,ndepth,xdt,f0,snr2,plog, & - tdecode,mycall(1:6),c6,c4,trim(decoded) - close(22) + write(cmode,'(i3)') ntrperiod + cmode(4:4)=char(ichar('A')+nsubmode) + c6=hiscall(1:6) + if(c6.eq.' ') c6=' ' + c4=hisgrid(1:4) + if(c4.eq.' ') c4=' ' + fmt='(i6.4,1x,a4,i5,4i2,6i3,i4,f6.2,f7.1,f6.1,f7.1,f6.2,'// & + '1x,a6,1x,a6,1x,a4,1x,a)' + if(ntrperiod.le.30) fmt(5:5)='6' + if(idec.eq.3) nrc=0 + write(22,fmt) nutc,cmode,nfqso,nQSOprogress,idec,idfbest,idtbest, & + ibw,ndistbest,nused,icand,ncand,nrc,ndepth,xdt,f0,snr2,plog, & + tdecode,mycall(1:6),c6,c4,trim(decoded) + close(22) + endif endif endif navg0=1000*navg(0) + navg(1) @@ -331,6 +345,7 @@ contains call q65_loops(c00,npts/2,nsps/2,nsubmode,ndepth,jpk0, & xdt,f0,iaptype,xdt1,f1,snr2,dat4,idec) call timer('q65loops',1) +! write(*,3001) '=e',nfqso,ntol,ndepth,xdt,f0,idec if(idec.ge.0) then dtdec=xdt1 f0dec=f1 @@ -342,33 +357,41 @@ contains if(idec.ge.0) then ! Unpack decoded message for display to user write(c77,1000) dat4(1:12),dat4(13)/2 - call unpack77(c77,1,decoded,unpk77_success) !Unpack to get msgsent - call q65_snr(dat4,dtdec,f0dec,mode_q65,nused,snr2) - nsnr=nint(snr2) - call this%callback(nutc,snr1,nsnr,dtdec,f0dec,decoded, & - idec,nused,ntrperiod) - call q65_hist(nint(f0dec),msg0=decoded) - if(iand(ndepth,128).ne.0 .and. .not.lagain .and. & - int(abs(f0dec-nfqso)).le.ntol ) call q65_clravg !AutoClrAvg - call sec0(1,tdecode) - open(22,file=trim(data_dir)//'/q65_decodes.dat',status='unknown', & - position='append',iostat=ios) - if(ios.eq.0) then + call unpack77(c77,1,decoded,unpk77_success) !Unpack to get decoded + idupe=0 + do i=1,ndecodes + if(decodes(i).eq.decoded) idupe=1 + enddo + if(idupe.eq.0) then + ndecodes=min(ndecodes+1,100) + decodes(ndecodes)=decoded + call q65_snr(dat4,dtdec,f0dec,mode_q65,nused,snr2) + nsnr=nint(snr2) + call this%callback(nutc,snr1,nsnr,dtdec,f0dec,decoded, & + idec,nused,ntrperiod) + call q65_hist(nint(f0dec),msg0=decoded) + if(iand(ndepth,128).ne.0 .and. .not.lagain .and. & + int(abs(f0dec-nfqso)).le.ntol ) call q65_clravg !AutoClrAvg + call sec0(1,tdecode) + open(22,file=trim(data_dir)//'/q65_decodes.dat',status='unknown', & + position='append',iostat=ios) + if(ios.eq.0) then ! Save decoding parameters to q65_decoded.dat, for later analysis. - write(cmode,'(i3)') ntrperiod - cmode(4:4)=char(ichar('A')+nsubmode) - c6=hiscall(1:6) - if(c6.eq.' ') c6=' ' - c4=hisgrid(1:4) - if(c4.eq.' ') c4=' ' - fmt='(i6.4,1x,a4,4i2,6i3,i4,f6.2,f7.1,f6.1,f7.1,f6.2,'// & - '1x,a6,1x,a6,1x,a4,1x,a)' - if(ntrperiod.le.30) fmt(5:5)='6' - if(idec.eq.3) nrc=0 - write(22,fmt) nutc,cmode,nQSOprogress,idec,idfbest,idtbest,ibw, & - ndistbest,nused,icand,ncand,nrc,ndepth,xdt,f0,snr2,plog, & - tdecode,mycall(1:6),c6,c4,trim(decoded) - close(22) + write(cmode,'(i3)') ntrperiod + cmode(4:4)=char(ichar('A')+nsubmode) + c6=hiscall(1:6) + if(c6.eq.' ') c6=' ' + c4=hisgrid(1:4) + if(c4.eq.' ') c4=' ' + fmt='(i6.4,1x,a4,i5,4i2,6i3,i4,f6.2,f7.1,f6.1,f7.1,f6.2,'// & + '1x,a6,1x,a6,1x,a4,1x,a)' + if(ntrperiod.le.30) fmt(5:5)='6' + if(idec.eq.3) nrc=0 + write(22,fmt) nutc,cmode,nfqso,nQSOprogress,idec,idfbest,idtbest, & + ibw,ndistbest,nused,icand,ncand,nrc,ndepth,xdt,f0,snr2,plog, & + tdecode,mycall(1:6),c6,c4,trim(decoded) + close(22) + endif endif endif enddo ! icand diff --git a/lib/qra/q65/q65.f90 b/lib/qra/q65/q65.f90 index 349e38c9..2133294e 100755 --- a/lib/qra/q65/q65.f90 +++ b/lib/qra/q65/q65.f90 @@ -171,8 +171,6 @@ subroutine q65_dec0(iavg,nutc,iwave,ntrperiod,nfqso,ntol,ndepth,lclearave, & call timer('list_dec',0) call q65_dec_q3(s1,iz,jz,s3,LL,ipk,jpk,snr2,dat4,idec,decoded) call timer('list_dec',1) -! if(idec.ge.0) write(70,3070) idec,mode_q65,better,trim(decoded) -!3070 format(i3,i5,f8.2,2x,a) endif ! If idec=3 we have a q3 decode. Continue to compute sync curve for plotting. endif @@ -250,16 +248,15 @@ subroutine q65_dec0(iavg,nutc,iwave,ntrperiod,nfqso,ntol,ndepth,lclearave, & call q65_ccf_85(s1w,iz,jz,nfqso,ia,ia2,ipk,jpk,f0,xdt,imsg_best, & better,ccf1) call timer('ccf_85 ',1) - ! nsubmode is Tone-spacing indicator, 0-4 for A-E: a 0; b 1; c 2; d 3; e 4. - ! and mode_q65=2**nsubmode + +! nsubmode is Tone-spacing indicator, 0-4 for A-E: a 0; b 1; c 2; d 3; e 4. +! and mode_q65=2**nsubmode if(better.ge.1.10) then ! if(better.ge.1.04 .or. mode_q65.ge.8) then ! if(better.ge.1.10 .or. mode_q65.ge.8) then ORIGINAL call timer('list_dec',0) call q65_dec_q3(s1w,iz,jz,s3,LL,ipk,jpk,snr2,dat4,idec,decoded) call timer('list_dec',1) - ! if(idec.ge.0) write(70,3070) idec,mode_q65,better,trim(decoded) - !3070 format(i3,i5,f8.2,2x,a) endif ! if(better.ge.1.10) endif ! if(ncw.gt.0 .and. iavg.le.1) ! If idec=3 we have a q3 decode. Continue to compute sync curve for plotting. @@ -570,7 +567,6 @@ subroutine q65_ccf_22(s1,iz,jz,nfqso,ntol,ndepth,ntrperiod,iavg,ipk,jpk, & i=indx(k)+ia-1 if(ccf2(i).lt.3.3) exit !Candidate limit f=i*df - if(f.ge.(nfqso-ftol) .and. f.le.(nfqso+ftol)) cycle !Looked here already i3=max(1, i-mode_q65) i4=min(iz,i+mode_q65) biggest=maxval(ccf2(i3:i4)) @@ -785,9 +781,8 @@ subroutine q65_snr(dat4,dtdec,f0dec,mode_q65,nused,snr2) sig_area=sum(spec(ia+nsum:ib-nsum)-1.0) w_equiv=sig_area/(smax-1.0) snr2=db(max(1.0,sig_area)) - db(2500.0/df) - if(nused.eq.2) snr2=snr2 - 2.0 - if(nused.eq.3) snr2=snr2 - 2.9 - if(nused.ge.4) snr2=snr2 - 3.5 +! NB: No adjustment to SNR is now made for nused>1, because that process did +! not seem to work as expected. return end subroutine q65_snr diff --git a/lib/test_snr.f90 b/lib/test_snr.f90 new file mode 100755 index 00000000..9c61bdad --- /dev/null +++ b/lib/test_snr.f90 @@ -0,0 +1,67 @@ +program test_snr + +! Test an algorithm for measuring SNR of EME echoes. + + use wavhdr + parameter (NMAX=27648) !27*1024 + parameter (NFFT=32768,NH=NFFT/2) + parameter (NZ=4096) + + type(hdr) h !Header for the .wav file + integer*2 id2(NMAX) !Buffer for Rx data + complex c(0:NH) + real x(NFFT) + real s(8192) + real sa(4096) + real sb(4096) + real red(4096) + real blue(4096) + character*80 infile + equivalence (x,c) + + nargs=iargc() + if(nargs.lt.1) then + print*,'Usage: test_snr ' + go to 999 + endif + call getarg(1,infile) + i0=index(infile,'_') + read(infile(1:i0-1),*) fspread0 !Generated Doppler spread + read(infile(i0+1:i0+3),*) snrdb0 !Generated SNR + open(10,file=trim(infile),status='old',access='stream') + read(10) h + npts=h%ndata/2 + npings=npts/NMAX + nfsample=h%nsamrate + df=12000.0/NFFT + s=0. + fac=1.0/NMAX + + do iping=1,npings + read(10) id2(1:NMAX) + x(1:NMAX)=fac*id2(1:NMAX) + x(NMAX+1:)=0. + call four2a(x,NFFT,1,-1,0) + do i=1,8192 !Accumulate spectrum 0 - 3 kHz + s(i)=s(i) + real(c(i))**2 + aimag(c(i))**2 + enddo + enddo + + sa=s(2049:6144) + sb=s(2049:6144) + + call echo_snr(sa,sb,fspread0,blue,red,snrdb,db_err,fpeak,snr_detect) + + nqual=min(10,int(snr_detect-4.0)) + + write(*,1010) fspread0,snrdb0,snrdb,snrdb-snrdb0,db_err,fpeak, & + snr_detect,nqual + +1010 format(5f6.1,2f7.1,i4) + + do i=1,8192 + write(12,1100) i*df,s(i) +1100 format(f10.3,e15.6) + enddo + +999 end program test_snr diff --git a/lib/wsprd/wsprsim_utils.c b/lib/wsprd/wsprsim_utils.c index b6b95c49..0130a87e 100755 --- a/lib/wsprd/wsprsim_utils.c +++ b/lib/wsprd/wsprsim_utils.c @@ -196,7 +196,7 @@ int get_wspr_channel_symbols(char* rawmessage, char* hashtab, char* loctab, unsi // Use the presence and/or absence of "<" and "/" to decide what // type of message. No sanity checks! Beware! - if( i1 > 3 && i1 < 7 && i2 == mlen && i3 == mlen ) { + if( i1 >= 3 && i1 < 7 && i2 == mlen && i3 == mlen ) { // Type 1 message: K9AN EN50 33 // xxnxxxx xxnn nn callsign = strtok(message," "); diff --git a/map65/astro.cpp b/map65/astro.cpp index b4bf83b6..a91c048b 100755 --- a/map65/astro.cpp +++ b/map65/astro.cpp @@ -103,13 +103,13 @@ void Astro::astroUpdate(QDateTime t, QString mygrid, QString hisgrid, sprintf(cc,"%2.2d:%2.2d:%2.2d,%5.1f,%5.1f,Moon\n" "%2.2d:%2.2d:%2.2d,%5.1f,%5.1f,Sun\n" "%2.2d:%2.2d:%2.2d,%5.1f,%5.1f,Source\n" - "%4d,%6d,Doppler\n" + "%4d,%6d,%6d,Doppler\n" "%3d,%1d,fQSO\n" "%3d,%1d,fQSO2\n", nhr,nmin,isec,azmoon,elmoon, nhr,nmin,isec,azsun,elsun, nhr,nmin,isec,0.0,0.0, - nfreq,ndop, + nfreq,ndop,ndop00, fQSO,nsetftx, ntxFreq,ndiff); out << cc; diff --git a/map65/devsetup.cpp b/map65/devsetup.cpp index 01f373e6..fe9d14a9 100755 --- a/map65/devsetup.cpp +++ b/map65/devsetup.cpp @@ -106,8 +106,8 @@ void DevSetup::initDlg() ui.comboBoxSndOut->setCurrentIndex(m_nDevOut); ui.sbPort->setValue(m_udpPort); ui.cbIQswap->setChecked(m_IQswap); - ui.cb10db->setChecked(m_10db); ui.cbInitIQplus->setChecked(m_initIQplus); + ui.sb_dB->setValue(m_dB); ui.mult570SpinBox->setValue(m_mult570); ui.mult570TxSpinBox->setValue(m_mult570Tx); ui.cal570SpinBox->setValue(m_cal570); @@ -176,8 +176,8 @@ void DevSetup::accept() m_paOutDevice=m_outDevList[m_nDevOut]; m_udpPort=ui.sbPort->value(); m_IQswap=ui.cbIQswap->isChecked(); - m_10db=ui.cb10db->isChecked(); m_initIQplus=ui.cbInitIQplus->isChecked(); + m_dB=ui.sb_dB->value(); m_mult570=ui.mult570SpinBox->value(); m_mult570Tx=ui.mult570TxSpinBox->value(); m_cal570=ui.cal570SpinBox->value(); @@ -195,7 +195,7 @@ void DevSetup::on_soundCardRadioButton_toggled(bool checked) ui.label_Port->setEnabled(!checked); ui.sbPort->setEnabled(!checked); ui.cbIQswap->setEnabled(checked); - ui.cb10db->setEnabled(checked); + ui.sb_dB->setEnabled(checked); } void DevSetup::on_cbXpol_stateChanged(int n) @@ -217,6 +217,11 @@ void DevSetup::on_mult570SpinBox_valueChanged(int mult) m_mult570=mult; } +void DevSetup::on_sb_dB_valueChanged(int n) +{ + m_dB=n; +} + void DevSetup::updateColorLabels() { QString t; diff --git a/map65/devsetup.h b/map65/devsetup.h index 148f76c4..c32a83e9 100755 --- a/map65/devsetup.h +++ b/map65/devsetup.h @@ -27,6 +27,7 @@ public: qint32 m_astroFont; qint32 m_mult570; qint32 m_mult570Tx; + qint32 m_dB; double m_fAdd; double m_cal570; @@ -39,7 +40,6 @@ public: bool m_IQswap; bool m_restartSoundIn; bool m_restartSoundOut; - bool m_10db; bool m_initIQplus; bool m_bIQxt; @@ -81,6 +81,7 @@ private slots: void on_mult570TxSpinBox_valueChanged(int arg1); void on_rbIQXT_toggled(bool checked); void on_sbTxOffset_valueChanged(double f); + void on_sb_dB_valueChanged(int n); private: int r,g,b,r0,g0,b0,r1,g1,b1,r2,g2,b2,r3,g3,b3; diff --git a/map65/devsetup.ui b/map65/devsetup.ui index 81ae68e6..48f2a0b2 100755 --- a/map65/devsetup.ui +++ b/map65/devsetup.ui @@ -698,12 +698,24 @@ - - - false + + + <html><head/><body><p>Adjust to scale digital I/Q data.</p></body></html> - - +10 dB + + dB + + + Gain + + + -50 + + + 10 + + + 1 @@ -1772,8 +1784,8 @@ accept() - 248 - 254 + 257 + 380 157 @@ -1788,8 +1800,8 @@ reject() - 316 - 260 + 325 + 380 286 diff --git a/map65/libm65/wideband_sync.f90 b/map65/libm65/wideband_sync.f90 index 875531f7..90689ed1 100755 --- a/map65/libm65/wideband_sync.f90 +++ b/map65/libm65/wideband_sync.f90 @@ -47,6 +47,8 @@ subroutine get_candidates(ss,savg,xpol,jz,nfa,nfb,nts_jt65,nts_q65,cand,ncand) df3=96000.0/NFFT ia=nint(1000*nfa/df3) + 1 ib=nint(1000*nfb/df3) + 1 + if(ia.lt.1) ia=1 + if(ib.gt.NFFT-1) ib=NFFT-1 iz=ib-ia+1 call indexx(sync(ia:ib)%ccfmax,iz,indx) !Sort by relative snr @@ -151,6 +153,8 @@ subroutine wb_sync(ss,savg,xpol,jz,nfa,nfb) df3=96000.0/NFFT ia=nint(1000*nfa/df3) + 1 !Flat frequency range for WSE converters ib=nint(1000*nfb/df3) + 1 + if(ia.lt.1) ia=1 + if(ib.gt.NFFT-1) ib=NFFT-1 npol=1 if(xpol) npol=4 diff --git a/map65/mainwindow.cpp b/map65/mainwindow.cpp index 2e7bfa75..54b84b73 100755 --- a/map65/mainwindow.cpp +++ b/map65/mainwindow.cpp @@ -372,7 +372,7 @@ void MainWindow::writeSettings() settings.setValue("SoundOutIndex",m_nDevOut); settings.setValue("paOutDevice",m_paOutDevice); settings.setValue("IQswap",m_IQswap); - settings.setValue("Plus10dB",m_10db); + settings.setValue("Scale_dB",m_dB); settings.setValue("IQxt",m_bIQxt); settings.setValue("InitIQplus",m_initIQplus); settings.setValue("UDPport",m_udpPort); @@ -447,12 +447,12 @@ void MainWindow::readSettings() m_nDevOut = settings.value("SoundOutIndex", 0).toInt(); m_paOutDevice = settings.value("paOutDevice",0).toInt(); m_IQswap = settings.value("IQswap",false).toBool(); - m_10db = settings.value("Plus10dB",false).toBool(); + m_dB = settings.value("Scale_dB",0).toInt(); m_initIQplus = settings.value("InitIQplus",false).toBool(); m_bIQxt = settings.value("IQxt",false).toBool(); m_udpPort = settings.value("UDPport",50004).toInt(); soundInThread.setSwapIQ(m_IQswap); - soundInThread.set10db(m_10db); + soundInThread.setScale(m_dB); soundInThread.setPort(m_udpPort); ui->actionCuteSDR->setChecked(settings.value( "PaletteCuteSDR",true).toBool()); @@ -682,7 +682,7 @@ void MainWindow::on_actionDeviceSetup_triggered() //Setup Dialog dlg.m_nDevOut=m_nDevOut; dlg.m_udpPort=m_udpPort; dlg.m_IQswap=m_IQswap; - dlg.m_10db=m_10db; + dlg.m_dB=m_dB; dlg.m_initIQplus=m_initIQplus; dlg.m_bIQxt=m_bIQxt; dlg.m_cal570=m_cal570; @@ -719,7 +719,7 @@ void MainWindow::on_actionDeviceSetup_triggered() //Setup Dialog m_paOutDevice=dlg.m_paOutDevice; m_udpPort=dlg.m_udpPort; m_IQswap=dlg.m_IQswap; - m_10db=dlg.m_10db; + m_dB=dlg.m_dB; m_initIQplus=dlg.m_initIQplus; m_bIQxt=dlg.m_bIQxt; m_colors=dlg.m_colors; @@ -732,7 +732,7 @@ void MainWindow::on_actionDeviceSetup_triggered() //Setup Dialog m_wide_graph_window->m_mult570Tx=m_mult570Tx; m_wide_graph_window->m_cal570=m_cal570; soundInThread.setSwapIQ(m_IQswap); - soundInThread.set10db(m_10db); + soundInThread.setScale(m_dB); if(dlg.m_restartSoundIn) { soundInThread.quit(); diff --git a/map65/mainwindow.h b/map65/mainwindow.h index 8b85e761..b90683fc 100755 --- a/map65/mainwindow.h +++ b/map65/mainwindow.h @@ -192,6 +192,7 @@ private: qint32 m_modeJT65; qint32 m_modeQ65; qint32 m_RxState; + qint32 m_dB; double m_fAdd; @@ -220,7 +221,6 @@ private: bool m_NB; bool m_fs96000; bool m_IQswap; - bool m_10db; bool m_initIQplus; bool m_bIQxt; diff --git a/map65/soundin.cpp b/map65/soundin.cpp index 0e50f293..46433d4e 100755 --- a/map65/soundin.cpp +++ b/map65/soundin.cpp @@ -1,4 +1,5 @@ #include "soundin.h" +#include #ifdef Q_OS_WIN32 #include @@ -53,9 +54,9 @@ typedef struct { int kin; //Parameters sent to/from the portaudio callback function int nrx; + int dB; bool bzero; bool iqswap; - bool b10db; } paUserData; //--------------------------------------------------------------- a2dCallback @@ -91,8 +92,7 @@ extern "C" int a2dCallback( const void *inputBuffer, void *outputBuffer, nbytes=udata->nrx*8*framesToProcess; //Bytes per frame memcpy(d4,inputBuffer,nbytes); //Copy all samples to d4 - fac=32767.0; - if(udata->b10db) fac=103618.35; + fac=32767.0 * pow(10.0,0.05*udata->dB); if(udata->nrx==2) { for(i=0; i<4*int(framesToProcess); i++) { //Negate odd-numbered frames @@ -185,7 +185,7 @@ void SoundInThread::run() //SoundInThread::run() udata.bzero=false; //Flag to request reset of kin udata.nrx=m_nrx; //Number of polarizations udata.iqswap=m_IQswap; - udata.b10db=m_10db; + udata.dB=m_dB; auto device_info = Pa_GetDeviceInfo (m_nDevIn); @@ -251,7 +251,7 @@ void SoundInThread::run() //SoundInThread::run() } k=udata.kin; udata.iqswap=m_IQswap; - udata.b10db=m_10db; + udata.dB=m_dB; if(m_monitoring) { if(m_bForceCenterFreq) { datcom_.fcenter=m_dForceCenterFreq; @@ -281,9 +281,9 @@ void SoundInThread::setSwapIQ(bool b) m_IQswap=b; } -void SoundInThread::set10db(bool b) +void SoundInThread::setScale(qint32 n) { - m_10db=b; + m_dB=n; } void SoundInThread::setPort(int n) //setPort() { diff --git a/map65/soundin.h b/map65/soundin.h index 369cf1d7..78947338 100755 --- a/map65/soundin.h +++ b/map65/soundin.h @@ -30,7 +30,7 @@ public: } void setSwapIQ(bool b); - void set10db(bool b); + void setScale(qint32 n); void setPort(qint32 n); void setInputDevice(qint32 n); void setRate(double rate); @@ -62,7 +62,6 @@ private: bool m_monitoring; bool m_bForceCenterFreq; bool m_IQswap; - bool m_10db; double m_dForceCenterFreq; qint32 m_nrx; qint32 m_hsym; @@ -70,6 +69,7 @@ private: qint32 m_udpPort; qint32 m_TRperiod; qint32 m_TRperiod0; + qint32 m_dB; QUdpSocket *udpSocket; }; diff --git a/models/CabrilloLog.cpp b/models/CabrilloLog.cpp index b0459e19..77166859 100755 --- a/models/CabrilloLog.cpp +++ b/models/CabrilloLog.cpp @@ -73,7 +73,9 @@ public: Configuration const * configuration_; QSqlQuery mutable dupe_query_; QSqlQuery mutable export_query_; + QSqlQuery mutable qso_count_query_; bool adding_row_; + int n_qso(); }; CabrilloLog::impl::impl (CabrilloLog * self, Configuration const * configuration) @@ -109,6 +111,7 @@ CabrilloLog::impl::impl (CabrilloLog * self, Configuration const * configuration { Q_EMIT self_->data_changed (); } + Q_EMIT self_->qso_count_changed(self_->n_qso()); }); SQL_error_check (*this, &QSqlTableModel::select); @@ -132,6 +135,10 @@ CabrilloLog::impl::impl (CabrilloLog * self, Configuration const * configuration " cabrillo_log_v2 " " ORDER BY " " \"when\""); + + SQL_error_check (qso_count_query_, &QSqlQuery::prepare, + "SELECT COUNT(*) FROM cabrillo_log_v2"); + } void CabrilloLog::impl::create_table () @@ -234,8 +241,10 @@ bool CabrilloLog::add_QSO (Frequency frequency, QString const& mode, QDateTime c m_->adding_row_ = true; auto ok = m_->insertRecord (-1, record); transaction.submit (); + m_->adding_row_ = false; m_->setEditStrategy (QSqlTableModel::OnFieldChange); + Q_EMIT this->qso_count_changed(this->n_qso()); return ok; } @@ -256,6 +265,13 @@ bool CabrilloLog::dupe (Frequency frequency, QString const& call) const return false; } +int CabrilloLog::n_qso() +{ + SQL_error_check (m_->qso_count_query_, static_cast (&QSqlQuery::exec)); + m_->qso_count_query_.first(); + return m_->qso_count_query_.value(0).toInt(); +} + void CabrilloLog::reset () { // synchronize model diff --git a/models/CabrilloLog.hpp b/models/CabrilloLog.hpp index 97d8f0d8..68b76fc2 100755 --- a/models/CabrilloLog.hpp +++ b/models/CabrilloLog.hpp @@ -31,6 +31,7 @@ public: bool add_QSO (Frequency, QString const& mode, QDateTime const&, QString const& call , QString const& report_sent, QString const& report_received); bool dupe (Frequency, QString const& call) const; + int n_qso(); QSqlTableModel * model (); void reset (); @@ -38,6 +39,7 @@ public: worked_set unique_DXCC_entities (AD1CCty const *) const; Q_SIGNAL void data_changed () const; + Q_SIGNAL void qso_count_changed (int) const; private: class impl; diff --git a/models/FrequencyList.cpp b/models/FrequencyList.cpp index 034af895..cac85ea5 100755 --- a/models/FrequencyList.cpp +++ b/models/FrequencyList.cpp @@ -278,10 +278,10 @@ namespace {50318000, Modes::FT4, IARURegions::ALL}, // provisional {50323000, Modes::FT8, IARURegions::ALL}, - {70100000, Modes::FT8, IARURegions::R1}, {70102000, Modes::JT65, IARURegions::R1}, {70104000, Modes::JT9, IARURegions::R1}, {70091000, Modes::WSPR, IARURegions::R1}, + {70154000, Modes::FT8, IARURegions::R1}, {70230000, Modes::MSK144, IARURegions::R1}, {144116000, Modes::Q65, IARURegions::ALL}, diff --git a/pax_global_header b/pax_global_header deleted file mode 100755 index 4451de8e..00000000 --- a/pax_global_header +++ /dev/null @@ -1 +0,0 @@ -52 comment=d28164e92a3a diff --git a/revision_utils.cpp b/revision_utils.cpp index 597403d0..d78e09fc 100755 --- a/revision_utils.cpp +++ b/revision_utils.cpp @@ -80,5 +80,5 @@ QString version (bool include_patch) QString program_title (QString const& revision) { QString id {QCoreApplication::applicationName () + " v" + QCoreApplication::applicationVersion ()}; - return id + " " + revision + " by K1JT, G4WJS, K9AN, and IV3NWV"; + return id + " " + revision + " by K1JT et al."; } diff --git a/translations/wsjtx_ru.ts b/translations/wsjtx_ru.ts new file mode 100755 index 00000000..df9cbd24 --- /dev/null +++ b/translations/wsjtx_ru.ts @@ -0,0 +1,6695 @@ + + + + + AbstractLogWindow + + + &Delete ... + Удалить... + + + + AbstractLogWindow::impl + + + Confirm Delete + Подтвердить удаление + + + + Are you sure you want to delete the %n selected QSO(s) from the log? + + Вы уверены , что хотите удалить %n выбранные QSO из лога ? + Вы уверены , что хотите удалить %n выбранные QSO из лога ? + Вы уверены , что хотите удалить %n выбранные QSO из лога ? + + + + + Astro + + + + Doppler tracking + Отслеживание Доплера + + + + <html><head/><body><p>One station does all Doppler shift correction, their QSO partner receives and transmits on the sked frequency.</p><p>If the rig does not accept CAT QSY commands while transmitting a single correction is applied for the whole transmit period.</p></body></html> + <html><head/><body><p>Одна станция выполняет всю коррекцию доплеровского сдвига, ее партнер по QSO принимает и передает на запрашиваемой частоте.</p><p>Если трансивер не принимает команды CAT QSY во время передачи одна коррекция применяется ко всему периоду передачи.</p></body></html> + + + + Full Doppler to DX Grid + Полный Доплер для DX локатора + + + + <html><head/><body><p>Transmit takes place on sked frequency and receive frequency is corrected for own echoes. </p><p>This mode can be used for calling CQ, or when using Echo mode.</p></body></html> + +<html><head/><body><p>Передача происходит на частоте скеда, а частота приема корректируется с учетом собственных эхо-сигналов. </p><p>Этот режим можно использовать для CQ или при использовании режима Echo.</p></body></html> + + + + Own Echo + Свое эхо + + + + <html><head/><body><p>Both stations correct for Doppler shift such that they would be heard on the moon at the sked frequency.</p><p>If the rig does not accept CAT QSY commands while transmitting a single correction is applied for the whole transmit period.</p><p>Use this option also for Echo mode.</p></body></html> + <html><head/><body><p>Обе станции корректируют доплеровский сдвиг таким образом, чтобы их можно было услышать на Луне на заданной частоте.</p><p>Если трансивер не принимает команды CAT QSY во время при передаче одна коррекция применяется ко всему периоду передачи.</p><p>Используйте эту опцию также для режима эха.</p></body></html> + + + + Constant frequency on Moon + Постоянная частота для Луны + + + + <html><head/><body><p>DX station announces their TX Freq, which is entered as the Sked Freq. Correction applied to RX and TX so you appear on the DX's station's own echo Freq.</p><p>If the rig does not accept CAT QSY commands while transmitting a single correction is applied for the whole transmit period.</p></body></html> + <html><head/><body><p>DX-станция объявляет свою частоту передачи, которая вводится как частота скеда. Корректировка применяется к RX и TX, поэтому вы появляется на собственной частоте эха станции DX.</p><p>Если трансивер не принимает команды CAT QSY во время передачи, применяется одна коррекция для всего периода передачи.</p> </тело></html> + + + + On DX Echo + Эхо DX + + + + <html><head/><body><p>Tune radio manually and select this mode to put your echo on the same frequency.</p><p>If the rig does not accept CAT QSY commands while transmitting a single correction is applied for the whole transmit period.</p></body></html> + <html><head/><body><p>Настройте радио вручную и выберите этот режим, чтобы ваше эхо было на той же частоте.</p><p>Если nhfycbdth не принимает команды CAT QSY при передаче одной поправки применяется на весь период передачи.</p></body></html> + + + + Call DX + Вызов DX + + + + <html><head/><body><p>No Doppler shift correction is applied. This may be used when the QSO partner does full Doppler correction to your grid square.</p></body></html> + <html><head/><body><p>Коррекция доплеровского сдвига не применяется. Это может быть использовано, когда партнер по QSO выполняет полную доплеровскую коррекцию вашего квадрата.</p></body></html> + + + + None + Нет + + + + Sked frequency + Частота скеда + + + + + 0 + + + + + Rx: + + + + + Tx: + + + + + <html><head/><body><p>Press and hold the CTRL key to adjust the sked frequency manually with the rig's VFO dial or enter frequency directly into the band entry field on the main window.</p></body></html> + <html><head/><body><p>Нажмите и удерживайте клавишу CTRL, чтобы отрегулировать частоту скеда вручную с помощью ручки VFO трансивера или введите частоту непосредственно в поле ввода диапазона в главном окне.</p></ тело></html> + + + + Astro Data + Астро данные + + + + Astronomical Data + Астрономические данные + + + + Doppler Tracking Error + Ошибка доплеровского слежения + + + + Split operating is required for Doppler tracking + Для доплеровского отслеживания требуется режим Split трансивера. + + + + Go to "Menu->File->Settings->Radio" to enable split operation + +Перейдите в «Меню->Файл->Настройки->Радио», чтобы включить режим Split. + + + + Bands + + + Band name + Диапазон + + + + Lower frequency limit + Нижняя граница частоты диапазона + + + + Upper frequency limit + Верхняя граница частоты диапазона + + + + Band + Диапазон + + + + Lower Limit + Нижний лимит + + + + Upper Limit + Верхний лимит + + + + CAboutDlg + + + About WSJT-X + О WSJT-X + + + + OK + + + + + CPlotter + + + &Set Rx && Tx Offset + Установить смещение Rx && Tx + + + + CabrilloLog + + + Freq(MHz) + + + + + Mode + + + + + Date & Time(UTC) + + + + + Call + + + + + Sent + + + + + Rcvd + + + + + Band + + + + + CabrilloLogWindow + + + Contest Log + + + + + <html><head/><body><p>Right-click here for available actions.</p></body></html> + <html><head/><body><p>Нажмите здесь правой кнопкой мыши, чтобы просмотреть доступные действия.</p></body></html> + + + + Right-click here for available actions. + Нажмите здесь правой кнопкой мыши, чтобы просмотреть доступные действия. + + + + CallsignDialog + + + Callsign + + + + + ColorHighlighting + + + + + + + + + + + + + + + + + + K1ABC + + + + + CQ in message + CQ в сообщении + + + + My Call in message + Мой позывной в сообщении + + + + Transmitted message + Передаваемое сообщение + + + + New DXCC + Новая DXCC + + + + New Grid + Новый локатор + + + + New DXCC on Band + Новая DXCC на диапазоне + + + + New Call + Новый позывной + + + + New Grid on Band + Новый локатор на диапазоне + + + + New Call on Band + Новый позывной на диапазоне + + + + Uploads to LotW + Загрузить в LotW + + + + New Continent + Новый континент + + + + New Continent on Band + Новый континет на диапазоне + + + + New CQ Zone + Новая CQ зона + + + + New CQ Zone on Band + Новая CQ зона на диапазоне + + + + New ITU Zone + Новая ITU зона + + + + New ITU Zone on Band + Новая ITU зона на диапазоне + + + + Configuration::impl + + + + + &Delete + Удалить + + + + + &Insert ... + Вставить ... + + + + Failed to create save directory + Ошибка создания папки для сохранения + + + + path: "%1% + путь: "%1% + + + + Failed to create samples directory + Не удалось создать папку примеров + + + + path: "%1" + путь: "%1" + + + + &Load ... + Загрузить ... + + + + &Save as ... + Сохранить как ... + + + + &Merge ... + Обьединить ... + + + + &Reset + Сброс + + + + Serial Port: + COM порт: + + + + Serial port used for CAT control + Com порт для управления CAT + + + + Network Server: + Сетевой сервер: + + + + Optional hostname and port of network service. +Leave blank for a sensible default on this machine. +Formats: + hostname:port + IPv4-address:port + [IPv6-address]:port + Опционально имя хоста и номер порта сервера. +Можно оставить поля пустыми чтобы использовать значения по умолчанию на этом компьютере. +Поддерживаемый формат: + имя_хоста:порт + IPv4-адрес:порт + [IPv6-адрес]:порт + + + + USB Device: + USB устройство: + + + + Optional device identification. +Leave blank for a sensible default for the rig. +Format: + [VID[:PID[:VENDOR[:PRODUCT]]]] + Опциональная идентификация устройства. +Оставьте пустым для использования значения по умолчанию для трансивера. +Формат: + [VID[:PID[:VENDOR[:PRODUCT]]]] + + + + + Invalid audio input device + Некорректный выбор звуковой карты для входа + + + + Invalid audio output device + Некорректный выбор звуковой карты для выхода + + + + Invalid PTT method + Некорректный метод PTT + + + + Invalid PTT port + Некорректный PTT порт + + + + + Invalid Contest Exchange + Некорректный контрольный номер + + + + You must input a valid ARRL Field Day exchange + Вы должны проводить обмен в соответствии с ARRL Field Day + + + + You must input a valid ARRL RTTY Roundup exchange + + + + + Pending DNS lookup, please try again later + Ожидается поиск DNS. Повторите попытку позже. + + + + Reset Decode Highlighting + Сбросить подсветку декодирования + + + + Reset all decode highlighting and priorities to default values + Сбросить всю подсветку и приоритеты декодирования на значения по умолчанию + + + + WSJT-X Decoded Text Font Chooser + Выбор шрифта декодированного текста WSJT-X + + + + UDP server DNS lookup failed + Ошибка DNS-запроса UDP-сервера + + + + MAC-ambiguous multicast groups addresses not supported + Адреса групп многоадресной рассылки с неоднозначным MAC-адресом не поддерживаются + + + + Load Working Frequencies + Загрузить рабочие частоты + + + + + + Frequency files (*.qrg);;All files (*.*) + Файл частот (*.qrg);;All files (*.*) + + + + Replace Working Frequencies + Заменить рабочие частоты + + + + Are you sure you want to discard your current working frequencies and replace them with the loaded ones? + Вы уверены, что хотите сбросить текущие рабочие частоты и заменить их загруженными? + + + + Merge Working Frequencies + Обьединить рабочие частоты + + + + + + Not a valid frequencies file + Некорректный файл частот + + + + Incorrect file magic + Неправильный формат файла + + + + Version is too new + Версия в отработке + + + + Contents corrupt + Контент обрезан + + + + Save Working Frequencies + Сохранить рабочие частоты + + + + Only Save Selected Working Frequencies + Сохранить только выбранные рабочие частоты + + + + Are you sure you want to save only the working frequencies that are currently selected? Click No to save all. + Вы уверены, что хотите сохранить только рабочие частоты, которые выбраны в данный момент? Нажмите Нет, чтобы сохранить все. + + + + Reset Working Frequencies + Сброс рабочих частот + + + + Are you sure you want to discard your current working frequencies and replace them with default ones? + Вы уверены, что хотите сбросить текущие рабочие частоты и заменить их значениями по умолчанию? + + + + Save Directory + Сохранить папку + + + + AzEl Directory + Папка AzEl + + + + Rig control error + Ошибка управления трансивером + + + + Failed to open connection to rig + Ошибка подключения к трансиверу + + + + Rig failure + Трансивер не отвечает + + + + Not found + audio device missing + отсутствует аудиоустройство + Не найден + + + + DXLabSuiteCommanderTransceiver + + + Failed to connect to DX Lab Suite Commander + + Не удалось подключиться к DX Lab Suite Commander + + + + DX Lab Suite Commander didn't respond correctly reading frequency: + DX Lab Suite Commander неправильно't реагирует на считанную частоту: + + + + DX Lab Suite Commander sent an unrecognised TX state: + DX Lab Suite Commander отправил нераспознанное состояние TX: + + + + DX Lab Suite Commander didn't respond correctly polling TX status: + DX Lab Suite Commander не ответил't правильно, опрашивая статус TX: + + + + DX Lab Suite Commander rig did not respond to PTT: + Настройка DX Lab Suite Commander не отвечает на PTT: + + + + DX Lab Suite Commander didn't respond correctly polling frequency: + DX Lab Suite Commander не отвечал't правильно на частоту опроса: + + + + DX Lab Suite Commander didn't respond correctly polling TX frequency: + + + + + DX Lab Suite Commander sent an unrecognised split state: + DX Lab Suite Commander отправил нераспознанное состояние режима Split: + + + + DX Lab Suite Commander didn't respond correctly polling split status: + DX Lab Suite Commander не отвечал правильно, опрашивая статус split: + + + + DX Lab Suite Commander sent an unrecognised mode: " + DX Lab Suite Commander отправил нераспознанный режим: " + + + + DX Lab Suite Commander didn't respond correctly polling mode: + DX Lab Suite Commander не ответил правильно в режиме опроса: + + + + DX Lab Suite Commander send command failed + + Команда из DX Lab Suite Commander не выполнена + + + + DX Lab Suite Commander send command failed "%1": %2 + + DX Lab Suite Commander не смог отправить команду "%1": %2 + + + + DX Lab Suite Commander send command "%1" read reply failed: %2 + + На команду из DX Lab Suite Commander "%1" не удалось получить ответ:%2 + + + + DX Lab Suite Commander retries exhausted sending command "%1" + DX Lab Suite Commander повторяет выданную команду "%1" + + + + DX Lab Suite Commander sent an unrecognized frequency + DX Lab Suite Commander отправил некорректную частоту + + + + DecodeHighlightingListView + + + &Foreground color ... + Цвет переднего плана... + + + + Choose %1 Foreground Color + Выберите %1 цвет переднего плана + + + + &Unset foreground color + Отменить основной цвет + + + + &Background color ... + Фоновый цвет ... + + + + Choose %1 Background Color + Выберите %1 фоновый цвет + + + + U&nset background color + Отмена фонового цвета + + + + &Reset this item to defaults + Сбросить значения по умолчанию + + + + DecodeHighlightingModel + + + CQ in message + CQ в сообщении + + + + My Call in message + Мой позывной в сообщении + + + + Transmitted message + Передаваемое сообщение + + + + New DXCC + Новая DXCC + + + + New DXCC on Band + Новая DXCC на диапазоне. + + + + New Grid + Новый локатор + + + + New Grid on Band + Новый локатор на диапаазоне + + + + New Call + Новый позывной + + + + New Call on Band + Новый позывной на диапазоне + + + + New Continent + Новый континент + + + + New Continent on Band + Новый континент на диапазоне + + + + New CQ Zone + Новая CQ зона + + + + New CQ Zone on Band + Новая CQ зона на диапазоне + + + + New ITU Zone + Новая ITU зона + + + + New ITU Zone on Band + Новая ITU зона на диапазоне + + + + LoTW User + Пользователь LotW + + + + f/g unset + + + + + b/g unset + + + + + Highlight Type + Тип выделения + + + + Designer + + + &Delete + Удалить + + + + &Insert ... + Вставить ... + + + + Insert &after ... + Вставить после... + + + + Import Palette + Импорт палитры + + + + + Palettes (*.pal) + Палитра (*.pal) + + + + Export Palette + Экспорт палитры + + + + Dialog + + + Gray time: + + + + + Directory + + + File + + + + + Progress + + + + + + URL Error + Ошибка URL + + + + + Invalid URL: +"%1" + Ошибочный URL: +"%1" + + + + + + + + + + JSON Error + Ошибка JSON + + + + Contents file syntax error %1 at character offset %2 + Синтаксическая ошибка %1 файла контента при смещении символа %2 + + + + Contents file top level must be a JSON array + Верхний уровень файла контента должен быть массивом JSON + + + + File System Error + Ошибка файловой системы + + + + Failed to open "%1" +Error: %2 - %3 + Не удалось открыть "%1" +Ошибка: %2 - %3 + + + + Contents entries must be a JSON array + Записи контента должны быть массивом JSON + + + + Contents entries must have a valid type + Записи контента должны иметь допустимый тип + + + + Contents entries must have a valid name + Содержание записей должно иметь правильное имя + + + + Contents entries must be JSON objects + Записи контента должны быть объектами JSON + + + + Contents directories must be relative and within "%1" + Папки контента должны быть относительными и находиться в пределах "%1" + + + + Network Error + Ошибка сети + + + + Authentication required + Необходима аутентификация + + + + DisplayText + + + &Erase + Очистить + + + + EchoGraph + + + + Echo Graph + Эхо-график + + + + <html><head/><body><p>Compression factor for frequency scale</p></body></html> + <html><head/><body><p>Коэффициент сжатия для частотной шкалы</p></body></html> + + + + Bins/Pixel + + + + + Gain + Яркость + + + + <html><head/><body><p>Echo spectrum gain</p></body></html> + <html><head/><body><p>Яркость спектра эхо-сигнала</p></body></html> + + + + Zero + Ноль + + + + <html><head/><body><p>Echo spectrum zero</p></body></html> + <html><head/><body><p>Ноль эхоспектра</p></body></html> + + + + <html><head/><body><p>Smoothing of echo spectrum</p></body></html> + <html><head/><body><p>Сглаживание спектра эха</p></body></html> + + + + Smooth + Сглаживание + + + + <html><head/><body><p>Number of echo transmissions averaged</p></body></html> + +<html><head/><body><p>Усредненное количество передач эха</p></body></html> + + + + N: 0 + + + + + <html><head/><body><p>Click to cycle through a sequence of colors and line widths.</p></body></html> + +<html><head/><body><p>Нажмите, чтобы просмотреть последовательность цветов и толщины линий.</p></body></html> + + + + Colors + Цвета + + + + EmulateSplitTransceiver + + + Emulated split mode requires rig to be in simplex mode + Эмуляция режима split требует, чтобы трансивер был в симплексном режиме. + + + + EqualizationToolsDialog::impl + + + Equalization Tools + Инструменты эквалайзера + + + + Phase + Фаза + + + + + Freq (Hz) + Частота (Гц) + + + + Phase (Π) + Фаза (Π) + + + + Delay (ms) + Задержка (мс) + + + + Measured + Измерено + + + + Proposed + Предложенный + + + + Current + Текущий + + + + Group Delay + Групповая задержка + + + + Amplitude + Амплитуда + + + + Relative Power (dB) + Относительная мощность (дБ) + + + + Reference + Ссылка + + + + Phase ... + Фаза ... + + + + Refresh + Обнловить + + + + Discard Measured + Отменить измеренное + + + + ExistingNameDialog + + + Configuration to Clone From + Конфигурация для клонирования + + + + &Source Configuration Name: + Имя исходной конфигурации: + + + + ExportCabrillo + + + Dialog + + + + + Location: + + + + + SNJ + + + + + Contest: + + + + + ARRL-RTTY + + + + + Callsign: + + + + + Category-Operator: + + + + + SINGLE-OP + + + + + Category-Transmitter: + + + + + ONE + + + + + Category-Power: + + + + + LOW + + + + + Category-Assisted: + + + + + NON-ASSISTED + + + + + Category-Band: + + + + + ALL + + + + + Claimed-Score: + + + + + Operators: + + + + + Club: + + + + + Name: + + + + + + Address: + + + + + Save Log File + + + + + Cabrillo Log (*.cbr) + + + + + Cannot open "%1" for writing: %2 + + + + + Export Cabrillo File Error + + + + + FastGraph + + + + Fast Graph + Быстрый график + + + + Waterfall gain + Яркость водопада + + + + Waterfall zero + Контрастность водопада + + + + Spectrum zero + Ноль спектра + + + + <html><head/><body><p>Set reasonable levels for gain and zero sliders.</p></body></html> + <html><head/><body><p>Установите разумные уровни для ползунков яркости и контрастности.</p></body></html> + + + + Auto Level + Автоматический уровень + + + + FoxLog::impl + + + Date & Time(UTC) + + + + + Call + + + + + Grid + + + + + Sent + + + + + Rcvd + + + + + Band + + + + + FoxLogWindow + + + Fox Log + Fox лог + + + + <html><head/><body><p>Right-click here for available actions.</p></body></html> + <html><head/><body><p>Нажмите здесь правой кнопкой мыши, чтобы просмотреть доступные действия.</p></body></html> + + + + Callers: + Вызовы: + + + + + + N + + + + + In progress: + Ход выполнения + + + + Rate: + Темп + + + + &Export ADIF ... + Экспорт ADIF ... + + + + Export ADIF Log File + Экспорт лога в ADIF файл + + + + ADIF Log (*.adi) + ADIF лог (*.adi) + + + + Export ADIF File Error + Ошибка экспорта файла ADIF + + + + Cannot open "%1" for writing: %2 + Невозможно открыть "%1" для записи: %2 + + + + &Reset ... + Сброс ... + + + + Confirm Reset + Подтвердите сброс + + + + Are you sure you want to erase file FoxQSO.txt and start a new Fox log? + Вы уверены, что хотите удалиить файл FoxQSO.txt и начать новый лог Fox? + + + + FrequencyDialog + + + Add Frequency + Добавить частоту + + + + IARU &Region: + IARU регион + + + + &Mode: + Вид + + + + &Frequency (MHz): + Частота (МГц) + + + + FrequencyList_v2 + + + + IARU Region + IARU регион + + + + + Mode + Вид + + + + + Frequency + Частота + + + + + Frequency (MHz) + Частота (МГц) + + + + HRDTransceiver + + + + Failed to connect to Ham Radio Deluxe + + Не удалось подключиться к Ham Radio Deluxe + + + + Failed to open file "%1": %2. + Не удалось открыть файл "%1": %2. + + + + + Ham Radio Deluxe: no rig found + Ham Radio Deluxe: трансивер не обнаружен + + + + Ham Radio Deluxe: rig doesn't support mode + Ham Radio Deluxe: трансивер не поддерживает't режим + + + + Ham Radio Deluxe: sent an unrecognised mode + Ham Radio Deluxe: отправил неизвестный режим + + + + Ham Radio Deluxe: item not found in %1 dropdown list + Ham Radio Deluxe: элемент не найден в выпадающем списке %1 + + + + Ham Radio Deluxe: button not available + Ham Radio Deluxe: кнопка недоступна + + + + Ham Radio Deluxe didn't respond as expected + Ham Radio Deluxe некорректно ответил + + + + Ham Radio Deluxe: rig has disappeared or changed + Ham Radio Deluxe: трансивер выключен или изменился + + + + Ham Radio Deluxe send command "%1" failed %2 + + Ham Radio Deluxe отправить команду "%1" не удалось %2 + + + + + + Ham Radio Deluxe: failed to write command "%1" + Ham Radio Deluxe: не удалось записать команду "%1" + + + + Ham Radio Deluxe sent an invalid reply to our command "%1" + Ham Radio Deluxe отправил неверный ответ на команду "%1" + + + + Ham Radio Deluxe failed to reply to command "%1" %2 + + Ham Radio Deluxe не ответил на команду "%1" %2 + + + + Ham Radio Deluxe retries exhausted sending command "%1" + Ham Radio Deluxe повторяет выданную команду "%1" + + + + Ham Radio Deluxe didn't respond to command "%1" as expected + Ham Radio Deluxe не отвечает на команду "%1" как и ожидалось + + + + HamlibTransceiver + + + + Hamlib initialisation error + Ошибка инициализации Hamlib + + + + Hamlib settings file error: %1 at character offset %2 + Ошибка файла настроек Hamlib : %1 со смещением символа %2 + + + + Hamlib settings file error: top level must be a JSON object + +Ошибка файла настроек Hamlib: верхний уровень должен быть объектом JSON + + + + Hamlib settings file error: config must be a JSON object + Ошибка файла настроек Hamlib: config должен быть объектом JSON + + + + Unsupported CAT type + Не поддердерживаемый тип CAT + + + + Hamlib error: %1 while %2 + Ошибка Hamlib %1 while %2 + + + + opening connection to rig + текущее соединение с трансивером + + + + getting current frequency + получение текущей частоты + + + + getting current mode + получение текущего режима + + + + + exchanging VFOs + обмен VFOs + + + + + getting other VFO frequency + получение частоты другого VFO + + + + getting other VFO mode + Получение режима другого VFO + + + + + setting current VFO + установка текущего VFO + + + + getting frequency + получение частоты + + + + getting mode + получение режима + + + + + + getting current VFO + выбор текущего VFO + + + + + + + getting current VFO frequency + получение частоты текущего VFO + + + + + + + + + setting frequency + установка частоты + + + + + + + getting current VFO mode + получение режима текущего VFO + + + + + + + + setting current VFO mode + установка тежима текущего VFO + + + + + setting/unsetting split mode + установить/снять режим split + + + + + setting split mode + установить режим split + + + + setting split TX frequency and mode + установка split для частоты и режима TX + + + + setting split TX frequency + установка split для частоты TX + + + + getting split TX VFO mode + получение режима split TX VFO + + + + setting split TX VFO mode + установка режима split TX VFO + + + + getting PTT state + получение статуса PTT + + + + setting PTT on + активирование PTT + + + + setting PTT off + деактивация PTT + + + + setting a configuration item + настройка элементов конфигурации + + + + getting a configuration item + считывание элементов конфигурации + + + + IARURegions + + + All + Все + + + + Region 1 + Регион 1 + + + + Region 2 + Регион 2 + + + + Region 3 + Регион 3 + + + + + IARU Region + IARU регион + + + + LogQSO + + + Click OK to confirm the following QSO: + Нажмите OK, чтобы подтвердить следующее QSO: + + + + Call + Позывной + + + + Start + Начало + + + + + dd/MM/yyyy HH:mm:ss + + + + + End + Окончание + + + + Mode + Вид + + + + Band + Диапазон + + + + Rpt Sent + + + + + Rpt Rcvd + + + + + Grid + Локатор + + + + Name + Имя + + + + Tx power + Мощность передатчика + + + + + + Retain + Сохранить + + + + Comments + Комментарии + + + + Operator + Оператор + + + + Exch sent + Обмен передан. + + + + Rcvd + Прин. + + + + Prop Mode + Опорный режим + + + + Aircraft scatter + Рассеивание самолетом + + + + Aurora-E + Аврора Е + + + + Aurora + Аврора + + + + Back scatter + Обратное рассеивание + + + + Echolink + Эхолинк + + + + Earth-moon-earth + Земля-Луна-Земля + + + + Sporadic E + Спорадик Е + + + + F2 Reflection + F2 Отражение + + + + Field aligned irregularities + выравнивание по полю + + + + Internet-assisted + с помощью Интернета + + + + Ionoscatter + ионорасферное рассеяние + + + + IRLP + + + + + Meteor scatter + Разброс метеоров + + + + Non-satellite repeater or transponder + Неспутниковый ретранслятор или транспондер + + + + Rain scatter + Рассеяние дождя + + + + Satellite + Спутник + + + + Trans-equatorial + Транс-экваториальный + + + + Troposheric ducting + Тропосферный воздуховод + + + + + Invalid QSO Data + Неверные данные QSO + + + + Check exchange sent and received + +Проверка отправленного и полученного обмена + + + + Check all fields + Проверить все поля + + + + Log file error + + + + + Cannot open "%1" for append + Не удается открыть "%1" для добавления + + + + Error: %1 + Ошибка: %1 + + + + LotWUsers::impl + + + Network Error - SSL/TLS support not installed, cannot fetch: +'%1' + Ошибка сети — поддержка SSL/TLS не установлена, не удается получить: +'%1' + + + + Network Error - Too many redirects: +'%1' + Ошибка сети — слишком много переадресаций: +'%1' + + + + Network Error: +%1 + Сетевая ошибка: +%1 + + + + File System Error - Cannot commit changes to: +"%1" + Ошибка файловой системы — не удается зафиксировать изменения в: +"%1" + + + + File System Error - Cannot open file: +"%1" +Error(%2): %3 + Ошибка файловой системы - Не удается открыть файл: +"%1" +Ошибка(%2): %3 + + + + File System Error - Cannot write to file: +"%1" +Error(%2): %3 + Ошибка файловой системы - Не удается записать в файл: +"%1" +Ошибка(%2): %3 + + + + MainWindow + + + WSJT-X by K1JT + + + + + + + + + + + Band Activity + Декодирование в полосе обзора + + + + + UTC dB DT Freq Dr + + + + + + + + + + Rx Frequency + Декодировавние на частоте RX + + + + CQ only + Только CQ + + + + Enter this QSO in log + QSO в лог + + + + Log &QSO + QSO в лог + + + + Stop monitoring + Останов декодирования + + + + &Stop + Стоп + + + + Toggle monitoring On/Off + Вкючение/Выключение декодирования + + + + &Monitor + Монитор + + + + <html><head/><body><p>Erase right window. Double-click to erase both windows.</p></body></html> + <html><head/><body><p>Очистка правого окна.Двойной клик очистка правого и левого окна.</p></body></html> + + + + Erase right window. Double-click to erase both windows. + Очистка правого окна.Двойной клик очистка правого и левого окна + + + + &Erase + Очистка + + + + <html><head/><body><p>Clear the accumulating message average.</p></body></html> + Очистка накопленного среднего числа сообщений + <html><head/><body><p>Очистка накопленного среднего числа сообщений.</p></body></html> + + + + Clear the accumulating message average. + Очистка накопленного среднего числа сообщений + + + + Clear Avg + Очистить AVG + + + + <html><head/><body><p>Decode most recent Rx period at QSO Frequency</p></body></html> + Повторно декодирует последний RX период или последний воспроизводимый звуковой файл (wav). + <html><head/><body><p>Декодировать последний период на частоте QSO.</p></body></html> + + + + Decode most recent Rx period at QSO Frequency + Декодировать последний период на частоте QSO. + + + + &Decode + Декод. + + + + <html><head/><body><p>Toggle Auto-Tx On/Off</p></body></html> + Включить/Отключить разрешение на автопередачу + + + + Toggle Auto-Tx On/Off + Включить/Отключить разрешение на автопередачу + + + + E&nable Tx + Разреш. TX + + + + Stop transmitting immediately + Немедленный останов TX + + + + &Halt Tx + Стоп TX + + + + <html><head/><body><p>Toggle a pure Tx tone On/Off</p></body></html> + Передача тона для Настройки + <html><head/><body><p>Вкл/Выкл передачи тона для Настройки</p></body></html> + + + + Toggle a pure Tx tone On/Off + Вкл/Выкл передачи тона для Настройки + + + + &Tune + &Настройка + + + + Menus + Меню + + + + Decode other Hounds calling above 1000 Hz audio offset + Декодировать другие гончие, вызывающие по звуку выше 1000 Гц + + + + Enable auto response to the first decode from a new DXCC or new call on the current band. + Разрешить автоматический ответ на первое декодирование от нового DXCC или нового вызова на текущем диапазоне. + + + + F High + + + + + F Low + + + + + 1/2 + + + + + 2/2 + + + + + 1/3 + + + + + 2/3 + + + + + 3/3 + + + + + 1/4 + + + + + 2/4 + + + + + 3/4 + + + + + 4/4 + + + + + 1/5 + + + + + 2/5 + + + + + 3/5 + + + + + 4/5 + + + + + 5/5 + + + + + 1/6 + + + + + 2/6 + + + + + 3/6 + + + + + 4/6 + + + + + 5/6 + + + + + 6/6 + + + + + Percentage of minute sequences devoted to transmitting. + Процент минутных интервалов, посвященных передаче. + + + + Prefer Type 1 messages + Выбор сообщения типа 1 + + + + <html><head/><body><p>Transmit during the next sequence.</p></body></html> + <html><head/><body><p>Передать во время следующего интервала .</p></body></html> + + + + Q65 + + + + + SWL Mode + + + + + Hide lower panel controls to maximize deocde windows + Скрыть элементы управления нижней панели, чтобы максимизировать окно декодирования. + + + + USB dial frequency + Отображение частоты трансивера в режиме USB + + + + 14.078 000 + + + + + <html><head/><body><p>30dB recommended when only noise present<br/>Green when good<br/>Red when clipping may occur<br/>Yellow when too low</p></body></html> + +<html><head/><body><p> рекомендуется 30 дБ, если присутствует только шум<br/>Зеленый, если все хорошо<br/>Красный, если может возникнуть перегрузка <br/>Желтый, если слишком низкий уровень</p></body ></html> + + + + Rx Signal + + + + + 30dB recommended when only noise present +Green when good +Red when clipping may occur +Yellow when too low + 30 дБ рекомендуется, когда присутствует только шум +Зеленый, когда хорошо +Красный, когда может произойти перегрузка +Желтый, когда слишком низкий + + + + DX Call + Позывной DX + + + + DX Grid + QTH Локатор + + + + Callsign of station to be worked + Позывной корреспондента + + + + Search for callsign in database + Поиск позывного в базе данных + + + + &Lookup + Поиск + + + + Locator of station to be worked + QTH локатор корреспондента + + + + Az: 251 16553 km + + + + + Add callsign and locator to database + Добавить позывной и QTH квадрат в базе данных. + + + + Add + Добавить + + + + Pwr + Мощн. + + + + <html><head/><body><p>If orange or red there has been a rig control failure, click to reset and read the dial frequency. S implies split mode.</p></body></html> + <html><head/><body><p>Если кружок отображается оранжевым или красным цветом - не работает CAT управление.Попробуйте синхронизировать управление трансивером нажав кнопкой мыши на кружке, проверьте корректность подключения трансивера к компьютеру,установки в трансивере, выполните заново настройку CAT в WSJT-X.</p></body></html> + + + + If orange or red there has been a rig control failure, click to reset and read the dial frequency. S implies split mode. + Если кружок отображается оранжевым или красным цветом - не работает CAT управление. Попробуйте синхронизировать управление трансивером нажав кнопкой мыши на кружке, проверьте корректность подключения трансивера к компьютеру,установки в трансивере, выполните заново настройку CAT в JTDX. + + + + ? + + + + + Adjust Tx audio level + Регулировка уровня звука на передачу + + + + <html><head/><body><p>Select operating band or enter frequency in MHz or enter kHz increment followed by k.</p></body></html> + <html><head/><body><p>Выберите диапазон или введите частоту в МГц или введите приращение в кГц, после чего нажмите k.</p></body></html> + + + + Frequency entry + + + + + Select operating band or enter frequency in MHz or enter kHz increment followed by k. + Выбор рабочего диапазона или частоты в МГц + + + + <html><head/><body><p align="center"> 2015 Jun 17 </p><p align="center"> 01:23:45 </p></body></html> + + + + + <html><head/><body><p>Check to keep Tx frequency fixed when double-clicking on decoded text.</p></body></html> + <html><head/><body><p>Установите этот флажок, чтобы при двойном щелчке по декодированному тексту частота Tx оставалась фиксированной.</p></body></html> + + + + Check to keep Tx frequency fixed when double-clicking on decoded text. + Установите флажок, чтобы частота Tx оставалась фиксированной при двойном щелчке по декодированному тексту. + + + + Hold Tx Freq + Удерживать частоту передачи + + + + Audio Rx frequency + Звуковая частота приема + + + + + + + + Hz + Гц + + + + + Rx + + + + + + Set Tx frequency to Rx Frequency + установить частоту передачи равной частоте приема + + + + ▲ + + + + + Frequency tolerance (Hz) + Допуск по частоте (Гц) + + + + + F Tol + + + + + + Set Rx frequency to Tx Frequency + установить частоту приема равной частоте передачи + + + + ▼ + + + + + <html><head/><body><p>Synchronizing threshold. Lower numbers accept weaker sync signals.</p></body></html> + <html><head/><body><p>Порог синхронизации. Меньшие числа принимают более слабые сигналы синхронизации.</p></body></html> + + + + Synchronizing threshold. Lower numbers accept weaker sync signals. + Порог синхронизации. Меньшие числа принимают более слабые сигналы синхронизации. + + + + Sync + + + + + <html><head/><body><p>Check to use short-format messages.</p></body></html> + <html><head/><body><p>Отметьте, чтобы использовать короткие сообщения.</p></body></html + + + + Check to use short-format messages. + Отметьте, чтобы использовать короткие сообщения. + + + + Sh + + + + + <html><head/><body><p>Check to enable JT9 fast modes</p></body></html> + <html><head/><body><p>Отметьте, чтобы включить быстрые режимы JT9</p></body></html> + + + + Check to enable JT9 fast modes + Отметьте, чтобы включить быстрые режимы JT9 + + + + + Fast + Быстрый + + + + <html><head/><body><p>Check to enable automatic sequencing of Tx messages based on received messages.</p></body></html> + <html><head/><body><p>Отметьте, чтобы включить автоматическую последовательность Tx-сообщений на основе полученных сообщений.</p></body></html> + + + + Check to enable automatic sequencing of Tx messages based on received messages. + Отметьте, чтобы включить автоматическую последовательность Tx-сообщений на основе полученных сообщений. + + + + Auto Seq + АвтоВыбор + + + + <html><head/><body><p>Check to call the first decoded responder to my CQ.</p></body></html> + <html><head/><body><p>Отметьте для вызова первого декодированного корреспондента на мой CQ.</p></body></html> + + + + Check to call the first decoded responder to my CQ. + Отметьте для вызова первого декодированного корреспондента на мой CQ. + + + + Call 1st + + + + + Check to generate "@1250 (SEND MSGS)" in Tx6. + Отметьте, чтобы сгенерировать "@1250 (SEND MSGS)" в Tx6 + + + + Tx6 + + + + + <html><head/><body><p>Check to Tx in even-numbered minutes or sequences, starting at 0; uncheck for odd sequences.</p></body></html> + <html><head/><body><p>Check to Tx через четные минуты или последовательности, начиная с 0; снимите флажок для нечетных последовательностей.</p></body></html> + + + + Check to Tx in even-numbered minutes or sequences, starting at 0; uncheck for odd sequences. + +Проверка на Tx через четные минуты или последовательности, начиная с 0; снимите флажок для нечетных последовательностей. + + + + Tx even/1st + Tx четный/1-й + + + + <html><head/><body><p>Frequency to call CQ on in kHz above the current MHz</p></body></html> + <html><head/><body><p>Частота вызова CQ в кГц выше текущей частоты МГц</p></body></html> + + + + Frequency to call CQ on in kHz above the current MHz + +Частота для CQ в кГц выше текущей частоты МГц + + + + Tx CQ + + + + + <html><head/><body><p>Check this to call CQ on the &quot;Tx CQ&quot; frequency. Rx will be on the current frequency and the CQ message wiill include the current Rx frequency so callers know which frequency to reply on.</p><p>Not available to nonstandard callsign holders.</p></body></html> + <html><head/><body><p>Отметьте, чтобы вызывать CQ на &quot;Tx CQ&quot; частота. Rx будет на текущей частоте, а сообщение CQ будет включать текущую частоту Rx, чтобы вызывающие абоненты знали, на какой частоте отвечать.</p><p>Недоступно для владельцев нестандартных позывных.</p></body></ HTML + + + + Check this to call CQ on the "Tx CQ" frequency. Rx will be on the current frequency and the CQ message wiill include the current Rx frequency so callers know which frequency to reply on. +Not available to nonstandard callsign holders. + Установите этот флажок, чтобы вызвать CQ на частоте «Tx CQ». Rx будет на текущей частоте, а сообщение CQ будет включать текущую частоту Rx, чтобы вызывающие абоненты знали, на какой частоте отвечать. +Недоступно для владельцев нестандартных позывных. + + + + Rx All Freqs + Rx всех частот + + + + <html><head/><body><p>Submode determines tone spacing; A is narrowest.</p></body></html> + +<html><head/><body><p>Подрежим определяет расстояние между тонами; A — самое узкое.</p></body></html> + + + + Submode determines tone spacing; A is narrowest. + Подрежим определяет расстояние между тонами; А самый узкий. + + + + Submode + + + + + + Fox + + + + + <html><head/><body><p>Check to monitor Sh messages.</p></body></html> + <html><head/><body><p>Отметьте, чтобы отслеживать сообщения Sh.</p></body></html> + + + + Check to monitor Sh messages. + Отметьте, чтобы отслеживать сообщения Sh. + + + + SWL + + + + + Best S+P + + + + + <html><head/><body><p>Check this to start recording calibration data.<br/>While measuring calibration correction is disabled.<br/>When not checked you can view the calibration results.</p></body></html> + <html><head/><body><p>Установите этот флажок, чтобы начать запись данных калибровки.<br/>При измерении коррекция калибровки отключена.<br/>Если флажок не установлен, вы можете просматривать результаты калибровки.</p> + + + + Check this to start recording calibration data. +While measuring calibration correction is disabled. +When not checked you can view the calibration results. + Установите этот флажок, чтобы начать запись данных калибровки. +При измерении коррекция калибровки отключена. +Если флажок не установлен, вы можете просмотреть результаты калибровки. + + + + Measure + Измерение + + + + <html><head/><body><p>Signal report: Signal-to-noise ratio in 2500 Hz reference bandwidth (dB).</p></body></html> + <html><head/><body><p>Отчет о сигнале: отношение сигнал/шум в эталонной полосе пропускания 2 500 Гц (дБ).</p></body></html> + + + + Signal report: Signal-to-noise ratio in 2500 Hz reference bandwidth (dB). + Отчет о сигнале: отношение сигнал-шум в эталонной полосе пропускания 2500 Гц (дБ). + + + + Report + Рапорт + + + + <html><head/><body><p>Tx/Rx or Frequency calibration sequence length</p></body></html> + <html><head/><body><p>Длина последовательности калибровки Tx/Rx или частоты</p></body></html> + + + + Tx/Rx or Frequency calibration sequence length + Tx/Rx или длина последовательности калибровки частоты + + + + + s + с + + + + + T/R + + + + + Audio Tx frequency + Частота передачи по звуку. + + + + + Tx + + + + + Tx# + + + + + 1 + + + + + + + Send this message in next Tx interval + Передать это сообщение в следующем интервале передачи + + + + Ctrl+2 + + + + + <html><head/><body><p>Send this message in next Tx interval</p><p>Double click to toggle the use of the Tx1 message to start a QSO with a station (not allowed for type 1 compound call holders)</p></body></html> + <html><head/><body><p>Отправить это сообщение в следующем интервале Tx</p><p>Дважды щелкните, чтобы переключить использование сообщения Tx1 для начала QSO со станцией (не разрешено для типа 1 держатели составных вызовов)</p></body></html> + + + + Send this message in next Tx interval +Double click to toggle the use of the Tx1 message to start a QSO with a station (not allowed for type 1 compound call holders) + Отправить это сообщение в следующем интервале Tx +Дважды щелкните, чтобы переключить использование сообщения Tx1 для начала QSO со станцией (не разрешено для составных вызовов типа 1) + + + + Ctrl+1 + + + + + + + + Switch to this Tx message NOW + Переключиться на это Tx-сообщение СЕЙЧАС + + + + Tx &2 + + + + + Alt+2 + + + + + <html><head/><body><p>Switch to this Tx message NOW</p><p>Double click to toggle the use of the Tx1 message to start a QSO with a station (not allowed for type 1 compound call holders)</p></body></html> + <html><head/><body><p>Переключиться на это сообщение Tx СЕЙЧАС</p><p>Дважды щелкните, чтобы переключить использование сообщения Tx1 для начала QSO со станцией (не разрешено для соединения типа 1 держатели звонков)</p></body></html> + + + + Switch to this Tx message NOW +Double click to toggle the use of the Tx1 message to start a QSO with a station (not allowed for type 1 compound call holders) + Переключиться на это Tx-сообщение СЕЙЧАС +Дважды щелкните, чтобы переключить использование сообщения Tx1 для начала QSO со станцией (не разрешено для держателей составных вызовов типа 1) + + + + Tx &1 + + + + + Alt+1 + + + + + Ctrl+6 + + + + + <html><head/><body><p>Send this message in next Tx interval</p><p>Double-click to reset to the standard 73 message</p></body></html> + <html><head/><body><p>Отправить это сообщение в следующем интервале Tx</p><p>Дважды щелкните, чтобы восстановить стандартное сообщение 73</p></body></html> + + + + Send this message in next Tx interval +Double-click to reset to the standard 73 message + Отправить это сообщение в следующем интервале Tx +Дважды щелкните, чтобы вернуться к стандартному сообщению 73. + + + + Ctrl+5 + + + + + Ctrl+3 + + + + + Tx &3 + + + + + Alt+3 + + + + + <html><head/><body><p>Send this message in next Tx interval</p><p>Double-click to toggle between RRR and RR73 messages in Tx4 (not allowed for type 2 compound call holders)</p><p>RR73 messages should only be used when you are reasonably confident that no message repetitions will be required</p></body></html> + <html><head/><body><p>Отправить это сообщение в следующем интервале Tx</p><p>Дважды щелкните, чтобы переключиться между сообщениями RRR и RR73 в Tx4 (не разрешено для держателей составных вызовов типа 2)</p><p>Сообщения RR73 следует использовать только в том случае, если вы достаточно уверены, что повторение сообщений не потребуется</p></body></html> + + + + Send this message in next Tx interval +Double-click to toggle between RRR and RR73 messages in Tx4 (not allowed for type 2 compound call holders) +RR73 messages should only be used when you are reasonably confident that no message repetitions will be required + Отправить это сообщение в следующем интервале Tx +Двойной щелчок для переключения между сообщениями RRR и RR73 в Tx4 (не разрешено для держателей составных вызовов типа 2) +Сообщения RR73 следует использовать только в том случае, если вы достаточно уверены, что повторение сообщений не потребуется. + + + + Ctrl+4 + + + + + <html><head/><body><p>Switch to this Tx message NOW</p><p>Double-click to toggle between RRR and RR73 messages in Tx4 (not allowed for type2 compound call holders)</p><p>RR73 messages should only be used when you are reasonably confident that no message repetitions will be required</p></body></html> + <html><head/><body><p>Переключиться на это сообщение Tx СЕЙЧАС</p><p>Дважды щелкните, чтобы переключиться между сообщениями RRR и RR73 в Tx4 (не разрешено для держателей составных вызовов type2)</p ><p>Сообщения RR73 следует использовать только в том случае, если вы достаточно уверены, что повторение сообщений не потребуется</p></body></html> + + + + Switch to this Tx message NOW +Double-click to toggle between RRR and RR73 messages in Tx4 (not allowed for type2 compound call holders) +RR73 messages should only be used when you are reasonably confident that no message repetitions will be required + Переключиться на это Tx-сообщение СЕЙЧАС +Двойной щелчок для переключения между сообщениями RRR и RR73 в Tx4 (не разрешено для держателей составных вызовов типа 2) +Сообщения RR73 следует использовать только в том случае, если вы достаточно уверены, что повторение сообщений не потребуется. + + + + Tx &4 + + + + + Alt+4 + + + + + <html><head/><body><p>Switch to this Tx message NOW</p><p>Double-click to reset to the standard 73 message</p></body></html> + <html><head/><body><p>Переключиться на это Tx-сообщение СЕЙЧАС</p><p>Дважды щелкните, чтобы восстановить стандартное сообщение 73</p></body></html> + + + + Switch to this Tx message NOW +Double-click to reset to the standard 73 message + Переключиться на это Tx-сообщение СЕЙЧАС +Дважды щелкните, чтобы вернуться к стандартному сообщению 73. + + + + Tx &5 + + + + + Alt+5 + + + + + Now + + + + + Generate standard messages for minimal QSO + Генерировать стандартные сообщения для минимального QSO + + + + Generate Std Msgs + Создан. стандарт. сообщ. + + + + Tx &6 + + + + + Alt+6 + + + + + Enter a free text message (maximum 13 characters) +or select a predefined macro from the dropdown list. +Press ENTER to add the current text to the predefined +list. The list can be maintained in Settings (F2). + Введите произвольное текстовое сообщение (максимум 13 символов) +или выберите предопределенный макрос из выпадающего списка. +Нажмите ENTER, чтобы добавить текущий текст к предопределенным +список. Список можно сохранить в настройках (F2). + + + + Queue up the next Tx message + +Поставить в очередь следующее сообщение Tx + + + + Next + Следующий + + + + 2 + + + + + Quick-Start Guide to FST4 and FST4W + Краткое руководство по FST4 и FST4W + + + + FST4 + + + + + FST4W + + + + + + CQ + + + + + Grid + Локатор + + + + Max dB + Max дБ + + + + CQ AF + + + + + CQ AN + + + + + CQ AS + + + + + CQ EU + + + + + CQ NA + + + + + CQ OC + + + + + CQ SA + + + + + CQ 0 + + + + + CQ 1 + + + + + CQ 2 + + + + + CQ 3 + + + + + CQ 4 + + + + + CQ 5 + + + + + CQ 6 + + + + + CQ 7 + + + + + CQ 8 + + + + + CQ 9 + + + + + Reset + Сброс + + + + N List + + + + + N Slots + + + + + + + + + + + Random + Случайный + + + + Call + + + + + S/N (dB) + S/N (дБ) + + + + Distance + Расстояние + + + + More CQs + + + + + + % + + + + + Tx Pct + + + + + Band Hopping + Диапазон переходов + + + + Choose bands and times of day for band-hopping. + Выберите диапазоны и время суток для смены диапазонов. + + + + Schedule ... + Расписание ... + + + + Upload decoded messages to WSPRnet.org. + Загрузка декодированные сообщения на WSPRnet.org. + + + + Upload spots + Послать спот + + + + <html><head/><body><p>6 digit locators cause 2 different messages to be sent, the second contains the full locator but only a hashed callsign, other stations must have decoded the first once before they can decode your call in the second. Check this option to only send 4 digit locators if it will avoid the two message protocol.</p></body></html> + <html><head/><body><p>6-значные локаторы вызывают отправку 2 разных сообщений, второе содержит полный локатор, но только хешированный позывной, другие станции должны декодировать первое один раз, прежде чем они смогут декодировать ваш позывной во-вторых. Установите этот флажок, чтобы отправлять только 4-значные локаторы, если это позволит избежать протокола с двумя сообщениями.</p></body></html> + + + + 6 digit locators cause 2 different messages to be sent, the second contains the full locator but only a hashed callsign, other stations must have decoded the first once before they can decode your call in the second. Check this option to only send 4 digit locators if it will avoid the two message protocol. + 6-значные локаторы вызывают отправку 2 разных сообщений, второе содержит полный локатор, но только хешированный позывной, другие станции должны декодировать первое один раз, прежде чем они смогут декодировать ваш позывной во втором. Установите этот флажок, чтобы отправлять только 4-значные локаторы, если это позволит избежать протокола с двумя сообщениями. + + + + No own call decodes + Нет своих декод. вызовов + + + + Tx Next + Tx след. + + + + Set Tx power in dBm (dB above 1 mW) as part of your WSPR message. + Укажите мощность передатчика в дБм (относительно 1 мВт) +для передачи в Вашем WSPR сообщении. + + + + NB + + + + + Maximum drift rate in units of symbol rate per transmission. + Максимальная скорость дрейфа в единицах скорости передачи символов на передачу. + + + + Max Drift + Макс дрейф + + + + File + Файл + + + + View + Показывать + + + + Decode + Декод. + + + + Save + Сохранить + + + + Help + Помощь + + + + Mode + Модуляция + + + + Configurations + Конфигурация + + + + Tools + Инструменты + + + + Exit + Выход + + + + About WSJT-X + О WSJT-X + + + + Waterfall + Водопад + + + + Open + Открыть + + + + Ctrl+O + + + + + Open next in directory + Открыть следующий в папке + + + + Decode remaining files in directory + Декодировать оставшиеся файлы в папке + + + + Shift+F6 + + + + + Delete all *.wav && *.c2 files in SaveDir + + + + + None + Нет + + + + Save all + Сохранить все + + + + Online User Guide + Онлайн-руководство пользователя + + + + Keyboard shortcuts + Горячие клавиши + + + + Special mouse commands + Команды управления мышью + + + + JT9 + + + + + Save decoded + Сохранить декодированные + + + + Normal + Нормальный + + + + Deep + Глубокий + + + + Erase ALL.TXT + Стереть ALL.TXT + + + + Erase wsjtx_log.adi + Стереть wsjtx_log.adi + + + + F7 + + + + + Runaway Tx watchdog + + + + + JT65 + + + + + Astronomical data + Астрономические данные + + + + List of Type 1 prefixes and suffixes + Список префиксов и суффиксов типа 1 + + + + Settings... + Настройки... + + + + Local User Guide + Локальное руководство пользователя + + + + Open log directory + Открыть папку логов + + + + JT4 + + + + + Message averaging + Усреднение сообщений + + + + Enable averaging + Включить усреднение + + + + Enable deep search + + + + + WSPR + + + + + Echo Graph + Эхо-график + + + + F8 + + + + + Echo + Эхо + + + + EME Echo mode + EME эхо режим + + + + ISCAT + + + + + Fast Graph + Быстрый график + + + + F9 + + + + + &Download Samples ... + Скачать примеры... + + + + <html><head/><body><p>Download sample audio files demonstrating the various modes.</p></body></html> + <html><head/><body><p>Загрузите примеры аудиофайлов, демонстрирующие различные режимы.</p></body></html> + + + + MSK144 + + + + + QRA64 + + + + + Release Notes + Примечания к выпуску + + + + Enable AP for DX Call + Включить AP для DX Call + + + + FreqCal + + + + + Measure reference spectrum + Измерение эталонного спектра + + + + Measure phase response + Измерение фазовой характеристики + + + + Erase reference spectrum + Стереть эталонный спектр + + + + Execute frequency calibration cycle + Выполнить цикл калибровки частоты + + + + Equalization tools ... + Инструменты эквалайзера ... + + + + FT8 + + + + + + Enable AP + Включить AP + + + + Solve for calibration parameters + Решите для параметров калибровки + + + + Copyright notice + Уведомление об авторских правах + + + + Shift+F1 + + + + + Fox log + Лог лисы + + + + FT8 DXpedition Mode User Guide + Руководство пользователя режима DX-экспедиции FT8 + + + + Reset Cabrillo log ... + Очистка Cabrillo лога ... + + + + Color highlighting scheme + Схема выделения цветом + + + + Export Cabrillo log ... + Экспорт Cabrillo лог... + + + + Contest log + Контест лог + + + + Erase WSPR hashtable + Стереть хеш-таблицу WSPR + + + + FT4 + + + + + Quick-Start Guide to Q65 + Краткое руководство по Q65 + + + + Auto Clear Avg after decode + Автоматическая очистка среднего значения после декодирования + + + + Quick-Start Guide to WSJT-X 2.5.0 and MAP65 3.0 + Краткое руководство по WSJT-X 2.5.0 и MAP65 3.0 + + + + Rig Control Error + Ошибка управления трансивером + + + + + + Receiving + Прием + + + + Do you want to reconfigure the radio interface? + Хотите перенастроить радиоинтерфейс? + + + + Error Scanning ADIF Log + Ошибка сканирования ADIF лога + + + + Scanned ADIF log, %1 worked before records created + Просканирован лог ADIF, %1 работал до создания записей + + + + Error Loading LotW Users Data + Ошибка при загрузке данных пользователей LotW + + + + Error Writing WAV File + Ошибка записи файла WAV + + + + Enumerating audio devices + Перечисление аудиоустройств + + + + Configurations... + Конфигурация ... + + + + + + + + + + + + + + + + + + + + + + Message + Сообщение + + + + Error Killing jt9.exe Process + Ошибка завершения jtdxjt9.exe процесса + + + + KillByName return code: %1 + KillByName код возврата :%1 + + + + Error removing "%1" + Ошибка удаления "%1" + + + + Click OK to retry + Нажмите OK, чтобы повторить попытку. + + + + + Improper mode + Неправильный режим + + + + + File Open Error + Ошибка открытия файла + + + + + + + + Cannot open "%1" for append: %2 + Не удается открыть "%1" для добавления: %2 + + + + Error saving c2 file + Ошибка сохранения c2 файла + + + + Error in Sound Input + Ошибка в SoundInput + + + + Error in Sound Output + Ошибка в SoundOutput + + + + + + + Single-Period Decodes + Однопериодные декодирования + + + + + + + Average Decodes + Среднее декодирование + + + + Change Operator + Изменить оператора + + + + New operator: + Новый оператор + + + + Status File Error + Ошибка файла состояния + + + + + Cannot open "%1" for writing: %2 + Невозможно открыть "%1" для записи: %2 + + + + Subprocess Error + Ошибка подпроцесса + + + + Subprocess failed with exit code %1 + Сбой подпроцесса с кодом выхода %1 + + + + + Running: %1 +%2 + Запуск: %1 +%2 + + + + Subprocess error + Ошибка подпроцесса + + + + Reference spectrum saved + Сохраненный эталонный спектр + + + + Invalid data in fmt.all at line %1 + +Неверные данные в fmt.all в строке %1 + + + + Good Calibration Solution + Хорошее калибровочное решение + + + + <pre>%1%L2 ±%L3 ppm +%4%L5 ±%L6 Hz + +%7%L8 +%9%L10 Hz</pre> + + + + + Delete Calibration Measurements + +Удалить калибровочные измерения + + + + The "fmt.all" file will be renamed as "fmt.bak" + Файл «fmt.all» будет переименован в «fmt.bak». + + + + If you make fair use of any part of WSJT-X under terms of the GNU General Public License, you must display the following copyright notice prominently in your derivative work: + +"The algorithms, source code, look-and-feel of WSJT-X and related programs, and protocol specifications for the modes FSK441, FST4, FT8, JT4, JT6M, JT9, JT65, JTMS, QRA64, Q65, MSK144 are Copyright (C) 2001-2021 by one or more of the following authors: Joseph Taylor, K1JT; Bill Somerville, G4WJS; Steven Franke, K9AN; Nico Palermo, IV3NWV; Greg Beam, KI7MT; Michael Black, W9MDB; Edson Pereira, PY2SDR; Philip Karn, KA9Q; and other members of the WSJT Development Group." + Если вы добросовестно используете какую-либо часть WSJT-X в соответствии с условиями Стандартной общественной лицензии GNU, вы должны разместить на видном месте следующее уведомление об авторских правах в своей производной работе: + +«Алгоритмы, исходный код, внешний вид WSJT-X и связанных с ним программ, а также спецификации протоколов для режимов FSK441, FST4, FT8, JT4, JT6M, JT9, JT65, JTMS, QRA64, Q65, MSK144 защищены авторским правом ( C) 2001–2021 годы одним или несколькими из следующих авторов: Джозеф Тейлор, K1JT; Билл Сомервилль, G4WJS; Стивен Франке, K9AN; Нико Палермо, IV3NWV; Грег Бим, KI7MT; Майкл Блэк, W9MDB; Эдсон Перейра, PY2SDR; Филипп. Karn, KA9Q и другие члены группы разработчиков WSJT». + + + + No data read from disk. Wrong file format? + Данные не считываются с диска. Неверный формат файла? + + + + Confirm Delete + Подтвердите удаление + + + + Are you sure you want to delete all *.wav and *.c2 files in "%1"? + Вы уверены, что хотите удалить все файлы *.wav и *.c2 в "%1"? + + + + Keyboard Shortcuts + Горячие клавиши + + + + <table cellspacing=1> + <tr><td><b>Esc </b></td><td>Stop Tx, abort QSO, clear next-call queue</td></tr> + <tr><td><b>F1 </b></td><td>Online User's Guide (Alt: transmit Tx6)</td></tr> + <tr><td><b>Shift+F1 </b></td><td>Copyright Notice</td></tr> + <tr><td><b>Ctrl+F1 </b></td><td>About WSJT-X</td></tr> + <tr><td><b>F2 </b></td><td>Open settings window (Alt: transmit Tx2)</td></tr> + <tr><td><b>F3 </b></td><td>Display keyboard shortcuts (Alt: transmit Tx3)</td></tr> + <tr><td><b>F4 </b></td><td>Clear DX Call, DX Grid, Tx messages 1-4 (Alt: transmit Tx4)</td></tr> + <tr><td><b>Alt+F4 </b></td><td>Exit program</td></tr> + <tr><td><b>F5 </b></td><td>Display special mouse commands (Alt: transmit Tx5)</td></tr> + <tr><td><b>F6 </b></td><td>Open next file in directory (Alt: toggle "Call 1st")</td></tr> + <tr><td><b>Shift+F6 </b></td><td>Decode all remaining files in directory</td></tr> + <tr><td><b>F7 </b></td><td>Display Message Averaging window</td></tr> + <tr><td><b>F11 </b></td><td>Move Rx frequency down 1 Hz</td></tr> + <tr><td><b>Ctrl+F11 </b></td><td>Move identical Rx and Tx frequencies down 1 Hz</td></tr> + <tr><td><b>Shift+F11 </b></td><td>Move Tx frequency down 60 Hz (FT8) or 90 Hz (FT4)</td></tr> + <tr><td><b>Ctrl+Shift+F11 </b></td><td>Move dial frequency down 2000 Hz</td></tr> + <tr><td><b>F12 </b></td><td>Move Rx frequency up 1 Hz</td></tr> + <tr><td><b>Ctrl+F12 </b></td><td>Move identical Rx and Tx frequencies up 1 Hz</td></tr> + <tr><td><b>Shift+F12 </b></td><td>Move Tx frequency up 60 Hz (FT8) or 90 Hz (FT4)</td></tr> + <tr><td><b>Ctrl+Shift+F12 </b></td><td>Move dial frequency up 2000 Hz</td></tr> + <tr><td><b>Alt+1-6 </b></td><td>Set now transmission to this number on Tab 1</td></tr> + <tr><td><b>Ctl+1-6 </b></td><td>Set next transmission to this number on Tab 1</td></tr> + <tr><td><b>Alt+B </b></td><td>Toggle "Best S+P" status</td></tr> + <tr><td><b>Alt+C </b></td><td>Toggle "Call 1st" checkbox</td></tr> + <tr><td><b>Alt+D </b></td><td>Decode again at QSO frequency</td></tr> + <tr><td><b>Shift+D </b></td><td>Full decode (both windows)</td></tr> + <tr><td><b>Ctrl+E </b></td><td>Turn on TX even/1st</td></tr> + <tr><td><b>Shift+E </b></td><td>Turn off TX even/1st</td></tr> + <tr><td><b>Alt+E </b></td><td>Erase</td></tr> + <tr><td><b>Ctrl+F </b></td><td>Edit the free text message box</td></tr> + <tr><td><b>Alt+G </b></td><td>Generate standard messages</td></tr> + <tr><td><b>Alt+H </b></td><td>Halt Tx</td></tr> + <tr><td><b>Ctrl+L </b></td><td>Lookup callsign in database, generate standard messages</td></tr> + <tr><td><b>Alt+M </b></td><td>Monitor</td></tr> + <tr><td><b>Alt+N </b></td><td>Enable Tx</td></tr> + <tr><td><b>Ctrl+O </b></td><td>Open a .wav file</td></tr> + <tr><td><b>Alt+O </b></td><td>Change operator</td></tr> + <tr><td><b>Alt+Q </b></td><td>Log QSO</td></tr> + <tr><td><b>Ctrl+R </b></td><td>Set Tx4 message to RRR (not in FT4)</td></tr> + <tr><td><b>Alt+R </b></td><td>Set Tx4 message to RR73</td></tr> + <tr><td><b>Alt+S </b></td><td>Stop monitoring</td></tr> + <tr><td><b>Alt+T </b></td><td>Toggle Tune status</td></tr> + <tr><td><b>Alt+Z </b></td><td>Clear hung decoder status</td></tr> +</table> + Keyboard shortcuts help window contents + <table cellspacing=1> + <tr><td><b>Esc </b></td><td>Остановить передачу, прервать QSO, очистить очередь следующего вызова.</td></tr> + <tr><td><b>F1 </b></td><td>Онлайн-руководство пользователя. </td></tr> + <tr><td><b>Shift+F1 </b></td><td>Уведомление об авторских правах.</td></tr> + <tr><td><b>Ctrl+F1 </b></td><td>О WSJT-X.</td></tr> + <tr><td><b>F2 </b></td><td>Открыть окно настроек.</td></tr> + <tr><td><b>F3 </b></td><td>Показать список "горячих" клавиш.</td></tr> + <tr><td><b>F4 </b></td><td>Очистить DX позывной/Локатор и TX сообщения.</td></tr> + <tr><td><b>Alt+F4 </b></td><td>Выход из программы.</td></tr> + <tr><td><b>F5 </b></td><td>Показать специальные команды мыши. </td></tr> + <tr><td><b>F6 </b></td><td>Открыть следующий файл в папке.</td></tr> + <tr><td><b>Shift+F6 </b></td><td>Декодировать оставшиеся файлы в папке</td></tr> + <tr><td><b>F7 </b></td><td>Показать окно усреднения сообщений</td></tr> + <tr><td><b>F11 </b></td><td>Уменьшить Rx частоту на 1Гц</td></tr> + <tr><td><b>Ctrl+F11 </b></td><td>Уменьшить частоты Rx и Tx на 1 Гц</td></tr> + <tr><td><b>Shift+F11 </b></td><td>Уменьшить частоту Tx на 60 Гц (FT8) или 90 Гц (FT4)</td></tr> + <tr><td><b>Ctrl+Shift+F11 </b></td><td>Сдвинуть частоту настройки вниз на 2000 Гц</td></tr> + <tr><td><b>F12 </b></td><td>Увеличить частоту Rx на 1 Гц</td></tr> + <tr><td><b>Ctrl+F12 </b></td><td>Увеличить частоты Rx и Tx на 1 Гц</td></tr> + <tr><td><b>Shift+F12 </b></td><td>Увеличить частоту Tx на 60 Гц (FT8) или 90 Гц (FT4)</td></tr> + <tr><td><b>Ctrl+Shift+F12 </b></td><td>Увеличить частоту настройки на 2000 Гц</td></tr> + <tr><td><b>Alt+1-6 </b></td><td>Установить сейчас передачу на номер 1 на вкладке" Tab 1</td></tr> + <tr><td><b>Ctl+1-6 </b></td><td>Установить следующую передачу на номер 1 на вкладке Tab 1</td></tr> + <tr><td><b>Alt+B </b></td><td>Переключить статус «Best S+P»</td></tr> + <tr><td><b>Alt+C </b></td><td>Установить флажок"Call 1st" </td></tr> + <tr><td><b>Alt+D </b></td><td>Повторное декодирование на частоте QSO</td></tr> + <tr><td><b>Shift+D </b></td><td>Полное декодирование (оба окна)</td></tr> + <tr><td><b>Ctrl+E </b></td><td>Включить передачу (Tx) четного интервала</td></tr> + <tr><td><b>Shift+E </b></td><td>Выключить передачу (Tx) четного интервала</td></tr> + <tr><td><b>Alt+E </b></td><td>Стереть.</td></tr> + <tr><td><b>Ctrl+F </b></td><td>Редактировать текст свободного сообщения .</td></tr> + <tr><td><b>Alt+G </b></td><td>Формирование стандартных сообщений.</td></tr> + <tr><td><b>Alt+H </b></td><td>Превать передачу / Halt Tx.</td></tr> + <tr><td><b>Ctrl+L </b></td><td>Поиск позывного в базе данных и формирование стандартных сообщений.</td></tr> + <tr><td><b>Alt+M </b></td><td>Управление кнопкой Монитор / Monitor.</td></tr> + <tr><td><b>Alt+N </b></td><td>Разрешить передачу / Enable Tx.</td></tr> + <tr><td><b>Ctrl+O </b></td><td>Открыть файл a .wav .</td></tr> + <tr><td><b>Alt+O </b></td><td>Сменить оператора.</td></tr> + <tr><td><b>Alt+Q </b></td><td>QSO в Log / Log QSO.</td></tr> + <tr><td><b>Ctrl+R </b></td><td>Установите для сообщения Tx4 значение RRR (нет в FT4).)</td></tr> + <tr><td><b>Alt+R </b></td><td>Установите сообщение Tx4 на RR73.</td></tr> + <tr><td><b>Alt+S </b></td><td>Остановить прием / Stop monitoring.</td></tr> + <tr><td><b>Alt+T </b></td><td>Переключить статус настройки.</td></tr> + <tr><td><b>Alt+Z </b></td><td>Очистить статус зависшего декодера.</td></tr> +</table> + + + + Special Mouse Commands + Специальные команды мыши + + + + <table cellpadding=5> + <tr> + <th align="right">Click on</th> + <th align="left">Action</th> + </tr> + <tr> + <td align="right">Waterfall:</td> + <td><b>Click</b> to set Rx frequency.<br/> + <b>Shift-click</b> to set Tx frequency.<br/> + <b>Ctrl-click</b> or <b>Right-click</b> to set Rx and Tx frequencies.<br/> + <b>Double-click</b> to also decode at Rx frequency.<br/> + </td> + </tr> + <tr> + <td align="right">Decoded text:</td> + <td><b>Double-click</b> to copy second callsign to Dx Call,<br/> + locator to Dx Grid, change Rx and Tx frequency to<br/> + decoded signal's frequency, and generate standard<br/> + messages.<br/> + If <b>Hold Tx Freq</b> is checked or first callsign in message<br/> + is your own call, Tx frequency is not changed unless <br/> + <b>Ctrl</b> is held down.<br/> + </td> + </tr> + <tr> + <td align="right">Erase button:</td> + <td><b>Click</b> to erase QSO window.<br/> + <b>Double-click</b> to erase QSO and Band Activity windows. + </td> + </tr> +</table> + Mouse commands help window contents + <table cellpadding=5> + <tr> + <th align="right">Клик на</th> + <th align="left">Действие</th> + </tr> + <tr> + <td align="right">Водопад:</td> + <td><b>Клик</b> выставить Rx частоту.<br/> + <b>Shift-клик</b> выставить Tx частоту.<br/> + <b>Ctrl-клик</b> or <b>Right-клик</b> Выставить Rx и Tx частоту.<br/> + <b>Двойной-клик</b> также декодирует на частоте Rx.<br/> + </td> + </tr> + <tr> + <td align="right">Декодированный текст:</td> + <td><b>Двойной-клик</b> копирует второй позывной в окно Позывной DX l,<br/> + локатор в QTH локатор меняет Rx и Tx частоты к<br/> + частоте декодированного сигнала ,формирует стандартные сообщения.<br/> +......Если установлен флажок <b>Hold Tx Freq</b> или первый позывной в сообщении<br/> + является вашим собственным вызовом, частота Tx не изменяется.<br/> +......<b>Ctrl</b> удерживается.<br/> + </td> + </tr> + <tr> + <td align="right">Кнопка очистить:</td> + <td><b>Клик</b>, чтобы стереть окно QSO.<br/> +<b>Двойной клик</b>, чтобы стереть окна QSO и полоса обзора. + </td> + </tr> +</table> + + + + No more files to open. + Нет больше файлов для открытия. + + + + Spotting to PSK Reporter unavailable + Споттинг для PSK Reporter недоступен + + + + Please choose another Tx frequency. WSJT-X will not knowingly transmit another mode in the WSPR sub-band on 30m. + Пожалуйста, выберите другую частоту Tx. WSJT-X не будет сознательно передавать в другом режиме в поддиапазоне WSPR на 30 м. + + + + WSPR Guard Band + WSPR участок, в нем заблокирована передача другими видами модуляции + + + + Please choose another dial frequency. WSJT-X will not operate in Fox mode in the standard FT8 sub-bands. + + + + + Fox Mode warning + Предупреждение о режиме лисы + + + + Last Tx: %1 + ПослдTx: + + + + Should you switch to EU VHF Contest mode? + +To do so, check 'Special operating activity' and +'EU VHF Contest' on the Settings | Advanced tab. + Стоит ли переключаться в режим EU VHF Contest? + +Для этого установите флажок «Особая операционная деятельность» и +«EU VHF Contest» в настройках | Продвинутая вкладка. + + + + Should you switch to ARRL Field Day mode? + Стоит ли переключаться в режим ARRL Field Day? + + + + Should you switch to RTTY contest mode? + Стоит ли переключаться в режим соревнований RTTY? + + + + + + + Add to CALL3.TXT + Добавить в CALL3.TXT + + + + Please enter a valid grid locator + Пожалуйста, введите корректный локатор + + + + Cannot open "%1" for read/write: %2 + Невозможно открыть "%1" для чтения/записи: %2 + + + + %1 +is already in CALL3.TXT, do you wish to replace it? + %1 +уже находится в CALL3.TXT, заменить его? + + + + Warning: DX Call field is empty. + Предупреждение: Поле DX Call пусто. + + + + Log file error + Ошибка файла лога + + + + Cannot open "%1" + Не удается открыть "%1" + + + + Error sending log to N1MM + Ошибка отправки лога в N1MM + + + + Write returned "%1" + Запись возвращает "%1" + + + + Stations calling DXpedition %1 + Станции, вызывающие DXpedition %1 + + + + Hound + Гончая + + + + Tx Messages + Tx-сообщения + + + + + + Confirm Erase + Подтвердите очистку + + + + Are you sure you want to erase file ALL.TXT? + Вы уверены, что хотите стереть файл ALL.TXT? + + + + + Confirm Reset + Подтвердите сброс + + + + Are you sure you want to erase your contest log? + Вы уверены, что хотите стереть лог соревнований? + + + + Doing this will remove all QSO records for the current contest. They will be kept in the ADIF log file but will not be available for export in your Cabrillo log. + Это приведет к удалению всех записей QSO для текущего контеста. Они будут храниться в файле журнала ADIF, но не будут доступны для экспорта в лог Cabrillo. + + + + Cabrillo Log saved + Лог Cabrillo сохранен + + + + Are you sure you want to erase file wsjtx_log.adi? + Вы уверены, что хотите стереть файл wsjtx_log.adi? + + + + Are you sure you want to erase the WSPR hashtable? + Вы уверены, что хотите стереть хеш-таблицу WSPR? + + + + Tune digital gain + Уровень звука режима настройки + + + + Transmit digital gain + Уровень звука передачи сообщения + + + + Prefixes + Префиксы + + + + Network Error + Ошибка сети + + + + Error: %1 +UDP server %2:%3 + Ошибка: %1 +UDP-сервер %2:%3 + + + + File Error + Ошибка файла + + + + Phase Training Disabled + Фаза обучения отключена + + + + Phase Training Enabled + Фаза обучения включена + + + + WD:%1m + WD:%1m + + + + + Log File Error + Ошибка файла лога + + + + Are you sure you want to clear the QSO queues? + Вы уверены, что хотите очистить очередь QSO? + + + + MessageAveraging + + + + Message Averaging + Усреднение сообщений + + + + UTC Sync DT Freq + + + + + Modes + + + + Mode + Вид + + + + MultiSettings + + + Default + + + + + MultiSettings::impl + + + &Switch To + Переключить на + + + + &Clone + Клон + + + + Clone &Into ... + Клонировать в ... + + + + R&eset + Сброс + + + + &Rename ... + Переименовать ... + + + + &Delete + Удалить + + + + Clone Into Configuration + Клонировать в конфигурацию + + + + Confirm overwrite of all values for configuration "%1" with values from "%2"? + Подтвердить перезапись всех значений конфигурации "%1" значениями из "%2"? + + + + Reset Configuration + Сброс конфигурации + + + + Confirm reset to default values for configuration "%1"? + Подтвердить сброс значений по умолчанию для конфигурации "%1"? + + + + Delete Configuration + Удалить конфигурацию + + + + Confirm deletion of configuration "%1"? + Подтвердить удаление конфигурации "%1"? + + + + NameDialog + + + New Configuration Name + Новое имя конфигурации + + + + Old name: + Старое имя + + + + &New name: + Новое имя: + + + + NetworkAccessManager + + + Network SSL/TLS Errors + Сетевые ошибки SSL/TLS + + + + OmniRigTransceiver + + + OmniRig: unrecognized mode + OmniRig: нераспознанный режим + + + + Failed to start OmniRig COM server + Не удалось запустить COM-сервер OmniRig. + + + + + OmniRig: don't know how to set rig frequency + OmniRig: не знаю, как настроить частоту трансивера + + + + OmniRig COM/OLE error: %1 at %2: %3 (%4) + Ошибка OmniRig COM/OLE: %1 в %2: %3 (%4) + + + + PollingTransceiver + + + Unexpected rig error + Непредвиденная ошибка трансивера + + + + QObject + + + Failed to open LotW users CSV file: '%1' + Не удалось открыть CSV-файл пользователей LotW: «%1» + + + + OOB + + + + + Too many colours in palette. + Слишком много цветов в палитре. + + + + Error reading waterfall palette file "%1:%2" too many colors. + Ошибка чтения файла палитры водопада "%1:%2" слишком много цветов. + + + + Error reading waterfall palette file "%1:%2" invalid triplet. + Ошибка чтения файла палитры водопада "%1:%2" неверный триплет. + + + + Error reading waterfall palette file "%1:%2" invalid color. + Ошибка чтения файла палитры водопада "%1:%2" неверный цвет. + + + + Error opening waterfall palette file "%1": %2. + Ошибка при открытии файла палитры водопада "%1": %2. + + + + Error writing waterfall palette file "%1": %2. + Ошибка записи файла палитры водопада "%1": %2. + + + + RemoteFile + + + + + + + + File System Error + Ошибка файловой системы + + + + Cannot rename file: +"%1" +to: "%2" +Error(%3): %4 + Невозможно переименовать файл: +"%1" +кому: "%2" +Ошибка(%3): %4 + + + + Cannot delete file: +"%1" + Невозможно удалить файл: +"%1" + + + + + + Network Error + Сетевая ошибка + + + + Too many redirects: %1 + Слишком много перенаправлений: %1 + + + + Redirect not followed: %1 + Перенаправление не выполнено: %1 + + + + Cannot commit changes to: +"%1" + +Невозможно зафиксировать изменения в: +"%1" + + + + Cannot open file: +"%1" +Error(%2): %3 + Не могу открыть файл: +"%1" +Ошибка(%2): %3 + + + + Cannot make path: +"%1" + Не могу создать путь: +"%1" + + + + Cannot write to file: +"%1" +Error(%2): %3 + Не могу записать в файл: +"%1" +Ошибка(%2): %3 + + + + SampleDownloader::impl + + + + Download Samples + Скачать примеры + + + + &Abort + Прервать + + + + &Refresh + Обновить + + + + &Details + Подробности + + + + Base URL for samples: + Базовый URL для примеров: + + + + Only use HTTP: + Исполльзуйте только HTTP: + + + + Check this if you get SSL/TLS errors + Проверьте это, если вы получаете ошибки SSL/TLS + + + + Input Error + Ошибка ввода + + + + Invalid URL format + Неверный формат URL + + + + SoundInput + + + An error opening the audio input device has occurred. + Произошла ошибка при открытии звуковой карты. + + + + An error occurred during read from the audio input device. + Произошла ошибка во время чтения со звуковой карты. + + + + Non-recoverable error, audio input device not usable at this time. + +Неисправимая ошибка, звуковая карта в настоящее время не используется + + + + Requested input audio format is not valid. + Запрошенный входной аудиоформат недействителен. + + + + Requested input audio format is not supported on device. + +Запрошенный входной аудиоформат не поддерживается на устройстве. + + + + Failed to initialize audio sink device + Не удалось инициализировать звуковую карту + + + + Idle + Простой + + + + Receiving + Прием + + + + Suspended + Приостановленный + + + + Interrupted + Прерывание + + + + Error + Ошибка + + + + Stopped + Остановлено + + + + SoundOutput + + + An error opening the audio output device has occurred. + Произошла ошибка при открытии звуковой карты + + + + An error occurred during write to the audio output device. + Произошла ошибка во время записи на звуковую карту + + + + Audio data not being fed to the audio output device fast enough. + Аудиоданные недостаточно быстро передаются на звуковую карту. + + + + Non-recoverable error, audio output device not usable at this time. + Неисправимая ошибка, звуковая карта в настоящее время не используется. + + + + Requested output audio format is not valid. + Запрошенный выходной аудиоформат недействителен. + + + + Requested output audio format is not supported on device. + Запрошенный выходной аудиоформат не поддерживается на устройстве. + + + + No audio output device configured. + Звуковая карта не настроенаю + + + + Idle + Простой + + + + Sending + Отправка + + + + Suspended + Приостановлено + + + + Interrupted + Пррерывание + + + + Error + Ошибка + + + + Stopped + Остановлено + + + + StationDialog + + + Add Station + Добавить станцию + + + + &Band: + Диапазон + + + + &Offset (MHz): + Смещение (МГц) + + + + &Antenna: + Антенна + + + + StationList::impl + + + Band name + Диапазон + + + + Frequency offset + Смещение частоты + + + + Antenna description + Описание антенны + + + + Band + Диапазон + + + + Offset + Смещение + + + + Antenna Description + Описание антенны + + + + TransceiverBase + + + Unexpected rig error + Непредвиденная ошибка трансивера + + + + WideGraph + + + Dialog + Диалог + + + + Controls + Управл. + + + + Spectrum gain + Уровень спектра + + + + Palette + Палитра + + + + <html><head/><body><p>Enter definition for a new color palette.</p></body></html> + <html><head/><body><p>Введите определение новой цветовой палитры.</p></body></html> + + + + Adjust... + Настройка... + + + + Waterfall gain + Яркость водопада + + + + <html><head/><body><p>Set fractional size of spectrum in this window.</p></body></html> + <html><head/><body><p>Размер окна спектра.</p></body></html> + + + + % + + + + + Spec + + + + + <html><head/><body><p>Flatten spectral baseline over the full displayed interval.</p></body></html> + <html><head/><body><p>Сглаживание уровня спектра водопада по всему отображаемому диапазону частот.</p></body></html> + + + + Flatten + Сглаживание + + + + <html><head/><body><p>Compute and save a reference spectrum. (Not yet fully implemented.)</p></body></html> + <html><head/><body><p>Рассчитайте и сохраните эталонный спектр. (Еще не полностью реализовано.)</p></body></html> + + + + Ref Spec + + + + + Smoothing of Linear Average spectrum + Сглаживание линейного среднего спектра + + + + Smooth + Гладкий + + + + Compression factor for frequency scale + Коэффициент сжатия для частотной шкалы + + + + Bins/Pixel + + + + + Select waterfall palette + Выберите палитру водопада + + + + <html><head/><body><p>Select data for spectral display</p></body></html> + <html><head/><body><p>Выбор данных для спектрального отображения</p></body></html> + + + + Current + Текущий + + + + Cumulative + Накопительный + + + + Linear Avg + Линейное среднее + + + + Reference + Эталон + + + + Q65_Sync + + + + + <html><head/><body><p>Frequency at left edge of waterfall</p></body></html> + <html><head/><body><p>Частота на левом краю водопада</p></body></html> + + + + Hz + Гц + + + + Start + Старт + + + + <html><head/><body><p>Decode JT9 only above this frequency</p></body></html> + <html><head/><body><p>Декодировать JT9 только выше этой частоты</p></body></html> + + + + Hz + Гц + + + + Split + + + + + Number of FFTs averaged (controls waterfall scrolling rate) + Количество усредненных FFT (контролирует скорость прокрутки водопада) + + + + N Avg + + + + + Waterfall zero + Контрастность водопада + + + + Spectrum zero + Ноль спектра + + + + User Defined + Определяемые пользователем + + + + Wide Graph + + + + + + Read Palette + Чтение палитры + + + + WorkedBefore + + + Invalid ADIF field %0: %1 + Недопустимое поле ADIF %0: %1 + + + + Malformed ADIF field %0: %1 + +Неверное поле ADIF %0: %1 + + + + Invalid ADIF header + Недопустимый заголовок ADIF + + + + Error opening ADIF log file for read: %0 + Ошибка открытия лога ADIF для чтения: %0 + + + + configuration_dialog + + + Settings + Настройки + + + + Genera&l + Общие + + + + General station details and settings. + Подробная информация и настройка станции. + + + + Station Details + Описание станции + + + + My C&all: + Мой п&озывной: + + + + Station callsign. + Позывной станции + + + + M&y Grid: + Мо&й QTH локатор: + + + + <html><head/><body><p>Maidenhead locator, preferably 6 characters.</p></body></html> + +<html><head/><body><p>Ваш локатор, желательно 6 символов.</p></body></html> + + + + Check to allow grid changes from external programs + Установите этот флажок, чтобы разрешить изменения локатора из внешних программ. + + + + AutoGrid + АвтоЛокатор + + + + IARU Region: + IARU регион: + + + + <html><head/><body><p>Select your IARU region.</p></body></html> + <html><head/><body><p>Выберите свой регион IARU.</p></body></html> + + + + Message generation for type 2 compound callsign holders: + Создание сообщений при испрользовании дробного позывного 2-ого типа : + + + + <html><head/><body><p>Type 2 compound callsigns are those with prefixes or suffixes not included in the allowed shortlist (See Help-&gt;Add-on prefixes and suffixes).</p><p>This option determines which generated messages should contain your full type 2 compound call sign rather than your base callsign. It only applies if you have a type 2 compound callsign.</p><p>This option controls the way the messages that are used to answer CQ calls are generated. Generated messages 6 (CQ) and 5 (73) will always contain your full callsign. The JT65 and JT9 protocols allow for some standard messages with your full call at the expense of another piece of information such as the DX call or your locator.</p><p>Choosing message 1 omits the DX callsign which may be an issue when replying to CQ calls. Choosing message 3 also omits the DX callsign and many versions of this and other software will not extract the report. Choosing neither means that your full callsign only goes in your message 5 (73) so your QSO partner may log the wrong callsign.</p><p>None of these options are perfect, message 3 is usually best but be aware your QSO partner may not log the report you send them.</p></body></html> + <html><head/><body><p>Составные(дробные) позывные второго типа - это те, у которых есть префиксы или суффиксы, не включенные в разрешенный список (см. Помощь->Список дополнительных префиксов и суффиксов)</p><p>Эта опция определяет, какие созданные сообщения должны содержать Ваш полный составной позывной второго типа вместо Вашего основного(домашнего) позывного. Эта настройка применяется только если Вы используете составной позывной второго типа.</p><p>Этот опция определяет способ создания сообщений, которые используются для ответа на вызовы CQ. Сгенерированные сообщения Tx6 (CQ) и Tx5 ​​(73) всегда будут содержать Ваш полный составной позывной. Протоколы JT65 и JT9 позволяют использовать некоторые стандартные сообщения с Вашим полным составным позывным в ущерб другой информации, такой как позывной корреспондента или Ваш QTH квадрат.</p><p>При выбор сообщения Tx1 исключается позывной корреспондента, что может быть проблемой при ответе на сообщения CQ. Выбор сообщения Tx3 также исключает позывной корреспондента, и разные версии этого и другого программного обеспечения не будут извлекать из принятого сообщения рапорт. Выбрав Tx5, Ваш полный позывной будет передан только в сообщении 73, поэтому Ваш корреспондент может внести QSO в свой лог с Вашим неполным(домашним) позывным.</p><p>Среди этих вариантов нет идеального, лучше использовать сообщение Tx3, но помните что в этом случае Ваш корреспондент может забыть внести в лог принятый от Вас рапорт.</p></body></html> + + + + Full call in Tx1 + Полный позывной в Tx1 + + + + Full call in Tx3 + Полный позывной в Tx3 + + + + Full call in Tx5 only + Полный позывной только в Tx5 + + + + Display + Отображать + + + + Show outgoing transmitted messages in the Rx frequency window. + Показать исходящие переданные сообщения в окне частоты приема. + + + + &Tx messages to Rx frequency window + Показывать переданные сообщения в окне Rx + + + + Show if decoded stations are new DXCC entities or worked before. + Показать, являются ли декодированные станции новыми объектами DXCC или работали ранее. + + + + Show &DXCC, grid, and worked-before status + Показать &DXCC, локатор и B4 (работал ранее) + + + + <html><head/><body><p>Check to have decodes for a new period start at the top of the Band Activity window and not scroll off the top when the window is full.</p><p>This is to aid selecting decodes to double-click while decoding is still in progress. Use the Band Activity vertical scroll bar to reveal decodes past the bottom of the window.</p></body></html> + <html><head/><body><p>Установите флажок, чтобы декодирование нового периода начиналось в верхней части окна «Декодирование в полосе обзора» и не прокручивалось вверх, когда окно заполнено.</p><p>Это предназначен для облегчения выбора декодирования двойным щелчком, когда декодирование все еще выполняется. Используйте вертикальную полосу прокрутки , чтобы показать декодирование за нижней частью окна.</p></body></html> + + + + Start new period decodes at top + Начать декодирование нового периода сверху + + + + Show principal prefix instead of country name + Показывать основной префикс вместо названия страны + + + + Set the font characteristics for the application. + Выберите шрифт для надписей программы. + + + + Font... + Шрифт приложения + + + + Set the font characteristics for the Band Activity and Rx Frequency areas. + Выберите шрифт для показа сообщений +в полосе обзора и окне приемной частоты. + + + + Decoded Text Font... + Шрифт декодированная... + + + + Include a separator line between periods in the band activity window. + Разделительная линия между периодами декодирования + + + + &Blank line between decoding periods + Разделительная строка между периодами декодирования + + + + Show distance to DX station in miles rather than kilometers. + Показывать расстояние до корреспондента в милях вместо километров. + + + + Display dista&nce in miles + Показывать расстояние в милях + + + + Behavior + Режим + + + + Decode after EME delay + Декодировать после задержки EME + + + + Tx watchdog: + Таймер отключения передачи +при отсутствии активности пользователя + + + + <html><head/><body><p>Number of minutes before unattended transmissions are aborted</p></body></html> + <html><head/><body><p>Количество минут до прерывания автоматической передачи</p></body></html> + + + + Disabled + + + + + minutes + минут + + + + Single decode + Одиночное декодирование + + + + <html><head/><body><p>Some rigs are not able to process CAT commands while transmitting. This means that if you are operating in split mode you may have to uncheck this option.</p></body></html> + <html><head/><body><p>Некоторые трансиверы не могут обрабатывать CAT-команды во время передачи. Это означает, что если вы работаете в режиме разделения, вам, возможно, придется снять этот флажок.</p></body></html> + + + + Allow Tx frequency changes while transmitting + Разрешить изменение частоты Tx во время передачи + + + + Don't start decoding until the monitor button is clicked. + Декодирование не начнется пока не будет +включена кнопка Монитор. + + + + Mon&itor off at startup + Отключ&ить прием сигналов при запуске + + + + <html><head/><body><p>Check this if you wish to automatically return to the last monitored frequency when monitor is enabled, leave it unchecked if you wish to have the current rig frequency maintained.</p></body></html> + <html><head/><body><p>Отметьте этот флажок, если вы хотите автоматически возвращаться к последней отслеживаемой частоте при включении монитора, оставьте этот флажок снятым, если вы хотите сохранить текущую частоту установки.</p>< /тело></html> + + + + Monitor returns to last used frequency + Монитор возвращается к последней использовавшейся частоте + + + + Alternate F1-F6 bindings + Альтернативные привязки F1-F6 + + + + Turns off automatic transmissions after sending a 73 or any other free +text message. + Отключает передачу после отправки 73 или любого другого бесплатного +текстовое сообщение. + + + + Di&sable Tx after sending 73 + Отключает передачу после отправки 73 + + + + Send a CW ID after every 73 or free text message. + JT65: Передать свой позывной в CW после сообщения 73 +или свободного текстового сообщения. + + + + CW ID a&fter 73 + CW ID после 73 + + + + Periodic CW ID Inter&val: + Периодический CW ID интер&вал: + + + + Send a CW ID periodically every few minutes. +This might be required under your countries licence regulations. +It will not interfere with other users as it is always sent in the +quiet period when decoding is done. + Передавайте CW ID периодически каждые несколько минут. +Это может потребоваться в соответствии с лицензионным законодательством вашей страны. +Он не будет мешать другим пользователям, так как он всегда отправляется в +тихий период, когда декодирование сделано. + + + + Automatic transmission mode. + Автоматический режим передачи. + + + + Doubl&e-click on call sets Tx enable + Двойной клик на позывном разрешает вызов и активирует TX + + + + Calling CQ forces Call 1st + Вызов CQ заставляет Call 1st + + + + &Radio + &Радио + + + + Radio interface configuration settings. + Настройки конфигурации радиоинтерфейса. + + + + Settings that control your CAT interface. + Настройки управления Вашим CAT интерфейсом. + + + + CAT Control + Управление CAT + + + + + Port: + Порт: + + + + Serial port used for CAT control. + COM порт для управления CAT. + + + + + Serial Port Parameters + Параметры COM порта + + + + Baud Rate: + Скорость: + + + + Serial port data rate which must match the setting of your radio. + Скорость COM порта . Должна соответствовать установленной скорости в трансивере. + + + + 1200 + + + + + 2400 + + + + + 4800 + + + + + 9600 + + + + + 19200 + + + + + 38400 + + + + + 57600 + + + + + 115200 + + + + + <html><head/><body><p>Number of data bits used to communicate with your radio's CAT interface (usually eight).</p></body></html> + <html><head/><body><p>Количество битов данных, используемых для связи с CAT-интерфейсом трансивера (обычно восемь).</p></body></html> + + + + Data Bits + Бит данных + + + + D&efault + По умолчанию + + + + Se&ven + Семь + + + + E&ight + Восемь + + + + <html><head/><body><p>Number of stop bits used when communicating with your radio's CAT interface</p><p>(consult you radio's manual for details).</p></body></html> + <html><head/><body><p>Количество стоповых битов, используемых при обмене данными с CAT-интерфейсом трансивера</p><p>(подробности см. в руководстве по радиостанции).</p></body>< /html> + + + + Stop Bits + Стоп бит + + + + + Default + По умолчанию + + + + On&e + Один + + + + T&wo + Два + + + + <html><head/><body><p>Flow control protocol used between this computer and your radio's CAT interface (usually &quot;None&quot; but some require &quot;Hardware&quot;).</p></body></html> + <html><head/><body><p>Протокол управления потоком данных, используемый между этим компьютером и CAT-интерфейсом радиостанции (обычно "Нет", но для некоторых требуется "Аппаратная поддержка").</p></body></ HTML> + + + + + Handshake + Управление потоком + + + + &None + Отключено + + + + Software flow control (very rare on CAT interfaces). + Программное управление потоком передачи +данных через последовательный порт. +Применяется крайне редко на CAT интерфейсе. + + + + XON/XOFF + Программное + + + + Flow control using the RTS and CTS RS-232 control lines +not often used but some radios have it as an option and +a few, particularly some Kenwood rigs, require it). + Аппаратное управление потоком передачи данных +с использованием линий RTS и CTS RS-232, +применяется редко, но некоторые трансиверы имеют +его в качестве опции и немногие, в том числе +некоторые Kenwood, требуют этого управления. + + + + &Hardware + Аппаратное + + + + Special control of CAT port control lines. + Управление линиями DTR/RTS CAT порта, уровень + + + + + Force Control Lines + Управление линиями DTR/RTS CAT порта. + + + + + High + Высокий + + + + + Low + Низкий + + + + DTR: + + + + + RTS: + + + + + How this program activates the PTT on your radio? + Управление PTT + + + + PTT Method + Управление PTT + + + + <html><head/><body><p>No PTT activation, instead the radio's automatic VOX is used to key the transmitter.</p><p>Use this if you have no radio interface hardware.</p></body></html> + <html><head/><body><p>Для управления передатчиком используется автоматический VOX трансивера.</p><p>Используйте это, если у вас нет аппаратного радиоинтерфейса.</p> </тело></html> + + + + VO&X + + + + + <html><head/><body><p>Use the RS-232 DTR control line to toggle your radio's PTT, requires hardware to interface the line.</p><p>Some commercial interface units also use this method.</p><p>The DTR control line of the CAT serial port may be used for this or a DTR control line on a different serial port may be used.</p></body></html> + <html><head/><body><p>Используйте линию управления RS-232 DTR для переключения PTT вашего радио, требуется аппаратное обеспечение интерфейса линии.</p><p>Некоторые коммерческие интерфейсные устройства также используют этот метод. </p><p>Для этого можно использовать линию управления DTR последовательного порта CAT или линию управления DTR на другом последовательном порту.</p></body></html> + + + + &DTR + + + + + Some radios support PTT via CAT commands, +use this option if your radio supports it and you have no +other hardware interface for PTT. + Некоторые трансиверы поддерживают управление PTT +через команды CAT, используйте эту опцию, если Ваше +радио поддерживает ее и у Вас нет другого аппаратного +интерфейса для управления PTT. + + + + C&AT + + + + + <html><head/><body><p>Use the RS-232 RTS control line to toggle your radio's PTT, requires hardware to interface the line.</p><p>Some commercial interface units also use this method.</p><p>The RTS control line of the CAT serial port may be used for this or a RTS control line on a different serial port may be used. Note that this option is not available on the CAT serial port when hardware flow control is used.</p></body></html> + <html><head/><body><p>Используйте управляющую линию RTS COM порта для переключения PTT вашего трансивера. Для реализации данного метода требуется аппаратная поддержка (COM порт компьютера). +Некоторые коммерческие интерфейсы также используют этот метод. +Для этого может использоваться линия управления RTS последовательного порта CAT, или может использоваться линия управления RTS другого COM порта. Обратите внимание, что эта опция недоступна на последовательном порту CAT при использовании аппаратного управления потоком. </p></body></html> + + + + R&TS + + + + + <html><head/><body><p>Select the RS-232 serial port utilised for PTT control, this option is available when DTR or RTS is selected above as a transmit method.</p><p>This port can be the same one as the one used for CAT control.</p><p>For some interface types the special value CAT may be chosen, this is used for non-serial CAT interfaces that can control serial port control lines remotely (OmniRig for example).</p></body></html> + <html><head/><body><p>Выберите последовательный порт RS-232, используемый для управления PTT. Этот параметр доступен, когда в качестве метода передачи выбран DTR или RTS.</p><p>Этот порт может быть тем же, что и для управления CAT.</p><p>Для некоторых типов интерфейсов может быть выбрано специальное значение CAT, которое используется для непоследовательных интерфейсов CAT, которые могут удаленно управлять линиями управления последовательного порта ( OmniRig, например).</p></body></html + + + + Modulation mode selected on radio. + Режим модуляции, выбранный на трансивере. + + + + Mode + Режим + + + + <html><head/><body><p>USB is usually the correct modulation mode,</p><p>unless the radio has a special data or packet mode setting</p><p>for AFSK operation.</p></body></html> + <html><head/><body><p>Обычно режим USB является основным режимом модуляции,</p><p>если трансивер не имеет специального режима DATA или Packet</p><p>для работы AFSK.</p></body></html> + + + + US&B + + + + + Don't allow the program to set the radio mode +(not recommended but use if the wrong mode +or bandwidth is selected). + + + + + + None + Отключено + + + + If this is available then it is usually the correct mode for this program. + Если это доступно, то обычно это правильный режим для этой программы. + + + + Data/P&kt + + + + + Some radios can select the audio input using a CAT command, +this setting allows you to select which audio input will be used +(if it is available then generally the Rear/Data option is best). + Для некоторых трансиверов есть возможность выбора аудиовхода с помощью CAT команды, +если выбор доступен, то обычно лучше использовать параметр «Rear/Data». + + + + Transmit Audio Source + Подключение звуковой карты к трансиверу + + + + Rear&/Data + + + + + &Front/Mic + + + + + Rig: + Трансивер: + + + + Poll Interval: + Интервал опроса: + + + + <html><head/><body><p>Interval to poll rig for status. Longer intervals will mean that changes to the rig will take longer to be detected.</p></body></html> + <html><head/><body><p>Интервал для опроса состояния трансивера. Более длительные интервалы означают, что изменения в трансивере будут обнаружены дольше.</p></body></html> + + + + s + c + + + + <html><head/><body><p>Attempt to connect to the radio with these settings.</p><p>The button will turn green if the connection is successful or red if there is a problem.</p></body></html> + <html><head/><body><p>Попробуйте подключиться к трансиверу с этими настройками.</p><p>Кнопка станет зеленой, если подключение выполнено успешно, или красной, если возникла проблема.</ р></тело></html> + + + + Test CAT + Тест CAT + + + + Attempt to activate the transmitter. +Click again to deactivate. Normally no power should be +output since there is no audio being generated at this time. +Check that any Tx indication on your radio and/or your +radio interface behave as expected. + Попытайтесь активировать передатчик. +Нажмите еще раз, чтобы деактивировать. В норме мощность не должна быть +выход, так как в это время звук не генерируется. +Убедитесь, что любая индикация Tx на вашей радиостанции и/или на вашем +радиоинтерфейс ведет себя так, как ожидалось. + + + + Test PTT + Тест PTT + + + + Split Operation + Разнос частот VFO + + + + Fake It + + + + + Rig + Трансивер + + + + A&udio + Звук + + + + Audio interface settings + Настройки звуковой карты + + + + Souncard + Звуковая карта + + + + Soundcard + Звуковая карта + + + + Select the audio CODEC to use for transmitting. +If this is your default device for system sounds then +ensure that all system sounds are disabled otherwise +you will broadcast any systems sounds generated during +transmitting periods. + Выбор аудиокодека для передачи. +Если это звуковое устройство установлено +в операционной системе устройством по умолчанию, +то убедитесь, что все системные звуки отключены, +в противном случае Вы будете передавать в эфир +любые системные звуки, генерируемые во время + + + + <html><head/><body><p>Enter the service port number of the UDP server that WSJT-X should send updates to. If this is zero no updates will be sent.</p></body></html> + <html><head/><body><p>Введите номер порта службы UDP-сервера, на который WSJT-X должен отправлять обновления. Если это значение равно нулю, обновления отправляться не будут.</p></body></html> + + + + Outgoing interfaces: + Исходящие интерфейсы: + + + + <html><head/><body><p>When sending updates to a multicast group address it is necessary to specify which network interface(s) to send them to. If the loop-back interface is multicast capable then at least that one will be selected.</p><p>For most users the loop-back interface is all that is needed, that will allow multiple other applications on the same machine to interoperate with WSJT-X. If applications running on other hosts are to receive status updates then a suitable network interface should be used.</p><p>On some Linux systems it may be necessary to enable multicast on the loop-back network interface.</p></body></html> + <html><head/><body><p>При отправке обновлений на групповой адрес многоадресной рассылки необходимо указать, на какие сетевые интерфейсы их отправлять. Если интерфейс обратной связи поддерживает многоадресную рассылку, то будет выбран как минимум этот интерфейс.</p><p>Для большинства пользователей интерфейс обратной связи — это все, что нужно, что позволит нескольким другим приложениям на одном компьютере взаимодействовать с WSJT-X. Если приложения, работающие на других хостах, должны получать обновления статуса, следует использовать подходящий сетевой интерфейс.</p><p>В некоторых системах Linux может потребоваться включить многоадресную рассылку на сетевом интерфейсе обратной связи.</p> </тело></html> + + + + <html><head/><body><p>Sets the number or router hops that multicast datagrams are allowed to make. Almost everyone should set this to 1 to keep outgoing multicast traffic withn the local subnet.</p></body></html> + <html><head/><body><p>Sets the number or router hops that multicast datagrams are allowed to make. Almost everyone should set this to 1 to keep outgoing multicast traffic withn the local subnet.</p></body></html> + + + + Multicast TTL: + Многоадресный TTL: + + + + Days since last upload + Дней с момента последней загрузки + + + + Select the audio CODEC to use for receiving. + Выбор аудио кодека для приема. + + + + &Input: + Вход + + + + Select the channel to use for receiving. + Выбор канала для приема. + + + + + Mono + Моно + + + + + Left + Левый + + + + + Right + Правый + + + + + Both + Оба + + + + Select the audio channel used for transmission. +Unless you have multiple radios connected on different +channels; then you will usually want to select mono or +both here. + Выбор канала, используемого для передачи. +Обычно используется моно либо оба канала, +если у Вас несколько передатчиков то можно +использовать левый и правый каналы. + + + + Enable VHF and submode features + Включить функции VHF и подрежима + + + + Data bits + Бит данных + + + + Stop bits + Стоп бит + + + + Ou&tput: + Выход: + + + + + Save Directory + Сохранить папку + + + + Loc&ation: + Расположение: + + + + Path to which .WAV files are saved. + Путь для сохранения .WAV файлов. + + + + + TextLabel + + + + + Click to select a different save directory for .WAV files. + Нажмите, чтобы выбрать другue. папку для сохранения файлов .WAV. +Nazhmite, ch + + + + S&elect + Выбор + + + + + AzEl Directory + AzEl папка + + + + Location: + Расположение: + + + + Select + Выбор + + + + Power Memory By Band + Запомнить мощность по диапазонам + + + + Remember power settings by band + Запомнить уровень сигнала на передачу по диапазонам и видам излучения + + + + Enable power memory during transmit + Запомнить уровень звука при передаче сообщений + + + + Transmit + Передача сообщений + + + + Enable power memory during tuning + Запомнить уровень звука при настройке + + + + Tune + Настройка передатчика + + + + Tx &Macros + Tx макросы + + + + Canned free text messages setup + Настройка готовых свободных текстовых сообщений + + + + &Add + Добавить + + + + &Delete + Удалить + + + + Drag and drop items to rearrange order +Right click for item specific actions +Click, SHIFT+Click and, CRTL+Click to select items + Перетащите элементы, чтобы изменить порядок +Щелкните правой кнопкой мыши для определенных действий с элементом +Нажмите, SHIFT+щелчок и, CRTL+щелчок, чтобы выбрать элементы + + + + Reportin&g + Лог + + + + Reporting and logging settings + Настройка записи QSO в лог + + + + Logging + Внtсенние в лог + + + + The program will pop up a partially completed Log QSO dialog when you send a 73 or free text message. + Программа выведет частично заполненное диалоговое окно Log QSO, когда вы отправляете 73 или произвольное текстовое сообщение. + + + + Promp&t me to log QSO + Приглашение внести QSO в лог + + + + Op Call: + + + + + Some logging programs will not accept the type of reports +saved by this program. +Check this option to save the sent and received reports in the +comments field. + Некоторые логи не принимают рапорт в децибелах. +Эта опция позволяет сохранить отправленный +и полученный рапорт в поле комментариев. + + + + d&B reports to comments + Добавить рапорта дБ в комментарии + + + + Check this option to force the clearing of the DX Call +and DX Grid fields when a 73 or free text message is sent. + Установите этот флажок, чтобы принудительно очистить DX-вызов. +и поля DX Grid при отправке 73 или произвольного текстового сообщения. + + + + Clear &DX call and grid after logging + Очистить вызов DX и локатор после ввода в лог + + + + <html><head/><body><p>Some logging programs will not accept WSJT-X mode names.</p></body></html> + <html><head/><body><p>Некоторые программы логов не принимают виды режимов WSJT-X.</p></body></html> + + + + Con&vert mode to RTTY + Преобразовать моду в RTTY + + + + <html><head/><body><p>The callsign of the operator, if different from the station callsign.</p></body></html> + <html><head/><body><p>Позывной оператора, если он отличается от позывного станции.</p></body></html> + + + + <html><head/><body><p>Check to have QSOs logged automatically, when complete.</p></body></html> + <html><head/><body><p>Установите флажок, чтобы QSO регистрировались автоматически по завершении.</p></body></html> + + + + Log automatically (contesting only) + Автотматиическая запись в лог + + + + Network Services + Сетевой сервис + + + + <html><head/><body><p>The program can send your station details and all decoded signals with grid squares as spots to the http://pskreporter.info web site.</p><p>This is used for reverse beacon analysis which is very useful for assessing propagation and system performance.</p></body></html> + <html><head/><body><p>Программа может отправлять информацию о вашей станции и все декодированные сигналы с локаторами как спот на веб-сайт http://psreporter.info.</p><p>Это используется для анализа обратного маяка, который очень полезен для оценки распространения и производительности системы.</p></body></html> + + + + Enable &PSK Reporter Spotting + Отправлять споты +на сервер &PSK Reporter + + + + <html><head/><body><p>Check this option if a reliable connection is needed</p><p>Most users do not need this, the default uses UDP which is more efficient. Only check this if you have evidence that UDP traffic from you to PSK Reporter is being lost.</p></body></html> + <html><head/><body><p>Отметьте этот параметр, если требуется надежное соединение</p><p>Большинству пользователей это не нужно, по умолчанию используется более эффективный протокол UDP. Проверяйте это только в том случае, если у вас есть доказательства того, что трафик UDP от вас к PSK Reporter теряется.</p></body></html> + + + + Use TCP/IP connection + Использовать соединение TCP/IP + + + + UDP Server + UDP-сервер + + + + UDP Server: + UDP-сервер: + + + + <html><head/><body><p>Optional hostname of network service to receive decodes.</p><p>Formats:</p><ul style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;"><li style=" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">hostname</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">IPv4 address</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">IPv6 address</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">IPv4 multicast group address</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">IPv6 multicast group address</li></ul><p>Clearing this field will disable the broadcasting of UDP status updates.</p></body></html> + <html><head/><body><p>Необязательное имя хоста сетевой службы для получения декодирования.</p><p>Форматы:</p><ul style="margin-top: 0px; margin-bottom: 0px; поле-слева: 0px; поле-справа: 0px; -qt-list-indent: 1;"><li style=" margin-top:12px; margin-bottom:0px; margin-left:0px; margin- справа:0px; -qt-block-indent:0; text-indent:0px;">имя хоста</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin -right:0px; -qt-block-indent:0; text-indent:0px;">IPv4-адрес</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px ; margin-right:0px; -qt-block-indent:0; text-indent:0px;">IPv6-адрес</li><li style=" margin-top:0px; margin-bottom:0px; margin-left :0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">адрес многоадресной группы IPv4</li><li style=" margin-top:0px; margin-bottom:0px ; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Адрес многоадресной группы IPv6</li></ul><p>Очистка этого поля отключит широковещательная рассылка обновлений статуса UDP.</p ></body></html> + + + + UDP Server port number: + Номер порта UDP сервера: + + + + <html><head/><body><p>With this enabled WSJT-X will accept certain requests back from a UDP server that receives decode messages.</p></body></html> + <html><head/><body><p>Если эта функция включена, WSJT-X будет принимать определенные запросы от сервера UDP, который получает декодированные сообщения.</p></body></html> + + + + Accept UDP requests + Разрешить принимать UDP-запросы + + + + <html><head/><body><p>Indicate acceptance of an incoming UDP request. The effect of this option varies depending on the operating system and window manager, its intent is to notify the acceptance of an incoming UDP request even if this application is minimized or hidden.</p></body></html> + <html><head/><body><p>Указывает на принятие входящего запроса UDP. Действие этой опции зависит от операционной системы и оконного менеджера. Ее цель — уведомить о принятии входящего UDP-запроса, даже если это приложение свернуто или скрыто.</p></body></html> + + + + Notify on accepted UDP request + Уведомить о получении UDP запроса + + + + <html><head/><body><p>Restore the window from minimized if an UDP request is accepted.</p></body></html> + <html><head/><body><p>Восстановление окна из свернутого состояния, если принят запрос UDP.</p></body></html> + + + + Accepted UDP request restores window + Восстановить окно при получении UDP запроса + + + + Secondary UDP Server (deprecated) + Вторичный UDP-сервер (устарело) + + + + <html><head/><body><p>When checked, WSJT-X will broadcast a logged contact in ADIF format to the configured hostname and port. </p></body></html> + +<html><head/><body><p>Если этот флажок установлен, WSJT-X будет транслировать зарегистрированный контакт в формате ADIF на настроенное имя хоста и порт. </p></body></html> + + + + Enable logged contact ADIF broadcast + Разрешить передачу данных QSO в ADIF формате + + + + Server name or IP address: + Имя сервера или IP-адрес: + + + + <html><head/><body><p>Optional host name of N1MM Logger+ program to receive ADIF UDP broadcasts. This is usually 'localhost' or ip address 127.0.0.1</p><p>Formats:</p><ul style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;"><li style=" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">hostname</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">IPv4 address</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">IPv6 address</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">IPv4 multicast group address</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">IPv6 multicast group address</li></ul><p>Clearing this field will disable broadcasting of ADIF information via UDP.</p></body></html> + <html><head/><body><p>Необязательное имя хоста программы N1MM Logger+ для приема широковещательных сообщений ADIF UDP. Обычно это «localhost» или IP-адрес 127.0.0.1</p><p>Форматы:</p><ul style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin- справа: 0px; -qt-list-indent: 1;"><li style=" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent :0; text-indent:0px;">hostname</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block- отступ:0; text-indent:0px;">IPv4-адрес</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt- block-indent:0; text-indent:0px;">IPv6-адрес</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; - qt-block-indent:0; text-indent:0px;">адрес многоадресной группы IPv4</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right :0px; -qt-block-indent:0; text-indent:0px;">Адрес многоадресной группы IPv6</li></ul><p>Очистка этого поля отключит широковещательную передачу информации ADIF через UDP.</p ></body></html> + + + + Server port number: + Номер порта сервера: + + + + <html><head/><body><p>Enter the port number that WSJT-X should use for UDP broadcasts of ADIF log information. For N1MM Logger+, this value should be 2333. If this is zero, no updates will be broadcast.</p></body></html> + <html><head/><body><p>Введите номер порта, который WSJT-X должен использовать для UDP-трансляций информации журнала ADIF. Для N1MM Logger+ это значение должно быть равно 2333. Если оно равно нулю, обновления не будут транслироваться.</p></body></html> + + + + Frequencies + Частоты + + + + Default frequencies and band specific station details setup + Частоты по умолчанию и настройка параметров станции для конкретных диапазонов + + + + <html><head/><body><p>See &quot;Frequency Calibration&quot; in the WSJT-X User Guide for details of how to determine these parameters for your radio.</p></body></html> + <html><head/><body><p>См. &quot;Калибровка частоты&quot;для получения подробной информации смотрите в Руководстве пользователя WSJT-X , как определить эти параметры для вашего nhfycbdthf.</p></body></html> + + + + Frequency Calibration + Калибровка по частоте + + + + Slope: + Наклон: + + + + ppm + + + + + Intercept: + Cмещение: + + + + Hz + Гц + + + + Working Frequencies + Рабочие частоты + + + + <html><head/><body><p>Right click to maintain the working frequencies list.</p></body></html> + <html><head/><body><p>Щелкните правой кнопкой мыши, чтобы сохранить список рабочих частот.</p></body></html> + + + + Station Information + Информация о станции + + + + Items may be edited. +Right click for insert and delete options. + Информация для отображения +на сайте pskreporter.info +Элементы могут быть отредактированы. +Используйте правую кнопку мыши +для добавления/удаления строк. + + + + Colors + Цвета + + + + Decode Highlightling + Выделение цветом декодированных сообщений + + + + <html><head/><body><p>Click to scan the wsjtx_log.adi ADIF file again for worked before information</p></body></html> + <html><head/><body><p>Нажмите, чтобы снова просмотреть ADIF-файл wsjtx_log.adi на предмет обработанной ранее информации</p></body></html> + + + + Rescan ADIF Log + Пересканировать ADIF лог + + + + <html><head/><body><p>Push to reset all highlight items above to default values and priorities.</p></body></html> + <html><head/><body><p>Нажмите, чтобы сбросить все выделенные выше элементы до значений и приоритетов по умолчанию.</p></body></html> + + + + Reset Highlighting + Сбросить выделение + + + + <html><head/><body><p>Enable or disable using the check boxes and right-click an item to change or unset the foreground color, background color, or reset the item to default values. Drag and drop the items to change their priority, higher in the list is higher in priority.</p><p>Note that each foreground or background color may be either set or unset, unset means that it is not allocated for that item's type and lower priority items may apply.</p></body></html> + <html><head/><body><p>Включите или отключите с помощью флажков и щелкните элемент правой кнопкой мыши, чтобы изменить или отключить цвет переднего плана, цвет фона или восстановить значения элемента по умолчанию. Перетащите элементы, чтобы изменить их приоритет. Чем выше в списке, тем выше приоритет.</p><p>Обратите внимание, что каждый цвет переднего плана или фона может быть либо установлен, либо не установлен. Не установлен означает, что он не назначен для этого элемента. могут применяться элементы типа и более низкого приоритета.</p></body></html> + + + + <html><head/><body><p>Check to indicate new DXCC entities, grid squares, and callsigns per mode.</p></body></html> + <html><head/><body><p>Отметьте, чтобы указать новые объекты DXCC, локаторы и позывные для каждого режима.</p></body></html> + + + + Highlight by Mode + Выделение по режимам + + + + Include extra WAE entities + Включить дополнительные объекты WAE + + + + Check to for grid highlighting to only apply to unworked grid fields + Отметьте, чтобы подсветка локатора применялась только к необработанным полям локатора. + + + + Only grid Fields sought + Искомые поля только в локаторе + + + + <html><head/><body><p>Controls for Logbook of the World user lookup.</p></body></html> + <html><head/><body><p>Элементы управления поиском пользователей в LotW.</p></body></html> + + + + Logbook of the World User Validation + Мировой лог LotW + + + + Users CSV file URL: + + + + + <html><head/><body><p>URL of the ARRL LotW user's last upload dates and times data file which is used to highlight decodes from stations that are known to upload their log file to LotW.</p></body></html> + <html><head/><body><p>URL файла данных о датах и ​​времени последней загрузки пользователя ARRL LotW, который используется для выделения декодирования со станций, которые, как известно, загружают свой файл журнала в LotW.</p>< /тело></html> + + + + URL + + + + + https://lotw.arrl.org/lotw-user-activity.csv + + + + + <html><head/><body><p>Push this button to fetch the latest LotW user's upload date and time data file.</p></body></html> + <html><head/><body><p>Нажмите эту кнопку, чтобы получить последний файл данных о дате и времени загрузки пользователя LotW.</p></body></html> + + + + Fetch Now + Скачать сейчас + + + + Age of last upload less than: + Файл CSV загружен не ранее: + + + + <html><head/><body><p>Adjust this spin box to set the age threshold of LotW user's last upload date that is accepted as a current LotW user.</p></body></html> + <html><head/><body><p>Настройте этот счетчик, чтобы установить дату последней загрузки пользователя LotW, которая принимается в качестве текущего пользователя LotW.</p></body></html> + + + + days + день (дня) (дней) + + + + Advanced + Расш. + + + + <html><head/><body><p>User-selectable parameters for JT65 VHF/UHF/Microwave decoding.</p></body></html> + <html><head/><body><p>Выбираемые пользователем параметры для декодирования JT65 VHF/UHF/Microwave.</p></body></html> + + + + JT65 VHF/UHF/Microwave decoding parameters + Параметры декодирования JT65 VHF/UHF/СВЧ + + + + Random erasure patterns: + Выбранные стили декодера: + + + + <html><head/><body><p>Maximum number of erasure patterns for stochastic soft-decision Reed Solomon decoder is 10^(n/2).</p></body></html> + <html><head/><body><p>Максимальное количество шаблонов стирания для стохастического декодера Рида-Соломона с мягким решением – 10^(n/2).</p></body></html> + + + + Aggressive decoding level: + Уровень агрессивного декодирования: + + + + <html><head/><body><p>Higher levels will increase the probability of decoding, but will also increase probability of a false decode.</p></body></html> + <html><head/><body><p>Более высокие уровни увеличивают вероятность декодирования, но также увеличивают вероятность ложного декодирования.</p></body></html> + + + + Two-pass decoding + Двухпроходное декодирование + + + + Special operating activity: Generation of FT4, FT8, and MSK144 messages + Специальная оперативная деятельность: Генерация сообщений FT4, FT8 и MSK144. + + + + <html><head/><body><p>FT8 DXpedition mode: Hound operator calling the DX.</p></body></html> + <html><head/><body><p>Режим DX-экспедиции FT8: оператор Hound, вызывающий DX.</p></body></html> + + + + + Hound + + + + + <html><head/><body><p>North American VHF/UHF/Microwave contests and others in which a 4-character grid locator is the required exchange.</p></body></html> + <html><head/><body><p>Североамериканские соревнования VHF/UHF/Microwave и другие, в которых требуется обмен 4-символьным локатором.</p></body></html> + + + + + NA VHF Contest + + + + + <html><head/><body><p>FT8 DXpedition mode: Fox (DXpedition) operator.</p></body></html> + <html><head/><body><p>Режим DX-экспедиции FT8: оператор Fox (DX-экспедиция).</p></body></html> + + + + + Fox + + + + + <html><head/><body><p>European VHF+ contests requiring a signal report, serial number, and 6-character locator.</p></body></html> + <html><head/><body><p>Европейские соревнования VHF+, в качестве контрольного номера требующие уровень сигнала, серийного номера и 6-значного локатора.</p></body></html> + + + + + EU VHF Contest + + + + + + <html><head/><body><p>ARRL RTTY Roundup and similar contests. Exchange is US state, Canadian province, or &quot;DX&quot;.</p></body></html> + <html><head/><body><p>ARRL RTTY Roundup и подобные конкурсы. Обмен — это штат США, провинция Канады или &quot;DX&quot;.</p></body></html> + + + + R T T Y Roundup + + + + + RTTY Roundup messages + + + + + RTTY Roundup exchange + Обмен RTTY Roundup + + + + RTTY RU Exch: + + + + + NJ + + + + + + <html><head/><body><p>ARRL Field Day exchange: number of transmitters, Class, and ARRL/RAC section or &quot;DX&quot;.</p></body></html> + <html><head/><body><p>Обмен ARRL Field Day: количество передатчиков, секция ARRL/RAC или &quot;DX&quot;.</p></body></html> + + + + A R R L Field Day + + + + + ARRL Field Day + + + + + Field Day exchange + + + + + FD Exch: + + + + + 6A SNJ + + + + + <html><head/><body><p>World-Wide Digi-mode contest</p><p><br/></p></body></html> + + + + + WW Digital Contest + + + + + WW Digi Contest + + + + + Miscellaneous + Разное + + + + Degrade S/N of .wav file: + Ухудшить S/N .wav файла + + + + + For offline sensitivity tests + Для автономных тестов чувствительности + + + + dB + дБ + + + + Receiver bandwidth: + Полоса пропускания приемника + + + + Hz + Гц + + + + Tx delay: + Задержка передачи: + + + + Minimum delay between assertion of PTT and start of Tx audio. + Минимальная задержка между включением PTT +и подачей звукового сигнала. Используется для +защиты контактов выходного реле передатчика +от 'горячего' включения. + + + + s + c + + + + + Tone spacing + Расстояние между тонами + + + + <html><head/><body><p>Generate Tx audio with twice the normal tone spacing. Intended for special LF/MF transmitters that use a divide-by-2 before generating RF.</p></body></html> + <html><head/><body><p>Создайте звук Tx с удвоенным расстоянием между тонами. Предназначен для специальных передатчиков НЧ/СЧ, которые перед генерацией РЧ используют деление на 2.</p></body></html> + + + + x 2 + + + + + <html><head/><body><p>Generate Tx audio with four times the normal tone spacing. Intended for special LF/MF transmitters that use a divide-by-4 before generating RF.</p></body></html> + <html><head/><body><p>Создайте Tx с четырехкратным интервалом между тонами. Предназначен для специальных передатчиков НЧ/СЧ, которые перед генерацией РЧ используют деление на 4.</p></body></html> + + + + x 4 + + + + + + Waterfall spectra + Спектр водопада + + + + Low sidelobes + Малый уровень + + + + Most sensitive + Самый чувствительный + + + + <html><head/><body><p>Discard (Cancel) or apply (OK) configuration changes including</p><p>resetting the radio interface and applying any soundcard changes</p></body></html> + <html><head/><body><p>Отменить (Cancel) или применить (OK) изменения конфигурации, включая</p><p>сброс радиоинтерфейса и применение любых изменений звуковой карты</p></body>< /html> + + + + main + + + Failed to create a temporary directory + Не удалось создать временную папку + + + + + Path: "%1" + Путь: "%1" + + + + Failed to create a usable temporary directory + +Не удалось создать пригодный для использования временную папку + + + + Another application may be locking the directory + Другое приложение может блокировать папку + + + + Failed to create data directory + Не удалось создать папкуг данных + + + + path: "%1" + путь: "%1" + + + + Shared memory error + Ошибка общей памяти + + + + Unable to create shared memory segment + Не удалось создать сегмент общей памяти + + + + Sub-process error + Ошибка подпроцесса + + + + Failed to close orphaned jt9 process + Не удалось закрыть потерянный процесс jt9 + + + + wf_palette_design_dialog + + + Palette Designer + Дизайнер палитры + + + + <html><head/><body><p>Double click a color to edit it.</p><p>Right click to insert or delete colors.</p><p>Colors at the top represent weak signals</p><p>and colors at the bottom represent strong</p><p>signals. You can have up to 256 colors.</p></body></html> + <html><head/><body><p>Дважды щелкните цвет, чтобы отредактировать его.</p><p>Щелкните правой кнопкой мыши , чтобы вставлять или удалять цвета.</p><p>Цвета в верхней части представляют слабые сигналы. и цвета внизу сильные.</p><p>Вы можете использовать до 256 цветов.</p></body></html> + + + diff --git a/widgets/AbstractLogWindow.cpp b/widgets/AbstractLogWindow.cpp index b8e2d7e7..667573ce 100755 --- a/widgets/AbstractLogWindow.cpp +++ b/widgets/AbstractLogWindow.cpp @@ -10,6 +10,7 @@ #include #include #include +#include #include "Configuration.hpp" #include "SettingsGroup.hpp" #include "MessageBox.hpp" @@ -71,7 +72,7 @@ void AbstractLogWindow::impl::delete_QSOs () { // We must work with source model indexes because we don't want row // removes to invalidate model indexes we haven't yet processed. We - // achieve that by processing them in decending row order. + // achieve that by processing them in descending row order. for (auto& row_index : row_indexes) { row_index = model_.mapToSource (row_index); @@ -79,38 +80,47 @@ void AbstractLogWindow::impl::delete_QSOs () // reverse sort by row std::sort (row_indexes.begin (), row_indexes.end (), row_is_higher); + for (auto index : row_indexes) { - auto row = model_.mapFromSource (index).row (); - model_.removeRow (row); - self_->log_model_changed (); + auto row = model_.mapFromSource(index).row(); + model_.removeRow(row); + self_->log_model_changed(); } } } + AbstractLogWindow::AbstractLogWindow (QString const& settings_key, QSettings * settings , Configuration const * configuration , QWidget * parent) : QWidget {parent} - , m_ {this, settings_key, settings, configuration} -{ - // this attempt to scroll to the last new record doesn't work, some - // sort of issue with model indexes and optimized DB fetches. For - // now sorting by the same column and direction as the underlying DB - // select and that DB select being in descending order so new rows - // at the end appear at view row 0 gets the job done - - // // ensure view scrolls to latest new row - // connect (&m_->model_, &QAbstractItemModel::rowsInserted, this, [this] (QModelIndex const& parent, int first, int last) { - // // note col 0 is hidden so use col 1 - // // queued connection required otherwise row may not be available - // // in time - // auto index = m_->model_.index (last, 1, parent); - // if (m_->log_view_) - // { - // m_->log_view_->scrollTo (index); - // } - // }, Qt::QueuedConnection); + , m_ {this, settings_key, settings, configuration} { + // when we're viewing the log by contact ID (visually, up/down chevron in the column heading), + // when we add a contact, scroll the list to the top or bottom, depending on the sort order. + // If the table is sorted by some other criteria, don't change anything. + + connect(&m_->model_, &QAbstractItemModel::rowsInserted, this, + [this](QModelIndex const &parent, int first, int last) { + (void) (parent); // UNUSED + (void) (first); // UNUSED + (void) (last); // UNUSED + QTimer::singleShot(0, [=] { + // if we're sorting by the date, then show the most-recently logged contact. + // Otherwise, leave the scroll alone + auto horizontal_header = m_->log_view_->horizontalHeader (); + if (horizontal_header->sortIndicatorSection() == 3) { // sorting on date? + if (horizontal_header->sortIndicatorOrder() == Qt::AscendingOrder) { + // we're sorting oldes->newest, so go to bottom + m_->log_view_->scrollToBottom(); + } else { + m_->log_view_->scrollToTop(); + } + } + + }); + } + ); } AbstractLogWindow::~AbstractLogWindow () @@ -134,11 +144,14 @@ void AbstractLogWindow::set_log_view (QTableView * log_view) log_view->setVerticalScrollMode (QAbstractItemView::ScrollPerPixel); m_->model_.setSourceModel (log_view->model ()); log_view->setModel (&m_->model_); - log_view->setColumnHidden (0, true); + log_view->setColumnHidden (0, true); // hide the ID column auto horizontal_header = log_view->horizontalHeader (); + horizontal_header->setResizeContentsPrecision (0); // visible region only horizontal_header->setSectionResizeMode (QHeaderView::ResizeToContents); horizontal_header->setSectionsMovable (true); + horizontal_header->setSortIndicator(3, Qt::AscendingOrder); // sort by the contact datetime oldest->newest + auto vertical_header = log_view->horizontalHeader (); vertical_header->setResizeContentsPrecision (0); // visible region only vertical_header->setSectionResizeMode (QHeaderView::ResizeToContents); @@ -149,6 +162,9 @@ void AbstractLogWindow::set_log_view (QTableView * log_view) connect (delete_action, &QAction::triggered, [this] (bool /*checked*/) { m_->delete_QSOs (); }); + + // scroll to bottom, since we're showing 1-N + log_view->scrollToBottom(); } void AbstractLogWindow::set_log_view_font (QFont const& font) diff --git a/widgets/CabrilloLogWindow.cpp b/widgets/CabrilloLogWindow.cpp index 5c219fcd..89aba0cb 100755 --- a/widgets/CabrilloLogWindow.cpp +++ b/widgets/CabrilloLogWindow.cpp @@ -70,7 +70,9 @@ CabrilloLogWindow::CabrilloLogWindow (QSettings * settings, Configuration const m_->ui_.log_table_view->setItemDelegateForColumn (3, new SQLiteDateTimeDelegate {this}); m_->ui_.log_table_view->setItemDelegateForColumn (4, new CallsignDelegate {this}); auto h_header = m_->ui_.log_table_view->horizontalHeader (); + m_->ui_.log_table_view->verticalHeader()->setVisible(false); // turn off line numbers for the table view h_header->moveSection (7, 1); // band to first column + } CabrilloLogWindow::~CabrilloLogWindow () @@ -88,3 +90,10 @@ void CabrilloLogWindow::log_model_changed (int row) m_->log_model_->select (); } } + +void CabrilloLogWindow::set_nQSO(int n) +{ + QString t; + t=t.asprintf("%d QSOs",n); + m_->ui_.nQSO_lineEdit->setText(t); +} diff --git a/widgets/CabrilloLogWindow.hpp b/widgets/CabrilloLogWindow.hpp index e2aa1627..25780bc5 100755 --- a/widgets/CabrilloLogWindow.hpp +++ b/widgets/CabrilloLogWindow.hpp @@ -16,6 +16,7 @@ public: explicit CabrilloLogWindow (QSettings *, Configuration const *, QSqlTableModel * cabrillo_log_model , QWidget * parent = nullptr); ~CabrilloLogWindow (); + Q_SLOT void set_nQSO(int n); private: void log_model_changed (int row) override; diff --git a/widgets/CabrilloLogWindow.ui b/widgets/CabrilloLogWindow.ui index 35b4d597..5f31b068 100755 --- a/widgets/CabrilloLogWindow.ui +++ b/widgets/CabrilloLogWindow.ui @@ -27,6 +27,25 @@ + + + + + 100 + 16777215 + + + + true + + + 0 QSOs + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + diff --git a/widgets/FrequencyDeltaLineEdit.cpp b/widgets/FrequencyDeltaLineEdit.cpp index b7ed144b..59ae9bc9 100755 --- a/widgets/FrequencyDeltaLineEdit.cpp +++ b/widgets/FrequencyDeltaLineEdit.cpp @@ -39,8 +39,8 @@ namespace FrequencyDeltaLineEdit::FrequencyDeltaLineEdit (QWidget * parent) : QLineEdit (parent) { - setValidator (new MHzValidator {-std::numeric_limits::max () / 10.e6, - std::numeric_limits::max () / 10.e6, this}); + setValidator (new MHzValidator {static_cast(std::numeric_limits::min ()) / 10.e6, + static_cast(std::numeric_limits::max ()) / 10.e6, this}); } auto FrequencyDeltaLineEdit::frequency_delta () const -> FrequencyDelta diff --git a/widgets/FrequencyLineEdit.cpp b/widgets/FrequencyLineEdit.cpp index 1ca2ba20..8e74c7db 100755 --- a/widgets/FrequencyLineEdit.cpp +++ b/widgets/FrequencyLineEdit.cpp @@ -39,7 +39,7 @@ namespace FrequencyLineEdit::FrequencyLineEdit (QWidget * parent) : QLineEdit (parent) { - setValidator (new MHzValidator {0., std::numeric_limits::max () / 10.e6, this}); + setValidator (new MHzValidator {0., static_cast(std::numeric_limits::max ()) / 10.e6, this}); } auto FrequencyLineEdit::frequency () const -> Frequency diff --git a/widgets/about.cpp b/widgets/about.cpp index 906af7c5..f6b8f0ab 100755 --- a/widgets/about.cpp +++ b/widgets/about.cpp @@ -21,8 +21,9 @@ CAboutDlg::CAboutDlg(QWidget *parent) : "WSJT-X implements a number of digital modes designed for
" "weak-signal Amateur Radio communication.

" - "© 2001-2021 by Joe Taylor, K1JT, Bill Somerville, G4WJS,
" - "Steve Franke, K9AN, and Nico Palermo, IV3NWV.

" + "© 2001-2022 by Joe Taylor, K1JT, Bill Somerville, G4WJS,
" + "Steve Franke, K9AN, Nico Palermo, IV3NWV,
" + "Chester Fennell, KG4IYS, and Uwe Risse, DG2YCB

" "We gratefully acknowledge contributions from AC6SL, AE4JY,
" "DF2ET, DJ0OT, G3WDG, G4KLA, IW3RAB, K3WYC, KA1GT,
" "KA6MAL, KA9Q, KB1ZMX, KD6EKQ, KI7MT, KK1D, ND0B, PY2SDR,
" diff --git a/widgets/activeStations.cpp b/widgets/activeStations.cpp new file mode 100755 index 00000000..b5ecbf73 --- /dev/null +++ b/widgets/activeStations.cpp @@ -0,0 +1,125 @@ +#include "activeStations.h" + +#include +#include +#include +#include +#include + +#include "SettingsGroup.hpp" +#include "qt_helpers.hpp" +#include "ui_activeStations.h" + +#include "moc_activeStations.cpp" + +ActiveStations::ActiveStations(QSettings * settings, QFont const& font, QWidget *parent) : + QWidget(parent), + settings_ {settings}, + ui(new Ui::ActiveStations) +{ + ui->setupUi(this); + setWindowTitle (QApplication::applicationName () + " - " + tr ("Active Stations")); + ui->RecentStationsPlainTextEdit->setReadOnly (true); + changeFont (font); + read_settings (); + ui->header_label2->setText(" N Call Grid Az S/N Freq Tx Age Pts"); + connect(ui->RecentStationsPlainTextEdit, SIGNAL(selectionChanged()), this, SLOT(select())); + connect(ui->cbReadyOnly, SIGNAL(toggled(bool)), this, SLOT(on_cbReadyOnly_toggled(bool))); +} + +ActiveStations::~ActiveStations() +{ + write_settings (); +} + +void ActiveStations::changeFont (QFont const& font) +{ + ui->header_label2->setStyleSheet (font_as_stylesheet (font)); + ui->RecentStationsPlainTextEdit->setStyleSheet (font_as_stylesheet (font)); + updateGeometry (); +} + +void ActiveStations::read_settings () +{ + SettingsGroup group {settings_, "ActiveStations"}; + restoreGeometry (settings_->value ("window/geometry").toByteArray ()); + ui->sbMaxRecent->setValue(settings_->value("MaxRecent",10).toInt()); + ui->sbMaxAge->setValue(settings_->value("MaxAge",10).toInt()); + ui->cbReadyOnly->setChecked(settings_->value("ReadyOnly",false).toBool()); +} + +void ActiveStations::write_settings () +{ + SettingsGroup group {settings_, "ActiveStations"}; + settings_->setValue ("window/geometry", saveGeometry ()); + settings_->setValue("MaxRecent",ui->sbMaxRecent->value()); + settings_->setValue("MaxAge",ui->sbMaxAge->value()); + settings_->setValue("ReadyOnly",ui->cbReadyOnly->isChecked()); +} + +void ActiveStations::displayRecentStations(QString const& t) +{ + ui->RecentStationsPlainTextEdit->setPlainText(t); +} + +int ActiveStations::maxRecent() +{ + return ui->sbMaxRecent->value(); +} + +int ActiveStations::maxAge() +{ + return ui->sbMaxAge->value(); +} + +void ActiveStations::select() +{ + if(m_clickOK) { + qint64 msec=QDateTime::currentMSecsSinceEpoch(); + if((msec-m_msec0)<500) return; + m_msec0=msec; + int nline=ui->RecentStationsPlainTextEdit->textCursor().blockNumber(); + emit callSandP(nline); + } +} + +void ActiveStations::setClickOK(bool b) +{ + m_clickOK=b; +} + +void ActiveStations::erase() +{ + ui->RecentStationsPlainTextEdit->clear(); +} + +bool ActiveStations::readyOnly() +{ + return ui->cbReadyOnly->isChecked(); +} + +void ActiveStations::on_cbReadyOnly_toggled(bool b) +{ + m_bReadyOnly=b; + emit activeStationsDisplay(); +} + +void ActiveStations::setRate(int n) +{ + ui->rate->setText(QString::number(n)); +} + +void ActiveStations::setScore(int n) +{ + ui->score->setText(QLocale(QLocale::English).toString(n)); +} + +void ActiveStations::setBandChanges(int n) +{ + if(n >= 8) { + ui->bandChanges->setStyleSheet("QLineEdit{background: rgb(255, 64, 64)}"); + } else { + ui->bandChanges->setStyleSheet (""); + } + ui->bandChanges->setText(QString::number(n)); +} diff --git a/widgets/activeStations.h b/widgets/activeStations.h new file mode 100755 index 00000000..1897f08d --- /dev/null +++ b/widgets/activeStations.h @@ -0,0 +1,52 @@ +// -*- Mode: C++ -*- +#ifndef ARRL_DIGI_H_ +#define ARRL_DIGI_H_ + +#include + +class QSettings; +class QFont; + +namespace Ui { + class ActiveStations; +} + +class ActiveStations + : public QWidget +{ + Q_OBJECT + +public: + explicit ActiveStations(QSettings *, QFont const&, QWidget * parent = 0); + ~ActiveStations(); + void displayRecentStations(QString const&); + void changeFont (QFont const&); + int maxRecent(); + int maxAge(); + void setClickOK(bool b); + void erase(); + bool readyOnly(); + void setRate(int n); + void setBandChanges(int n); + void setScore(int n); + Q_SLOT void select(); + + bool m_clickOK=false; + bool m_bReadyOnly; + +signals: + void callSandP(int nline); + void activeStationsDisplay(); + +private: + void read_settings (); + void write_settings (); + Q_SLOT void on_cbReadyOnly_toggled(bool b); + + qint64 m_msec0=0; + QSettings * settings_; + + QScopedPointer ui; +}; + +#endif diff --git a/widgets/activeStations.ui b/widgets/activeStations.ui new file mode 100755 index 00000000..02b1f618 --- /dev/null +++ b/widgets/activeStations.ui @@ -0,0 +1,202 @@ + + + ActiveStations + + + + 0 + 0 + 395 + 339 + + + + Message Averaging + + + + + + + + + + + 0 + 0 + + + + + 80 + 0 + + + + <html><head/><body><p>Set maximum number of displayed lines.</p></body></html> + + + Max N + + + 50 + + + 10 + + + + + + + + 16777215 + 16777215 + + + + <html><head/><body><p>Points logged during the past hour.</p></body></html> + + + 0 + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + true + + + + + + + + 0 + 0 + + + + + 80 + 0 + + + + <html><head/><body><p>Set maximum elapsed number of T/R sequences.</p></body></html> + + + Max Age + + + 0 + + + 10 + + + 4 + + + + + + + Score: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + Rate: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + <html><head/><body><p>Total score accumulated since most recent reset of Cabrillo log.</p></body></html> + + + 0 + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + true + + + + + + + <html><head/><body><p>Check tis box to show only stations ready to be called.</p></body></html> + + + Ready only + + + + + + + Band Changes: + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + + + + + <html><head/><body><p>Number of band changes during the past hour.</p></body></html> + + + 0 + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + true + + + + + + + + + + 0 + 1 + + + + <html><head/><body><p>Click on a line to call that station.</p></body></html> + + + + + + + Call Grid Age Points + + + + + + + + + + diff --git a/widgets/astro.cpp b/widgets/astro.cpp index 6437c072..d90a29ed 100755 --- a/widgets/astro.cpp +++ b/widgets/astro.cpp @@ -121,12 +121,6 @@ auto Astro::astroUpdate(QDateTime const& t, QString const& mygrid, QString const AzElFileName.toLocal8Bit ().constData (), jpleph.toLocal8Bit ().constData ()); - if(!hisgrid.size ()) { - azmoondx=0.0; - elmoondx=0.0; - m_dop=0; - width2=0.0; - } QString message; { QTextStream out {&message}; diff --git a/widgets/displaytext.cpp b/widgets/displaytext.cpp index d784ead1..65fc1d40 100755 --- a/widgets/displaytext.cpp +++ b/widgets/displaytext.cpp @@ -277,6 +277,8 @@ QString DisplayText::appendWorkedB4 (QString message, QString call, QString cons gridB4onBand=true; } + if(callB4onBand) m_points=0; + message = message.trimmed (); highlight_types types; @@ -372,11 +374,17 @@ QString DisplayText::appendWorkedB4 (QString message, QString call, QString cons } m_CQPriority=DecodeHighlightingModel::highlight_name(top_highlight); + if(((m_points == 00) or (m_points == -1)) and m_bDisplayPoints) return message; return leftJustifyAppendage (message, extra); } -QString DisplayText::leftJustifyAppendage (QString message, QString const& appendage) const +QString DisplayText::leftJustifyAppendage (QString message, QString const& appendage0) const { + QString appendage=appendage0; + if(m_bDisplayPoints and (m_points>0)) { + appendage=" " + QString::number(m_points); + if(m_points<10) appendage=" " + appendage; + } if (appendage.size ()) { // allow for seconds @@ -398,12 +406,15 @@ void DisplayText::displayDecodedText(DecodedText const& decodedText, QString con QString const& mode, bool displayDXCCEntity, LogBook const& logBook, QString const& currentBand, bool ppfx, bool bCQonly, - bool haveFSpread, float fSpread) + bool haveFSpread, float fSpread, bool bDisplayPoints, int points) { + m_points=points; + m_bDisplayPoints=bDisplayPoints; m_bPrincipalPrefix=ppfx; QColor bg; QColor fg; bool CQcall = false; + auto is_73 = decodedText.messageWords().filter (QRegularExpression {"^(73|RR73)$"}).size(); if (decodedText.string ().contains (" CQ ") || decodedText.string ().contains (" CQDX ") || decodedText.string ().contains (" QRZ ")) @@ -413,19 +424,6 @@ void DisplayText::displayDecodedText(DecodedText const& decodedText, QString con else { if (bCQonly) return; - if (myCall.size ()) - { - QString regexp {"[ <]" + myCall + "[ >]"}; - if (Radio::is_compound_callsign (myCall)) - { - regexp = "(?:" + regexp + "|[ <]" + Radio::base_callsign (myCall) + "[ >])"; - } - if ((decodedText.clean_string () + " ").contains (QRegularExpression {regexp})) - { - highlight_types types {Highlight::MyCall}; - set_colours (m_config, &bg, &fg, types); - } - } } auto message = decodedText.string(); QString dxCall; @@ -446,14 +444,14 @@ void DisplayText::displayDecodedText(DecodedText const& decodedText, QString con message = message.left (ap_pos).trimmed (); } m_CQPriority=""; - if (CQcall) + if (CQcall || (is_73 && (m_config->highlight_73 ()))) { if (displayDXCCEntity) { // if enabled add the DXCC entity and B4 status to the end of the // preformated text line t1 auto currentMode = mode; - message = appendWorkedB4 (message, decodedText.CQersCall(), dxGrid, &bg, &fg + message = appendWorkedB4 (message, dxCall, dxGrid, &bg, &fg , logBook, currentBand, currentMode, extra); } else @@ -472,6 +470,20 @@ void DisplayText::displayDecodedText(DecodedText const& decodedText, QString con message = leftJustifyAppendage (message, extra); } + if (myCall.size ()) + { + QString regexp {"[ <]" + myCall + "[ >]"}; + if (Radio::is_compound_callsign (myCall)) + { + regexp = "(?:" + regexp + "|[ <]" + Radio::base_callsign (myCall) + "[ >])"; + } + if ((decodedText.clean_string () + " ").contains (QRegularExpression {regexp})) + { + highlight_types types {Highlight::MyCall}; + set_colours (m_config, &bg, &fg, types); + } + } + appendText (message.trimmed (), bg, fg, decodedText.call (), dxCall); } diff --git a/widgets/displaytext.h b/widgets/displaytext.h index 773901ce..5810972c 100755 --- a/widgets/displaytext.h +++ b/widgets/displaytext.h @@ -30,12 +30,14 @@ public: void displayDecodedText(DecodedText const& decodedText, QString const& myCall, QString const& mode, bool displayDXCCEntity, LogBook const& logBook, QString const& currentBand=QString {}, bool ppfx=false, bool bCQonly=false, - bool haveFSpread = false, float fSpread = 0.); + bool haveFSpread = false, float fSpread = 0.0, bool bDisplayPoints=false, int points=-99); void displayTransmittedText(QString text, QString modeTx, qint32 txFreq, bool bFastMode, double TRperiod); void displayQSY(QString text); void displayFoxToBeCalled(QString t, QColor bg = QColor {}, QColor fg = QColor {}); void new_period (); QString CQPriority(){return m_CQPriority;}; + qint32 m_points; + bool m_bDisplayPoints; Q_SIGNAL void selectCallsign (Qt::KeyboardModifiers); Q_SIGNAL void erased (); diff --git a/widgets/logqso.cpp b/widgets/logqso.cpp index f4927449..e87a8852 100755 --- a/widgets/logqso.cpp +++ b/widgets/logqso.cpp @@ -5,6 +5,7 @@ #include #include #include +#include #include "logbook/logbook.h" #include "MessageBox.hpp" @@ -109,6 +110,15 @@ void LogQSO::initLogQSO(QString const& hisCall, QString const& hisGrid, QString Radio::Frequency dialFreq, bool noSuffix, QString xSent, QString xRcvd) { if(!isHidden()) return; + + QPushButton* okBtn = ui->buttonBox->button(QDialogButtonBox::Ok); + okBtn->setAutoDefault(true); + okBtn->setDefault(true); + okBtn->setFocus(); + QPushButton* caBtn = ui->buttonBox->button(QDialogButtonBox::Cancel); + caBtn->setAutoDefault(false); + caBtn->setDefault(false); + ui->call->setText (hisCall); ui->grid->setText (hisGrid); ui->name->clear (); diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index ecb5e860..8099aa7f 100755 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -60,6 +60,7 @@ #include "fastgraph.h" #include "about.h" #include "messageaveraging.h" +#include "activeStations.h" #include "colorhighlighting.h" #include "widegraph.h" #include "sleep.h" @@ -90,6 +91,8 @@ #include "ui_mainwindow.h" #include "moc_mainwindow.cpp" +#define FCL fortran_charlen_t + extern "C" { //----------------------------------------------------- C and Fortran routines void symspec_(struct dec_data *, int* k, double* trperiod, int* nsps, int* ingain, @@ -133,8 +136,7 @@ extern "C" { void genmsk_128_90_(char* msg, int* ichk, char* msgsent, int itone[], int* itype, fortran_charlen_t, fortran_charlen_t); - void gen65_(char* msg, int* ichk, char* msgsent, int itone[], - int* itext, fortran_charlen_t, fortran_charlen_t); + void gen65(char* msg, int* ichk, char msgsent[], int itone[], int* itext); void genq65_(char* msg, int* ichk, char* msgsent, int itone[], int* i3, int* n3, fortran_charlen_t, fortran_charlen_t); @@ -147,13 +149,11 @@ extern "C" { void morse_(char* msg, int* icw, int* ncw, fortran_charlen_t); - int ptt_(int nport, int ntx, int* iptt, int* nopen); - void wspr_downsample_(short int d2[], int* k); int savec2_(char const * fname, int* TR_seconds, double* dial_freq, fortran_charlen_t); - void avecho_( short id2[], int* dop, int* nfrit, int* nqual, float* f1, + void avecho_( short id2[], int* dop, int* nfrit, int* nauto, int* nqual, float* f1, float* level, float* sigdb, float* snr, float* dfreq, float* width); @@ -170,8 +170,6 @@ extern "C" { void freqcal_(short d2[], int* k, int* nkhz,int* noffset, int* ntol, char line[], fortran_charlen_t); - void fix_contest_msg_(char* MyGrid, char* msg, fortran_charlen_t, fortran_charlen_t); - void calibrate_(char const * data_dir, int* iz, double* a, double* b, double* rms, double* sigmaa, double* sigmab, int* irc, fortran_charlen_t); @@ -179,13 +177,11 @@ extern "C" { void plotsave_(float swide[], int* m_w , int* m_h1, int* irow); - void chkcall_(char* w, char* basc_call, bool cok, int len1, int len2); - - void get_ft4msg_(int* idecode, char* line, int len); - void chk_samples_(int* m_ihsym,int* k, int* m_hsymStop); - void save_dxbase_(char* dxbase, int len); + void save_dxbase_(char* dxbase, FCL len); + + void indexx_(float arr[], int* n, int indx[]); } int volatile itone[MAX_NUM_SYMBOLS]; //Audio tones for all Tx symbols @@ -209,6 +205,8 @@ QVector g_ColorTbl; using SpecOp = Configuration::SpecialOperatingActivity; +bool m_displayBand = false; + namespace { Radio::Frequency constexpr default_frequency {14076000}; @@ -276,6 +274,7 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple, m_msErase {0}, m_secBandChanged {0}, m_freqNominal {0}, + m_freqNominalPeriod {0}, m_freqTxNominal {0}, m_reverse_Doppler {"1" == env.value ("WSJT_REVERSE_DOPPLER", "0")}, m_tRemaining {0.}, @@ -295,6 +294,9 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple, m_secID {0}, m_idleMinutes {0}, m_nSubMode {0}, + m_nSubMode_Q65 {0}, + m_nSubMode_JT65 {0}, + m_nSubMode_JT4 {0}, m_nclearave {1}, m_nWSPRdecodes {0}, m_k0 {9999999}, @@ -604,6 +606,12 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple, ui->actionSave_decoded->setActionGroup(saveGroup); ui->actionSave_all->setActionGroup(saveGroup); + QActionGroup* alltxtGroup = new QActionGroup(this); + ui->actionDon_t_split_ALL_TXT->setActionGroup(alltxtGroup); + ui->actionSplit_ALL_TXT_yearly->setActionGroup(alltxtGroup); + ui->actionSplit_ALL_TXT_monthly->setActionGroup(alltxtGroup); + ui->actionDisable_writing_of_ALL_TXT->setActionGroup(alltxtGroup); + QActionGroup* DepthGroup = new QActionGroup(this); ui->actionQuickDecode->setActionGroup(DepthGroup); ui->actionMediumDecode->setActionGroup(DepthGroup); @@ -743,6 +751,24 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple, } }); + // ensure a balanced layout of the mode buttons + qreal pointSize = m_config.text_font().pointSizeF(); + if (pointSize < 11) { + ui->houndButton->setMaximumWidth(40); + ui->ft8Button->setMaximumWidth(40); + ui->ft4Button->setMaximumWidth(40); + ui->msk144Button->setMaximumWidth(40); + ui->q65Button->setMaximumWidth(40); + ui->jt65Button->setMaximumWidth(40); + } else { + ui->houndButton->setMinimumWidth(50); + ui->ft8Button->setMinimumWidth(50); + ui->ft4Button->setMinimumWidth(50); + ui->msk144Button->setMinimumWidth(50); + ui->q65Button->setMinimumWidth(50); + ui->jt65Button->setMinimumWidth(50); + } + // hook up save WAV file exit handling connect (&m_saveWAVWatcher, &QFutureWatcher::finished, [this] { // extract the promise from the future @@ -852,6 +878,9 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple, auto dBm = int ((10. * i / 3.) + .5); ui->TxPowerComboBox->addItem (QString {"%1 dBm %2"}.arg (dBm).arg (power[i]), dBm); } + ui->respondComboBox->addItem("CQ: None"); + ui->respondComboBox->addItem("CQ: First"); + ui->respondComboBox->addItem("CQ: Max Dist"); m_dateTimeRcvdRR73=QDateTime::currentDateTimeUtc(); m_dateTimeSentTx3=QDateTime::currentDateTimeUtc(); @@ -954,7 +983,7 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple, ui->txFirstCheckBox->setChecked(m_txFirst); morse_(const_cast (m_config.my_callsign ().toLatin1().constData()), - const_cast (icw), &m_ncw, m_config.my_callsign ().length()); + const_cast (icw), &m_ncw, (FCL)m_config.my_callsign().length()); on_actionWide_Waterfall_triggered(); ui->cbShMsgs->setChecked(m_bShMsgs); ui->cbSWL->setChecked(m_bSWL); @@ -1026,14 +1055,14 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple, void MainWindow::not_GA_warning_message () { - // MessageBox::critical_message (this, - // "This is a pre-release version of WSJT-X " + version (false) + " made\n" - // "available for testing purposes. By design it will\n" - // "be nonfunctional after Nov 30, 2021."); - // auto now = QDateTime::currentDateTimeUtc (); - // if (now >= QDateTime {{2021, 11, 30}, {23, 59, 59, 999}, Qt::UTC}) { - // Q_EMIT finished (); - // } + MessageBox::critical_message (this, + "This is a pre-release version of WSJT-X 2.6.0 made\n" + "available for testing purposes. By design it will\n" + "be nonfunctional after Nov 30, 2022."); + auto now = QDateTime::currentDateTimeUtc (); + if (now >= QDateTime {{2022, 11, 30}, {23, 59, 59, 999}, Qt::UTC}) { + Q_EMIT finished (); + } } void MainWindow::initialize_fonts () @@ -1123,7 +1152,8 @@ void MainWindow::writeSettings() m_settings->setValue ("MsgAvgDisplayed", m_msgAvgWidget && m_msgAvgWidget->isVisible ()); m_settings->setValue ("FoxLogDisplayed", m_foxLogWindow && m_foxLogWindow->isVisible ()); m_settings->setValue ("ContestLogDisplayed", m_contestLogWindow && m_contestLogWindow->isVisible ()); - m_settings->setValue("CallFirst",ui->cbFirst->isChecked()); + m_settings->setValue ("ActiveStationsDisplayed", m_ActiveStationsWidget && m_ActiveStationsWidget->isVisible ()); + m_settings->setValue("RespondCQ",ui->respondComboBox->currentIndex()); m_settings->setValue("HoundSort",ui->comboBoxHoundSort->currentIndex()); m_settings->setValue("FoxNlist",ui->sbNlist->value()); m_settings->setValue("FoxNslots",ui->sbNslots->value()); @@ -1144,7 +1174,7 @@ void MainWindow::writeSettings() m_settings->setValue("FST4W_FTol",ui->sbFST4W_FTol->value()); m_settings->setValue("FST4_FLow",ui->sbF_Low->value()); m_settings->setValue("FST4_FHigh",ui->sbF_High->value()); - m_settings->setValue("SubMode",ui->sbSubmode->value()); +// m_settings->setValue("SubMode",ui->sbSubmode->value()); m_settings->setValue("DTtol",m_DTtol); m_settings->setValue("Ftol", ui->sbFtol->value ()); m_settings->setValue("MinSync",m_minSync); @@ -1166,7 +1196,7 @@ void MainWindow::writeSettings() m_settings->setValue("UploadSpots",m_uploadWSPRSpots); m_settings->setValue("NoOwnCall",ui->cbNoOwnCall->isChecked()); m_settings->setValue ("BandHopping", ui->band_hopping_group_box->isChecked ()); - m_settings->setValue ("TRPeriod", ui->sbTR->value ()); +// m_settings->setValue ("TRPeriod", ui->sbTR->value ()); m_settings->setValue ("MaxDrift", ui->sbMaxDrift->value()); m_settings->setValue ("TRPeriod_FST4W", ui->sbTR_FST4W->value ()); m_settings->setValue("FastMode",m_bFastMode); @@ -1179,6 +1209,7 @@ void MainWindow::writeSettings() m_settings->setValue ("AutoClearAvg", ui->actionAuto_Clear_Avg->isChecked ()); m_settings->setValue("SplitterState",ui->decodes_splitter->saveState()); m_settings->setValue("Blanker",ui->sbNB->value()); + m_settings->setValue("Score",m_score); { QList coeffs; // suitable for QSettings @@ -1188,6 +1219,10 @@ void MainWindow::writeSettings() } m_settings->setValue ("PhaseEqualizationCoefficients", QVariant {coeffs}); } + m_settings->setValue ("actionDontSplitALLTXT", ui->actionDon_t_split_ALL_TXT->isChecked() ); + m_settings->setValue ("splitAllTxtYearly", ui->actionSplit_ALL_TXT_yearly->isChecked() ); + m_settings->setValue ("splitAllTxtMonthly", ui->actionSplit_ALL_TXT_monthly->isChecked() ); + m_settings->setValue ("disableWritingOfAllTxt", ui->actionDisable_writing_of_ALL_TXT->isChecked() ); m_settings->endGroup(); } @@ -1195,7 +1230,7 @@ void MainWindow::writeSettings() void MainWindow::readSettings() { ui->cbAutoSeq->setVisible(false); - ui->cbFirst->setVisible(false); + ui->respondComboBox->setVisible(false); m_settings->beginGroup("MainWindow"); std::array the_geometries; the_geometries[0] = m_settings->value ("geometry", saveGeometry ()).toByteArray (); @@ -1217,7 +1252,8 @@ void MainWindow::readSettings() auto displayMsgAvg = m_settings->value ("MsgAvgDisplayed", false).toBool (); auto displayFoxLog = m_settings->value ("FoxLogDisplayed", false).toBool (); auto displayContestLog = m_settings->value ("ContestLogDisplayed", false).toBool (); - ui->cbFirst->setChecked(m_settings->value("CallFirst",true).toBool()); + bool displayActiveStations = m_settings->value ("ActiveStationsDisplayed", false).toBool (); + ui->respondComboBox->setCurrentIndex(m_settings->value("RespondCQ",0).toInt()); ui->comboBoxHoundSort->setCurrentIndex(m_settings->value("HoundSort",3).toInt()); ui->sbNlist->setValue(m_settings->value("FoxNlist",12).toInt()); m_Nslots=m_settings->value("FoxNslots",5).toInt(); @@ -1230,6 +1266,10 @@ void MainWindow::readSettings() ui->actionAstronomical_data->setChecked (displayAstro); m_settings->beginGroup("Common"); + ui->actionDon_t_split_ALL_TXT->setChecked(m_settings->value("actionDontSplitALLTXT", true).toBool()); + ui->actionSplit_ALL_TXT_yearly->setChecked(m_settings->value("splitAllTxtYearly", false).toBool()); + ui->actionSplit_ALL_TXT_monthly->setChecked(m_settings->value("splitAllTxtMonthly", false).toBool()); + ui->actionDisable_writing_of_ALL_TXT->setChecked(m_settings->value("disableWritingOfAllTxt", false).toBool()); m_mode=m_settings->value("Mode","JT9").toString(); ui->actionNone->setChecked(m_settings->value("SaveNone",true).toBool()); ui->actionSave_decoded->setChecked(m_settings->value("SaveDecoded",false).toBool()); @@ -1240,8 +1280,14 @@ void MainWindow::readSettings() ui->sbFST4W_RxFreq->setValue(m_settings->value("FST4W_RxFreq",1500).toInt()); ui->sbF_Low->setValue(m_settings->value("FST4_FLow",600).toInt()); ui->sbF_High->setValue(m_settings->value("FST4_FHigh",1400).toInt()); - m_nSubMode=m_settings->value("SubMode",0).toInt(); - ui->sbSubmode->setValue(m_nSubMode); +// m_nSubMode=m_settings->value("SubMode",0).toInt(); + if (m_mode=="Q65") m_nSubMode=m_settings->value("SubMode_Q65",0).toInt(); + if (m_mode=="JT65") m_nSubMode=m_settings->value("SubMode_JT65",0).toInt(); + if (m_mode=="JT4") m_nSubMode=m_settings->value("SubMode_JT4",0).toInt(); +// ui->sbSubmode->setValue(m_nSubMode); + if (m_mode=="Q65") ui->sbSubmode->setValue(m_nSubMode_Q65); + if (m_mode=="JT65") ui->sbSubmode->setValue(m_nSubMode_JT65); + if (m_mode=="JT4") ui->sbSubmode->setValue(m_nSubMode_JT4); ui->sbFtol->setValue (m_settings->value("Ftol", 50).toInt()); ui->sbFST4W_FTol->setValue(m_settings->value("FST4W_FTol",100).toInt()); m_minSync=m_settings->value("MinSync",0).toInt(); @@ -1252,7 +1298,10 @@ void MainWindow::readSettings() m_bSWL=m_settings->value("SWL",false).toBool(); m_bFast9=m_settings->value("Fast9",false).toBool(); m_bFastMode=m_settings->value("FastMode",false).toBool(); - ui->sbTR->setValue (m_settings->value ("TRPeriod", 15).toInt()); +// ui->sbTR->setValue (m_settings->value ("TRPeriod", 15).toInt()); + if (m_mode=="Q65") ui->sbTR->setValue (m_settings->value ("TRPeriod_Q65", 30).toInt()); + if (m_mode=="MSK144") ui->sbTR->setValue (m_settings->value ("TRPeriod_MSK144", 15).toInt()); + if (m_mode=="FST4") ui->sbTR->setValue (m_settings->value ("TRPeriod_FST4", 60).toInt()); ui->sbMaxDrift->setValue (m_settings->value ("MaxDrift",0).toInt()); ui->sbTR_FST4W->setValue (m_settings->value ("TRPeriod_FST4W", 15).toInt()); m_lastMonitoredFrequency = m_settings->value ("DialFreq", @@ -1267,6 +1316,7 @@ void MainWindow::readSettings() ui->RoundRobin->setCurrentText(m_settings->value("RoundRobin",tr("Random")).toString()); m_dBm=m_settings->value("dBm",37).toInt(); m_send_RR73=m_settings->value("RR73",false).toBool(); + m_score=m_settings->value("Score",0).toInt(); if(m_send_RR73) { m_send_RR73=false; on_txrb4_doubleClicked(); @@ -1306,13 +1356,17 @@ void MainWindow::readSettings() // use these initialisation settings to tune the audio o/p buffer // size and audio thread priority m_settings->beginGroup ("Tune"); - m_audioThreadPriority = static_cast (m_settings->value ("Audio/ThreadPriority", QThread::HighPriority).toInt () % 8); + m_audioThreadPriority = static_cast (m_settings->value ("Audio/ThreadPriority", QThread::TimeCriticalPriority).toInt () % 8); m_settings->endGroup (); checkMSK144ContestType(); if(displayMsgAvg) on_actionMessage_averaging_triggered(); if (displayFoxLog) on_fox_log_action_triggered (); if (displayContestLog) on_contest_log_action_triggered (); + if(displayActiveStations) { + on_actionActiveStations_triggered(); +// QFile f {m_config.writeable_data_dir ().absoluteFilePath ("activeCalls.txt")}; + } } void MainWindow::checkMSK144ContestType() @@ -1369,6 +1423,10 @@ void MainWindow::setDecodedTextFont (QFont const& font) } if (m_contestLogWindow) { m_contestLogWindow->set_log_view_font (font); + m_contestLogWindow->set_nQSO(m_logBook.contest_log()->n_qso()); + } + if(m_ActiveStationsWidget != NULL) { + m_ActiveStationsWidget->changeFont(font); } updateGeometry (); } @@ -1440,7 +1498,7 @@ void MainWindow::dataSink(qint64 frames) m_bUseRef=m_wideGraph->useRef(); if(!m_diskData) { refspectrum_(&dec_data.d2[k-m_nsps/2],&m_bClearRefSpec,&m_bRefSpec, - &m_bUseRef, fname.constData (), fname.size ()); + &m_bUseRef, fname.constData (), (FCL)fname.size ()); } m_bClearRefSpec=false; @@ -1480,11 +1538,11 @@ void MainWindow::dataSink(qint64 frames) int RxFreq=ui->RxFreqSpinBox->value (); int nkhz=(m_freqNominal+RxFreq)/1000; int ftol = ui->sbFtol->value (); - freqcal_(&dec_data.d2[0],&k,&nkhz,&RxFreq,&ftol,&line[0],80); + freqcal_(&dec_data.d2[0], &k, &nkhz, &RxFreq, &ftol, &line[0], (FCL)80); QString t=QString::fromLatin1(line); DecodedText decodedtext {t}; - ui->decodedTextBrowser->displayDecodedText (decodedtext, m_config.my_callsign (), m_mode, m_config.DXCC (), - m_logBook, m_currentBand, m_config.ppfx ()); + ui->decodedTextBrowser->displayDecodedText (decodedtext, m_config.my_callsign(), + m_mode, m_config.DXCC(), m_logBook, m_currentBand, m_config.ppfx()); if (ui->measure_check_box->isChecked ()) { // Append results text to file "fmt.all". QFile f {m_config.writeable_data_dir ().absoluteFilePath ("fmt.all")}; @@ -1529,8 +1587,10 @@ void MainWindow::dataSink(qint64 frames) } if(bCallDecoder) { if(m_mode=="Echo") { - float snr=0; + float dBerr=0.0; int nfrit=0; + int nauto=0; + if(m_auto) nauto=1; int nqual=0; float f1=1500.0; float xlevel=0.0; @@ -1539,11 +1599,11 @@ void MainWindow::dataSink(qint64 frames) float width=0.0; echocom_.nclearave=m_nclearave; int nDop=0; - avecho_(dec_data.d2,&nDop,&nfrit,&nqual,&f1,&xlevel,&sigdb, - &snr,&dfreq,&width); + avecho_(dec_data.d2,&nDop,&nfrit,&nauto,&nqual,&f1,&xlevel,&sigdb, + &dBerr,&dfreq,&width); QString t; - t = t.asprintf("%3d %7.1f %7.1f %7.1f %7.1f %3d",echocom_.nsum,xlevel,sigdb, - dfreq,width,nqual); + t = t.asprintf("%3d %7.1f %7.1f %7.1f %7.1f %7.1f %3d",echocom_.nsum,xlevel,sigdb, + dBerr,dfreq,width,nqual); t=QDateTime::currentDateTimeUtc().toString("hh:mm:ss ") + t; if (ui) ui->decodedTextBrowser->appendText(t); if(m_echoGraph->isVisible()) m_echoGraph->plotSpec(); @@ -1593,13 +1653,13 @@ void MainWindow::dataSink(qint64 frames) // idea to pass pointer to be processed in another thread m_saveWAVWatcher.setFuture (QtConcurrent::run (std::bind (&MainWindow::save_wave_file, this, m_fnameWE, &dec_data.d2[0], samples, m_config.my_callsign(), - m_config.my_grid(), m_mode, m_nSubMode, m_freqNominal, m_hisCall, m_hisGrid))); + m_config.my_grid(), m_mode, m_nSubMode, m_freqNominalPeriod, m_hisCall, m_hisGrid))); if (m_mode=="WSPR") { auto c2name {(m_fnameWE + ".c2").toLocal8Bit ()}; int nsec=120; int nbfo=1500; double f0m1500=m_freqNominal/1000000.0 + nbfo - 1500; - int err = savec2_(c2name.constData (),&nsec,&f0m1500, c2name.size ()); + int err = savec2_(c2name.constData (),&nsec,&f0m1500, (FCL)c2name.size()); if (err!=0) MessageBox::warning_message (this, tr ("Error saving c2 file"), c2name); } } @@ -1720,9 +1780,10 @@ void MainWindow::fastSink(qint64 frames) float rmsNoGain = 0; int ftol = ui->sbFtol->value (); hspec_(dec_data.d2,&k,&nutc0,&nTRpDepth,&RxFreq,&ftol,&bmsk144, - &m_bTrain,m_phaseEqCoefficients.constData(),&m_inGain,&dec_data.params.mycall[0], - &dec_data.params.hiscall[0],&bshmsg,&bswl, - data_dir.constData (),fast_green,fast_s,&fast_jh,&pxmax,&rmsNoGain,&line[0],12,12,data_dir.size (),80); + &m_bTrain,m_phaseEqCoefficients.constData(),&m_inGain,&dec_data.params.mycall[0], + &dec_data.params.hiscall[0],&bshmsg,&bswl, + data_dir.constData (),fast_green,fast_s,&fast_jh,&pxmax,&rmsNoGain,&line[0],(FCL)12, + (FCL)12,(FCL)data_dir.size (),(FCL)80); float px = fast_green[fast_jh]; QString t; t = t.asprintf(" Rx noise: %5.1f ",px); @@ -1824,7 +1885,7 @@ void MainWindow::on_actionSettings_triggered() //Setup Dialog m_baseCall = Radio::base_callsign (m_config.my_callsign ()); ui->tx1->setEnabled (elide_tx1_not_allowed () || ui->tx1->isEnabled ()); morse_(const_cast (m_config.my_callsign ().toLatin1().constData()), - const_cast (icw), &m_ncw, m_config.my_callsign ().length()); + const_cast (icw), &m_ncw, (FCL)m_config.my_callsign().length()); } if (m_config.my_callsign () != callsign || m_config.my_grid () != my_grid) { statusUpdate (); @@ -1944,14 +2005,12 @@ void MainWindow::on_actionAbout_triggered() //Display "About" void MainWindow::on_autoButton_clicked (bool checked) { m_auto = checked; + m_maxPoints=-1; if (checked - && ui->cbFirst->isVisible () && ui->cbFirst->isChecked() + && ui->respondComboBox->isVisible () && ui->respondComboBox->currentText() != "CQ: None" && CALLING == m_QSOProgress) { m_bAutoReply = false; // ready for next - m_bCallingCQ = true; // allows tail-enders to be picked up - ui->cbFirst->setStyleSheet ("QCheckBox{color:red}"); - } else { - ui->cbFirst->setStyleSheet(""); + m_bCallingCQ = true; // allows tail-enders to be picked up } if (!checked) m_bCallingCQ = false; statusUpdate (); @@ -2014,9 +2073,10 @@ void MainWindow::keyPressEvent (QKeyEvent * e) } return; case Qt::Key_C: - if(m_mode=="FT4" && e->modifiers() & Qt::AltModifier) { - bool b=ui->cbFirst->isChecked(); - ui->cbFirst->setChecked(!b); + if(e->modifiers() & Qt::AltModifier) { + int n=ui->respondComboBox->currentIndex()+1; + if(n>2) n=0; + ui->respondComboBox->setCurrentIndex(n); } return; case Qt::Key_D: @@ -2077,8 +2137,9 @@ void MainWindow::keyPressEvent (QKeyEvent * e) } case Qt::Key_F6: if(bAltF1F6) { - bool b=ui->cbFirst->isChecked(); - ui->cbFirst->setChecked(!b); + int n=ui->respondComboBox->currentIndex()+1; + if(n>2) n=0; + ui->respondComboBox->setCurrentIndex(n); } else { if(e->modifiers() & Qt::ShiftModifier) { on_actionDecode_remaining_files_in_directory_triggered(); @@ -2234,6 +2295,13 @@ void MainWindow::displayDialFrequency () m_wideGraph->setRxBand (band_name); m_lastBand = band_name; band_changed(dial_frequency); + // prevent wrong frequencies for all.txt, PSK Reporter and highlighting for late decodes after band changes + m_displayBand = false; + QTimer::singleShot ((int(600.0*m_TRperiod)), [=] { + m_freqNominalPeriod = m_freqNominal; + m_currentBandPeriod = m_currentBand; + m_displayBand = true; + }); } // search working frequencies for one we are within 10kHz of (1 Mhz @@ -2537,7 +2605,7 @@ void MainWindow::on_actionSolve_FreqCal_triggered() auto data_dir {QDir::toNativeSeparators(m_config.writeable_data_dir().absolutePath()).toLocal8Bit ()}; int iz,irc; double a,b,rms,sigmaa,sigmab; - calibrate_(data_dir.constData (),&iz,&a,&b,&rms,&sigmaa,&sigmab,&irc,data_dir.size ()); + calibrate_(data_dir.constData(), &iz, &a, &b, &rms, &sigmaa, &sigmab, &irc, (FCL)data_dir.size()); QString t2; if(irc==-1) t2="Cannot open " + data_dir + "/fmt.all"; if(irc==-2) t2="Cannot open " + data_dir + "/fcal2.out"; @@ -2582,10 +2650,11 @@ void MainWindow::on_actionCopyright_Notice_triggered() "\"The algorithms, source code, look-and-feel of WSJT-X and related " "programs, and protocol specifications for the modes FSK441, FST4, FT8, " "JT4, JT6M, JT9, JT65, JTMS, QRA64, Q65, MSK144 are Copyright (C) " - "2001-2021 by one or more of the following authors: Joseph Taylor, " + "2001-2022 by one or more of the following authors: Joseph Taylor, " "K1JT; Bill Somerville, G4WJS; Steven Franke, K9AN; Nico Palermo, " "IV3NWV; Greg Beam, KI7MT; Michael Black, W9MDB; Edson Pereira, PY2SDR; " - "Philip Karn, KA9Q; and other members of the WSJT Development Group.\""); + "Philip Karn, KA9Q; Chester Fennell, KG4IYS; Uwe Risse, DG2YCB; " + "and other members of the WSJT Development Group.\""); MessageBox::warning_message(this, message); } @@ -2710,6 +2779,9 @@ void MainWindow::on_contest_log_action_triggered() m_contestLogWindow->showNormal (); m_contestLogWindow->raise (); m_contestLogWindow->activateWindow (); + // connect signal from m_logBook.contest_log to m_contestLogWindow + connect(m_logBook.contest_log(), &CabrilloLog::qso_count_changed, m_contestLogWindow.data (), &CabrilloLogWindow::set_nQSO); + m_contestLogWindow->set_nQSO(m_logBook.contest_log()->n_qso()); } void MainWindow::on_actionColors_triggered() @@ -2737,6 +2809,22 @@ void MainWindow::on_actionMessage_averaging_triggered() m_msgAvgWidget->activateWindow(); } +void MainWindow::on_actionActiveStations_triggered() +{ + if(m_ActiveStationsWidget == NULL) { + m_ActiveStationsWidget.reset (new ActiveStations {m_settings, m_config.decoded_text_font ()}); + + // Connect signals from Message Averaging window + connect (this, &MainWindow::finished, m_ActiveStationsWidget.data (), &ActiveStations::close); + } + m_ActiveStationsWidget->showNormal(); + m_ActiveStationsWidget->raise(); + m_ActiveStationsWidget->activateWindow(); + connect(m_ActiveStationsWidget.data(), SIGNAL(callSandP(int)),this,SLOT(callSandP2(int))); + connect(m_ActiveStationsWidget.data(), SIGNAL(activeStationsDisplay()),this,SLOT(ARRL_Digi_Display())); + m_ActiveStationsWidget->setScore(m_score); +} + void MainWindow::on_actionOpen_triggered() //Open File { monitor (false); @@ -2949,10 +3037,10 @@ void MainWindow::on_actionKeyboard_shortcuts_triggered() Alt+H Halt Tx Ctrl+L Lookup callsign in database, generate standard messages Alt+M Monitor - Alt+N Enable Tx + Alt+N Toggle "Enable Tx" Ctrl+O Open a .wav file Alt+O Change operator - Alt+Q Log QSO + Alt+Q Open "Log QSO" window Ctrl+R Set Tx4 message to RRR (not in FT4) Alt+R Set Tx4 message to RR73 Alt+S Stop monitoring @@ -3032,10 +3120,14 @@ void MainWindow::freezeDecode(int n) //freezeDecode() void MainWindow::on_ClrAvgButton_clicked() { m_nclearave=1; - if(m_msgAvgWidget != NULL) { - if(m_msgAvgWidget->isVisible()) m_msgAvgWidget->displayAvg(""); + if(m_mode=="Echo") { + echocom_.nsum=0; + } else { + if(m_msgAvgWidget != NULL) { + if(m_msgAvgWidget->isVisible()) m_msgAvgWidget->displayAvg(""); + } + if(m_mode=="Q65") ndecodes_label.setText("0 0"); } - if(m_mode=="Q65") ndecodes_label.setText("0 0"); } void MainWindow::msgAvgDecode2() @@ -3211,9 +3303,9 @@ void MainWindow::decode() //decode() narg[13]=-1; narg[14]=m_config.aggressive(); memcpy(d2b,dec_data.d2,2*360000); - watcher3.setFuture (QtConcurrent::run (std::bind (fast_decode_,&d2b[0], - &narg[0],&m_TRperiod,&m_msg[0][0], - dec_data.params.mycall,dec_data.params.hiscall,8000,12,12))); + watcher3.setFuture (QtConcurrent::run (std::bind (fast_decode_, &d2b[0], + &narg[0],&m_TRperiod, &m_msg[0][0], dec_data.params.mycall, + dec_data.params.hiscall, (FCL)8000, (FCL)12, (FCL)12))); } else { mem_jt9->lock (); memcpy(to, from, qMin(mem_jt9->size(), size)); @@ -3222,6 +3314,8 @@ void MainWindow::decode() //decode() decodeBusy(true); } } + if((m_mode=="FT4" or (m_mode=="FT8" and m_ihsym==41) or m_diskData) and + m_ActiveStationsWidget != NULL) m_ActiveStationsWidget->erase(); } void::MainWindow::fast_decode_done() @@ -3240,7 +3334,7 @@ void::MainWindow::fast_decode_done() DecodedText decodedtext {message.replace (QChar::LineFeed, "")}; if(!m_bFastDone) { ui->decodedTextBrowser->displayDecodedText (decodedtext, m_config.my_callsign (), m_mode, m_config.DXCC (), - m_logBook, m_currentBand, m_config.ppfx ()); + m_logBook, m_currentBandPeriod, m_config.ppfx ()); } t=message.mid(10,5).toFloat(); @@ -3302,15 +3396,11 @@ void MainWindow::decodeDone () mswait = 1000.0 * ( 1.6 * m_TRperiod - tdone ); } m_bDecoded=m_nDecodes>0; -// qDebug() << "aa 3316" << m_saveDecoded << m_saveAll << m_bDecoded << m_nDecodes -// << m_TRperiod << tdone << mswait; if(!m_diskData and !m_saveAll) { if(m_saveDecoded and (m_nDecodes==0)) { -// qDebug() << "bb 3319" << mswait; killFileTimer.start(mswait); //Kill at 3/4 period } } - if(m_mode!="FT8" or dec_data.params.nzhsym==50) m_nDecodes=0; dec_data.params.nagain=0; dec_data.params.ndiskdat=0; @@ -3327,16 +3417,200 @@ void MainWindow::decodeDone () MessageBox::information_message(this, tr("No more files to open.")); m_bNoMoreFiles=false; } + + if((m_mode=="FT4" or m_mode=="FT8") + and m_latestDecodeTime>=0 and m_ActiveStationsWidget!=NULL) { + if(!m_diskData and (m_nDecodes==0)) { + m_latestDecodeTime = (QDateTime::currentMSecsSinceEpoch()/1000) % 86400; + m_latestDecodeTime = int(m_latestDecodeTime/m_TRperiod); + m_latestDecodeTime = int(m_latestDecodeTime*m_TRperiod); + } + ARRL_Digi_Display(); // Update the ARRL_DIGI display + } + if(m_mode!="FT8" or dec_data.params.nzhsym==50) m_nDecodes=0; +} + +void MainWindow::ARRL_Digi_Update(DecodedText dt) +{ + // Extract information relevant for the ARRL Digi contest + QString deCall; + QString deGrid; + dt.deCallAndGrid(/*out*/deCall,deGrid); + ActiveCall ac; + RecentCall rc; + + if(deGrid.contains(grid_regexp)) { + if(!m_activeCall.contains(deCall) or deGrid!=m_activeCall.value(deCall).grid4) { + // Transmitting station's call is not already in QMap "m_activeCall", or grid has changed. + // Insert the call, grid, and associated fixed data into the list. + + double utch=0.0; + int nAz,nEl,nDmiles,nDkm,nHotAz,nHotABetter; + azdist_(const_cast (m_config.my_grid().left(4).toLatin1().constData()), + const_cast (deGrid.left(4).toLatin1().constData()),&utch, + &nAz,&nEl,&nDmiles,&nDkm,&nHotAz,&nHotABetter,(FCL)6,(FCL)6); + int points=nDkm/500; + if(nDkm > 500*points) points += 1; + points += 1; + ac.grid4=deGrid; + ac.bands="......."; + ac.az=nAz; + ac.points=points; + m_activeCall[deCall]=ac; + } + } + + m_points=-1; + if(m_activeCall.contains(deCall)) { + +// Don't display stations we already worked on this band. + QString band=m_config.bands()->find(m_freqNominal); + if(band=="160m" and m_activeCall[deCall].bands.indexOf("a")>=0) {m_recentCall.remove(deCall); return;} + if(band=="80m" and m_activeCall[deCall].bands.indexOf("b")>=0) {m_recentCall.remove(deCall); return;} + if(band=="40m" and m_activeCall[deCall].bands.indexOf("c")>=0) {m_recentCall.remove(deCall); return;} + if(band=="20m" and m_activeCall[deCall].bands.indexOf("d")>=0) {m_recentCall.remove(deCall); return;} + if(band=="15m" and m_activeCall[deCall].bands.indexOf("e")>=0) {m_recentCall.remove(deCall); return;} + if(band=="10m" and m_activeCall[deCall].bands.indexOf("f")>=0) {m_recentCall.remove(deCall); return;} + if(band=="6m" and m_activeCall[deCall].bands.indexOf("g")>=0) {m_recentCall.remove(deCall); return;} + + // Update the variable data for this deCall + rc.dialFreq=m_freqNominal; + rc.audioFreq=dt.frequencyOffset(); + rc.snr=dt.snr(); + m_latestDecodeTime=dt.timeInSeconds(); + rc.txEven = (m_latestDecodeTime % int(2*m_TRperiod)) > 0; + rc.ready2call=false; + bool bCQ=dt.messageWords()[0].left(3)=="CQ "; + if(bCQ or deGrid=="RR73" or deGrid=="73") rc.ready2call=true; + rc.decodeTime=m_latestDecodeTime; + m_recentCall[deCall]=rc; + m_points=m_activeCall.value(deCall).points; + } + updateRate(); +} + +void MainWindow::ARRL_Digi_Display() +{ + QMutableMapIterator icall(m_recentCall); + QString deCall,deGrid; + int age=0; + int i=0; + int maxAge=m_ActiveStationsWidget->maxAge(); + int points=0; + int maxPoints=0; + int indx[1000]; + float pts[1000]; + QStringList list; + + while (icall.hasNext()) { + icall.next(); + deCall=icall.key(); + age=int((m_latestDecodeTime - icall.value().decodeTime)/m_TRperiod + 0.5); + if(age<0) age=age + int(86400/m_TRperiod); + int itx=1; + if(icall.value().txEven) itx=0; + int snr=icall.value().snr; + int freq=icall.value().audioFreq; + if(age>maxAge) { + icall.remove(); + } else { + bool bReady=false; + if(age==0 and m_recentCall.value(deCall).ready2call) bReady=true; + + QString bands=m_activeCall[deCall].bands; + bool bWorkedOnBand=false; + if(m_currentBand=="160m" and bands.mid(0,1)!=".") bWorkedOnBand=true; + if(m_currentBand=="80m" and bands.mid(1,1)!=".") bWorkedOnBand=true; + if(m_currentBand=="40m" and bands.mid(2,1)!=".") bWorkedOnBand=true; + if(m_currentBand=="20m" and bands.mid(3,1)!=".") bWorkedOnBand=true; + if(m_currentBand=="15m" and bands.mid(4,1)!=".") bWorkedOnBand=true; + if(m_currentBand=="10m" and bands.mid(5,1)!=".") bWorkedOnBand=true; + if(m_currentBand=="6m" and bands.mid(6,1)!=".") bWorkedOnBand=true; + + if((bReady or !m_ActiveStationsWidget->readyOnly()) and !bWorkedOnBand) { + i++; + int az=m_activeCall[deCall].az; + deGrid=m_activeCall[deCall].grid4; + points=m_activeCall[deCall].points; + if(points>maxPoints) maxPoints=points; + float x=float(age)/(maxAge+1); + if(x>1.0) x=0; + pts[i-1]=points - x; + QString t1; + if(!bReady) t1 = t1.asprintf(" %3d %+2.2d %4d %1d %2d %4d",az,snr,freq,itx,age,points); + if(bReady) t1 = t1.asprintf(" %3d %+2.2d %4d %1d %2d*%4d",az,snr,freq,itx,age,points); +// t1 = (deCall + " ").left(6) + " " + m_activeCall[deCall].grid4 + t1 + " " + bands; + t1 = (deCall + " ").left(6) + " " + m_activeCall[deCall].grid4 + t1; + list.append(t1); + } + } + } + if(i==0) return; + int jz=i; + m_ActiveStationsWidget->setClickOK(false); + int maxRecent=qMin(i,m_ActiveStationsWidget->maxRecent()); + indexx_(pts,&jz,indx); + QString t; + i=0; + for(int j=jz-1; j>=0; j--) { + int k=indx[j]-1; + m_ready2call[i]=list[k]; + i++; + QString t1=QString::number(i) + ". "; + if(i<10) t1=" " + t1; + t += (t1 + list[k] + "\n"); + if(i>=maxRecent) break; + } + if(m_ActiveStationsWidget!=NULL) m_ActiveStationsWidget->displayRecentStations(t); + m_ActiveStationsWidget->setClickOK(true); +} + +void MainWindow::callSandP2(int n) +{ + if(m_ready2call[n]=="") return; + QStringList w=m_ready2call[n].split(' ', SkipEmptyParts); + m_deCall=w[0]; + m_deGrid=w[1]; + m_bDoubleClicked=true; //### needed? + ui->dxCallEntry->setText(m_deCall); + ui->dxGridEntry->setText(m_deGrid); + genStdMsgs(w[3]); //### real SNR would be better here? + ui->RxFreqSpinBox->setValue(w[4].toInt()); + setTxMsg(1); + m_txFirst = (w[5]=="0"); + ui->txFirstCheckBox->setChecked(m_txFirst); + if (!ui->autoButton->isChecked()) ui->autoButton->click(); // Enable Tx + if(m_transmitting) m_restart=true; +} + +void MainWindow::activeWorked(QString call, QString band) +{ + QString bands=m_activeCall[call].bands; + QByteArray ba=bands.toLatin1(); + if(band=="160m") ba[0]='a'; + if(band=="80m") ba[1]='b'; + if(band=="40m") ba[2]='c'; + if(band=="20m") ba[3]='d'; + if(band=="15m") ba[4]='e'; + if(band=="10m") ba[5]='f'; + if(band=="6m") ba[6]='g'; + m_activeCall[call].bands=QString::fromLatin1(ba); } void MainWindow::readFromStdout() //readFromStdout { + bool bDisplayPoints = false; + if(m_ActiveStationsWidget!=NULL) { + bDisplayPoints=(m_mode=="FT4" or m_mode=="FT8") and + (m_config.special_op_id()==SpecOp::ARRL_DIGI or m_ActiveStationsWidget->isVisible()); + } while(proc_jt9.canReadLine()) { auto line_read = proc_jt9.readLine (); if (auto p = std::strpbrk (line_read.constData (), "\n\r")) { // truncate before line ending chars line_read = line_read.left (p - line_read.constData ()); } + if(bDisplayPoints) line_read=line_read.replace("a7"," "); bool haveFSpread {false}; float fSpread {0.}; if (m_mode.startsWith ("FST4")) @@ -3412,7 +3686,8 @@ void MainWindow::readFromStdout() //readFromStdout if (m_config.insert_blank () && SpecOp::FOX != m_config.special_op_id()) { QString band; - if((QDateTime::currentMSecsSinceEpoch() / 1000 - m_secBandChanged) > 4*int(m_TRperiod)/4) { + if(((QDateTime::currentMSecsSinceEpoch() / 1000 - m_secBandChanged) > 4*int(m_TRperiod)/4) + or m_displayBand) { band = ' ' + m_config.bands ()->find (m_freqNominal); } ui->decodedTextBrowser->insertLineSpacer (band.rightJustified (40, '-')); @@ -3452,10 +3727,37 @@ void MainWindow::readFromStdout() //readFromStdout } } else { DecodedText decodedtext1=decodedtext0; + if((m_mode=="FT4" or m_mode=="FT8") and bDisplayPoints and decodedtext1.isStandardMessage()) { + ARRL_Digi_Update(decodedtext1); + } ui->decodedTextBrowser->displayDecodedText (decodedtext1, m_config.my_callsign (), m_mode, m_config.DXCC (), - m_logBook, m_currentBand, m_config.ppfx (), + m_logBook, m_currentBandPeriod, m_config.ppfx (), ui->cbCQonly->isVisible() && ui->cbCQonly->isChecked(), - haveFSpread, fSpread); + haveFSpread, fSpread, bDisplayPoints, m_points); + if((m_mode=="FT4" or m_mode=="FT8") and bDisplayPoints and decodedtext1.isStandardMessage()) { + QString deCall,deGrid; + decodedtext.deCallAndGrid(/*out*/deCall,deGrid); + bool bWorkedOnBand=(ui->decodedTextBrowser->CQPriority()!="New Call on Band") and ui->decodedTextBrowser->CQPriority()!=""; + if(bWorkedOnBand) activeWorked(deCall,m_currentBand); + } + + if (m_config.highlight_DXcall () && (m_hisCall!="") && ((decodedtext.string().contains(QRegularExpression {"(\\w+) " + m_hisCall})) + || (decodedtext.string().contains(QRegularExpression {"(\\w+) <" + m_hisCall +">"})) + || (decodedtext.string().contains(QRegularExpression {"<(\\w+)> " + m_hisCall})))) { + ui->decodedTextBrowser->highlight_callsign(m_hisCall, QColor(255,0,0), QColor(255,255,255), true); // highlight dxCallEntry + QTimer::singleShot (500, [=] { // repeated highlighting to override JTAlert + ui->decodedTextBrowser->highlight_callsign(m_hisCall, QColor(255,0,0), QColor(255,255,255), true); + }); + QTimer::singleShot (1000, [=] { // repeated highlighting to override JTAlert + ui->decodedTextBrowser->highlight_callsign(m_hisCall, QColor(255,0,0), QColor(255,255,255), true); + }); + QTimer::singleShot (2500, [=] { // repeated highlighting to override JTAlert + ui->decodedTextBrowser->highlight_callsign(m_hisCall, QColor(255,0,0), QColor(255,255,255), true); + }); + } + if (m_config.highlight_DXgrid () && (m_hisGrid!="") && (decodedtext.string().contains(m_hisGrid))) { + ui->decodedTextBrowser->highlight_callsign(m_hisGrid, QColor(0,0,255), QColor(255,255,255), true); // highlight dxGridEntry + } if(m_bBestSPArmed && m_mode=="FT4" && CALLING == m_QSOProgress) { QString messagePriority=ui->decodedTextBrowser->CQPriority(); @@ -3476,7 +3778,6 @@ void MainWindow::readFromStdout() //readFromStdout } } } - } } @@ -3491,29 +3792,71 @@ void MainWindow::readFromStdout() //readFromStdout if (parts.size() > 6) { auto for_us = parts[5].contains (m_baseCall) || ("DE" == parts[5] && qAbs (ui->RxFreqSpinBox->value () - audioFreq) <= ftol); - if(m_baseCall == m_config.my_callsign()) - { - if (m_baseCall != parts[5]) - { - for_us=false; - } + if(m_baseCall == m_config.my_callsign()) { + if (m_baseCall != parts[5]) for_us=false; + } else { + if (m_config.my_callsign () != parts[5]) { +// Same base call as ours but different prefix or suffix. Rare but can happen with +// multi-station special events. + for_us = false; } - else - { - if (m_config.my_callsign () != parts[5]) - { - for_us = false; // same base call as ours but - // different prefix or suffix, rare - // but can happen with multi station - // special events + } + if(m_bCallingCQ && !m_bAutoReply && for_us && SpecOp::FOX > m_config.special_op_id()) { + bool bProcessMsgNormally=ui->respondComboBox->currentText()=="CQ: First" or + (ui->respondComboBox->currentText()=="CQ: Max Dist" and m_ActiveStationsWidget==NULL) or + (m_ActiveStationsWidget!=NULL and !m_ActiveStationsWidget->isVisible()); + QString t=decodedtext.messageWords()[4]; + if(t.contains("R+") or t.contains("R-") or t=="R" or t=="RRR" or t=="RR73") bProcessMsgNormally=true; + if(bProcessMsgNormally) { + m_bDoubleClicked=true; + m_bAutoReply = true; + processMessage (decodedtext); + } + + if(!bProcessMsgNormally and m_ActiveStationsWidget and ui->respondComboBox->currentText()=="CQ: Max Dist") { + QString deCall; + QString deGrid; + decodedtext.deCallAndGrid(/*out*/deCall,deGrid); + if(deGrid.contains(grid_regexp) or + (deGrid.contains("+") or deGrid.contains("-"))) { + int points=0; + if(m_activeCall.contains(deCall)) { + points=m_activeCall[deCall].points; + deGrid=m_activeCall[deCall].grid4; + } else if(deGrid.contains(grid_regexp)) { + double utch=0.0; + int nAz,nEl,nDmiles,nDkm,nHotAz,nHotABetter; + azdist_(const_cast ((m_config.my_grid () + " ").left (6).toLatin1 ().constData ()), + const_cast ((deGrid + " ").left(6).toLatin1 ().constData ()),&utch, + &nAz,&nEl,&nDmiles,&nDkm,&nHotAz,&nHotABetter,(FCL)6,(FCL)6); + points=nDkm/500; + if(nDkm > 500*points) points += 1; + points += 1; + } + if(points>m_maxPoints) { + m_maxPoints=points; + m_deCall=deCall; + m_bDoubleClicked=true; + ui->dxCallEntry->setText(deCall); + int m_ntx=2; + bool bContest=m_config.special_op_id()==SpecOp::NA_VHF or m_config.special_op_id()==SpecOp::ARRL_DIGI; + if(bContest) m_ntx=3; + if(deGrid.contains(grid_regexp)) { + m_deGrid=deGrid; + ui->dxGridEntry->setText(deGrid); + } else { + m_ntx=3; + } + if(m_ntx==2) m_QSOProgress = REPORT; + if(m_ntx==3) m_QSOProgress = ROGER_REPORT; + genStdMsgs(QString::number(decodedtext.snr())); + ui->RxFreqSpinBox->setValue(decodedtext.frequencyOffset()); + setTxMsg(m_ntx); + m_currentMessageType=m_ntx; } + } } - if(m_bCallingCQ && !m_bAutoReply && for_us && ui->cbFirst->isChecked() and - SpecOp::FOX > m_config.special_op_id()) { - m_bDoubleClicked=true; - m_bAutoReply = true; - if(SpecOp::FOX != m_config.special_op_id()) processMessage (decodedtext); - ui->cbFirst->setStyleSheet(""); + } if(SpecOp::FOX==m_config.special_op_id() and decodedtext.string().contains(" DE ")) for_us=true; //Hound with compound callsign if(SpecOp::FOX==m_config.special_op_id() and for_us and (audioFreq<1000)) bDisplayRight=true; @@ -3529,7 +3872,7 @@ void MainWindow::readFromStdout() //readFromStdout // or contains MyCall if(!m_bBestSPArmed or m_mode!="FT4") { ui->decodedTextBrowser2->displayDecodedText (decodedtext0, m_config.my_callsign (), m_mode, m_config.DXCC (), - m_logBook, m_currentBand, m_config.ppfx ()); + m_logBook, m_currentBand, m_config.ppfx (), false, false, 0.0, bDisplayPoints, m_points); } m_QSOText = decodedtext.string ().trimmed (); } @@ -3709,7 +4052,8 @@ void MainWindow::auto_sequence (DecodedText const& message, unsigned start_toler void MainWindow::pskPost (DecodedText const& decodedtext) { - if (m_diskData || !m_config.spot_to_psk_reporter() || decodedtext.isLowConfidence ()) return; + if (m_diskData || !m_config.spot_to_psk_reporter() || decodedtext.isLowConfidence () + || (decodedtext.string().contains(m_baseCall) && decodedtext.string().contains(m_config.my_grid().left(4)))) return; // prevent self-spotting when running multiple instances QString msgmode=m_mode; QString deCall; @@ -3720,7 +4064,7 @@ void MainWindow::pskPost (DecodedText const& decodedtext) audioFrequency=decodedtext.string().mid(16,4).toInt(); } int snr = decodedtext.snr(); - Frequency frequency = m_freqNominal + audioFrequency; + Frequency frequency = m_freqNominalPeriod + audioFrequency; // prevent spotting wrong band if(grid.contains (grid_regexp)) { // qDebug() << "To PSKreporter:" << deCall << grid << frequency << msgmode << snr; if (!m_psk_Reporter.addRemoteStation (deCall, grid, frequency, msgmode, snr)) @@ -3732,7 +4076,6 @@ void MainWindow::pskPost (DecodedText const& decodedtext) void MainWindow::killFile () { -// qDebug() << "cc 3725" << m_saveDecoded << m_saveAll << m_bDecoded << m_nDecodes << m_fnameWE; if (m_fnameWE.size () && !(m_saveAll || (m_saveDecoded && m_bDecoded))) { QFile f1 {m_fnameWE + ".wav"}; if(f1.exists()) f1.remove(); @@ -4019,18 +4362,18 @@ void MainWindow::guiUpdate() if(m_QSOProgress==REPORT || m_QSOProgress==ROGER_REPORT) m_bSentReport=true; if(m_bSentReport and (m_QSOProgressROGER_REPORT)) m_bSentReport=false; if(m_mode=="JT4") gen4_(message, &ichk , msgsent, const_cast (itone), - &m_currentMessageType, 22, 22); + &m_currentMessageType, (FCL)22, (FCL)22); if(m_mode=="JT9") gen9_(message, &ichk, msgsent, const_cast (itone), - &m_currentMessageType, 22, 22); - if(m_mode=="JT65") gen65_(message, &ichk, msgsent, const_cast (itone), - &m_currentMessageType, 22, 22); + &m_currentMessageType, (FCL)22, (FCL)22); + if(m_mode=="JT65") gen65(message, &ichk, msgsent, const_cast (itone), + &m_currentMessageType); if(m_mode=="WSPR") genwspr_(message, msgsent, const_cast (itone), - 22, 22); + (FCL)22, (FCL)22); if(m_mode=="MSK144" or m_mode=="FT8" or m_mode=="FT4" or m_mode=="FST4" or m_mode=="FST4W" || "Q65" == m_mode) { if(m_mode=="MSK144") { genmsk_128_90_(message, &ichk, msgsent, const_cast (itone), - &m_currentMessageType, 37, 37); + &m_currentMessageType, (FCL)37, (FCL)37); if(m_restart) { int nsym=144; if(itone[40]==-40) nsym=40; @@ -4046,7 +4389,7 @@ void MainWindow::guiUpdate() int n3=0; char ft8msgbits[77]; genft8_(message, &i3, &n3, msgsent, const_cast (ft8msgbits), - const_cast (itone), 37, 37); + const_cast (itone), (FCL)37, (FCL)37); int nsym=79; int nsps=4*1920; float fsample=48000.0; @@ -4073,7 +4416,7 @@ void MainWindow::guiUpdate() int ichk=0; char ft4msgbits[77]; genft4_(message, &ichk, msgsent, const_cast (ft4msgbits), - const_cast(itone), 37, 37); + const_cast(itone), (FCL)37, (FCL)37); int nsym=103; int nsps=4*576; float fsample=48000.0; @@ -4095,7 +4438,7 @@ void MainWindow::guiUpdate() ba2msg(ba,message); } genfst4_(message,&ichk,msgsent,const_cast (fst4msgbits), - const_cast(itone), &iwspr, 37, 37); + const_cast(itone), &iwspr, (FCL)37, (FCL)37); int hmod=1; if(m_config.x2ToneSpacing()) hmod=2; if(m_config.x4ToneSpacing()) hmod=4; @@ -4122,7 +4465,7 @@ void MainWindow::guiUpdate() if(m_mode=="Q65") { int i3=-1; int n3=-1; - genq65_(message,&ichk,msgsent,const_cast(itone),&i3,&n3,37,37); + genq65_(message, &ichk,msgsent, const_cast(itone), &i3, &n3, (FCL)37, (FCL)37); int nsps=1800; if(m_TRperiod==30) nsps=3600; if(m_TRperiod==60) nsps=7200; @@ -4165,13 +4508,7 @@ void MainWindow::guiUpdate() } m_bCallingCQ = 6 == m_ntx || m_currentMessage.contains (QRegularExpression {"^(CQ|QRZ) "}); - if(m_mode=="FT8" or m_mode=="FT4") { - if(m_bCallingCQ && ui->cbFirst->isVisible () && ui->cbFirst->isChecked ()) { - ui->cbFirst->setStyleSheet("QCheckBox{color:red}"); - } else { - ui->cbFirst->setStyleSheet(""); - } - } + m_maxPoints=-1; if (m_tune) { m_currentMessage = "TUNE"; @@ -4213,7 +4550,8 @@ void MainWindow::guiUpdate() } } - bool b=("FT8"==m_mode or "FT4"==m_mode or "Q65"==m_mode) and ui->cbAutoSeq->isVisible () && ui->cbAutoSeq->isEnabled () && ui->cbAutoSeq->isChecked (); + bool b=("FT8"==m_mode or "FT4"==m_mode or "Q65"==m_mode) and ui->cbAutoSeq->isVisible () + && ui->cbAutoSeq->isEnabled () && ui->cbAutoSeq->isChecked (); if(is_73 and (m_config.disable_TX_on_73() or b)) { m_nextCall=""; //### Temporary: disable use of "TU;" messages; if(m_nextCall!="") { @@ -4326,7 +4664,8 @@ void MainWindow::guiUpdate() (SpecOp::NA_VHF==m_config.special_op_id() or SpecOp::FIELD_DAY==m_config.special_op_id() or SpecOp::RTTY==m_config.special_op_id() or - SpecOp::WW_DIGI==m_config.special_op_id()) ) { + SpecOp::WW_DIGI==m_config.special_op_id() or + SpecOp::ARRL_DIGI==m_config.special_op_id()) ) { //We're in a contest-like mode other than EU_VHF: start QSO with Tx2. ui->tx1->setEnabled(false); ui->txb1->setEnabled(false); @@ -4460,9 +4799,10 @@ void MainWindow::startTx2() t=ui->tx6->text(); if(t.mid(0,1)=="#") snr=t.mid(1,5).toDouble(); if(snr>0.0 or snr < -50.0) snr=99.0; - if((m_ntx==6 or m_ntx==7) and m_config.force_call_1st()) { + if((m_ntx==6 or m_ntx==7) and m_config.force_call_1st() and + ui->respondComboBox->currentIndex()==0) { ui->cbAutoSeq->setChecked(true); - ui->cbFirst->setChecked(true); + ui->respondComboBox->setCurrentIndex(1); } transmit (snr); ui->signal_meter_widget->setValue(0,0); @@ -4859,7 +5199,7 @@ void MainWindow::processMessage (DecodedText const& message, Qt::KeyboardModifie } QString firstcall = message.call(); - if(firstcall.length()==5 and firstcall.mid(0,3)=="CQ ") firstcall="CQ"; + if(firstcall.length()>=4 and firstcall.mid(0,3)=="CQ ") firstcall="CQ"; if(!m_bFastMode and (!m_config.enable_VHF_features() or m_mode=="FT8")) { // Don't change Tx freq if in a fast mode, or VHF features enabled; also not if a // station is calling me, unless CTRL or SHIFT is held down. @@ -4943,7 +5283,9 @@ void MainWindow::processMessage (DecodedText const& message, Qt::KeyboardModifie && (message_words.at(3).contains(qso_partner_base_call) or m_bDoubleClicked or bEU_VHF_w2 or (m_QSOProgress==CALLING))) { if(message_words.at(4).contains(grid_regexp) and SpecOp::EU_VHF!=m_config.special_op_id()) { - if((SpecOp::NA_VHF==m_config.special_op_id() or SpecOp::WW_DIGI==m_config.special_op_id()) and bContestOK){ + if((SpecOp::NA_VHF==m_config.special_op_id() or SpecOp::WW_DIGI==m_config.special_op_id() or + SpecOp::ARRL_DIGI==m_config.special_op_id() ) + and bContestOK) { setTxMsg(3); m_QSOProgress=ROGER_REPORT; } else { @@ -5010,9 +5352,13 @@ void MainWindow::processMessage (DecodedText const& message, Qt::KeyboardModifie ui->tx3->setText(t); m_bTUmsg=true; } else { - if (m_QSOProgress > CALLING && m_QSOProgress < SIGNOFF - && SpecOp::NONE < m_config.special_op_id () && SpecOp::FOX > m_config.special_op_id () - && ("RR73" == word_3 || 73 == word_3_as_number)) + +// The following test was to skip sending 73 after receiving RR73, in a contest mode. +// I'm disabling it so thet we always send 73 after receiving RR73. +// if (m_QSOProgress > CALLING && m_QSOProgress < SIGNOFF +// && SpecOp::NONE < m_config.special_op_id () && SpecOp::FOX > m_config.special_op_id () +// && ("RR73" == word_3 || 73 == word_3_as_number)) + if (false) // Always Send 73 after receiving RRR or RR73, even in contest mode. { if (m_config.prompt_to_log() || m_config.autoLog()) { logQSOTimer.start(0); @@ -5191,6 +5537,7 @@ void MainWindow::processMessage (DecodedText const& message, Qt::KeyboardModifie } // if we get here then we are reacting to the message if (m_bAutoReply) m_bCallingCQ = CALLING == m_QSOProgress; + m_maxPoints=-1; if (ui->RxFreqSpinBox->isEnabled () and m_mode != "MSK144" and !shift) { ui->RxFreqSpinBox->setValue (frequency); //Set Rx freq } @@ -5316,6 +5663,7 @@ void MainWindow::genCQMsg () if(SpecOp::FIELD_DAY == m_config.special_op_id()) m_cqStr="FD"; if(SpecOp::RTTY == m_config.special_op_id()) m_cqStr="RU"; if(SpecOp::WW_DIGI == m_config.special_op_id()) m_cqStr="WW"; + if(SpecOp::ARRL_DIGI == m_config.special_op_id()) m_cqStr="TEST"; if( tlist.at(1)==my_callsign ) { t="CQ " + m_cqStr + " " + tlist.at(1) + " " + tlist.at(2); } else { @@ -5374,7 +5722,7 @@ void MainWindow::genStdMsgs(QString rpt, bool unconditional) auto is_type_one = !is77BitMode () && is_compound && shortList (my_callsign); auto const& my_grid = m_config.my_grid ().left (4); auto const& hisBase = Radio::base_callsign (hisCall); - save_dxbase_(const_cast ((hisBase + " ").left (6).toLatin1().constData()),6); + save_dxbase_(const_cast ((hisBase + " ").left(6).toLatin1().constData()), (FCL)6); auto eme_short_codes = m_config.enable_VHF_features () && ui->cbShMsgs->isChecked () && m_mode == "JT65"; @@ -5425,6 +5773,7 @@ void MainWindow::genStdMsgs(QString rpt, bool unconditional) } if(SpecOp::NA_VHF==m_config.special_op_id()) sent=my_grid; if(SpecOp::WW_DIGI==m_config.special_op_id()) sent=my_grid; + if(SpecOp::ARRL_DIGI==m_config.special_op_id()) sent=my_grid; if(SpecOp::FIELD_DAY==m_config.special_op_id()) sent=m_config.Field_Day_Exchange(); if(SpecOp::RTTY==m_config.special_op_id()) { sent=rst + m_config.RTTY_Exchange(); @@ -5761,7 +6110,7 @@ void MainWindow::msgtype(QString t, QLineEdit* tx) //msgtype() QByteArray s=t.toUpper().toLocal8Bit(); ba2msg(s,message); int ichk=1,itype=0; - gen65_(message,&ichk,msgsent,const_cast(itone0),&itype,22,22); + gen65(message, &ichk,msgsent, const_cast(itone0), &itype); msgsent[22]=0; bool text=false; bool shortMsg=false; @@ -5859,7 +6208,7 @@ void MainWindow::on_dxCallEntry_textChanged (QString const& call) void MainWindow::on_dxCallEntry_editingFinished() { auto const& dxBase = Radio::base_callsign (m_hisCall); - save_dxbase_(const_cast ((dxBase + " ").left (6).toLatin1().constData()),6); + save_dxbase_(const_cast ((dxBase + " ").left (6).toLatin1().constData()), (FCL)6); } @@ -5880,7 +6229,7 @@ void MainWindow::on_dxGridEntry_textChanged (QString const& grid) int nAz,nEl,nDmiles,nDkm,nHotAz,nHotABetter; azdist_(const_cast ((m_config.my_grid () + " ").left (6).toLatin1().constData()), const_cast ((m_hisGrid + " ").left (6).toLatin1().constData()),&utch, - &nAz,&nEl,&nDmiles,&nDkm,&nHotAz,&nHotABetter,6,6); + &nAz,&nEl,&nDmiles,&nDkm,&nHotAz,&nHotABetter,(FCL)6,(FCL)6); QString t; int nd=nDkm; if(m_config.miles()) nd=nDmiles; @@ -5960,6 +6309,10 @@ void MainWindow::on_logQSOButton_clicked() //Log QSO button m_xSent=m_config.my_grid().left(4); m_xRcvd=m_hisGrid; break; + case SpecOp::ARRL_DIGI: + m_xSent=m_config.my_grid().left(4); + m_xRcvd=m_hisGrid; + break; default: break; } @@ -6010,8 +6363,40 @@ void MainWindow::acceptQSO (QDateTime const& QSO_date_off, QString const& call, ui->sbSerialNumber->setValue(ui->sbSerialNumber->value() + 1); } + if(m_ActiveStationsWidget!=NULL) { + QString band=m_config.bands()->find(dial_freq); + activeWorked(call,band); + int points=m_activeCall[call].points; + m_score += points; + ARRL_logged al; + al.time=QDateTime::currentDateTimeUtc(); + al.band=band; + al.points=points; + m_arrl_log.append(al); + updateRate(); + } + m_xSent.clear (); m_xRcvd.clear (); + +} + +void MainWindow::updateRate() +{ + int iz=m_arrl_log.size(); + int rate=0; + int nbc=0; + double hrDiff; + + for(int i=iz-1; i>=0; i--) { + hrDiff = m_arrl_log[i].time.msecsTo(QDateTime::currentDateTimeUtc())/3600000.0; + if(hrDiff > 1.0) break; + rate += m_arrl_log[i].points; + if(isetRate(rate); + m_ActiveStationsWidget->setScore(m_score); + m_ActiveStationsWidget->setBandChanges(nbc); } qint64 MainWindow::nWidgets(QString t) @@ -6067,8 +6452,7 @@ void MainWindow::displayWidgets(qint64 n) if(i==24) ui->actionEnable_AP_FT8->setVisible (b); if(i==25) ui->actionEnable_AP_JT65->setVisible (b); if(i==26) ui->actionEnable_AP_DXcall->setVisible (b); - if(i==27) ui->cbFirst->setVisible(b); - // if(i==28) ui->labNextCall->setVisible(b); + if(i==27) ui->respondComboBox->setVisible(b); if(i==29) ui->measure_check_box->setVisible(b); if(i==30) ui->labDXped->setVisible(b); if(i==31) ui->cbRxAll->setVisible(b); @@ -6101,7 +6485,11 @@ void MainWindow::displayWidgets(qint64 n) void MainWindow::on_actionFST4_triggered() { - m_mode="FST4"; + QTimer::singleShot (50, [=] { + ui->TxFreqSpinBox->setValue(m_settings->value("TxFreq_old",1500).toInt()); + ui->RxFreqSpinBox->setValue(m_settings->value("RxFreq_old",1500).toInt()); + on_sbSubmode_valueChanged(ui->sbSubmode->value()); + }); m_mode="FST4"; ui->actionFST4->setChecked(true); m_bFast9=false; @@ -6135,7 +6523,8 @@ void MainWindow::on_actionFST4_triggered() switch_mode (Modes::FST4); m_wideGraph->setMode(m_mode); ui->sbTR->values ({15, 30, 60, 120, 300, 900, 1800}); - on_sbTR_valueChanged (ui->sbTR->value()); + ui->sbTR->setValue (m_settings->value ("TRPeriod_FST4", 60).toInt()); // remember sbTR settings by mode + QTimer::singleShot (50, [=] {on_sbTR_valueChanged (ui->sbTR->value());}); statusChanged(); m_bOK_to_chk=true; chk_FST4_freq_range(); @@ -6173,6 +6562,11 @@ void MainWindow::on_actionFST4W_triggered() void MainWindow::on_actionFT4_triggered() { + QTimer::singleShot (50, [=] { + ui->TxFreqSpinBox->setValue(m_settings->value("TxFreq_old",1500).toInt()); + ui->RxFreqSpinBox->setValue(m_settings->value("RxFreq_old",1500).toInt()); + on_sbSubmode_valueChanged(ui->sbSubmode->value()); + }); m_mode="FT4"; m_TRperiod=7.5; bool bVHF=m_config.enable_VHF_features(); @@ -6216,12 +6610,16 @@ void MainWindow::on_actionFT4_triggered() void MainWindow::on_actionFT8_triggered() { + QTimer::singleShot (50, [=] { + ui->TxFreqSpinBox->setValue(m_settings->value("TxFreq_old",1500).toInt()); + ui->RxFreqSpinBox->setValue(m_settings->value("RxFreq_old",1500).toInt()); + on_sbSubmode_valueChanged(ui->sbSubmode->value()); + }); m_mode="FT8"; bool bVHF=m_config.enable_VHF_features(); m_bFast9=false; m_bFastMode=false; WSPR_config(false); - switch_mode (Modes::FT8); m_nsps=6912; m_FFTSize = m_nsps / 2; Q_EMIT FFTSize (m_FFTSize); @@ -6272,6 +6670,8 @@ void MainWindow::on_actionFT8_triggered() on_fox_log_action_triggered(); } if(SpecOp::HOUND == m_config.special_op_id()) { + ui->houndButton->setChecked(true); + ui->houndButton->setStyleSheet("background-color: #ff0000;"); ui->txFirstCheckBox->setChecked(false); ui->txFirstCheckBox->setEnabled(false); ui->cbAutoSeq->setEnabled(false); @@ -6289,15 +6689,23 @@ void MainWindow::on_actionFT8_triggered() ui->txb4->setEnabled(false); ui->txb5->setEnabled(false); ui->txb6->setEnabled(false); + } else { + switch_mode (Modes::FT8); + } + + if(m_config.special_op_id() != SpecOp::HOUND) { + ui->houndButton->setChecked(false); + ui->houndButton->setStyleSheet(""); } if (SpecOp::NONE < m_config.special_op_id () && SpecOp::FOX > m_config.special_op_id ()) { QString t0=""; - if(SpecOp::NA_VHF==m_config.special_op_id()) t0+="NA VHF"; - if(SpecOp::EU_VHF==m_config.special_op_id()) t0+="EU VHF"; - if(SpecOp::FIELD_DAY==m_config.special_op_id()) t0+="Field Day"; - if(SpecOp::RTTY==m_config.special_op_id()) t0+="RTTY"; - if(SpecOp::WW_DIGI==m_config.special_op_id()) t0+="WW_DIGI"; + if(SpecOp::NA_VHF==m_config.special_op_id()) t0="NA VHF"; + if(SpecOp::EU_VHF==m_config.special_op_id()) t0="EU VHF"; + if(SpecOp::FIELD_DAY==m_config.special_op_id()) t0="Field Day"; + if(SpecOp::RTTY==m_config.special_op_id()) t0="RTTY"; + if(SpecOp::WW_DIGI==m_config.special_op_id()) t0="WW_DIGI"; + if(SpecOp::ARRL_DIGI==m_config.special_op_id()) t0="ARRL_DIGI"; if(t0=="") { ui->labDXped->setVisible(false); } else { @@ -6320,6 +6728,10 @@ void MainWindow::on_actionFT8_triggered() void MainWindow::on_actionJT4_triggered() { + QTimer::singleShot (50, [=] { + ui->TxFreqSpinBox->setValue(m_settings->value("TxFreq_old",1500).toInt()); + ui->RxFreqSpinBox->setValue(m_settings->value("RxFreq_old",1500).toInt()); + }); m_mode="JT4"; bool bVHF=m_config.enable_VHF_features(); WSPR_config(false); @@ -6346,7 +6758,10 @@ void MainWindow::on_actionJT4_triggered() ui->lh_decodes_headings_label->setText("UTC dB DT Freq " + tr ("Message")); ui->rh_decodes_headings_label->setText("UTC dB DT Freq " + tr ("Message")); if(bVHF) { - ui->sbSubmode->setValue(m_nSubMode); +// ui->sbSubmode->setValue(m_nSubMode); + QTimer::singleShot (50, [=] {m_nSubMode=m_settings->value("SubMode_JT4",0).toInt();}); + QTimer::singleShot (75, [=] {ui->sbSubmode->setValue(m_settings->value("SubMode_JT4",0).toInt());}); + QTimer::singleShot (100, [=] {on_sbSubmode_valueChanged(m_nSubMode);}); } else { ui->sbSubmode->setValue(0); } @@ -6362,6 +6777,7 @@ void MainWindow::on_actionJT4_triggered() void MainWindow::on_actionJT9_triggered() { + QTimer::singleShot (50, [=] {on_sbSubmode_valueChanged(ui->sbSubmode->value());}); m_mode="JT9"; bool bVHF=m_config.enable_VHF_features(); m_bFast9=ui->cbFast9->isChecked(); @@ -6421,6 +6837,10 @@ void MainWindow::on_actionJT9_triggered() void MainWindow::on_actionJT65_triggered() { + QTimer::singleShot (50, [=] { + ui->TxFreqSpinBox->setValue(m_settings->value("TxFreq_old",1500).toInt()); + ui->RxFreqSpinBox->setValue(m_settings->value("RxFreq_old",1500).toInt()); + }); on_actionJT9_triggered(); m_mode="JT65"; bool bVHF=m_config.enable_VHF_features(); @@ -6447,8 +6867,11 @@ void MainWindow::on_actionJT65_triggered() m_bFast9=false; ui->sbSubmode->setMaximum(2); if(bVHF) { - ui->sbSubmode->setValue(m_nSubMode); - ui->lh_decodes_title_label->setText(tr ("Single-Period Decodes")); +// ui->sbSubmode->setValue(m_nSubMode); + QTimer::singleShot (50, [=] {m_nSubMode=m_settings->value("SubMode_JT65",0).toInt();}); + QTimer::singleShot (75, [=] {ui->sbSubmode->setValue(m_settings->value("SubMode_JT65",0).toInt());}); + QTimer::singleShot (100, [=] {on_sbSubmode_valueChanged(m_nSubMode);}); + ui->lh_decodes_title_label->setText(tr ("Single-Period Decodes")); ui->rh_decodes_title_label->setText(tr ("Average Decodes")); } else { ui->sbSubmode->setValue(0); @@ -6471,6 +6894,10 @@ void MainWindow::on_actionJT65_triggered() void MainWindow::on_actionQ65_triggered() { + QTimer::singleShot (50, [=] { + ui->TxFreqSpinBox->setValue(m_settings->value("TxFreq_old",1500).toInt()); + ui->RxFreqSpinBox->setValue(m_settings->value("RxFreq_old",1500).toInt()); + }); m_mode="Q65"; ui->actionQ65->setChecked(true); switch_mode(Modes::Q65); @@ -6483,8 +6910,12 @@ void MainWindow::on_actionQ65_triggered() Q_EMIT FFTSize(m_FFTSize); m_hsymStop=49; ui->sbTR->values ({15, 30, 60, 120, 300}); - on_sbTR_valueChanged (ui->sbTR->value()); - ui->sbSubmode->setValue(m_nSubMode); + ui->sbTR->setValue (m_settings->value ("TRPeriod_Q65", 30).toInt()); // remember sbTR settings by mode + QTimer::singleShot (50, [=] {on_sbTR_valueChanged (ui->sbTR->value());}); +// ui->sbSubmode->setValue(m_nSubMode); + QTimer::singleShot (50, [=] {m_nSubMode=m_settings->value("SubMode_Q65",0).toInt();}); + QTimer::singleShot (75, [=] {ui->sbSubmode->setValue(m_settings->value("SubMode_Q65",0).toInt());}); + QTimer::singleShot (100, [=] {on_sbSubmode_valueChanged(m_nSubMode);}); QString fname {QDir::toNativeSeparators(m_config.temp_dir().absoluteFilePath ("red.dat"))}; m_wideGraph->setRedFile(fname); m_wideGraph->setMode(m_mode); @@ -6507,8 +6938,9 @@ void MainWindow::on_actionQ65_triggered() if(SpecOp::NA_VHF==m_config.special_op_id()) t0="NA VHF"; if(SpecOp::EU_VHF==m_config.special_op_id()) t0="EU VHF"; if(SpecOp::FIELD_DAY==m_config.special_op_id()) t0="Field Day"; - if(SpecOp::RTTY==m_config.special_op_id()) t0+="RTTY"; - if(SpecOp::WW_DIGI==m_config.special_op_id()) t0+="WW_DIGI"; + if(SpecOp::RTTY==m_config.special_op_id()) t0="RTTY"; + if(SpecOp::WW_DIGI==m_config.special_op_id()) t0="WW_DIGI"; + if(SpecOp::ARRL_DIGI==m_config.special_op_id()) t0="ARRL_DIGI"; if(t0=="") { ui->labDXped->setVisible(false); } else { @@ -6553,7 +6985,11 @@ void MainWindow::on_actionMSK144_triggered() m_bFastMode=true; m_bFast9=false; ui->sbTR->values ({5, 10, 15, 30}); - on_sbTR_valueChanged (ui->sbTR->value()); + ui->sbTR->setValue (m_settings->value ("TRPeriod_MSK144", 15).toInt()); // remember sbTR settings by mode + QTimer::singleShot (50, [=] { + on_sbTR_valueChanged (ui->sbTR->value()); + on_sbSubmode_valueChanged(ui->sbSubmode->value()); + }); m_wideGraph->hide(); m_fastGraph->showNormal(); ui->TxFreqSpinBox->setValue(1500); @@ -6580,8 +7016,8 @@ void MainWindow::on_actionMSK144_triggered() statusChanged(); QString t0=""; - if(SpecOp::NA_VHF==m_config.special_op_id()) t0+="NA VHF"; - if(SpecOp::EU_VHF==m_config.special_op_id()) t0+="EU VHF"; + if(SpecOp::NA_VHF==m_config.special_op_id()) t0="NA VHF"; + if(SpecOp::EU_VHF==m_config.special_op_id()) t0="EU VHF"; if(t0=="") { ui->labDXped->setVisible(false); } else { @@ -6645,9 +7081,9 @@ void MainWindow::on_actionEcho_triggered() m_bFastMode=false; m_bFast9=false; WSPR_config(true); - ui->lh_decodes_headings_label->setText(" UTC N Level Sig DF Width Q"); + ui->lh_decodes_headings_label->setText(" UTC N Level SNR dBerr DF Width Q"); // 01234567890123456789012345678901234567 - displayWidgets(nWidgets("00000000000000000000001000000000000000")); + displayWidgets(nWidgets("00000000000000000010001000000000000000")); fast_config(false); statusChanged(); } @@ -6715,7 +7151,7 @@ void MainWindow::WSPR_config(bool b) ui->rh_decodes_widget->setVisible(!b); ui->controls_stack_widget->setCurrentIndex (b && m_mode != "Echo" ? 1 : 0); ui->QSO_controls_widget->setVisible (!b); - ui->DX_controls_widget->setVisible (!b); + ui->DX_controls_widget->setVisible (!b or (m_mode=="Echo")); ui->WSPR_controls_widget->setVisible (b); ui->lh_decodes_title_label->setVisible(!b and ui->cbMenus->isChecked()); ui->logQSOButton->setVisible(!b); @@ -6773,7 +7209,9 @@ void MainWindow::on_TxFreqSpinBox_valueChanged(int n) ui->TxFreqSpinBox->setStyleSheet(""); } } - + if (m_mode != "MSK144" && m_mode != "FST4W" && m_mode != "WSPR" && m_mode != "Echo" && m_mode != "FreqCal") { + QTimer::singleShot (200, [=] {m_settings->setValue("TxFreq_old",ui->TxFreqSpinBox->value());}); + } statusUpdate (); } @@ -6783,6 +7221,9 @@ void MainWindow::on_RxFreqSpinBox_valueChanged(int n) if (m_mode == "FreqCal") { setRig (); } + if (m_mode != "MSK144" && m_mode != "FST4W" && m_mode != "WSPR" && m_mode != "Echo" && m_mode != "FreqCal") { + QTimer::singleShot (200, [=] {m_settings->setValue("RxFreq_old",ui->RxFreqSpinBox->value());}); + } statusUpdate (); } @@ -6877,6 +7318,9 @@ void MainWindow::on_reset_cabrillo_log_action_triggered () { if(m_config.RTTY_Exchange()!="SCC") ui->sbSerialNumber->setValue(1); m_logBook.contest_log ()->reset (); + m_activeCall.clear(); //Erase the QMap of active calls + m_score=0; + m_ActiveStationsWidget->setScore(0); } } @@ -7034,6 +7478,7 @@ void MainWindow::on_rptSpinBox_valueChanged(int n) void MainWindow::on_tuneButton_clicked (bool checked) { + if (!m_config.Tune_watchdog_disabled ()) tuneATU_Timer.start (90000); // tune watchdog (90s) static bool lastChecked = false; if (lastChecked == checked) return; lastChecked = checked; @@ -7093,7 +7538,7 @@ void MainWindow::on_stopTxButton_clicked() //Stop Tx m_btxok=false; m_bCallingCQ = false; m_bAutoReply = false; // ready for next - ui->cbFirst->setStyleSheet (""); + m_maxPoints=-1; } void MainWindow::rigOpen () @@ -7240,6 +7685,12 @@ void MainWindow::handle_transceiver_update (Transceiver::TransceiverState const& if (m_lastDialFreq != m_freqNominal && (m_mode != "MSK144" || !(ui->cbCQTx->isEnabled () && ui->cbCQTx->isVisible () && ui->cbCQTx->isChecked()))) { + + if(m_lastDialFreq != m_freqNominal and m_ActiveStationsWidget != NULL) { + m_recentCall.clear(); + m_ActiveStationsWidget->erase(); + } + m_lastDialFreq = m_freqNominal; m_secBandChanged=QDateTime::currentMSecsSinceEpoch()/1000; pskSetLocal (); @@ -7331,6 +7782,12 @@ void MainWindow::transmit (double snr) true, false, snr, m_TRperiod); } + if((m_mode=="FT4" or m_mode=="FT8") and m_maxPoints>0 and SpecOp::ARRL_DIGI==m_config.special_op_id()) { + ui->dxCallEntry->setText(m_deCall); + ui->dxGridEntry->setText(m_deGrid); + genStdMsgs("-10"); + } + if (m_mode == "FT8") { // toneSpacing=12000.0/1920.0; toneSpacing=-3; @@ -7655,7 +8112,16 @@ void MainWindow::on_sbTR_valueChanged(int value) m_wideGraph->setPeriod (value, m_nsps); progressBar.setMaximum (value); } - if(m_mode=="FST4") chk_FST4_freq_range(); + if (m_mode=="Q65") { + QTimer::singleShot (200, [=] {m_settings->setValue ("TRPeriod_Q65", ui->sbTR->value ());}); + } + if (m_mode=="MSK144") { + QTimer::singleShot (200, [=] {m_settings->setValue ("TRPeriod_MSK144", ui->sbTR->value ());}); + } + if (m_mode=="FST4") { + chk_FST4_freq_range(); + QTimer::singleShot (200, [=] {m_settings->setValue ("TRPeriod_FST4", ui->sbTR->value ());}); + } // if(m_transmitting) on_stopTxButton_clicked(); //### Is this needed or desirable? ### on_sbSubmode_valueChanged(ui->sbSubmode->value()); statusUpdate (); @@ -7711,6 +8177,10 @@ void MainWindow::on_sbSubmode_valueChanged(int n) if(m_bFast9) ui->TxFreqSpinBox->setValue(700); } if(m_transmitting and m_bFast9 and m_nSubMode>=4) transmit (99.0); + if (m_mode !="Q65") ui->TxFreqSpinBox->setStyleSheet(""); + if (m_mode=="Q65") {QTimer::singleShot (200, [=] {m_settings->setValue("SubMode_Q65",ui->sbSubmode->value());});} + if (m_mode=="JT65") {QTimer::singleShot (200, [=] {m_settings->setValue("SubMode_JT65",ui->sbSubmode->value());});} + if (m_mode=="JT4") {QTimer::singleShot (200, [=] {m_settings->setValue("SubMode_JT4",ui->sbSubmode->value());});} statusUpdate (); } @@ -7814,7 +8284,7 @@ void MainWindow::replyToCQ (QTime time, qint32 snr, float delta_time, quint32 de showNormal (); raise (); } - if (text.contains (QRegularExpression {R"(^(CQ |CQDX |QRZ ))"})) { + if ((text.contains (QRegularExpression {R"(^(CQ |CQDX |QRZ ))"})) || (ui->cbHoldTxFreq->isChecked ())) { // a message we are willing to accept and auto reply to m_bDoubleClicked = true; } @@ -7956,8 +8426,7 @@ void MainWindow::p1ReadFromStdout() //p1readFromStdout } m_nWSPRdecodes=0; ui->DecodeButton->setChecked (false); - if (m_uploadWSPRSpots - && m_config.is_transceiver_online ()) { // need working rig control + if(m_uploadWSPRSpots && m_config.is_transceiver_online()) { // need working rig control #if QT_VERSION >= QT_VERSION_CHECK (5, 15, 0) uploadTimer.start(QRandomGenerator::global ()->bounded (0, 20000)); // Upload delay #else @@ -7972,7 +8441,6 @@ void MainWindow::p1ReadFromStdout() //p1readFromStdout m_decoderBusy = false; statusUpdate (); } else { - int n=t.length(); t=t.mid(0,n-2) + " "; t.remove(QRegExp("\\s+$")); @@ -8010,7 +8478,7 @@ void MainWindow::p1ReadFromStdout() //p1readFromStdout int nAz,nEl,nDmiles,nDkm,nHotAz,nHotABetter; azdist_(const_cast ((m_config.my_grid () + " ").left (6).toLatin1 ().constData ()), const_cast ((grid + " ").left (6).toLatin1 ().constData ()),&utch, - &nAz,&nEl,&nDmiles,&nDkm,&nHotAz,&nHotABetter,6,6); + &nAz,&nEl,&nDmiles,&nDkm,&nHotAz,&nHotABetter,(FCL)6,(FCL)6); QString t1; if(m_config.miles()) { t1 = t1.asprintf("%7d",nDmiles); @@ -8530,21 +8998,9 @@ void MainWindow::on_cbCQonly_toggled(bool) decodeBusy(true); } -void MainWindow::on_cbFirst_toggled(bool b) -{ - if (b) { - if (m_auto && CALLING == m_QSOProgress) { - ui->cbFirst->setStyleSheet ("QCheckBox{color:red}"); - } - } else { - ui->cbFirst->setStyleSheet (""); - } -} - void MainWindow::on_cbAutoSeq_toggled(bool b) { - if(!b) ui->cbFirst->setChecked(false); - ui->cbFirst->setVisible((m_mode=="FT8" or m_mode=="FT4" or m_mode=="FST4" + ui->respondComboBox->setVisible((m_mode=="FT8" or m_mode=="FT4" or m_mode=="FST4" or m_mode=="Q65") and b); } @@ -9221,6 +9677,7 @@ void MainWindow::foxTest() void MainWindow::write_all(QString txRx, QString message) { + if (!(ui->actionDisable_writing_of_ALL_TXT->isChecked())) { QString line; QString t; QString msg; @@ -9249,7 +9706,7 @@ void MainWindow::write_all(QString txRx, QString message) auto time = QDateTime::currentDateTimeUtc (); if( txRx=="Rx" && !m_bFastMode ) time=m_dateTimeSeqStart; - t = t.asprintf("%10.3f ",m_freqNominal/1.e6); + t = t.asprintf("%10.3f ",m_freqNominalPeriod/1.e6); // prevent writing of wrong frequencies if (m_diskData) { if (m_fileDateTime.size()==11) { line=m_fileDateTime + " " + t + txRx + " " + mode_string + msg; @@ -9261,6 +9718,8 @@ void MainWindow::write_all(QString txRx, QString message) } QString file_name="ALL.TXT"; + if (ui->actionSplit_ALL_TXT_yearly->isChecked()) file_name=(time.toString("yyyy") + "-" + "ALL.TXT"); + if (ui->actionSplit_ALL_TXT_monthly->isChecked()) file_name=(time.toString("yyyy-MM") + "-" + "ALL.TXT"); if (m_mode=="WSPR") file_name="ALL_WSPR.TXT"; QFile f{m_config.writeable_data_dir().absoluteFilePath(file_name)}; if (f.open(QIODevice::WriteOnly | QIODevice::Text | QIODevice::Append)) { @@ -9279,24 +9738,26 @@ void MainWindow::write_all(QString txRx, QString message) QTimer::singleShot (0, [=] { // don't block guiUpdate MessageBox::warning_message(this, tr ("Log File Error"), message2); }); } + } } void MainWindow::chkFT4() { if(m_mode!="FT4") return; ui->cbAutoSeq->setEnabled(true); - ui->cbFirst->setVisible(true); - ui->cbFirst->setEnabled(true); + ui->respondComboBox->setVisible(true); + ui->respondComboBox->setEnabled(true); ui->labDXped->setVisible(m_config.special_op_id()!=SpecOp::NONE); - ui->cbFirst->setVisible(ui->cbAutoSeq->isChecked()); + ui->respondComboBox->setVisible(ui->cbAutoSeq->isChecked()); if (SpecOp::NONE < m_config.special_op_id () && SpecOp::FOX > m_config.special_op_id ()) { QString t0=""; - if(SpecOp::NA_VHF==m_config.special_op_id()) t0+="NA VHF"; - if(SpecOp::EU_VHF==m_config.special_op_id()) t0+="EU VHF"; - if(SpecOp::FIELD_DAY==m_config.special_op_id()) t0+="Field Day"; - if(SpecOp::RTTY==m_config.special_op_id()) t0+="RTTY"; - if(SpecOp::WW_DIGI==m_config.special_op_id()) t0+="WW_DIGI"; + if(SpecOp::NA_VHF==m_config.special_op_id()) t0="NA VHF"; + if(SpecOp::EU_VHF==m_config.special_op_id()) t0="EU VHF"; + if(SpecOp::FIELD_DAY==m_config.special_op_id()) t0="Field Day"; + if(SpecOp::RTTY==m_config.special_op_id()) t0="RTTY"; + if(SpecOp::WW_DIGI==m_config.special_op_id()) t0="WW_DIGI"; + if(SpecOp::ARRL_DIGI==m_config.special_op_id()) t0="ARRL_DIGI"; if(t0=="") { ui->labDXped->setVisible(false); } else { @@ -9443,3 +9904,55 @@ QString MainWindow::WSPR_message() } return msg2; } + +void MainWindow::on_houndButton_clicked (bool checked) +{ + if (checked) { + ui->houndButton->setStyleSheet("background-color: #ff0000;"); + m_config.setSpecial_Hound(); + } else { + ui->houndButton->setStyleSheet(""); + m_config.setSpecial_None(); + } + on_actionFT8_triggered(); +} + +void MainWindow::on_ft8Button_clicked() +{ + ui->houndButton->setChecked(false); + ui->houndButton->setStyleSheet(""); + if(m_config.special_op_id()==SpecOp::HOUND) m_config.setSpecial_None(); + on_actionFT8_triggered(); +} + +void MainWindow::on_ft4Button_clicked() +{ + ui->houndButton->setChecked(false); + ui->houndButton->setStyleSheet(""); + if(m_config.special_op_id()==SpecOp::HOUND) m_config.setSpecial_None(); + on_actionFT4_triggered(); +} + +void MainWindow::on_msk144Button_clicked() +{ + ui->houndButton->setChecked(false); + ui->houndButton->setStyleSheet(""); + if(m_config.special_op_id()==SpecOp::HOUND) m_config.setSpecial_None(); + on_actionMSK144_triggered(); +} + +void MainWindow::on_q65Button_clicked() +{ + ui->houndButton->setChecked(false); + ui->houndButton->setStyleSheet(""); + if(m_config.special_op_id()==SpecOp::HOUND) m_config.setSpecial_None(); + on_actionQ65_triggered(); +} + +void MainWindow::on_jt65Button_clicked() +{ + ui->houndButton->setChecked(false); + ui->houndButton->setStyleSheet(""); + if(m_config.special_op_id()==SpecOp::HOUND) m_config.setSpecial_None(); + on_actionJT65_triggered(); +} diff --git a/widgets/mainwindow.h b/widgets/mainwindow.h index 139c30c3..01c142e8 100755 --- a/widgets/mainwindow.h +++ b/widgets/mainwindow.h @@ -78,6 +78,7 @@ class WideGraph; class LogQSO; class Transceiver; class MessageAveraging; +class ActiveStations; class FoxLogWindow; class CabrilloLogWindow; class ColorHighlighting; @@ -141,6 +142,12 @@ private: private slots: void initialize_fonts (); + void on_houndButton_clicked(bool checked); + void on_ft8Button_clicked(); + void on_ft4Button_clicked(); + void on_msk144Button_clicked(); + void on_q65Button_clicked(); + void on_jt65Button_clicked(); void on_tx1_editingFinished(); void on_tx2_editingFinished(); void on_tx3_editingFinished(); @@ -261,6 +268,7 @@ private slots: void stopTuneATU(); void auto_tx_mode(bool); void on_actionMessage_averaging_triggered(); + void on_actionActiveStations_triggered(); void on_contest_log_action_triggered (); void on_fox_log_action_triggered (); void on_actionColors_triggered(); @@ -275,7 +283,6 @@ private slots: void on_cbTx6_toggled(bool b); void on_cbMenus_toggled(bool b); void on_cbCQonly_toggled(bool b); - void on_cbFirst_toggled(bool b); void on_cbAutoSeq_toggled(bool b); void networkError (QString const&); void on_ClrAvgButton_clicked(); @@ -327,6 +334,7 @@ private slots: void remote_configure (QString const& mode, quint32 frequency_tolerance, QString const& submode , bool fast_mode, quint32 tr_period, quint32 rx_df, QString const& dx_call , QString const& dx_grid, bool generate_messages); + void callSandP2(int nline); private: Q_SIGNAL void initializeAudioOutputStream (QAudioDeviceInfo, @@ -392,6 +400,7 @@ private: QScopedPointer m_prefixes; QScopedPointer m_mouseCmnds; QScopedPointer m_msgAvgWidget; + QScopedPointer m_ActiveStationsWidget; QScopedPointer m_foxLogWindow; QScopedPointer m_contestLogWindow; QScopedPointer m_colorHighlighting; @@ -416,6 +425,7 @@ private: qint64 m_fullFoxCallTime; Frequency m_freqNominal; + Frequency m_freqNominalPeriod; Frequency m_freqTxNominal; Astro::Correction m_astroCorrection; bool m_reverse_Doppler; @@ -451,6 +461,9 @@ private: qint32 m_secID; qint32 m_idleMinutes; qint32 m_nSubMode; + qint32 m_nSubMode_Q65; + qint32 m_nSubMode_JT65; + qint32 m_nSubMode_JT4; qint32 m_nclearave; qint32 m_minSync; qint32 m_dBm; @@ -483,6 +496,10 @@ private: qint32 m_earlyDecode=41; qint32 m_earlyDecode2=47; qint32 m_nDecodes=0; + qint32 m_maxPoints=-1; + qint32 m_latestDecodeTime=-1; + qint32 m_points=-99; + qint32 m_score=0; bool m_btxok; //True if OK to transmit bool m_diskData; @@ -629,11 +646,15 @@ private: QString m_xSent; //Contest exchange sent QString m_xRcvd; //Contest exchange received QString m_currentBand; + QString m_currentBandPeriod; QString m_nextCall; QString m_nextGrid; QString m_fileDateTime; QString m_inQSOwith; QString m_BestCQpriority; + QString m_deCall; + QString m_deGrid; + QString m_ready2call[50]; QSet m_pfx; QSet m_sfx; @@ -661,6 +682,34 @@ private: }; QMap m_fixupQSO; //Key = HoundCall, value = info for QSO in progress + struct ActiveCall + { + QString grid4; + QString bands; + qint32 az; + qint32 points; + }; + QMap m_activeCall; //Key = callsign, value = grid4, az, points for ARRL_DIGI + + struct RecentCall + { + qint64 dialFreq; + qint32 audioFreq; + qint32 snr; + qint32 decodeTime; + bool txEven; + bool ready2call; + }; + QMap m_recentCall; //Key = callsign, value = snr, dialFreq, audioFreq, decodeTime + + struct ARRL_logged + { + QDateTime time; + QString band; + qint32 points; + }; + QList m_arrl_log; + QQueue m_houndQueue; //Selected Hounds available for starting a QSO QQueue m_foxQSOinProgress; //QSOs in progress: Fox has sent a report QQueue m_foxRateQueue; @@ -741,6 +790,7 @@ private: void CQTxFreq(); void useNextCall(); void abortQSO(); + void updateRate(); void write_all(QString txRx, QString message); bool isWorked(int itype, QString key, float fMHz=0, QString=""); @@ -781,6 +831,9 @@ private: void to_jt9(qint32 n, qint32 istart, qint32 idone); bool is77BitMode () const; void cease_auto_Tx_after_QSO (); + Q_SLOT void ARRL_Digi_Display(); + void ARRL_Digi_Update(DecodedText dt); + void activeWorked(QString call, QString band); }; extern int killbyname(const char* progName); diff --git a/widgets/mainwindow.ui b/widgets/mainwindow.ui index bb9b22b7..f377631f 100755 --- a/widgets/mainwindow.ui +++ b/widgets/mainwindow.ui @@ -2,6 +2,14 @@ MainWindow + + + 0 + 0 + 893 + 665 + + WSJT-X by K1JT @@ -552,437 +560,57 @@
- - - - - false - - - <html><head/><body><p>If orange or red there has been a rig control failure, click to reset and read the dial frequency. S implies split mode.</p></body></html> - - - If orange or red there has been a rig control failure, click to reset and read the dial frequency. S implies split mode. - - - QPushButton { - font-family: helvetica; - font-size: 9pt; - font-weight: bold; - background-color: white; - color: black; - border-style: solid; - border-width:1px; - border-radius:10px; - border-color: gray; - max-width:20px; - max-height:20px; - min-width:20px; - min-height:20px; -} -QPushButton[state="error"] { - background-color: red; -} -QPushButton[state="warning"] { - background-color: orange; -} -QPushButton[state="ok"] { - background-color: #00ff00; -} - - - ? - - - - + + Pwr - - - - Adjust Tx audio level + + + + + 0 + 0 + - - 450 + + QLabel { + font-family: MS Shell Dlg 2; + font-size: 16pt; + background-color : black; + color : yellow; +} - - 0 + + QFrame::StyledPanel - - Qt::Vertical + + QFrame::Sunken - - true + + 2 - - true + + 0 - - QSlider::TicksBelow + + <html><head/><body><p align="center"> 2015 Jun 17 </p><p align="center"> 01:23:45 </p></body></html> - - 50 + + Qt::AlignCenter + + + 5 - - + + - - 0 - 0 - - - - - 0 - - - 0 - - - 0 - - - 0 - - - - - - - - - - 252 - 252 - 252 - - - - - - - 159 - 175 - 213 - - - - - - - - - 252 - 252 - 252 - - - - - - - 159 - 175 - 213 - - - - - - - - - 159 - 175 - 213 - - - - - - - 159 - 175 - 213 - - - - - - - - true - - - DX Call - - - Qt::AlignCenter - - - 5 - - - 2 - - - dxCallEntry - - - - - - - - - - - - 252 - 252 - 252 - - - - - - - 159 - 175 - 213 - - - - - - - - - 252 - 252 - 252 - - - - - - - 159 - 175 - 213 - - - - - - - - - 159 - 175 - 213 - - - - - - - 159 - 175 - 213 - - - - - - - - true - - - DX Grid - - - Qt::AlignCenter - - - 5 - - - 2 - - - dxGridEntry - - - - - - - - 0 - 0 - - - - Callsign of station to be worked - - - 11 - - - Qt::AlignCenter - - - - - - - - 0 - 0 - - - - Locator of station to be worked - - - ` - - - 6 - - - Qt::AlignCenter - - - - - - - - - Search for callsign in database - - - &Lookup - - - - - - - Add callsign and locator to database - - - Add - - - - - - - true - - - Az: 251 16553 km - - - Qt::AlignCenter - - - 4 - - - - - - - - - - - - - 0 - 0 - - - - QLabel { - font-family: MS Shell Dlg 2; - font-size: 16pt; - background-color : black; - color : yellow; -} - - - QFrame::StyledPanel - - - QFrame::Sunken - - - 2 - - - 0 - - - <html><head/><body><p align="center"> 2015 Jun 17 </p><p align="center"> 01:23:45 </p></body></html> - - - Qt::AlignCenter - - - 5 - - - - - - - - 0 - 0 - - - - USB dial frequency - - - QLabel { - font-family: MS Shell Dlg 2; - font-size: 16pt; - color : yellow; - background-color : black; -} -QLabel[oob="true"] { - background-color: red; -} - - - 14.078 000 - - - Qt::AlignCenter - - - 5 - - - - - - - + 0 0 @@ -1204,15 +832,18 @@ When not checked you can view the calibration results. - + - <html><head/><body><p>Check to call the first decoded responder to my CQ.</p></body></html> + <html><head/><body><p>Select <span style=" font-weight:600;">CQ: First</span> to respond automatically to the first decoded reply to your CQ. </p><p>Select <span style=" font-weight:600;">CQ: Max Pts</span> to respond automatically to the reply yielding most points in the ARRL International Digital Contest.</p><p>Select <span style=" font-weight:600;">CQ: None</span> to choose callers manually.</p></body></html> - - Check to call the first decoded responder to my CQ. + + - - Call 1st + + -1 + + + 3 @@ -2684,162 +2315,693 @@ Double-click to reset to the standard 73 message min-width: 5em; padding: 3px; } - - - Tx Next - - - true - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - - - - Set Tx power in dBm (dB above 1 mW) as part of your WSPR message. - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - - - - + + + Tx Next + + + true + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + + Set Tx power in dBm (dB above 1 mW) as part of your WSPR message. + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + + + + + + + + + + 100 + 16777215 + + + + <html><head/><body><p>Select operating band or enter frequency in MHz or enter kHz increment followed by k.</p></body></html> + + + Frequency entry + + + Select operating band or enter frequency in MHz or enter kHz increment followed by k. + + + true + + + QComboBox::NoInsert + + + QComboBox::AdjustToMinimumContentsLengthWithIcon + + + + + + + + + + 100 + 16777215 + + + + Qt::AlignCenter + + + % + + + NB + + + -2 + + + 25 + + + + + + + + 0 + 0 + + + + + 100 + 16777215 + + + + <html><head/><body><p>30dB recommended when only noise present<br/>Green when good<br/>Red when clipping may occur<br/>Yellow when too low</p></body></html> + + + Rx Signal + + + 30dB recommended when only noise present +Green when good +Red when clipping may occur +Yellow when too low + + + QFrame::Panel + + + QFrame::Sunken + + + + + + + + + + 0 + 0 + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + + + + + 252 + 252 + 252 + + + + + + + 159 + 175 + 213 + + + + + + + + + 252 + 252 + 252 + + + + + + + 159 + 175 + 213 + + + + + + + + + 159 + 175 + 213 + + + + + + + 159 + 175 + 213 + + + + + + + + true + + + DX Call + + + Qt::AlignCenter + + + 5 + + + 2 + + + dxCallEntry + + + + + + + + + + + + 252 + 252 + 252 + + + + + + + 159 + 175 + 213 + + + + + + + + + 252 + 252 + 252 + + + + + + + 159 + 175 + 213 + + + + + + + + + 159 + 175 + 213 + + + + + + + 159 + 175 + 213 + + + + + + + + true + + + DX Grid + + + Qt::AlignCenter + + + 5 + + + 2 + + + dxGridEntry + + + + + + + + 0 + 0 + + + + Callsign of station to be worked + + + 11 + + + Qt::AlignCenter + + + + + + + + 0 + 0 + + + + Locator of station to be worked + + + ` + + + 6 + + + Qt::AlignCenter + + + + + + + + + Search for callsign in database + + + &Lookup + + + + + + + Add callsign and locator to database + + + Add + + + + + + + true + + + Az: 251 16553 km + + + Qt::AlignCenter + + + 4 + + + + + + + + + + + + Adjust Tx audio level + + + 450 + + + 0 + + + Qt::Vertical + + + true + + + true + + + QSlider::TicksBelow + + + 50 + + + + + + + false + + + <html><head/><body><p>If orange or red there has been a rig control failure, click to reset and read the dial frequency. S implies split mode.</p></body></html> + + + If orange or red there has been a rig control failure, click to reset and read the dial frequency. S implies split mode. + + + QPushButton { + font-family: helvetica; + font-size: 9pt; + font-weight: bold; + background-color: white; + color: black; + border-style: solid; + border-width:1px; + border-radius:10px; + border-color: gray; + max-width:20px; + max-height:20px; + min-width:20px; + min-height:20px; +} +QPushButton[state="error"] { + background-color: red; +} +QPushButton[state="warning"] { + background-color: orange; +} +QPushButton[state="ok"] { + background-color: #00ff00; +} + + + ? + + + + + + + + 0 + 0 + + + + USB dial frequency + + + QLabel { + font-family: MS Shell Dlg 2; + font-size: 16pt; + color : yellow; + background-color : black; +} +QLabel[oob="true"] { + background-color: red; +} + + + 14.078 000 + + + Qt::AlignCenter + + + 5 + - - + + - - - Qt::AlignCenter + + + + 32 + 0 + - - % + + + 16777215 + 16777215 + - - NB + + Toggle FT8 hound mode On/Off - - -2 + + H - - 25 + + true - - - - 0 - 0 - + + + + 32 + 0 + - 100 + 16777215 16777215 - <html><head/><body><p>30dB recommended when only noise present<br/>Green when good<br/>Red when clipping may occur<br/>Yellow when too low</p></body></html> + Switch to FT8 mode - - Rx Signal + + FT8 - - 30dB recommended when only noise present -Green when good -Red when clipping may occur -Yellow when too low + + + + + + + 32 + 0 + - - QFrame::Panel + + + 16777215 + 16777215 + - - QFrame::Sunken + + Switch to FT4 mode + + + FT4 + + + + + + + + 32 + 0 + + + + + 16777215 + 16777215 + + + + Switch to MSK144 mode + + + MSK + + + + + + + + 32 + 0 + + + + + 16777215 + 16777215 + + + + Switch to Q65 mode + + + Q65 + + + + + + + + 32 + 0 + + + + + 16777215 + 16777215 + + + + Switch to JT65 mode + + + JT65 - - - - <html><head/><body><p>Select operating band or enter frequency in MHz or enter kHz increment followed by k.</p></body></html> - - - Frequency entry - - - Select operating band or enter frequency in MHz or enter kHz increment followed by k. - - - true - - - QComboBox::NoInsert - - - QComboBox::AdjustToMinimumContentsLengthWithIcon - - - @@ -2852,7 +3014,7 @@ Yellow when too low 0 0 - 842 + 893 21 @@ -2889,6 +3051,7 @@ Yellow when too low + @@ -2913,6 +3076,11 @@ Yellow when too low + + + + + @@ -3461,6 +3629,46 @@ Yellow when too low Quick-Start Guide to WSJT-X 2.5.0 and MAP65 3.0 + + + true + + + true + + + Don't split ALL.TXT + + + + + true + + + Split ALL.TXT yearly + + + + + true + + + Split ALL.TXT monthly + + + + + true + + + Disable writing of ALL.TXT + + + + + Active Stations + + @@ -3521,7 +3729,6 @@ Yellow when too low tuneButton cbMenus bandComboBox - readFreq sbNB dxCallEntry dxGridEntry @@ -3544,7 +3751,6 @@ Yellow when too low cbShMsgs cbFast9 cbAutoSeq - cbFirst cbTx6 cbSWL pbBestSP diff --git a/widgets/signalmeter.cpp b/widgets/signalmeter.cpp index 60e49b56..b9724d16 100755 --- a/widgets/signalmeter.cpp +++ b/widgets/signalmeter.cpp @@ -77,7 +77,7 @@ SignalMeter::SignalMeter (QWidget * parent) outer_layout->setSpacing (0); auto inner_layout = new QHBoxLayout; - inner_layout->setContentsMargins (9, 0, 9, 0); + inner_layout->setContentsMargins (1, 0, 1, 0); inner_layout->setSpacing (0); m_meter = new MeterWidget; diff --git a/widgets/widgets.pri b/widgets/widgets.pri index 6a623d82..e8bdf540 100755 --- a/widgets/widgets.pri +++ b/widgets/widgets.pri @@ -4,6 +4,7 @@ SOURCES += \ widgets/meterwidget.cpp widgets/signalmeter.cpp \ widgets/plotter.cpp widgets/widegraph.cpp widgets/about.cpp \ widgets/mainwindow.cpp widgets/messageaveraging.cpp \ + widgets/activeStations.cpp \ widgets/echoplot.cpp widgets/echograph.cpp widgets/fastgraph.cpp \ widgets/fastplot.cpp widgets/MessageBox.cpp \ widgets/colorhighlighting.cpp widgets/ExportCabrillo.cpp \ @@ -19,6 +20,7 @@ HEADERS += \ widgets/displaytext.h widgets/logqso.h widgets/LettersSpinBox.hpp \ widgets/FrequencyLineEdit.hpp widgets/FrequencyDeltaLineEdit.hpp widgets/signalmeter.h \ widgets/meterwidget.h widgets/messageaveraging.h \ + widgets/activeStations.h \ widgets/echoplot.h widgets/echograph.h widgets/fastgraph.h \ widgets/fastplot.h widgets/MessageBox.hpp widgets/colorhighlighting.h \ widgets/ExportCabrillo.h widgets/AbstractLogWindow.hpp \ @@ -31,6 +33,7 @@ FORMS += \ widgets/mainwindow.ui widgets/about.ui \ widgets/widegraph.ui widgets/astro.ui \ widgets/logqso.ui widgets/messageaveraging.ui \ + widgets/activeStations.ui \ widgets/echograph.ui widgets/fastgraph.ui \ widgets/colorhighlighting.ui widgets/ExportCabrillo.ui \ widgets/FoxLogWindow.ui widgets/CabrilloLogWindow.ui -- cgit v1.2.3