Import/Export Mangling Data?

OpenGD77CPS
KD0RK
Posts: 14
Joined: Mon Nov 13, 2023 5:46 pm

Import/Export Mangling Data?

Post by KD0RK » Sat Nov 18, 2023 12:34 am

I'm using CPS R2023.10.11.01 (also happened with the latest release) and as a simple experiment, I exported my data as CSV and then re-imported it. The channels got messed up (FM channels) in that the tone and sometimes the frequency is not correct. I saw some threads about import/export, but nothing specifically about this.

Are there currently known issues with trying to do this? This is just an experiment as the channel data I'm trying to import is requiring me to hand edit each entry to make sure everything is correct.

Thanks.

G4EML
Posts: 994
Joined: Sat Nov 16, 2019 10:01 am

Re: Import/Export Mangling Data?

Post by G4EML » Sat Nov 18, 2023 12:25 pm

I have just checked here and it all appears to be working OK. I exported my codeplug and then imported it back with no changes.

It is worth checking that you are not using the delimiter characters (comma or semi colon) anywhere in any of your channel names etc. These characters cannot be used anywhere or they will confuse the CSV parsing.

if you are still having problems post your codeplug here with an exact description of the problem.

Colin G4EML

KD0RK
Posts: 14
Joined: Mon Nov 13, 2023 5:46 pm

Re: Import/Export Mangling Data?

Post by KD0RK » Sat Nov 18, 2023 3:22 pm

G4EML wrote:
Sat Nov 18, 2023 12:25 pm
It is worth checking that you are not using the delimiter characters (comma or semi colon) anywhere in any of your channel names etc. These characters cannot be used anywhere or they will confuse the CSV parsing.
Oh, that's a good thing to check. I could accidentally have a character somewhere that is messing up the parsing. I'll double check and will start fresh to see if I can reproduce it as well (I'm just getting started with my code plug).

Thanks!

KD0RK
Posts: 14
Joined: Mon Nov 13, 2023 5:46 pm

Re: Import/Export Mangling Data?

Post by KD0RK » Mon Nov 20, 2023 4:11 pm

I updated to 2023.11.11.01, created a new codeplug, changed the default Channel1 to analog and added a tx tone of 107.2. I exported as CSV to a folder and then immediately imported from that folder. The tx tone for the channel was set to None. I wonder if there is an issue with CSV import for analog channels.

SA0BUX
Posts: 701
Joined: Tue Jul 05, 2022 8:50 am
Location: JO99ah, Stockholm, Sweden
Contact:

Re: Import/Export Mangling Data?

Post by SA0BUX » Mon Nov 20, 2023 5:55 pm

KD0RK wrote:
Mon Nov 20, 2023 4:11 pm
I updated to 2023.11.11.01, created a new codeplug, changed the default Channel1 to analog and added a tx tone of 107.2. I exported as CSV to a folder and then immediately imported from that folder. The tx tone for the channel was set to None. I wonder if there is an issue with CSV import for analog channels.
I did some tests both with regional setting English (United States) and English (Sweden) on my Windows 10, and I could reproduce it with 107.2
on both regional settings (Sweden uses decimal comma) but it seems to work with other subtones like 77.0 and 123.0
The CSV file has correct values.

KD0RK
Posts: 14
Joined: Mon Nov 13, 2023 5:46 pm

Re: Import/Export Mangling Data?

Post by KD0RK » Mon Nov 20, 2023 6:08 pm

SA0BUX wrote:
Mon Nov 20, 2023 5:55 pm
I did some tests both with regional setting English (United States) and English (Sweden) on my Windows 10, and I could reproduce it with 107.2
on both regional settings (Sweden uses decimal comma) but it seems to work with other subtones like 77.0 and 123.0
The CSV file has correct values.
Thanks for going the extra mile and narrowing down my issue! I didn't give the extra info like you did (Windows 11, English US). I wonder what it is about this tone that it doesn't like; many repeaters in my area use that tone and I just stopped my testing assuming it was all tones as I was just looking at the first entry in my list.

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

Re: Import/Export Mangling Data?

Post by VK3KYY » Mon Nov 20, 2023 9:26 pm

KD0RK wrote:
Mon Nov 20, 2023 6:08 pm
SA0BUX wrote:
Mon Nov 20, 2023 5:55 pm
I did some tests both with regional setting English (United States) and English (Sweden) on my Windows 10, and I could reproduce it with 107.2
on both regional settings (Sweden uses decimal comma) but it seems to work with other subtones like 77.0 and 123.0
The CSV file has correct values.
Thanks for going the extra mile and narrowing down my issue! I didn't give the extra info like you did (Windows 11, English US). I wonder what it is about this tone that it doesn't like; many repeaters in my area use that tone and I just stopped my testing assuming it was all tones as I was just looking at the first entry in my list.
I will investigate this

G4EML
Posts: 994
Joined: Sat Nov 16, 2019 10:01 am

Re: Import/Export Mangling Data?

Post by G4EML » Mon Nov 20, 2023 9:46 pm

Hi Roger,

This is the rounding issue which was fixed in a previous release. My PR104 has been overwritten by your update on Sep 11.
If you re-implement PR104 it will fix it.

Colin.

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

Re: Import/Export Mangling Data?

Post by VK3KYY » Mon Nov 20, 2023 9:48 pm

G4EML wrote:
Mon Nov 20, 2023 9:46 pm
Hi Roger,

This is the rounding issue which was fixed in a previous release. My PR104 has been overwritten by your update on Sep 11.
If you re-implement PR104 it will fix it.

Colin.
OK.

I've just done my own fix, but I'll take a look at PR104

KD0RK
Posts: 14
Joined: Mon Nov 13, 2023 5:46 pm

Re: Import/Export Mangling Data?

Post by KD0RK » Tue Nov 21, 2023 1:47 am

Thank you and G4EML for taking a look so quickly! I patiently look forward to the fix and truly appreciate what you've done with this project! I almost immediately replaced the firmware on my RT3S with OpenGD77 and find it easy to navigate and designed by people that actually use the radios.

Thanks again for all your effort on this project.

Post Reply