def getStatus(self, axis): ''' determines the status of the selected axis. result: bit0 (moving), bit1 (stop detected), bit2 (sensor error), bit3 (sensor disconnected) ''' self.status = ANC350lib.Int32(0) ANC350lib.positionerGetStatus(self.handle,axis,ctypes.byref(self.status)) return self.status.value