LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

RS-232Interrupts

I'm running your example "serial.prj" sample project in LabWindows CVI. The "Get COM Status" always comes back "No status bits set." I checked my COM1 hardware settings in Windows 2000 and confirmed that the IRQ is correct and not being used by any other device other than COM1. So, why can't your sample "C" program see when the IRQ is set when the FIFO is being filled?
0 Kudos
Message 1 of 2
(2,471 Views)
Windows doesn't work like that, the COM port driver doesn't allow you to see the status of the interrupt enable bit. There's no reason an application would be interested in it anyway.

You need at least to take a look at the documentation for GetComStat() to see what the returned bits mean.

HTH, HAND,
Martin.
--
Martin
Certified CVI Developer
0 Kudos
Message 2 of 2
(2,471 Views)