I'm using gr-iio to read from an ad7768. The ad7768 is 24-bit, but the gr-iio block returns shorts. Are the results packed in to two shorts?
I'm having some trouble with this still. So it is the case that the underlying data type is packed in to this short stream? The AD7768 manual says each returned sample is 32-bits where the first 8 bits are status and the last 24bits are the signed data. Does iio keep those status bits? DOes it keep sending the data as 24-bit signed in a 32-bi word?
Well I think I was just making a silly error. I have it streaming now, however I am finding that I seem to be missing buffers regardless of whether I run over the network or directly on the device (and write to a file on a ram filesystem). I guess I should probably start a new thread.
This is an issue that doesn't occur with iio-oscope (even over the network):