From 301031879ae3177a9d0814bb01b20d3004b077fc Mon Sep 17 00:00:00 2001 From: morefigs Date: Mon, 7 Mar 2016 09:08:02 +1100 Subject: Changed listLength arg Changed listLength arg from 0 to 999 to avoid error in Vimba 1.4. --- pymba/vimbaobject.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymba/vimbaobject.py b/pymba/vimbaobject.py index 964f811..6a9a165 100644 --- a/pymba/vimbaobject.py +++ b/pymba/vimbaobject.py @@ -74,7 +74,7 @@ class VimbaObject(object): # Vimba DLL will return an error code errorCode = VimbaDLL.featuresList(self._handle, byref(dummyFeatureInfo), - 0, + 999, byref(numFound), sizeof(dummyFeatureInfo)) if errorCode != 0: -- cgit v1.2.3