Hi Zorro,
This error indicates that you have written over data in the buffer allocated for the data acquisition before the system could transfer the data from that buffer to system memory. In order to alleviate the error, you could lower the sample rate, increase your buffer size for the acquisition, or change the hardware you are using. I cannot recommend one specific enhancement as I don't know what data acquisition card you are using nor the specifications for your data acquisition (ie. sample rate). Knowing these could help me give you a more certain answer.
Best Regards,
Marcus G.
Applications Engineer
National Instruments