I use LabVIEW Touch Panel Module make a application to a Touch Panel device with Windows CE 5.0. Now I want to use RS232 on the touch panel devices to read and write.I use Serial Compatibility VIs.It is useful, but it is not offering how to clear rs232 buffer ,like Flush I/O Buffer in visa.I want get yours help ,tell me how to clear rs232 buffer ,use what VIs.or how to change Serial Compatibility VIs to get that function. thanks my dear friend.
Which buffer are you trying to clear? Transmit or Receive?
Generally transmit doesn't need clearing because anything in it usually gets sent out right away. I rarely need to clear the receive buffer. But an easy way to clear it is to just read all the bytes in it and just do nothing with the data.