pysilcam/acquisition.py
def wait_for_camera(self):
        '''
        Waiting function that will continue forever until a camera becomes connected
        '''
        camera = None
        while not camera:
            with self.pymba.Vimba() as vimba:
                try:
                    camera = _init_camera(vimba)
                except RuntimeError:
                    msg = 'Could not connect to camera, sleeping five seconds and then retrying'
                    print(msg) # TODO: WHy is there a print here? warning should write to sys.stderr anyway
                    logger.warning(msg, exc_info=True)
                    time.sleep(5)

        Waiting function that will continue forever until a camera becomes connected
        
Waiting function that will continue forever until a camera becomes connected
Waiting function that will continue forever until a camera becomes connected
def wait_for_camera(self):
        camera = None
        while not camera:
            with self.pymba.Vimba() as vimba:
                try:
                    camera = _init_camera(vimba)
                except RuntimeError:
                    msg = 'Could not connect to camera, sleeping five seconds and then retrying'
                    print(msg) 
                    logger.warning(msg, exc_info=True)
                    time.sleep(5)
def wait_for_camera ( self ) : camera = None while not camera : with self . pymba . Vimba ( ) as vimba : try : camera = _init_camera ( vimba ) except RuntimeError : msg = 'Could not connect to camera, sleeping five seconds and then retrying' print ( msg ) logger . warning ( msg , exc_info = True ) time . sleep ( 5 )
Waiting function that will continue forever until a camera becomes connected
Waiting function that will continue forever until a camera becomes connected
'''
        Waiting function that will continue forever until a camera becomes connected
        ''' # TODO: WHy is there a print here? warning should write to sys.stderr anyway
self