Command to disable RAW? - Script Writing - CHDK Forum

Command to disable RAW?

  • 4 Replies
  • 3361 Views
Command to disable RAW?
« on: 24 / March / 2012, 19:12:22 »
Advertisements
Hi,

I have searched and looked at the wiki to no avail.  So hopefully I am not asking a question that has an easily found answer, if so sorry.


Several times I have started a timelapse script on my A590 only to find out when I go to check it that I forgot to make sure RAW was disabled.  (I never shoot RAW so I'm not even sure how it gets checked, sometimes the menus are a little flakey.)  Anyway.... is there a simple LUA or uBASIC script command to disable raw at the start of the script?  That way the next time I forget to disable RAW I won't fill my card up in 30 minutes and end up with no timelapse sequence!

Thanks in advance!

Re: Command to disable RAW?
« Reply #1 on: 24 / March / 2012, 19:20:53 »
set_config_value can be used to set any CHDK menu item to whatever you  want - as good a way as any to disable RAW.

In the case of disabling raw, what you want is :

set_config_value 2, 1

BTW - you might be accidentally enabling RAW from the keyboard shortcut for that ?
« Last Edit: 24 / March / 2012, 19:26:16 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline reyalp

  • ******
  • 14140
Re: Command to disable RAW?
« Reply #2 on: 24 / March / 2012, 19:24:56 »
set_config_value can be used to set any CHDK menu item to whatever you  want - as good a way as any to disable RAW.
set_raw 0
may be clearer.
Don't forget what the H stands for.

Re: Command to disable RAW?
« Reply #3 on: 24 / March / 2012, 20:52:29 »
Thanks guys.  I'll try those and see if it works for me.  Looks as if it definitely should... I bet I am enabling it via a shortcut, though until you mentioned it I didn't know there were shortcuts so... :)  Sometimes the menus do weird things like just disappear while I am viewing them or arrowing through them.  It has done this with every build I've tried over the years I've just got used to it.  Most of the time I remember to look for the RAW: #### on the side before I leave the camera but it's very frustrating if I don't :)

Thanks for the tips!

Re: Command to disable RAW?
« Reply #4 on: 24 / March / 2012, 21:02:25 »
Looks as if it definitely should... I bet I am enabling it via a shortcut, though until you mentioned it I didn't know there were shortcuts so... :)
http://chdk.wikia.com/wiki/CHDK_User_Manual#Key_Shortcuts

Also, while in <ALT> mode the following buttons are reassigned:

A Series,SX130 [+/-] – Toggles RAW capture mode
G Series AF Frame Selector/Erase – Toggles RAW capture mode
S Series FUNC.SET – Toggles RAW capture mode
SD/IXUS Series DISP. – Toggles RAW capture mode
SX200 DISP. – Toggles RAW capture mode
SX10, 20 AF Frame Selector/Erase – Toggles RAW capture mod

Quote
Sometimes the menus do weird things like just disappear while I am viewing them or arrowing through them.  It has done this with every build I've tried over the years I've just got used to it.  Most of the time I remember to look for the RAW: #### on the side before I leave the camera but it's very frustrating if I don't :)
The menu redraw issue has been around a long time.  Philmoz made some changes that vastly improved it but its still an issue - mostly in shooting mode though.
« Last Edit: 24 / March / 2012, 21:06:22 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics


SimplePortal © 2008-2014, SimplePortal