supplierdeeply

Camera in continuous mode by script

  • 3 Replies
  • 797 Views
Camera in continuous mode by script
« on: 11 / February / 2015, 17:01:50 »
Advertisements
Hello,
how can I put a Canon S110 camera in continuous photo mode via cript command? (I'm using lua)

*

Offline srsa_4c

  • ******
  • 3665
Re: Camera in continuous mode by script
« Reply #1 on: 11 / February / 2015, 18:08:55 »
Hi,

you have two choices:
1) use scripted keypresses in your script, see the "click", "press", "release" (etc.) commands here

2) use UI properties (requires enabled "Lua native calls", see the Misc menu):

You need the following function calls in your script:
Code: [Select]
call_event_proc("UI.CreatePublic") -- you only need to call this once
call_event_proc("PTM_SetCurrentItem",<ID>,<value>)
You need to determine <ID> and <value>, because they are camera model dependent. If you have the correct ID and values, you can switch drive mode between continuous and single with the PTM_SetCurrentItem eventproc.

*

Offline reyalp

  • ******
  • 11440
Re: Camera in continuous mode by script
« Reply #2 on: 11 / February / 2015, 21:08:44 »
Depending on your needs, you might also be able to just use a script to hold down shoot_half and click shoot_full_only.

On many cameras, this is pretty much the same speed as continuous mode.
Don't forget what the H stands for.

Re: Camera in continuous mode by script
« Reply #3 on: 12 / February / 2015, 05:12:53 »


Ok thank you :)
« Last Edit: 12 / February / 2015, 05:21:35 by manattta »


 

Related Topics