mabl / PyPylon

An experimental python wrapper around the Basler Pylon 5 library
BSD 3-Clause "New" or "Revised" License
53 stars 34 forks source link

What's the best practice to use PyPylon in a triggering scenario? #30

Open zxpatric opened 7 years ago

zxpatric commented 7 years ago

I am thinking of using

while exitEvent: try: grab_image (1, 100)

do something with the grabbed image

except:
   pass

Please suggest.