Bug #10011

Polarity issue

Added by David Legnosky about 1 month ago. Updated 27 days ago.

Status:Closed Start date:08/28/2022
Priority:Normal Due date:
Assignee:Jim Unroe % Done:

100%

Category:-
Target version:chirp-daily
Chirp Version:daily Platform:All
Model affected:Retevis RT76 and others

Description

When programming my Retevis RT76 in Cross Mode it will not save the Polarity as RN nor NR. I have a local repeater that uses one Normal DTCS code to Receive and another R DTCS code to transmit, but your program automatically reverts the Polarity to NN upon saving the program. Upon reopening the program file that channel's polarity is NN, not the programed and saved RN. Even when I program the radio with Retevis software and then Download the program into Chirp your software recerts the polarity to NN?

This does not happen when using the Retevis Programming Software, but I prefer to use your Chirp Software for all my radios.

Thank You, Davelegs WRMW978

retevis_rt21_dtcs_fix_1.py (44.5 kB) Jim Unroe, 08/29/2022 07:18 pm

Associated revisions

Revision 3738:32752bc46dab
Added by Jim Unroe 27 days ago

[RT76] Not all listed Cross Modes are supported

This patch corrects/adds polarity support for the following Cross Modes:

Tone->DTCS
DTCS->Tone

Retevis RB17A, RB26, RT21 and RT76

Fixes #10011

History

Updated by Jim Unroe about 1 month ago

  • Status changed from New to Feedback

Hi David,

Would you attach an example CHIRP Radio Images (*.img) file and mention which channel is programmed with the "split" polarity?

Thanks,
Jim KC9HI

Updated by Jim Unroe about 1 month ago

Jim Unroe wrote:

Hi David,

Would you attach an example CHIRP Radio Images (*.img) file and mention which channel is programmed with the "split" polarity?

Thanks,
Jim KC9HI

I have duplicated the issue here so I don't need an example.

Updated by David Legnosky about 1 month ago

Location Name Frequency Duplex Offset Tone rToneFreq cToneFreq DtcsCode DtcsPolarity Mode TStep Skip
0 146.01 0.6 88.5 88.5 23 NN FM 5
1 462.5625 0 DTCS 88.5 88.5 26 RR FM 5
2 462.5875 0 DTCS 88.5 88.5 36 RR FM 5
3 462.6125 0 DTCS 88.5 88.5 51 RR FM 5
4 462.6375 0 DTCS 88.5 88.5 65 RR FM 5
5 462.6625 0 DTCS 88.5 88.5 73 RR FM 5
6 462.6875 0 DTCS 88.5 88.5 565 RR FM 5
7 462.7125 0 DTCS 88.5 88.5 125 RR FM 5
8 467.5625 0 DTCS 88.5 88.5 134 RR NFM 5
9 467.5875 0 DTCS 88.5 88.5 152 RR NFM 5
10 467.6125 0 DTCS 88.5 88.5 162 RR NFM 5
11 467.6375 0 DTCS 88.5 88.5 174 RR NFM 5
12 467.6625 0 DTCS 88.5 88.5 223 RR NFM 5
13 467.6875 0 DTCS 88.5 88.5 243 RR NFM 5
14 467.7125 0 DTCS 88.5 88.5 246 RR NFM 5
15 462.55 0 DTCS 88.5 88.5 255 RR FM 5
16 462.575 0 DTCS 88.5 88.5 565 RR FM 5
17 462.6 0 DTCS 88.5 88.5 265 RR FM 5
18 462.625 0 DTCS 88.5 88.5 315 RR FM 5
19 462.65 0 DTCS 88.5 88.5 332 RR FM 5
20 462.675 0 TSQL 141.3 141.3 23 NN FM 5
21 462.7 0 DTCS 88.5 88.5 351 RR FM 5
22 462.725 0 DTCS 88.5 88.5 365 RR FM 5
23 462.55 + 5 TSQL 241.8 241.8 23 NN FM 5
24 462.575 + 5 DTCS 88.5 88.5 65 NN FM 5
25 462.6 + 5 TSQL 167.9 167.9 23 NN FM 5
26 462.625 + 5 TSQL 141.3 141.3 23 NN FM 5
27 462.65 + 5 TSQL 162.2 162.2 23 NN FM 5
28 462.675 + 5 TSQL 82.5 82.5 23 NN FM 5
29 462.7 + 5 Cross 88.5 88.5 532 NN FM 5
30 462.725 + 5 TSQL 100 100 23 NN FM 5

