Page 1 of 1

No longer sees COM ports

Posted: Tue Nov 29, 2022 12:22 am
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

Re: No longer sees COM ports

Posted: Tue Nov 29, 2022 1:17 am
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.

Re: No longer sees COM ports

Posted: Tue Nov 29, 2022 2:22 am
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.

Re: No longer sees COM ports

Posted: Tue Nov 29, 2022 5:50 pm
by MM7DBT
It's okay, switched from using Substring to Regex.. a safer option :) I was just being lazy :lol: