Example #1
0
 def stopCapture(self):
     with self.mutex:
         if self.id is None or not self.active:
             return
         nivision.IMAQdxStopAcquisition(self.id)
         nivision.IMAQdxUnconfigureAcquisition(self.id)
         self.active = False
Example #2
0
 def stop_acquisition(self):
     nv.IMAQdxStopAcquisition(self.imaqdx)
     nv.IMAQdxUnconfigureAcquisition(self.imaqdx)