OpenGD77 v 0.0.0.1 ready for testing

User avatar
kd2lh
Posts: 312
Joined: Mon Dec 02, 2019 2:44 pm

Re: OpenGD77 v 0.0.0.1 ready for testing

Post by kd2lh » Thu Dec 05, 2019 2:25 am

Unfortunately I don't have VisualBasic.

(In my prior working life, I was a founder of the Eclipse development open source project).

User avatar
kd2lh
Posts: 312
Joined: Mon Dec 02, 2019 2:44 pm

Re: OpenGD77 v 0.0.0.1 ready for testing

Post by kd2lh » Thu Dec 05, 2019 2:36 am

The v 0.0.0.3 version loads and runs without error. I also read the codeplug from my radio, altered it and successfully wrote it back to the radio.

Marc

User avatar
W0RMT
Posts: 178
Joined: Sat Nov 16, 2019 12:45 pm
Location: Louisville, CO USA

Re: OpenGD77 v 0.0.0.1 ready for testing

Post by W0RMT » Thu Dec 05, 2019 2:52 am

v 0.0.0.3 installs and runs fine for me, and reads my 16 channel zone codeplug, converts it to 80 channel zones, and writes it back with no problems so far. :)

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

Re: OpenGD77 v 0.0.0.1 ready for testing

Post by VK3KYY » Thu Dec 05, 2019 2:52 am

kd2lh wrote:
Thu Dec 05, 2019 2:36 am
The v 0.0.0.3 version loads and runs without error. I also read the codeplug from my radio, altered it and successfully wrote it back to the radio.

Marc
OK

Its C# in VisualStudio

I'm not sure why that version would work for you and the previous one gave that error when doing the language selection.

I did updated the foreign language XML files and I also fixed a potential buffer overflow, so perhaps one of those 2 changes fixed it.

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

Re: OpenGD77 v 0.0.0.1 ready for testing

Post by VK3KYY » Thu Dec 05, 2019 2:52 am

W0RMT wrote:
Thu Dec 05, 2019 2:52 am
v 0.0.0.3 installs and runs fine for me, and reads my 16 channel zone codeplug, converts it to 80 channel zones, and writes it back with no problems so far. :)
Cool.

User avatar
W0RMT
Posts: 178
Joined: Sat Nov 16, 2019 12:45 pm
Location: Louisville, CO USA

Re: OpenGD77 v 0.0.0.1 ready for testing

Post by W0RMT » Thu Dec 05, 2019 2:55 am

Anything specific in this version you want us to try and break?

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

Re: OpenGD77 v 0.0.0.1 ready for testing

Post by VK3KYY » Thu Dec 05, 2019 3:14 am

W0RMT wrote:
Thu Dec 05, 2019 2:55 am
Anything specific in this version you want us to try and break?
You could try exporting and importing contacts.

I'm not sure if it every worked perfectly, but I added the TS Override to the export.
BTW. I'm pretty sure if you re-ordered the CSV and re-imported it, things would be screwed up, because I don't think the code ever checked which TG was in which Rx Group (TG List), as those list only hold the index number into the contacts rather than the actual TG number

But I've got plenty of other more important things to do, than fix old bugs in the CPS inherited from the official CPS ;-)

User avatar
W1AEX
Posts: 126
Joined: Sat Nov 16, 2019 9:00 pm
Location: Connecticut, USA
Contact:

Re: OpenGD77 v 0.0.0.1 ready for testing

Post by W1AEX » Thu Dec 05, 2019 3:58 am

Roger,

I uploaded a 16CH codeplug into the radio using the old CPS and then read that codeplug with the v.0.0.0.3 80CH CPS and it handled the import of the zones perfectly. No corruption and everything was there. So the latest CPS version imports a 16 channel codeplug directly from the radio and then converts it to the 80 channel format without errors. Thanks for the fix on that.

One issue that I am seeing is that when I add a new channel, it randomly inserts the new channel somewhere into the middle of the channel list rather than adding it to the bottom of the list. It seems to favor inserting the first addition into the Channel 83 position. If I add another channel, it seems to appear randomly in another part of the channel list. Not sure if others are seeing that particular behavior.

I FIGURED OUT WHAT'S GOING ON WITH THE RANDOM PLACEMENT OF THE CHANNELS. MY CHANNEL LIST HAS SOME GAPS IN THE MIDDLE AND IT'S JUST FILLING IN THE GAPS WITH BLANK CHANNELS SO THAT THE NUMERICAL SEQUENCE IS CORRECT. ONCE THE NUMERICAL GAPS ARE FILLED (ABOUT 5 LINES WHERE I MUST HAVE DELETED CHANNELS AT SOME POINT) IT ADDS THE NEW CHANNELS TO THE BOTTOM OF LIST APPROPRIATELY.

73, Rob W1AEX
Last edited by W1AEX on Thu Dec 05, 2019 4:09 am, edited 1 time in total.

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

Re: OpenGD77 v 0.0.0.1 ready for testing

Post by VK3KYY » Thu Dec 05, 2019 4:08 am

W1AEX wrote:
Thu Dec 05, 2019 3:58 am
If I add another channel, it seems to appear randomly in another part of the channel list. Not sure if others are seeing that particular behavior.

73, Rob W1AEX
This is a legacy "feature" / bug from the official CPS.

The way they originally wrote the CPS is a bit poor. They have arrays of everything, rather than lists, and use absolute index references between the Channel and the Zones data.

When you delete a channel, it doesn't really delete it, but it just marks that slot as being empty, and when you add a new channel it finds the first empty slot and uses that.

The Zones used to do the same thing, but I spent a long time modifying the CPS to compact the zones so there are no gaps and also wrote functions to move the positions of the zones.

Unfortunately its a bigger job to do that for the Channels because of the way they are used in Zones. :-(

User avatar
W0RMT
Posts: 178
Joined: Sat Nov 16, 2019 12:45 pm
Location: Louisville, CO USA

Re: OpenGD77 v 0.0.0.1 ready for testing

Post by W0RMT » Thu Dec 05, 2019 4:09 am

W1AEX wrote:
Thu Dec 05, 2019 3:58 am


I FIGURED OUT WHAT'S GOING ON WITH THE RANDOM PLACEMENT OF THE CHANNELS. MY CHANNEL LIST HAS SOME GAPS IN THE MIDDLE AND IT'S JUST FILLING IN THE GAPS WITH BLANK CHANNELS SO THAT THE NUMERICAL SEQUENCE IS CORRECT. ONCE THE GAPS ARE FILLED (ABOUT 5 LINES WHERE I MUST HAVE DELETED CHANNELS AT SOME POINT) IT ADDS THE NEW CHANNELS TO THE BOTTOM OF LIST APPROPRIATELY.

73, Rob W1AEX
Yes, the other versions of the CPS do this too. It took me a while to figure that out! I usually leave gaps in my channels so that I can add others adjacent if they are related. Then I would add new channels and it would just insert them into those gaps. But now I just put new channels in wherever they fall and then organize them in the order I want within zones.

Post Reply