question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Quick change of Exposure time for Basler acA1300-30gm camera (GigE)

See original GitHub issue

Hi there, I’m programming a GUI, where live Images from several cameras (Basler acA1300-30gm) are displayed simultanousely. Upon a user command, the current live pictures are saved to files. Due to the specific application of the program, it is important to have a relatively long exposure time for the pictures that are saved. For the live images, however, the exposure time should be a lot shorter, to allow for a higher frame rate. My current implementation basically works, but has a major drawback. I’m changing the exposure time according to the sample code parametrizecameraloadandsaveconfig.py, where the node map is modified and then loaded to the cameras. This step takes about one second for each camera. Each time a set of pictures is saved, this is done twice. For that reason, saving a set of pictures takes around 8 to 10 seconds, which is unacceptable. So I’m looking for a more efficient way to change from one exposure time to another. I found issue #67 and tried to solve the problem based on @thiesmoeller’s answer, but I couldn’t make it work. When I tried running a script that only consisted of @thiesmoeller’s code from issue #67 (except for the line info.SetDeviceClass("BaslerUsb"), which I replaced by info.SetDeviceClass("BaslerGigE")) I received the following error: Traceback (most recent call last): File “…\expTime.py”, line 27, in <module> cam.ChunkSelector = “ExposureTime” File “…\Python37\lib\site-packages\pypylon\pylon.py”, line 4045, in setattr self.GetNodeMap().GetNode(attribute).SetValue(val) File “…\Python37\lib\site-packages\pypylon\genicam.py”, line 2443, in SetValue return _genicam.IEnumeration_SetValue(self, entry) _genicam.InvalidArgumentException: Feature ‘ChunkSelector’ : cannot convert value ‘ExposureTime’, the value is invalid. : InvalidArgumentException thrown in node ‘ChunkSelector’ while calling ‘ChunkSelector.FromString()’ (file ‘enumeration.cpp’, line 134)

Does anyone know what the problem might be?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10

github_iconTop GitHub Comments

3reactions
PolymaTh-EE98commented, Nov 8, 2019

try ExposureTimeAbs

camera = pylon.InstantCamera(pylon.TlFactory.GetInstance().CreateFirstDevice()) camera.Open() camera.ExposureTimeAbs = 24587

0reactions
thiesmoellercommented, Mar 23, 2022

Closed due to no activity

Read more comments on GitHub >

github_iconTop Results From Across the Web

Exposure Time - Basler Product Documentation
Camera Model Minimum Exposure Time Maximum Exposure Time Available Expos... a2A2448‑105g5cBAS 10/11 10000000 ExposureTime... a2A2448‑105g5mBAS 10/11 10000000 ExposureTime... a2A2448‑23gcBAS 10/11 10000000 ExposureTime...
Read more >
Basler GigE CAMERAS User Manual - Exposure Time
Basler GigE CAMERAS Manual Online: Setting The Exposure Time. This section (Section 7.5) describes how the exposure time can be adjusted ''manually'', i.e., ......
Read more >
Basler ace User's Manual for GigE Cameras
Exposure start and exposure time can be controlled. ▫ by parameters transmitted to the camera via the Basler pylon API and the GigE...
Read more >
acA1300-30gm
The acA1300-30gm Basler ace GigE camera with a Sony ICX445 mono CCD sensor delivers 30 frames per second at 1.3 MP resolution. In...
Read more >
Controling exposure time (ABS/Raw) in Basler GigE Camera
Hi I am working with GigE Basler cameras (acA2040-gm, acA2500-gm, acA1030-gm ect.). The Cameras seems to have two values for setting the.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found