You might try the CTS or DSR pins and the SerGetStatus() call.  You're right
that the Rx pin will not do what you want.

-Paul
____________________________________________________________________________
Paul A. Dugas                  OnSite:  voice 404.635.8026  fax 404.635.8001
Computer & Systems Engineer    Office:  voice 770.926.1270  fax 770.926.4737
Contractor for the Ga. DOT     Email:   mailto:[EMAIL PROTECTED]
http://georgia-navigator.com/  Web:     http://pauld.dugas.com/

> -----Original Message-----
> From: Siupo [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, April 17, 1999 2:37 AM
> To: [EMAIL PROTECTED]
> Subject: Serial port -read byte
>
>
> hi all,
>       I want to connect the serial port to a terminal that is not serial
> communication format. I just want to check the pin whether it is high or
> low. I have tried to use SerReceive(SerialRef,a,length,5,&err) to check
> it, but it say fatalerror. it is because there is no stops ?
>       Thanks!
>
>       Hope U :-) every second!
>
> E r i c ���_
>
>              Electrical and Electronic Engineering
>        The  Hong Kong University of Science and Technology
>               URL: http://home.ust.hk/~ee_slm
>
>

Reply via email to