def snap(self): """Acquire a single image and return it""" nv.IMAQdxSnap(self.imaqdx, self.img) return self._decode_image_data(self.img)
def snap(self): # img = nv.imaqCreateImage(nv.IMAQ_IMAGE_U16) nv.IMAQdxSnap(self.imaqdx, self.img) return self._decode_image_data(self.img)