Mapping of a ring buffer to a numpy array
![](https://secure.gravatar.com/avatar/18d7c4503b713c388142c34a10e26082.jpg?s=120&d=mm&r=g)
Oct. 14, 2010
3:54 p.m.
Hello, I would like to write (in cython) python bindings for a library that interfaces with data acquisition hardware trough a kernel driver. Data can be exchanged with the kernel driver trough a memory mapped ring buffer. I would like to expose this ring buffer as a numpy array, however I would like to make the ring buffer wrap around management transparent. There is a way to instruct numpy to do that? Thanks. Cheers, -- Daniele
5239
Age (days ago)
5239
Last active (days ago)
0 comments
1 participants
participants (1)
-
Daniele Nicolodi