LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Check com port

This is just what I needed. Thank you!

0 Kudos
Message 11 of 17
(2,160 Views)

I used the dll and it will find a port if you know the number.  I have a device that enumerates as multiple comports.  windows assigns the ports as the next available port.  In windows, the device name is shown with the comport assigned in brackets (com24).  How can I scan for comports by the device name.  The device found in device manager is Telit mobile (USB3) (COM24).  I need to scan all the usb ports for "Telit Mobile (USB3)" to find the assigned port number (com24).  I used devcon in the past but it requires admin rights to run.  any suggestions?

0 Kudos
Message 12 of 17
(1,980 Views)

This works great.  Can this code be converted to CVI?  I hate using dll's from other software platforms in CVI.  I need to be able to support production.

  

0 Kudos
Message 13 of 17
(1,980 Views)

Martin has already posted the CVI version of the code: you can find it here



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 14 of 17
(1,975 Views)

The code uses a setupapi.lib file.  how was it generated?

0 Kudos
Message 15 of 17
(1,966 Views)

It is part of the Windows SDK



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?
Message 16 of 17
(1,962 Views)

Hello, Thanks for the zip.

I want to know the name of devices.

Any suggestions ?

0 Kudos
Message 17 of 17
(1,858 Views)