wwg2101@venus.tamu.edu (GILPIN, W.W.) (05/06/91)
I've posted about this a couple of times before and gotten good responses, but I am still having problems. I am trying to write a function that will return True or False depending on the status of the DCD line from my RS232 modem. My cable has pins 6 and 8 from the RS232 to pin 2 on the DIN-8. I know that pin 8 is DCD, but have no idea why pin 6 is also connected. Pin 2 on the Macintosh Serial connector is the CTS input, or so I understand. With this setup, the CTS input should go high whenever the modem detects a carrier, so I use the SerStatus call to the serial input driver and check CTSHold in the returned record. I always get 0 as the value for this, regardless of how the modem is configured. This leads me to believe one of three things...my modem is not setting DCD high when it detects a carrier, I am doing something wrong in my program, or having both pin 6 and pin 8 connected keep that line from ever going high. If any of you have any idea what's going wrong, or if you have a working CheckCarrier function please contact me. Wes WWG2101@TAMVENUS