Closed ny4i closed 10 months ago
Great job Tom !
https://tr4w.net/4.125/tr4w_setup_4_125.1.exe
On Tue, Aug 22, 2023 at 10:48 AM Tom Schaefer @.***> wrote:
This is a significant upgrade to TR4W to add hamlib support. Hamlib is the ham radio control library that WSJT-X and several other programs use. This allows us to automatically support radios that hamlib already supports such as the Expert Interface TCI requested in issue #446 https://github.com/n4af/TR4W/issues/446 . This also adds support for the Yaesu 757GXII and the Ten Tec Omni. The Flex should also work over the network.
There is also support to add a radio that is not specifically in the list but the hamlib ID is known as hamlib adds it. This allows hamlib to stay ahead of TR4W. At the moment, setting the hamlibID would have to be set in the INI file if TR4W's radio setup windows does not mention the radio.
Note this only works at the time for a single radio. I have yet to add the code to run two instances of rigctld but that will be easy once I get some feedback.
MY main concern is to make sure I have not broken anything. In all the LogRadio RadioObject functions, I just added code at the top to call HamLib if set. If not hamlib, then the regular rig control is set to run. This is similar to how I did the K4 network code.
CW by CAT should work for any radios that support it as does PlayMessage. Split should work as well. I tested tuning from the bandmap among other things so this should be ready to go but I do expect bug reports as people test it. Mainly the issue may be if a feature is used that the radio does not support through HamLib (direct VFOB control is one example that some rigs do not support--looking at you Yaesu).
Once built, I can send an announcement to the mailing list explaining how to use some of the features along with the link to the code.
You can view, comment on, or merge this pull request online at:
https://github.com/n4af/TR4W/pull/684 Commit Summary
- 1cf5908 https://github.com/n4af/TR4W/pull/684/commits/1cf59083f6a6155ae18806c7398970db8886f8f2 Update to fix Orion frequency and mode
- dd8565e https://github.com/n4af/TR4W/pull/684/commits/dd8565ebbcb6821667ce8ac30d0b42c782fa3ab3 Interim checkin to commit
- 773f64b https://github.com/n4af/TR4W/pull/684/commits/773f64b6bb08be595d3c7909983d95e03c089180 More changes
- 80584f6 https://github.com/n4af/TR4W/pull/684/commits/80584f61ee644ed091c405a572472e919f2658fc Added 5 hamlib related CFG parameters
- 124fbdd https://github.com/n4af/TR4W/pull/684/commits/124fbdde032b878a34975e6ceaaf34d5990c2d6a Changes for other radios
- daf8f1c https://github.com/n4af/TR4W/pull/684/commits/daf8f1cb4e6992fb05d0a9ac2c1bf19662fc9135 Changes to close rigctld at shutdown
- fd70903 https://github.com/n4af/TR4W/pull/684/commits/fd709033d22aa75f97899964cf6c524bda0f162c Add more hamlib commands
- dc082dd https://github.com/n4af/TR4W/pull/684/commits/dc082dd766f6de486f52cee7e7451d90a268cb84 Add full commands and process get_vfo_info
- b6bf7d4 https://github.com/n4af/TR4W/pull/684/commits/b6bf7d435da5314c1f62afa6d85955af7becabf1 Added a batchcompile file and some changes to frequency
- 280c7f9 https://github.com/n4af/TR4W/pull/684/commits/280c7f9751592fdb5dc512af721477b2ce90aeca Change rigctld window to start minimized
- 567f4ee https://github.com/n4af/TR4W/pull/684/commits/567f4eed7b82f12c74bbd5916c71a1cf776f3890 Fixed radio enumeration so all radios show
File Changes
(16 files https://github.com/n4af/TR4W/pull/684/files)
- M .gitignore https://github.com/n4af/TR4W/pull/684/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947 (1)
- A tr4w/BatchCompile.cmd https://github.com/n4af/TR4W/pull/684/files#diff-723a6062bc6a199246d127c6c33f7e58591b4ed31c972eedda2212df2e39780f (12)
- M tr4w/res/tr4w_eng.RES https://github.com/n4af/TR4W/pull/684/files#diff-9458137d93b423b4f2f37a5ad00d065edc4aa5961b4d827e1fb85494359e4e5d (0)
- M tr4w/src/MainUnit.pas https://github.com/n4af/TR4W/pull/684/files#diff-bd26a1d30d5b553b7e276e282ff1d3bea7de485696dd2177a7a0ce59310ecf17 (95)
- M tr4w/src/VC.pas https://github.com/n4af/TR4W/pull/684/files#diff-096130b1a19f941e43f0256126996e6cc6860bf635143520357e6046364a8e64 (19)
- M tr4w/src/trdos/CFGDEF.PAS https://github.com/n4af/TR4W/pull/684/files#diff-5d1606838c8e0c724dcd5b8a5c5295ca7c770df0414c8e7630b9f2bc16b12248 (3)
- M tr4w/src/trdos/LOGRADIO.PAS https://github.com/n4af/TR4W/pull/684/files#diff-47072cd2f3fcd8d900ab0195533a4b9329b5b6321111703648cf2637bdac89e0 (380)
- M tr4w/src/trdos/tree.pas https://github.com/n4af/TR4W/pull/684/files#diff-72d3e2ea1ab59fcbc51cd50758af28e45eb0d4be2864955e8ff7362bd3d7fb54 (193)
- M tr4w/src/uCAT.pas https://github.com/n4af/TR4W/pull/684/files#diff-e77d737c8524eff71665f449fbbdd290683e661306206f3f0b12d2bd0491a917 (25)
- M tr4w/src/uCFG.pas https://github.com/n4af/TR4W/pull/684/files#diff-c1f69077456eb6e26c2dd26a22e33c3d02bae61c46ef57857acc0ed889cd9c59 (11)
- M tr4w/src/uCTYDAT.PAS https://github.com/n4af/TR4W/pull/684/files#diff-6036ed4724b4da1484b873c6bbe2bf67ecf7db980f20e558f62f87fb04f6f69d (12)
- M tr4w/src/uNetRadioBase.pas https://github.com/n4af/TR4W/pull/684/files#diff-f94beb7d4ffdd7c40e0080e314e1e1d9fe18c86dc2f490ec39515a4a087c4392 (73)
- M tr4w/src/uRadioElecraftK4.pas https://github.com/n4af/TR4W/pull/684/files#diff-cdb667828fe556de827d6a05e2c1480bf9523fdcdc22b09856ac4f0dfd777a80 (34)
- A tr4w/src/uRadioHamLib.pas https://github.com/n4af/TR4W/pull/684/files#diff-45b26e412bfdc3109b84142ce34656b65eecde35403ff89b2e05799cb1b14b63 (1185)
- M tr4w/src/uRadioPolling.pas https://github.com/n4af/TR4W/pull/684/files#diff-cd1dc231167ac53678e5a14f529e36911daf3ca799d098f9cf0052794f0e02b8 (70)
- M tr4w/tr4w.dpr https://github.com/n4af/TR4W/pull/684/files#diff-338377f1e9bf175fd29fc4730b95770e5a6caa00eb731b6524fc746091d306b9 (5)
Patch Links:
— Reply to this email directly, view it on GitHub https://github.com/n4af/TR4W/pull/684, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVLCUD5IPGLNF4P66LIE43XWTBCTANCNFSM6AAAAAA32BQZJQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Howie - I assume you are waiting for testing before you merge this into MASTER? Good plan if so...
Hi Tom -
No, the master should include all the changes ??
On Tue, Aug 22, 2023 at 5:21 PM Tom Schaefer @.***> wrote:
Howie - I assume you are waiting for testing before you merge this into MASTER? Good plan if so...
— Reply to this email directly, view it on GitHub https://github.com/n4af/TR4W/pull/684#issuecomment-1688949170, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVLCUHBP2FOYQZ6G2FVTOLXWUPGVANCNFSM6AAAAAA32BQZJQ . You are receiving this because you commented.Message ID: @.***>
Ok. Well the pull request was still active so it did not appear merged. TomPrincipal Solutions ArchitectBetter Software Solutions, Inc. 727-437-2771On Aug 23, 2023, at 6:30 AM, Howie Hoyt @.***> wrote: Hi Tom -
No, the master should include all the changes ??
On Tue, Aug 22, 2023 at 5:21 PM Tom Schaefer @.***>
wrote:
Howie - I assume you are waiting for testing before you merge this into
MASTER? Good plan if so...
—
Reply to this email directly, view it on GitHub
https://github.com/n4af/TR4W/pull/684#issuecomment-1688949170, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABVLCUHBP2FOYQZ6G2FVTOLXWUPGVANCNFSM6AAAAAA32BQZJQ
.
You are receiving this because you commented.Message ID:
@.***>
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
This is a significant upgrade to TR4W to add hamlib support. Hamlib is the ham radio control library that WSJT-X and several other programs use. This allows us to automatically support radios that hamlib already supports such as the Expert Interface TCI requested in issue #446 . This also adds support for the Yaesu 757GXII and the Ten Tec Omni. The Flex should also work over the network.
There is also support to add a radio that is not specifically in the list but the hamlib ID is known as hamlib adds it. This allows hamlib to stay ahead of TR4W. At the moment, setting the hamlibID would have to be set in the INI file if TR4W's radio setup windows does not mention the radio.
Note this only works at the time for a single radio. I have yet to add the code to run two instances of rigctld but that will be easy once I get some feedback.
MY main concern is to make sure I have not broken anything. In all the LogRadio RadioObject functions, I just added code at the top to call HamLib if set. If not hamlib, then the regular rig control is set to run. This is similar to how I did the K4 network code.
CW by CAT should work for any radios that support it as does PlayMessage. Split should work as well. I tested tuning from the bandmap among other things so this should be ready to go but I do expect bug reports as people test it. Mainly the issue may be if a feature is used that the radio does not support through HamLib (direct VFOB control is one example that some rigs do not support--looking at you Yaesu).
Once built, I can send an announcement to the mailing list explaining how to use some of the features along with the link to the code.
This closes #676.