cameraControlcmd usage
Posted: Thu Oct 17, 2019 2:51 pm
HI, I'm usning CameraControlCmd.exe from command line. In my pc I have attached a canon camera.
I run this cmd line:
C:\Program Files (x86)\digiCamControl>cameracontrolcmd.exe /session SesCanon /capture
but I get picture from web cam and not from canon camera
If I run this cmd line:
C:\Program Files (x86)\digiCamControl>cameracontrolcmd.exe /session SesCanon /captureall
I get this error
digiCamControl command line utility running
New Camera is connected ! Driver :Canon EOS 4000D
Using session SesCanon
Photo transfer begin.
Transfer started :C:\Lakeview\LVCut\picture\DSC_0011.jpg
Transfer done :C:\Lakeview\LVCut\picture\DSC_0011.jpg
Photo transfer done.
Eccezione non gestita: System.Exception: Could not capture photo from webcam.
in CameraControl.Devices.Others.WebCameraDevice.CapturePhoto() in D:\devel\vs2010\CameraControl\CameraControl.Devices\Others\WebCameraDevice.cs:riga 120
in System.Threading.ThreadHelper.ThreadStart_Context(Object state)
in System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
in System.Threading.ThreadHelper.ThreadStart()
Could someone help me?
I just want to take pciture selecting camera. Is it possible?
Thanks in advance
Alessandra
I run this cmd line:
C:\Program Files (x86)\digiCamControl>cameracontrolcmd.exe /session SesCanon /capture
but I get picture from web cam and not from canon camera
If I run this cmd line:
C:\Program Files (x86)\digiCamControl>cameracontrolcmd.exe /session SesCanon /captureall
I get this error
digiCamControl command line utility running
New Camera is connected ! Driver :Canon EOS 4000D
Using session SesCanon
Photo transfer begin.
Transfer started :C:\Lakeview\LVCut\picture\DSC_0011.jpg
Transfer done :C:\Lakeview\LVCut\picture\DSC_0011.jpg
Photo transfer done.
Eccezione non gestita: System.Exception: Could not capture photo from webcam.
in CameraControl.Devices.Others.WebCameraDevice.CapturePhoto() in D:\devel\vs2010\CameraControl\CameraControl.Devices\Others\WebCameraDevice.cs:riga 120
in System.Threading.ThreadHelper.ThreadStart_Context(Object state)
in System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
in System.Threading.ThreadHelper.ThreadStart()
Could someone help me?
I just want to take pciture selecting camera. Is it possible?
Thanks in advance
Alessandra