03-28-2012 08:23 AM
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
03-28-2012 08:29 AM
USB Port?
How does your device identify itself to Windows?
A System Call to devcon may work for you.
03-28-2012 08:54 AM
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
03-28-2012 09:12 AM - edited 03-28-2012 09:14 AM
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.
03-28-2012 09:41 AM
Is their any tool present in Labview, so that i may not need a third party software for this purpose?
03-28-2012 10:36 AM
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.