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

        return self._decode_image_data(self.img)