Page 1 of 1

Posted: Fri Feb 07, 2003 8:51 am
by BackupUser
Restored from previous forum. Originally posted by Sveinung.

Have a little problem....
I'm developing an application for a hospital. I'm trying to read some data from an EKG measuring device and this device is again connected to the COM2 port on my computer.
But to read data from the device I need to send the value 3 to the measuring equipment to make it send back 17 Bits of data.

I've tried the OpenFile("COM2")....doesn't work. :(

Well....
Anybody with a good idea????
(got it to work in QBasic, hehe)

Sveinung

Posted: Fri Feb 07, 2003 9:36 am
by BackupUser
Restored from previous forum. Originally posted by plouf.

use OpenComPort(0,"COM2:") this is an "officially" unsuported command :wink:there is also PureFrog
in purebasic.com/download.php3 which is an example


Christos

Posted: Fri Feb 07, 2003 11:05 pm
by BackupUser
Restored from previous forum. Originally posted by Sveinung.

Thank you very much!

Sveinung

Posted: Thu Mar 27, 2003 12:03 pm
by BackupUser
Restored from previous forum. Originally posted by teachco.

How can I close this Port?

Andi

Posted: Thu Mar 27, 2003 8:57 pm
by BackupUser
Restored from previous forum. Originally posted by Sveinung.

Closefile should work

Sveinung

Posted: Fri Mar 28, 2003 9:33 am
by BackupUser
Restored from previous forum. Originally posted by fred.

Yep.

Fred - AlphaSND