Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSComm Control
Message
De
06/10/2000 14:39:58
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
MSComm Control
Divers
Thread ID:
00426156
Message ID:
00426156
Vues:
67
Hello, All.

I'm in a really big trouble. I need help, please.

Until monday I have to finish an application wich must to communicate with an medical equipment. The communication should be done in this way:

1. Application must be able to listen the com2. (1200,8,n,1)

2. The equipment must be set to send data (it have it's own software to do this - it's not my problem). It sends every 10 seconds an ENQ (this is CHR(5)), until my application respond.

3. My application should respond with an ACK (CHR(6)). In this way, the equipment will know that somebody listen.

4. The equipment will send the useful data, sourounded with an STX (this is chr(2)). Something like that:
STX DOLGHIN GRIGORE 0.124 14.2 ...... bla bla bla .... STX.
I can't estimate the length of useful data. The length is variable.

5. After receiving the string, my application should respond with an ACK if communication was succesful, or with an NAK (CHR(15), if communication has failed.

That's all.

I don't know hot to do this. Worse, I don't have the equipment handy, so I cant' test the code. I don't have acces in that hospital's area in weekend, and monday this application should be ready to work.

Please, I need help. My job depends on it.


Thank you very much.
Grigore Dolghin
Class Software.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform