Then there is the brute force attempt to open each
com port from 0 to 100.
It's fugly. And it's historically not consistent from motherboard
to motherboard and program to program. As I remember it there are
at least two different device type GUIDs you must enumerate over
to get everything. At least MIDI is a little less out there in the
ozone.
Then you can open com ports two different ways. One with the full
\\ based URIs. I forget the details of the other way. I found the
URIs were a little more reliable. By the time I was finding
everything, for a customer, I felt like Wiley Coyote after a day
chasing the roadrunner.
{^_^}
On 20220510 22:29:28, Simon Brown
wrote:
toggle quoted messageShow quoted text
Hi,
The
correct way is to use SetupDiEnumDeviceInfo
see https://docs.microsoft.com/en-us/windows/win32/api/setupapi/
.
Older
software doesn’t use this API when installing the drivers,
so I also use https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-getdefaultcommconfigw
which really just digs around in the registry.
Com0com
and Eltira behave nicely. My recommendation is com0com.
Remember there are at least three or four
totally unrelated different means of enumerating COM ports.
That makes "correctly installed" a bit if a tough call.
{o.o}
On 20220510 11:53:25, Simon Brown wrote:
Mike,
Correct – in the World Map I only list
correctly installed COM ports, in Console I fall back to
running through the registry. Anyway, in 1.2.7 I’ll add
support for the incorrect installations.
Simon,
The issue might be trying to understand the inconsistency
between Console and World Map.
--
Mike
On 5/10/22 11:27, Simon Brown wrote:
Then the VSPE installation software is
not correct. I use the correct Windows setup API to list
all available COM ports.
Try com0com, that installs correctly.
Hi Simon,
VSPE ports do not show up in the drop down list, there
was someone else who pointed this out before.
Thanks
On 2022-05-10 07:16, Simon Brown
wrote:
Max,
What are virtual ports? I need
more information. If you mean a virtual serial cable
then all correctly installed software is listed.
Moon etc. is not difficult – I
have all the code in the satellite tracking part of SDR
Console, have thought about showing a satellite, moon or
a fleet of satellites (eg GPS).
When I get bored…
Just a remainder about extra features, fixes to an
already great software:
- Virtual ports recognized in the rotator setup;
- Moon rise,set at any given location when hovering the
mouse (same think we already have for the sun)
- SUPER EXTRA: moon footprint.
73, Max
On 2022-05-07 15:01, Simon Brown
wrote:
Yes,
Click the Home button in the Ribbon
Bar, takes you to https://www.g4eli.com/world-map
- let me know what more you need.
Simon Brown
https://www.g4eli.com
https://www.sdr-radio.com
This is an awesome update.
Have not used the program in a while. Is there
some documentation or a tutorial somewhere?
On Sat, May 7, 2022 at 6:10 AM
Simon Brown <simon@...>
wrote:
Hi,
Grab 1.2.6 from Introduction
— G4ELI
Simon Brown
https://www.g4eli.com
https://www.sdr-radio.com
When I try to run this I
get the following error
The clock is still operational at the bottom
of the screen but nothing else responds and
the only way I have found to get past this it
to terminate the program in Task Manager
(after Ctrl, Alt, Del)
73 Graham
ZL1CE
QTH: RF73jc
--
--
--
-- 73 de Max, N5NHJ (I8NHJ) one of
EL2PP, 1A0KM, JT1Y, E30GA, T77V, TT8MM, T32R, K5K, XR0X,
S05X, 4O3T, BS7H, K4M, PJ7E, PJ7DX, 6Y1V, C6ANA,
VP5/I8NHJ, ZF2NH, KP4/N5NHJ and...
--
-- 73 de Max, N5NHJ (I8NHJ) one of
EL2PP, 1A0KM, JT1Y, E30GA, T77V, TT8MM, T32R, K5K, XR0X,
S05X, 4O3T, BS7H, K4M, PJ7E, PJ7DX, 6Y1V, C6ANA,
VP5/I8NHJ, ZF2NH, KP4/N5NHJ and...
--
--
--
- + - + -
|