basler / pypylon

The official python wrapper for the pylon Camera Software Suite
http://www.baslerweb.com
BSD 3-Clause "New" or "Revised" License
566 stars 207 forks source link

GrabOne.py sample Error of genicam.LogicalErrorException: Cannot create chunk parser. No chunk node map description available. Check the Transport Layer settings. : LogicalErrorException thrown (file 'ChunkParsingEngine.h', line 116) #205

Open HajimeMiyata opened 4 years ago

HajimeMiyata commented 4 years ago

Hello,

We try to grab image by grabone.py sample following URL. https://github.com/basler/pypylon/blob/5cd49e44d719eb7d122a86d78a6f2c95ec33881b/samples/grabone.py

The source code cause following error. Traceback (most recent call last): File "grabone.py", line 20, in result = camera.GrabOne(100) File "/usr/local/share/work/plib/pypylon/pylon.py", line 3343, in GrabOne return _pylon.InstantCamera_GrabOne(self, *args) _genicam.LogicalErrorException: Cannot create chunk parser. No chunk node map description available. Check the Transport Layer settings. : LogicalErrorException thrown (file 'ChunkParsingEngine.h', line 116) root@armadillo:/usr/local/share/work#

We use acA3088-16gc, and Armadillo640(ARM CPU).

It is no problem that this camera connected to Window PC and open by pylon Viewer. However, it is failed to grab by grabone.py. It is also no problem to use RetreiveResult C sample whichi is C:\Program Files\Basler\pylon 5\Development\Samples\C\OverlappedGrab\OverlappedGrab.c

thiesmoeller commented 4 years ago

As a quick trip: If you don't require chunk data access, don't use it.

The grab one sample demonstrate chunk data access.

Please refer to e.g the sample from the main readme