Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding out name of device connected via serial port
Message
 
To
04/04/2008 13:11:38
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01308275
Message ID:
01308289
Views:
16
>>>Is there any way I can find out name of device connected via serial port using mscomm32?
>>
>>I doubt it.
>
>Any other method maybe?

I doubt it, because that meant that ALL devices connected through RS232 port should have the SAME identity function. That is not an USB.
But the connection parameter could vary from device to device and that makes identifying the device almost impossible.
One thing you could do, send an identifying string (if you have one) to the device and if you didn't get a proper answering that means that device connected is NOT the device you expect.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform