Closed bgottula closed 4 years ago
Fixed more SWIG. Everything up to ASIGetDataAfterExp
in ASICamera2.h
appears to be working. The remaining functions are not quite as important but look like they should be straightforward to fix up.
There are a few cases still where things are not quite as Pythonic as they could be, but the worst cases have been dealt with (I think). It seems like it would not be tremendously difficult to provide an object-oriented wrapper on top of this SWIG-ed Python API that could take care of some of the setup boilerplate. But I've already spent too much time on this.
The following functions don't work properly:
ASIGetProductIDs
: Populates a caller-allocated array of int passed by pointerASIGetNumOfControls
: Returns int by pointerASIGetControlValue
: Returns values by pointer..there are more, these are just the ones I got to.