Check is Camera in Shutter Speed or ISO state - General Help and Assistance on using CHDK stable releases - CHDK Forum

Check is Camera in Shutter Speed or ISO state

  • 6 Replies
  • 1095 Views
Check is Camera in Shutter Speed or ISO state
« on: 01 / October / 2022, 09:04:36 »
Advertisements
@reyalp  or @anyone

On the M3 the up button toggles between shutter speed adjustment and ISO.

I need to detect the state the cam is in, ie shuuter speed or ISO, but I can't work out how to do it.

Any ideas?

I thought a propcase may do it, but can't find one.

Cheers

Garry
« Last Edit: 01 / October / 2022, 09:53:26 by pigeonhill »

*

Offline Caefix

  • *****
  • 948
  • Sorry, busy deleting test shots...
Re: Check is Camera in Shutter Speed or ISO state
« Reply #1 on: 01 / October / 2022, 09:22:47 »
Maybe it´s related to the modes M, P, Tv... ?  ???
All lifetime is a loan from eternity.

Re: Check is Camera in Shutter Speed or ISO state
« Reply #2 on: 01 / October / 2022, 09:53:06 »
Maybe it´s related to the modes M, P, Tv... ?  ???

I don't think so as I can change it my hand within mode ;-)

*

Offline Caefix

  • *****
  • 948
  • Sorry, busy deleting test shots...
Re: Check is Camera in Shutter Speed or ISO state
« Reply #3 on: 01 / October / 2022, 10:11:51 »

Compare iso after click?  :haha
All lifetime is a loan from eternity.

Re: Check is Camera in Shutter Speed or ISO state
« Reply #4 on: 01 / October / 2022, 10:35:24 »

Compare iso after click?  :haha

No good. I’m in a script and using wheel right or left and need to know if I’m adjusting shutter speed or ISO.

*

Offline reyalp

  • ******
  • 14125
Re: Check is Camera in Shutter Speed or ISO state
« Reply #5 on: 01 / October / 2022, 20:12:37 »
No good. I’m in a script and using wheel right or left and need to know if I’m adjusting shutter speed or ISO.
I think what caefix may be been suggesting is move the wheel one click (from script) and see which changes (from propcases). You could then do one click in the opposite direction to undo the change. Have to be make sure it's not already at a limit though, or detect when nothing changes.

If it's not in a propcase (which I definitely wouldn't expect it to be), any other options for detecting that state likely require reverse engineering.
Don't forget what the H stands for.

Re: Check is Camera in Shutter Speed or ISO state
« Reply #6 on: 02 / October / 2022, 01:11:49 »
I had thought of doing that and now will ;-)

Thanks to both of you.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal