how to continuously grab and save images using basler ace cameras , without giving count of images, and the loop should be keep on running until that variable is true
start unlimited grabbing using: cam.StartGrabbing() you can stop the grabbing, when you detect your condition by calling cam.StopGrabbing()
@thiesmoeller currently am using threading method for this camera, so i was using while true loop before 1st class, and run the same code with while loop in main body also.is it work well or should i apply the while loop in thread created for grabbing, saving images and to the final main body also?
- IF I did nt use this cam.StopGrabbing() AND CAM.OPEN, WHAT will happen to the code ?????????????? becoz normally in my code am not using it. so i want to know is there any negative effects without this parameter in code?? becoz after two times cntrl+c , then only my code will stop running
@thasnimolvs check this example with grab strategies ;] https://github.com/basler/pypylon-samples/blob/main/notebooks/grabstrategies.ipynb
@thasnimolvs this two examples may also help you https://github.com/basler/pypylon/blob/master/samples/grabusinggrabloopthread.py https://github.com/basler/pypylon/blob/master/samples/grabstrategies.py