Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Working with multiple com ports
Message
De
23/03/2006 12:57:01
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
 
 
À
23/03/2006 10:46:59
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01107002
Message ID:
01107062
Vues:
26
Fox is single threaded so you may have problems depending on your situation. MSComm will store data in its buffers so you could do some type of polling to handle each comm port separate. Or, you could create a com server and have one com server for each part. That would mean having 6 instances of VFP running at the same time.

>I am working on a solution to accept data from multipe comm ports.I have an executable that has one form. A client program starts that remote server and adds containers, one for every port. I am 'listening' to a port using MScomm activex control. I can I have up to 6 ports/containers running in the same time. I have scanners attached to these com ports. It is very possible that all 6 scanners scan in the same time. Each container uses same form's code to process the scan. That means that potentially multiple containers will call same form's method in the same time. Do I have a problem here? How Fox handles such situation?
>
>Thanks for any idea.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform