Re: Problems with using IIO buffers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2016-12-30 19:34 GMT+01:00 Jonathan Cameron <jic23@xxxxxxxxxx>:
> [...]
> Just to check.
>
> Triggering is per 'scan'. It's perhaps closer to the trigger on a camera
> that than on an oscilloscope if that helps.

Right... I am not yet sure if this is the thing I need to do to
acquire data quickly, but from looking at the other DAQ drivers it
seems to be.

> Are you firing the trigger multiple times?

Usually only once, but even then I should get data, right?

> It sounds like you are refilling the buffer in your driver so possibly
> we are looking at different problems in the two cases?

The problem is that I can't even make the iio_dummy driver work
properly, so even if there is a bug in my driver, the dummy driver at
least should work.
When using my actual driver, firing a trigger doesn't seem to run a scan at all.

> Perhaps post an RFC of your driver for us to take a look at?

I could certainly do that, maybe tomorrow - but I suppose there is a
more general issue with this, if I can't even get the iio_dummy driver
to work with the tools provided by libiio and the kernel userspace
tools. (It still feels a bit like I am missing some obvious
information...)

> Let us know if you got this sorted. I've been rather snowed under and
> out of touch for the last few weeks!

Thanks, I'll do - I am still out of ideas though - but maybe when I
look at this again tomorrow (after two weeks of not thinking about it)
I'll notice some obvious mistake ;-) (although that's probably
unlikely).

 --- Matthias
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux