Hello.
I am currently running Vimba Python on a Jetson TX2. I followed installation instructions, however when I run examples or custom code the same error periodically appears in the terminal:
Second question is related to asynchronous acquisition. I'm trying to run the opencv example with a bit of extra code in which I'm changing the exposure time to a fixed value set by the user. However, when I add this code the program gets stuck on cam.stop_acquisition() and doesn't exit. Is there a way to fix it?
This is the function I've edited:
def setup_camera(cam: Camera):
with cam:
# Enable auto exposure time setting if camera supports it
try:
cam.ExposureAuto.set('Off')
cam.ExposureMode.set('Timed')
print('Auto Exposure OFF')
cam.ExposureTime.set(2000)
print('Setting Exposure Time to 2000 micro sec')
except (AttributeError, VmbFeatureError):
pass
# Enable white balancing if camera supports it
try:
print('Auto White Balance OFF')
cam.BalanceWhiteAuto.set('Off')
except (AttributeError, VmbFeatureError):
pass
# Try to adjust GeV packet size.
try:
stream = cam.get_streams()[0]
stream.GVSPAdjustPacketSize.run()
while not stream.GVSPAdjustPacketSize.is_done():
pass
except (AttributeError, VmbFeatureError):
pass
Hello. I am currently running Vimba Python on a Jetson TX2. I followed installation instructions, however when I run examples or custom code the same error periodically appears in the terminal:
Second question is related to asynchronous acquisition. I'm trying to run the opencv example with a bit of extra code in which I'm changing the exposure time to a fixed value set by the user. However, when I add this code the program gets stuck on cam.stop_acquisition() and doesn't exit. Is there a way to fix it?
This is the function I've edited: