예제 #1
0
파일: camera.py 프로젝트: kasliwalr/PyVCAM
    def finish(self):
        """Ends a previously started live or sequence acquisition.

        Parameter:
            None
        Returns:
            None
        """
        if self.__acquisition_mode == 'Live':
            pvc.stop_live(self.__handle)
        elif self.__acquisition_mode == 'Sequence':
            pvc.finish_seq(self.__handle)

        self.__acquisition_mode = None
        return
예제 #2
0
    def stop_live(self):
        """Calls the pvc.stop_live function that ends the acquisition.

        Parameter:
            None
        Returns:
            None
        """
        return pvc.stop_live(self.__handle)