LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Finding how many COM ports on the computer

Hi,
Is there any function(s) in LabWindows/CVI 8.5 that I can call to find out how many COM ports are on the sysem, and what the port numbers are?
TIA
0 Kudos
Message 1 of 5
(3,871 Views)
Just look at the following registry key: HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM
It lists all available serial ports in the system and their names.
You cal use functions int the programmer's toolbox to read registry keys.


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 5
(3,862 Views)

Roberto,

Thank you for the info.  It does exactly what I want Smiley Happy

0 Kudos
Message 3 of 5
(3,836 Views)

Hi TIA,

you can find some example code in this thread

0 Kudos
Message 4 of 5
(3,828 Views)

Hi,

I am so New in Labwindows development.

Can you please explain how to use it , it would be really helpful

0 Kudos
Message 5 of 5
(1,966 Views)