Tone Importing Error

OpenGD77CPS
Post Reply
KB0PCH
Posts: 33
Joined: Wed Apr 12, 2023 6:25 am

Tone Importing Error

Post by KB0PCH » Fri Sep 08, 2023 10:40 pm

I combined two codeplug files by appending one to the other. I noticed some repeaters stopped working and discovered a bunch of the CTSS tones were wrong. Not just the wrong tone was selected, but the tone itself was wrong.

Not all the tones were wrong, but the following all were each time they appeared in the codeplug (both RX and TX):

107.2 became 107.1
151.4 became 151.3
156.7 became 156.5
162.2 became 162.1
167.9 became 167.8

It didn't matter if one of those tones was listed in RX or TX, it dropped .1 regardless. They all changed, none of those tones properly appeared anywhere in the file. The other tones programmed in seemed ok, like 88.5 and 100.0.

I opened up the exported text files and data in the file is ok. It's only once it's appended or imported (I tried both) do the CTSS values change.

I was using the R2023.08.18.01 version of the CPS, so I upgraded to R2023.09.07.01 but the result was the same.

For some addtional testing, I created a brand new file with one channel per CTSS tone, setting both the TX and RX the same. I then exported it, checked the CSV file for accuracy, and then imported the file into a new CPS file. I found the same discrepancies as in my original file.

Code: Select all

Original File	Exported
67.0		67.0
69.3		69.3
71.9		71.9
74.4		74.4
77.0		77.0
79.7		79.6 *
82.5		82.5
85.4		85.4
88.5		88.5
91.5		91.5
94.8		94.8
97.4		97.4
100.0		100.0
103.5		103.5
107.2		107.1 *
110.9		110.9
114.8		114.8
118.8		118.8
123.0		123.0
127.3		127.3
131.8		131.8
136.5		136.5
141.3		141.3
146.2		146.1 *
151.4		151.3 *
156.7		156.6 *
159.8		159.8
162.2		162.1 *
165.5		165.5
167.9		167.8 *
171.3		171.3
173.8		173.8
177.3		177.3
179.9		179.8 *
183.5		183.5
186.2		186.1 *
189.9		189.8 *
192.8		192.8
196.6		196.6
199.5		199.5
203.5		203.5
206.5		206.5
210.7		210.6 *
218.1		218.1
225.7		225.6 *
229.1		229.1
233.6		233.6
241.8		241.8
250.3		250.3
254.1		254.1
I've attached the test files I created, with test being the original and test2 being the imported version.
Attachments
test2.g77
(128 KiB) Downloaded 56 times
test.g77
(128 KiB) Downloaded 55 times

VK3KYY
Posts: 7590
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: Tone Importing Error

Post by VK3KYY » Fri Sep 08, 2023 11:16 pm

We'll need to verify this, but it looks like a rounding error by using floating point numbers during the imort

iz5wga
Posts: 29
Joined: Fri Sep 18, 2020 8:19 am

Re: Tone Importing Error

Post by iz5wga » Sat Sep 09, 2023 8:40 pm

Hello,
I can see the same things in my codeplug: the problem I have is with at least tone 79.7 that becomes 79.6 and sometimes 79.5 (here in Tuscany, Italy it's the main tone)...

'73

Matteo

VK3KYY
Posts: 7590
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: Tone Importing Error

Post by VK3KYY » Sat Sep 09, 2023 8:49 pm

Colin G4ELM has found the problem and we will release a fix for this today

KB0PCH
Posts: 33
Joined: Wed Apr 12, 2023 6:25 am

Re: Tone Importing Error

Post by KB0PCH » Thu Oct 26, 2023 7:08 am

So life has been in the way lately, but I finally have a minute to check in on this bug report and I'm not surprised at all to find you fixed it right away. This project is amazing!

Post Reply