Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding out name of device connected via serial port
Message
 
À
04/04/2008 13:11:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01308275
Message ID:
01308289
Vues:
14
>>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform