Mode dials and Playback pushbuttons - page 18 - General Discussion and Assistance - CHDK Forum  

Mode dials and Playback pushbuttons

  • 201 Replies
  • 43887 Views
*

Offline reyalp

  • ******
  • 11898
Re: Mode dials and Playback pushbuttons
« Reply #170 on: 07 / December / 2009, 00:20:55 »
Advertisements
@reyalp, I did verify it, and it did work before a590-101b-0.9.9-858. It took the pics in macro and they didn't look like the described digital macro or crops.
Erm, then it didn't "work". It just set regular macro mode, which you can already do other ways.
Quote
The lua test script was simple, here it is:
Ok, so what if you keep the first set_capture_mode call the same, and change the second one to
Code: [Select]
set_capture_mode_canon(33288)
? I don't see any way this can do anything different than calling set_capture_mode() with the old modemap. It's a simple function, and all it does is lookup up the canon mode and set it.
Don't forget what the H stands for.

*

Offline fe50

  • ******
  • 3099
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: Mode dials and Playback pushbuttons
« Reply #171 on: 07 / December / 2009, 06:25:24 »
on ixus50_sd400, if you set canon mode to 2, does this switch to "long shutter" mode ?
Yes
Quote
Also, if you manually switch to long shutter mode, does propcase 0 become 2 ?
Yes
Quote
Finally, in long shutter mode, does propcase 40 show the selected Tv (in tv96) in this mode ?
Yes:
1"  : 0
1"3 : 65504
1"6 : 65472
2"  : 65440
2"5 : 65488
3"2 : 65376
4"  : 65344
5"  : 65312
6"  : 65280
8"  : 65248
10" : 65216
13" : 65184
15" : 65152


Quote
for ixus860_sd870
can you try canon mode 32774 ? Maybe this is also long shutter mode (I had it as MYCOLORS on some other cameras, but that's already on a different mode for this one)
Yes, 32774 is Canon's long shutter mode:
P 2 32772 STL   canon 32772->32774 OK   UNKNOWN 0 32774 STL

*

Offline reyalp

  • ******
  • 11898
Re: Mode dials and Playback pushbuttons
« Reply #172 on: 07 / December / 2009, 06:44:06 »
Great, that helps a lot.

I wonder if you can set normal shutter speeds (like 768 for 1/256) in prop 40 in this mode, outside of half shoot ? If so, CHDK can probably treat it like a normal manual shutter mode.

It looks like the MODE_NIGHT enum value is currently doing double duty between this and "night scene"
Don't forget what the H stands for.

*

Offline fe50

  • ******
  • 3099
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: Mode dials and Playback pushbuttons
« Reply #173 on: 07 / December / 2009, 07:57:27 »
I wonder if you can set normal shutter speeds (like 768 for 1/256) in prop 40 in this mode, outside of half shoot ?
If so, CHDK can probably treat it like a normal manual shutter mode.

Yes, indeed.
You can set prop #40 to the exp. value you want (in apex96 units); e.g. with 768 in #40 you'll get a 1/256 exposure.
You can also get down to ~65 seconds (the usual limit), e.g. -768 gives a 65 second exposure.

The Canon OSD always shows the value set by the Canon menu, e.g. 1s.


Re: Mode dials and Playback pushbuttons
« Reply #174 on: 07 / December / 2009, 08:21:00 »
Regarding C mode, do you see any propcase that shows that you are in C ? Also, if you set C mode and change settings (e.g. change your Tv) are those settings saved automatically ? If so, does this still work if C mode is set with script ?

Propcase 50 is showing 8225.  I don't recall it doing that before, maybe I just didn't notice.  PC 49 shows the emulated propcase.

Re: Mode dials and Playback pushbuttons
« Reply #175 on: 07 / December / 2009, 08:25:55 »
Also, if you set C mode and change settings (e.g. change your Tv) are those settings saved automatically ? If so, does this still work if C mode is set with script ?
No, the changed settings aren't retained (reverts to the original saved settings) unless you select the save settings from the menu again.

Re: Mode dials and Playback pushbuttons
« Reply #176 on: 07 / December / 2009, 09:31:35 »
Here is something a little interesting (but maybe not of much use) that I'm not sure if it's been noticed. This is on the SX10 and possibly others with a dedicated video record button.
Whatever mode the camera is set to, when video record is started, the mode numbers in propcase 49 & 50 increase by 1024 (0x400 HEX):
e.g.:
Video: 2597 -> 3621
Sports: 33287 -> 34311
etc.

Going the other way, setting the modenumber +1024, the camera basically switches to that mode (without the mode icon though).  Also, the exif mode comes up as MovieSnap.

Maybe not of a lot of use though.   I tried initiating a script while video record was on, but it ends the video record and takes a picture in the mode that the actual dial is set to.
One thing I can't find, is how do I initiate video record with a script on the sx10?  It has a dedicated video record button, so using "shoot()" or the others actually takes a photo, it doesn't start video record and I don't seem to see a script actio to start video, am I missing something?

*

Offline dvip

  • ****
  • 451
Re: Mode dials and Playback pushbuttons
« Reply #177 on: 07 / December / 2009, 11:06:14 »
@reyalp, yes, set_capture_mode_canon(33288) does what
set_capture_mode(37) (macro) used to do. One way to work
around the problem of the cam being set to an unknown mode
after set_capture_mode_canon(33288) is to call
set_capture_mode(5) again and back to manual mode we are.


Re: Mode dials and Playback pushbuttons
« Reply #178 on: 07 / December / 2009, 12:30:29 »
@reyalp, yes, set_capture_mode_canon(33288) does what
set_capture_mode(37) (macro) used to do. One way to work
around the problem of the cam being set to an unknown mode
after set_capture_mode_canon(33288) is to call
set_capture_mode(5) again and back to manual mode we are.

I'm not sure I entirely understand what your issue is.  Are you saying that before you were able to:
1) Shoot in a combined Manual/Digital Macro mode:  I don't think this is possible as they are two mutually exclusive modes and there is no reason for the cam to want to or even know how to combine both.  When I force into Digital Macro on the SX10, I can't manually adjust Tv or Av.

2) After taking the shot in Digital Macro, the camera automatically reverted back to manual mode instead of staying in Digital Macro:  As far as the camera is concerned, when we force the Digital Macro mode, it believes it is in digital macro mode and won't change unless it's told to check the physical mode dial position again.  There may be circumstances when it does recheck the dial (e.g. turn the cam off and on, or switch to playback mode and back to record mode).

Or is it something completely different?

*

Offline dvip

  • ****
  • 451
Re: Mode dials and Playback pushbuttons
« Reply #179 on: 07 / December / 2009, 14:26:16 »
@barberofcivil, it didn't combine Manual/Digital,
set_capture_mode_canon(37) just used to set the A590IS to
macro mode with the old modemap. set_capture_mode_canon
(33288) does the same thing. To return to manual mode just
call a set_capture_mode(5) right after it.

 

Related Topics