No longer sees COM ports

Report any bugs or errors you find here.
Post Reply
aj6uu
0posts
Posts: 3
Joined: Thu Apr 14, 2022 8:42 pm

No longer sees COM ports

Post by aj6uu »

I just updated to 0.2.1123.3 (Radioddity DB25-D). When I try to read from the radio, I get
System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
at System.String.Substring(Int32 startIndex, Int32 length)
at CPEditor.COMPortForm.Form2_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
and if I say continue there are no ports listed in the Select COM Port dropdown.
The machine is running fully updated Windows 10.
The radio is in fact on COM4.
I still had 0.2.913.1 around so I tried that, and it works correctly.

Any suggestions, other than to use the older version?

Thanks...Bill - AJ6UU
User avatar
MM7DBT
Site Admin
200posts
Posts: 209
Joined: Wed Jun 02, 2021 6:59 pm
Location: Scotland
Callsign: MM7DBT

Re: No longer sees COM ports

Post by MM7DBT »

Try the attached version, it is still 0.2.1123.3 but revised COM port name detection, which was changed previously to try to automatically detect USB>Serial ports.
You do not have the required permissions to view the files attached to this post.
-73 de MM7DBT
aj6uu
0posts
Posts: 3
Joined: Thu Apr 14, 2022 8:42 pm

Re: No longer sees COM ports

Post by aj6uu »

Yes, that version works just fine, thanks.
If you need me to try anything to help debug the issue, please let me know. I'm a developer so should be able to run anything you'd like.
User avatar
MM7DBT
Site Admin
200posts
Posts: 209
Joined: Wed Jun 02, 2021 6:59 pm
Location: Scotland
Callsign: MM7DBT

Re: No longer sees COM ports

Post by MM7DBT »

It's okay, switched from using Substring to Regex.. a safer option :) I was just being lazy :lol:
-73 de MM7DBT
Post Reply