How read state of serial port CTS-pin ? Delphi 5

0

Could somebody help how read state of serial port CTS-pin ?

Just is it on or off.

Please email answers.

0

Program - monitor LPT plus Delphi sources - http://www.easy-soft.tsnet.pl/artykuly/lptecp/lptecp.zip .
Description LPT and programs idea - http://www.easy-soft.tsnet.pl/artykuly/lptecp/lptecp.html
This is paralell port. Control of serial is in elaborate. You must send e-mail to the author this article.
Excause me my english.
Nice day

--
Pzdr.
W.

0

Here you have article about using serial port: http://www.swissdelphicenter.ch/torry/showcode.php?id=841

If you have email answers will be better when you will be write your email :-) I know that my english it's horrible :-) so please don't write about it :-)--pozdrawiam PEDROS {hello}

Encyklopedia was potrzebuje:
www.4programmers.net/delphi/help.php

Delphi 6 Personal.

0

U can use function 03h (int 14h)

Input:
AH = 03h
DX = port number (0 for COM1, 1 for COM 2)

Output:
AH = port state
AL = modem state

Bits 0 and 4 in AL register (modem state) are your CTS pin bits.

My english... ;(

1 użytkowników online, w tym zalogowanych: 0, gości: 1