ZC706 with AD9371

Hi,

I am using AD9371 with zc706 for a project. When I transmit the data from Tx1 and receive from Rx1 througn iio oscilloscope I get good results (NMSE) but when I try to do the same thing using C code running on Linux (referring to libiio) the results are not good.

I worked on AD9361 where this thing was working but now I have to shift to AD9371 and it is not giving desired results. I referred to the libiio library and found out that the functions to transmit and receive the data are same (iio_buffer_push, iio_buffer_refill). Is there any difference in the structure of the iio buffer for AD9371? If yes then where can I get this information? If no, then what can be the possible issue with this?