Description
Running Pylon libraries from within linux Mint 18 VM on Windows 7 VirtualBox host.
Occasionally get
"RuntimeError: The buffer was incompletely grabbed. This can be caused by performance problems of the network hardware used, i.e. network adapter, switch, or ethernet cable. To fix this, try increasing the camera's Inter-Packet Delay in the Transport Layer category to reduce the required bandwidth, and adjust the camera's Packet Size setting to the highest supported frame size."
thrown on camera.grab_image() call (due to delays/issues with VM network adapter bridge to host physical adapter I guess) however if the exception is caught, subsequent calls to grab_image() will complete successfully.
However if I try to grab multiple images using the grab_images() method, as follows
while True:
try:
for image in cam.grab_images(N):
...
except RuntimeError
...
once the above mentioned exception has occurred, all further calls to grab_images() fail with an un-commented RuntimeError.