Post Go back to editing

IIO Oscilloscope Plot: capture limited to sampling frequency

Category: Software
Product Number: hts
Software Version: current main branch, built for Linux

Hi, I am connected to a remote target over the network and I am able to read properties and single values from an IIO device, which provides a triggered buffer, and its maximum sampling frequency is 13.

The problem is that the plot view only lets me capture up to 13 samples in both single shot and continuous measurement. If I try to read more samples than the sampling frequency (e.g. 14, any value greater than 13), the application freezes and I see on the target that iiod throws a timeout:

iiod[541]: WARNING: High-speed mode not enabled
iiod[541]: ERROR: Reading from device failed: -110

Is the plot view limited to the samples than can be taken in one second? In continuous measurement mode, the 13 samples are overwritten with every refresh instead of adding up in time, so the plot stays at 13 samples.

On the other hand, if I enter in DMM mode, I can see continuous measurements which seem to be updated every second, and not only that, they have already offset and scale applied, which does not happen in the plot view.

Thanks and best regards.

  • Give us more detailed.
    What setup device/carrier are you using
    Release/branch versions running on the setup.

    Andrei

  • Hi, I mentioned the branch I used already: current status from main (last commit 10 days ago: 0ce16d2bbd20c47a94871357b60a652cdaaa6808 ("osc: Identify iio_device by label 1st, name 2nd, id 3rd").

    In this case I am using an hts221 humidity sensor, which provides a trigger (hts221-trigger, otherwise it would not be available for the plot I suppose). But my question probably affects any other device with a low sampling frequency, and the limitations of no automatic conversion and no adding up samples for the plot in continuous measurement are device agnostic.

    Thanks and best regards.

  • Hi,

    I'm sorry but hts221 is not an ADI component so we cannot provide support in this forum. Generally you are asking for a enhancement request. You can post an issue on the github organization or submit a PR with the enhancements yourself. Development bandwidth is very limited for IIO-Scope, especially if it does not directly affect and ADI part. But the source is open and we accept pull requests.

    -Travis