Hi,
I have exactly the same issue while calling ascom from python with an ASI ZWO camera, and I'm not sure what you mean by "try to set all the parameters once". Here is the code:
from win32com.client import Dispatch
camera = Dispatch("ASCOM.ASICamera2.Camera")
camera.Connected = True
camera.BinX = 2
camera.BinY = 2
camera.StartExposure(0.010,True)
If I comment out the two lines setting the binning to 2, it works fine. If I include these two lines, I get the following exception:
pywintypes.com_error: (-2147352567, 'Une exception s’est produite.', (0, 'ASCOM.ASICamera2', 'unspecified', None, 0, -2147220479), None)
How should I set the binning ?
Thanks!