You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe what you want to implement and what the issue & the steps to reproduce it are:
It has the error during the program run( it happened close with the ulimit open files umber).
The device is not reachable or controlled by another application.
Code
while True:
idx += 1
print('\nopen: ', idx)
# open
try:
camera.Open()
except Exception as e:
print('[ERROR]: {0}'.format(traceback.format_exc()))
break
gc.collect()
print('sys.getrefcount(instance):', sys.getrefcount(instance))
print('sys.getrefcount(device):', sys.getrefcount(device))
print('sys.getrefcount(camera):', sys.getrefcount(camera))
# close
camera.StopGrabbing()
camera.Close()
sleep(1)#sleep(10)
print('closed')
# close
camera.StopGrabbing()
camera.Close()
Is your camera operational in Basler pylon viewer on your platform
The text was updated successfully, but these errors were encountered:
fkdlqj13245
changed the title
Please write a comprehensive title
Problem of protram run error during loop the open and close
Sep 4, 2024
fkdlqj13245
changed the title
Problem of protram run error during loop the open and close
Problem of program run error during loop the open and close
Sep 4, 2024
Describe what you want to implement and what the issue & the steps to reproduce it are:
Code
Is your camera operational in Basler pylon viewer on your platform
Yes
Hardware setup & camera model(s) used
[PC Environment]
OS: Ubuntu 20.04(kernel version: 5.15.0-94-generic)
GPU: RTX3060
PYTHON: 3.8.10
Runtime information:
The text was updated successfully, but these errors were encountered: