Hi Vijit,
The recommendations from the last post are good, and I would add to
that that you should confirm that your DAQ card is configured to work
using DMA data transfers and not IRQ.
I think that the more serious problem you are seeing is that your flow
control is not working properly. Flow control is intended
specifically to stop the flow of data if you are going to experience a
buffer overflow. You mentioned in your other post that you are
using Xon/Xoff flow control, are you sure that this is supported in
your embedded device? If it is supported, I would recommend
RTS/CTS (hardware) flow control.
Please let us know what forms of flow control are supported by your
embedded controller, and whether or not hardware flow control is an
option.
Jason S.
Applications Engineer
National Instruments