On Thu, Aug 24, 2023 at 10:24 AM Linus Walleij <linus.walleij@xxxxxxxxxx> wrote: > This should definitely be reflected in the scale attribute for the > raw channel instead, Actually both IIO_CHAN_INFO_SCALE and IIO_CHAN_INFO_OFFSET as it looks. I usually use tools/iio/iio_generic_buffer.c to test the result after applied scale and offset as it takes those into account. Yours, Linus Walleij