Error/Problem with binning at pco.labview, pco.cpp, pco.python

This is suitable for pco.labview, pco.cpp and pco.python:

Whenever binning is set using the setConfiguration function you have to make sure that your hardware roi is suitable for the new binning configuration,
otherwise setConfiguration will return an error.

Thus, whenever you adapt the binning we highly recommend to always also set the correct roi in the setConfiguration function.
As an example: 
If you have a camera with a resoultion of 2048x2048 and want to set a binning of 2x2, you also have to set the roi to (1,1,1024,1024) or less.