|
From: Dan L. <dl...@gm...> - 2008-09-15 15:36:51
|
Frank Mori Hess writes: > I've tried to integrate the patches from Keith and Dan, plus made some > additional changes of my own (in svn now). I deliberately left out the > lockdev stuff since I don't believe the binding should prohibit multiple > processes from using a board. If you want that kind of functionality, I'd > suggest adding support for iblock/ibunlock to the main library, then > adding bindings. I also left off the "ask" part which combined a write > and read into one function, as I don't want to extend the library in > bindings, and it seems unlikely to provide significant speedup due to the > slowness of the gpib bus. > > If I dropped anything else from the patches, it might just be an oversight. > > Also, I haven't actually tested the changes beyond making sure it compiles. Frank, there's still an issue with the version current in SVN: Keith's patch renamed the extension module from "gpib" to "_gpib" (probably to avoid conflict with the official version, I would assume?). Under the current build system, however, it gets put in a library named "gpib.so", which means that Python can't find and load it. To get it working again, please apply the attached patch (changes the name of the init function and module name to "gpib" again). Dan |