Hi,
I wasn't able to reproduce the problem. I used the CVI shipping example for the serial callback: commcallback.c. And made some simple modifications to detect the CTS state.
Change the mask of InstallComCallback (line 62) to include the LWRS_CTS flag.
Addes some code in the Event_Char_Detect_Func (line 101) callback function:
if(eventMask & LWRS_CTS)
{
if(GetComLineStatus(portNo) & kRS_CTS_ON)
Fmt (outMessage, "%s","CTS asserted");
else
Fmt (outMessage, "%s","CTS unasserted");
MessagePopup ("CTS change detected", outMessage);
}
This works perfectly. I'm using Windows 2000 SP3.
Hope this helps.
DiegoF
National Instruments.