memory position of numpy arrays

Gael Varoquaux gael.varoquaux at
Fri Oct 27 01:46:13 CDT 2006

On Fri, Oct 27, 2006 at 07:55:06AM +0200, Lars Friedrich wrote:
> If anyone is using python / numpy / ctypes for hardware control (say,
> Cameras with grabber-cards or fire-wire / DCAM; National Instruments
> acquisition cards using NIDAQmx, ...) I am interested in discussion!

Worked great for me ! My approach was to write a small wrapper C
(actually C++, with "extern C" linking) library that exposed only what I
needed of the camera interface, in a "python-friendly" way, and to wrap
it with ctypes. I controlled a "Pixis" princeton instruments camera this
way. As I said, it worked surprisingly well. I can send the code as an
example if you wish.


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

More information about the Numpy-discussion mailing list