Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

K3S MD6 command slow and failing #726

Closed
mdblack98 opened this issue Jun 16, 2021 · 1 comment
Closed

K3S MD6 command slow and failing #726

mdblack98 opened this issue Jun 16, 2021 · 1 comment
Labels
bug critical A problem for common operations with WSJT-X, GPredict, RigPi, etc. JTDX Bugs affecting JTDX operations needs test Patches have been submitted but need testing to close issue WSJTX Bugs affecting WSTJ-X operations

Comments

@mdblack98
Copy link
Contributor

400ms in some cases just to run the MD6; command.
Reading mode is much faster so we will change to read mode and only change if needed.

Example of slow response
[2021-06-16 02:02:41.888647][00:01:23.807311][RIGCTRL:trace] 0000 4d 44 36 3b MD6;
[2021-06-16 02:02:41.888647][00:01:23.807379][RIGCTRL:trace] write_block(): TX 3 bytes
[2021-06-16 02:02:41.888647][00:01:23.807400][RIGCTRL:trace] 0000 49 44 3b ID;
[2021-06-16 02:02:41.888647][00:01:23.807421][RIGCTRL:trace] read_string called, rxmax=35
[2021-06-16 02:02:42.281610][00:01:24.199751][RIGCTRL:trace] read_string(): RX 6 characters
[2021-06-16 02:02:42.281610][00:01:24.199780][RIGCTRL:trace] 0000 49 44 30 31 37 3b ID017;
[2021-06-16 02:02:42.281610][00:01:24.199794][RIGCTRL:trace] kenwood_transaction: read_string(len=6)='ID017;'

Example of error
[2021-06-16 02:02:22.568141][00:01:04.486862][RIGCTRL:trace] 0000 42 57 3b BW;
[2021-06-16 02:02:22.568141][00:01:04.486881][RIGCTRL:trace] read_string called, rxmax=128
[2021-06-16 02:02:22.613540][00:01:04.532134][RIGCTRL:trace] read_string(): RX 7 characters
[2021-06-16 02:02:22.613540][00:01:04.532175][RIGCTRL:trace] 0000 42 57 30 34 30 30 3b BW0400;
[2021-06-16 02:02:22.613540][00:01:04.532200][RIGCTRL:trace] kenwood_transaction: read_string(len=7)='BW0400;'
[2021-06-16 02:02:22.613540][00:01:04.532220][RIGCTRL:trace] kenwood_transaction: returning RIG_OK, retval=0
[2021-06-16 02:02:22.613540][00:01:04.532241][RIGCTRL:debug] kenwood.c(576):kenwood_transaction return(0)
[2021-06-16 02:02:22.613540][00:01:04.532261][RIGCTRL:debug] kenwood.c(646):kenwood_safe_transaction return(0)
[2021-06-16 02:02:22.613540][00:01:04.532283][RIGCTRL:debug] rmode2kenwood called, mode=RTTY
[2021-06-16 02:02:22.613540][00:01:04.532301][RIGCTRL:debug] rmode2kenwood: returning 6
[2021-06-16 02:02:22.613540][00:01:04.532320][RIGCTRL:debug] kenwood.c(675):rmode2kenwood return(6)
[2021-06-16 02:02:22.613540][00:01:04.532339][RIGCTRL:debug] k3_set_mode: kmode=6, cmode=6
[2021-06-16 02:02:22.613540][00:01:04.532356][RIGCTRL:debug] kenwood_transaction called
[2021-06-16 02:02:22.613540][00:01:04.532372][RIGCTRL:trace] kenwood_transaction: cache invalidated
[2021-06-16 02:02:22.613540][00:01:04.532389][RIGCTRL:trace] kenwood_transaction: cmdstr = MD6
[2021-06-16 02:02:22.613540][00:01:04.532485][RIGCTRL:trace] write_block(): TX 4 bytes
[2021-06-16 02:02:22.613540][00:01:04.532520][RIGCTRL:trace] 0000 4d 44 36 3b MD6;
[2021-06-16 02:02:22.613540][00:01:04.532591][RIGCTRL:trace] write_block(): TX 3 bytes
[2021-06-16 02:02:22.613540][00:01:04.532616][RIGCTRL:trace] 0000 49 44 3b ID;
[2021-06-16 02:02:22.613540][00:01:04.532638][RIGCTRL:trace] read_string called, rxmax=35
[2021-06-16 02:02:22.644736][00:01:04.563110][RIGCTRL:trace] read_string(): RX 2 characters
[2021-06-16 02:02:22.644736][00:01:04.563154][RIGCTRL:trace] 0000 3f 3b ?;
[2021-06-16 02:02:22.644736][00:01:04.563177][RIGCTRL:trace] kenwood_transaction: read_string(len=2)='?;'
[2021-06-16 02:02:22.644736][00:01:04.563199][RIGCTRL:error] kenwood_transaction: Unknown command or rig busy 'MD6'
[2021-06-16 02:02:22.644736][00:01:04.563221][RIGCTRL:error] kenwood_transaction: Retrying shortly
[2021-06-16 02:02:23.659723][00:01:05.577999][RIGCTRL:trace] kenwood_transaction: cmdstr = MD6
[2021-06-16 02:02:23.659723][00:01:05.578090][RIGCTRL:trace] write_block(): TX 4 bytes
[2021-06-16 02:02:23.659723][00:01:05.578107][RIGCTRL:trace] 0000 4d 44 36 3b MD6;
[2021-06-16 02:02:23.659723][00:01:05.578140][RIGCTRL:trace] write_block(): TX 3 bytes
[2021-06-16 02:02:23.659723][00:01:05.578151][RIGCTRL:trace] 0000 49 44 3b ID;

@mdblack98 mdblack98 added bug needs test Patches have been submitted but need testing to close issue critical A problem for common operations with WSJT-X, GPredict, RigPi, etc. WSJTX Bugs affecting WSTJ-X operations JTDX Bugs affecting JTDX operations labels Jun 16, 2021
@mdblack98
Copy link
Contributor Author

Working with the K3 now but not the K3S.

mdblack98 added a commit that referenced this issue Jun 19, 2021
Was causing WSJTX to get a PKTLSB response after sending PKTUSB
These rigs now only set MD when MD needs changing which speeds up the polling cycle
#726
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug critical A problem for common operations with WSJT-X, GPredict, RigPi, etc. JTDX Bugs affecting JTDX operations needs test Patches have been submitted but need testing to close issue WSJTX Bugs affecting WSTJ-X operations
Projects
None yet
Development

No branches or pull requests

1 participant