I'm having some issues reading the device after it is available. I'm just trying to verify that data is getting into memory for the device using the iio_readdev in the console.
After I manually turn device on using echo 1 > into scan_elements in_voltage_en, echo 1 > buffer/enable etc.
The device shows data_available but I'm unable to read this data from the buffer. Maybe I'm doing something wrong as I'm new to using IIO.