Scripting

mjcharron
Posts: 6
Joined: Thu Jan 29, 2015 1:06 am

Scripting

Post by mjcharron » Sun Apr 12, 2015 6:17 am

Is there a more detailed documentation on scripting? Or at least something on the various camera properties?

Scripting

Advertisment
 

Duka Istvan
Posts: 867
Joined: Tue Mar 26, 2013 9:52 pm

I started a new script system

Post by Duka Istvan » Sun Apr 12, 2015 9:31 am

I started a new script system based on tcl syntax but still under development but you can test it using latest beta http://digicamcontrol.com/wiki/index.php/Tcl_Scripting

mjcharron
Posts: 6
Joined: Thu Jan 29, 2015 1:06 am

Scripting

Post by mjcharron » Sun Apr 12, 2015 4:54 pm

How about the camera properties?ex:<setcamera property="iso" value="200"/> what is the defined property for changing the shutter speed, f/ stop and other properties?

Dariusz
Posts: 4
Joined: Sat Feb 13, 2016 8:08 pm

Re: Scripting

Post by Dariusz » Sat Feb 13, 2016 8:10 pm

Same question really... what are the commands to set ISO, Shutter, White Balance, F Stop etc etc?

Regards

Dariusz

Duka Istvan
Posts: 631
Joined: Sat Oct 03, 2015 7:57 pm

Re: Scripting

Post by Duka Istvan » Sat Feb 13, 2016 9:46 pm

Check this http://digicamcontrol.com/doc/userguide/singlecmd and http://digicamcontrol.com/doc/userguide/tcl this scripting system replaced the old xml based

Dariusz
Posts: 4
Joined: Sat Feb 13, 2016 8:08 pm

Re: Scripting

Post by Dariusz » Mon Feb 15, 2016 1:27 pm

Humh

Yeah I tried

dcc Set Shutter 1s
dcc Set Shutter 1/4000
dcc Set Aperture 12

But it did not work. Or maybe the issues is somewhere else?

D800 + Win 10 pro

Duka Istvan
Posts: 631
Joined: Sat Oct 03, 2015 7:57 pm

Re: Scripting

Post by Duka Istvan » Tue Feb 16, 2016 8:27 pm

Please send me (Menu->Help->Send log file) or upload here your log file

mamun
Posts: 2
Joined: Wed Apr 20, 2016 9:17 pm

Re: Scripting

Post by mamun » Wed Apr 20, 2016 9:23 pm

I'm trying to write a tcl script which I can execute directly from Windows without invoking digicamcontrol. I plan to use the single command system (CameraControlRemoteCmd.exe). I notice in the threads the mention of the use of "dcc" in tcl scripts. Can someone help me with this? Are there examples?

Duka Istvan
Posts: 631
Joined: Sat Oct 03, 2015 7:57 pm

Re: Scripting

Post by Duka Istvan » Wed Apr 20, 2016 10:47 pm

No way to execute tcl script using CameraControlRemoteCmd yet, you can execute dcc commands one by one using CameraControlRemoteCmd: http://digicamcontrol.com/doc/userguide/singlecmd

mamun
Posts: 2
Joined: Wed Apr 20, 2016 9:17 pm

Re: Scripting

Post by mamun » Wed Apr 20, 2016 11:41 pm

Thanks for the response.

I have tried both both CameraControlCmd.exe and CameraControlRemoteCmd.exe
Not sure which one I should use.

When I run CameraControlCmd.exe I hear the camera take a picture. After that it hangs.
I don't see any file saved.

When I run CameraControlRemoteCmd.exe it just gives error messages.

I also notice I have to turn the camera off and then on again for response. It seems to go into sleep mode. Is this normal?


Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest