Log data with only 3 decimals.
Log data with only 3 decimals.

This commit makes the log file easier to read. It prevents logging data looking like -7.35072E-05.
It also solves a bug which sometimes logged some random numbers, having nothing in common with the generated samples (or at least I cannot reproduce it since I've modified this).

Signed-off-by: Cristi Iacob <d9a5ee38e079268f5921cacbe589f9990ad49a4f@analog.com>

analogdevicesinc/Pixelpulse2,analogdevicesinc/Pixelpulse2,analogdevicesinc/Pixelpulse2