LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Detect a device port automatically

Hello,

I wanted to detect the port at which i attach my mobile phone.

Kindly tell me how is it possible that the labview automatically detect the port address.

Thanks

0 Kudos
Message 1 of 6
(2,906 Views)

USB Port?

How does your device identify itself to Windows?

 

A System Call to devcon may work for you.

DevCon Link

0 Kudos
Message 2 of 6
(2,903 Views)

The Device is my nokia mobile phone, which i connects on USB.

How would this software will interface with the Labview and send its port number.

Thanks

0 Kudos
Message 3 of 6
(2,897 Views)

Read the documentation for devcon.

 

I'm thinking something like "devcon resources *Nokia*" might get you what you need.

 

Call DevCon using a LabVIEW system exec function and use the output to inform LabVIEW about which USB port was returned.

 

0 Kudos
Message 4 of 6
(2,891 Views)

Is their any tool present in Labview, so that i may not need a third party software for this purpose?

0 Kudos
Message 5 of 6
(2,885 Views)

It's the OS that does the port detection and assignment.

I think the best that LabVIEW can do is ask the OS.

 

I'm not aware of any LabVIEW native functions to check how the OS has assigned ports.

 

0 Kudos
Message 6 of 6
(2,878 Views)