Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSComm Control
Message
From
06/10/2000 14:39:58
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
MSComm Control
Miscellaneous
Thread ID:
00426156
Message ID:
00426156
Views:
66
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.
Next
Reply
Map
View

Click here to load this message in the networking platform