Chirp RT76 READ after Uploading above Program
Location Name Frequency Duplex Offset Tone rToneFreq cToneFreq DtcsCode DtcsPolarity Mode TStep Skip Comment
0 146.01 0.6 88.5 88.5 23 NN FM 5
1 462.5625 0 DTCS 88.5 88.5 26 RR FM 5
2 462.5875 0 DTCS 88.5 88.5 36 RR FM 5
3 462.6125 0 DTCS 88.5 88.5 51 RR FM 5
4 462.6375 0 DTCS 88.5 88.5 65 RR FM 5
5 462.6625 0 DTCS 88.5 88.5 73 RR FM 5
6 462.6875 0 DTCS 88.5 88.5 565 RR FM 5
7 462.7125 0 DTCS 88.5 88.5 125 RR FM 5
8 467.5625 0 DTCS 88.5 88.5 134 RR NFM 5
9 467.5875 0 DTCS 88.5 88.5 152 RR NFM 5
10 467.6125 0 DTCS 88.5 88.5 162 RR NFM 5
11 467.6375 0 DTCS 88.5 88.5 174 RR NFM 5
12 467.6625 0 DTCS 88.5 88.5 223 RR NFM 5
13 467.6875 0 DTCS 88.5 88.5 243 RR NFM 5
14 467.7125 0 DTCS 88.5 88.5 246 RR NFM 5
15 462.55 0 DTCS 88.5 88.5 255 RR FM 5
16 462.575 0 DTCS 88.5 88.5 565 RR FM 5
17 462.6 0 DTCS 88.5 88.5 265 RR FM 5
18 462.625 0 DTCS 88.5 88.5 315 RR FM 5
19 462.65 0 DTCS 88.5 88.5 332 RR FM 5
20 462.675 0 TSQL 141.3 141.3 23 NN FM 5
21 462.7 0 DTCS 88.5 88.5 351 RR FM 5
22 462.725 0 DTCS 88.5 88.5 365 RR FM 5
23 462.55 + 5 TSQL 241.8 241.8 23 NN FM 5
24 462.575 + 5 DTCS 88.5 88.5 65 NN FM 5
25 462.6 + 5 TSQL 167.9 167.9 23 NN FM 5
26 462.625 + 5 TSQL 141.3 141.3 23 NN FM 5
27 462.65 + 5 TSQL 162.2 162.2 23 NN FM 5
28 462.675 + 5 TSQL 82.5 82.5 23 NN FM 5
29 462.7 + 5 Cross 88.5 88.5 532 NN FM 5
30 462.725 + 5 TSQL 100 100 23 NN FM 5

Updated by David Legnosky about 1 month ago

Disregard the above examples. I copied the same file twice.
Channel 29 is the Split Tone that I programed the Transmit Tone to D532I and the Receive Tone to D465N, but your Retevis software changes the D532I to D532N?

This does not happen in your QYT DB25/QB25 and your Tenway UV-5R Pro software. These two programs work great.

Thanks, Again, Davelegs WRMW978

Updated by Jim Unroe about 1 month ago

  • Status changed from Feedback to In Progress
  • Assignee set to Jim Unroe
  • Target version set to chirp-daily
  • Model affected changed from Retevis RT76 to Retevis RT76 and others
  • Platform changed from Windows to All

David Legnosky wrote:

Disregard the above examples. I copied the same file twice.
Channel 29 is the Split Tone that I programed the Transmit Tone to D532I and the Receive Tone to D465N, but your Retevis software changes the D532I to D532N?

This does not happen in your QYT DB25/QB25 and your Tenway UV-5R Pro software. These two programs work great.

Thanks, Again, Davelegs WRMW978

Yeah. The output of a CSV file doesn't help me. They don't support split DTCS tones. I wanted a CHIRP download from a correctly programmed radio that was then saved as a native CHIRP Radio Images (*.img) file. No matter. Like I mentioned above, I was able to duplicate the issue here. So I am on it.

Jim KC9HI

Updated by Jim Unroe about 1 month ago

Please test this custom driver module to see if it works for your RT76. If you also have other Retevis models that supported by this same driver (RT21, RB17A, RT29_UHF, RT29_VHF, etc), test a few of them to make sure that their support is not broken. Then provide feedback.

Here is how you use the custom driver module.
  1. save the custom driver module to a convenient location (DO NOT RIGHT-CLICK THE LINK. Left-click the link and then on the page that loads, left-click the download link near the top left corner.)
  2. click Help
  3. enable Enable Developer Functions
  4. click File
  5. click Load Module
  6. locate and load custom driver module that was saved in step 1

The CHIRP background will now be red to indicate it is running with a externally loaded driver module. You can now test the custom driver module.

Note: The test driver module does not permanently change your CHIRP installation in any way. Every time you load CHIRP you must load this driver module to have access to its fixes or added features.

Jim KC9HI

Updated by Jim Unroe about 1 month ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

A patch has been submitted. Support will be in the next CHIRP daily build following acceptance.

Jim KC9HI

Updated by Anonymous 27 days ago

  • Status changed from Resolved to Closed

Applied in changeset 32752bc46dab.

Updated by Jim Unroe 27 days ago

The fix for the Polarity Issue will be in tomorrow's CHIRP daily build.

Jim KC9HI

Also available in: Atom PDF