I'm working with fmcomms2 and after some signal processing from 4 16-bit channel I get 2 32-bit channels.
I've managed to obtain them in a C program using 4 standard iio channels by performing
int32 channel0 = voltage0 + (voltage1 << 16);
It's absolutely fine for a custom program, but I would like to observe these signals in iio oscilloscope, and there's no bit shift operation, because the data is converted to float.
I see two solutions, but don't know how to implement any:
1. Somewhere (perhaps in device tree) change the width of iio channels to 32 and their number to 2.
2. Add the << operation to oscilloscope in some way.
The first method seems to be much "cleaner", and I would really appreciate if you could help me with it.