From: Gael V. <gae...@no...> - 2006-10-27 06:46:40
|
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. Ga=EBl |