Set review time, lcd brightness, Volume off - Script Writing - CHDK Forum supplierdeeply

Set review time, lcd brightness, Volume off

  • 4 Replies
  • 4744 Views
Set review time, lcd brightness, Volume off
« on: 16 / August / 2009, 09:04:56 »
Advertisements
I have researched the propset of the A450 and A460 cameras. I have a rig of 60 cameras for a matrix-style bullet time rig. So I need to set all of them up via an automatically loaded script.
I can do lots using propset and the set_ command.

3 options are still missing.

1. Review time = OFF
2. LCD Brightness = LOW
3. Volume Mute = ON

Are there any options that I have missed, that will allow me to set these values from a script ?
Thanks!
CHDK used for a Bullet-time sequence
Welcome to mishra.tv productions

Re: Set review time, lcd brightness, Volume off
« Reply #1 on: 16 / August / 2009, 09:20:22 »
As an addition this wiki entry - First draft of a table for params.
http://chdk.wikia.com/wiki/Params
talks about
20   Mute sounds - mute on or off
19   Display Brightness - seems to reflect the setting for the display brightness

and this - http://chdk.wikia.com/wiki/PropertyCase talks about

9  Review time (in msec, 4 bytes)

These can be obtained from get_parameter_data() 
No way to set it yet :-(
CHDK used for a Bullet-time sequence
Welcome to mishra.tv productions

*

Offline reyalp

  • ******
  • 14117
Re: Set review time, lcd brightness, Volume off
« Reply #2 on: 16 / August / 2009, 19:23:00 »
You should be able to add set_parameter_data to lua quite easily (using get_ as an example), if you are feeling brave. This does eventually write to on-board flash, so caution is advised ;)
Don't forget what the H stands for.

Re: Set review time, lcd brightness, Volume off
« Reply #3 on: 16 / August / 2009, 20:38:35 »
Is set_parameter_data supported from ubasic as well ? My script is in ubasic ATM
CHDK used for a Bullet-time sequence
Welcome to mishra.tv productions


*

Offline reyalp

  • ******
  • 14117
Re: Set review time, lcd brightness, Volume off
« Reply #4 on: 16 / August / 2009, 20:41:58 »
Is set_parameter_data supported from ubasic as well ? My script is in ubasic ATM
set_parameter_data doesn't exist in either. I was saying that if you know a little C, you could add it to lua. get_parameter_data is supported in lua, but not ubasic, because many params are more than 4 bytes and ubasic can't handle anything but numbers sensibly.
Don't forget what the H stands for.

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal