LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

COMCallback

Hi, I have to call a COMcallback, when not only a certain character arrives in the input queue, but two different bytes should call the callback (0xA5 and 0x5A, one is a start byte and the other is the Ack byte). Must I use only the option LWRS_RXCHAR, and filter all other bytes inside the COMcallback ? Thanks
0 Kudos
Message 1 of 2
(2,816 Views)
Hi,

you just have to read the frame.So, you wait the last character, get the input queue length and read the frame.
0 Kudos
Message 2 of 2
(2,816 Views)