Hello,
It looks like you are not reading the date from the buffer fast enough, which results in the increasing queue size. If you are reading just binary data, you can check the length of the data, then read the data of the length you found out. Otherwise, you can configure, for example VISA, to read the data whenever the end of command character is reached.
Mika Fukuchi
Application Engineer
National Instruments