ComWatchCD

Prev Next Home Home Table Of Contents Index

ComWatchCD : Boolean

When ComWatchCD is set to true MarxMenu watches the carrier detect signal. If carrier detect is lost then several things happen. ComCDAbort is set to true. ComEchoSendChar and ComEchoRecChar are set to false. ComWrite and ComWriteln are disabled. ComCharReady is always true and ComReadChar returns a char 0 when read.

This function is there to reset a host program without having to build in a lot of error checking into the MarxMenu script. Setting ComWatchCD to false resets everything and allows you to prepare for the next call.

Only set ComWatchCD to true after you receive a carrier detect signal. It is also recommended that you insert a half second delay after receiving a connect to deal with slow modems in fast computers.

Category: Modem

Prev Next Home Home Table Of Contents Index

Sponsors
Shopping
Forum
Forum
email
EMail
Index
Index
Home
Home