expanding exposure times on a590

  • 43 Replies
  • 3204 Views
Re: expanding exposure times on a590
« Reply #10 on: 15 / January / 2017, 09:38:00 »
Advertisements
Wow!!!! I asked for an expanded shutter range, but I never imagined this in my wildest dreams. The display says 2048 (34+minutes) to 1/100,000 seconds. I don't know how accurate these are (and don't really care), but I compared the 1/10,000 (which is the maximum that the CHDKplus allows) to the 1/100,000 that the new script allows and the difference in exposures is quite dramatic. (I used a light bulb as my subject.) You really nailed this one.
There are a few tweaks I'd like to suggest, but will do this later.
Thanks,
..... john

Re: expanding exposure times on a590
« Reply #11 on: 15 / January / 2017, 19:20:16 »
Hi Waterwingz,
          Here are my thoughts on the tv_control script.
(Please bare in mind that I know nothing about writing scripts, and nearly as little about using them.)
  The only majour problem I ran across was being unable to get fully out of the script. Alt would make the display disappear, but the script was still running in the background, and would not allow me to change the shutter speed from what it was when I tried to exit. I was unable to access CHDK's menus, and had to resort to removing the SD card, deleting the tv_control.lua file, and loading the default.lua to get back to the pre-script running conditions. I tried all the key combinations I could think of to fully exit the script, but wasn't able to do it, other than by removing the card, etc..
Other than that, most of the mods I would like are cosmetic.
- A larger display font would be nice; something like CHDKplus' intermediate size would be perfect.
- I would prefer that the Alt key be the only means of exiting the script.
- I would like to have the zoom lever for zooming only.
 That's about it. I'm sure you have bigger fish to fry, so I'll understand if you don't have the time for my niggling little problem. If worst comes to worst I can always use CHDKplus.
Again, the shutter speed range on this script is phenomenal, and I'm already dreaming up ways that I can take advantage of it.
Thanks again,
..... john

Re: expanding exposure times on a590
« Reply #12 on: 15 / January / 2017, 19:57:21 »
The only major problem I ran across was being unable to get fully out of the script. Alt would make the display disappear, but the script was still running in the background, and would not allow me to change the shutter speed from what it was when I tried to exit.  I was unable to access CHDK's menus, and had to resort to removing the SD card, deleting the tv_control.lua file, and loading the default.lua to get back to the pre-script running conditions. I tried all the key combinations I could think of to fully exit the script, but wasn't able to do it, other than by removing the card, etc..
Hmmm ... where to start. 

First of all, the script really does stop running when you press any key other than left/right or zoom-in/zoom-out. Including the <ALT> key.  It's not the script causing your issues.

I think I understand what is confusing you.  What the script does when you use it is enable the CHDK Tv override value and set the Tv override speed from the CHDK menus.  Essentially, it does exactly the same thing as if you were to enter <ALT> mode,  navigate to the Enhanced Photo Operations menu, scroll down to the Override Tv menu item and set it to Ev Step, then enable the Ev Step Value [ * ] and set it to what you selected via the script UI.

That override will prevail over any shutter speed you try to set in the Canon menu until you remove it.

Also, if you set the script to autostart when you enter <ALT>, it's going to look like the script is still running even though it's not.  Each time you enter <ALT> it starts fresh.

The trick here is to press the shutter button (to kill the script) after you enter <ALT>.  Sorry if that was not clear in my original description of who to use the script.

Quote
Other than that, most of the mods I would like are cosmetic.
- A larger display font would be nice; something like CHDKplus' intermediate size would be perfect.
- I would prefer that the Alt key be the only means of exiting the script.
- I would like to have the zoom lever for zooming only.
Larger font is easy .. I'll make it a user script parameter option.

I can disable allowing the zoom key to adjust the Tv value, but that means the zoom lever will be "dead" while the script is running.  Other people might find the zoom lever a more convenient way to adjust Tv - so what does it hurt?

Ditto for the "exit" key for the script.  Why just the <ALT> key?
 
Quote
Again, the shutter speed range on this script is phenomenal, and I'm already dreaming up ways that I can take advantage of it.
When I get a minute, I'll update CHDKplus to make the same range available.
« Last Edit: 15 / January / 2017, 20:38:30 by waterwingz »

Re: expanding exposure times on a590
« Reply #13 on: 16 / January / 2017, 00:05:33 »
Great Lua script!

I did try it on the A720IS.

Some feedback:

- On the A720IS when it reaches 1/100k the script crashes. Perhaps it should loop to where it started?

- Yep, zoom levers should be for zooming.

- It would be nice if the script could tell the user how many steps you are currently over or under exposed so you can make adjustments it if needed. This part could be hard to do.

Again, great job!



Re: expanding exposure times on a590
« Reply #14 on: 16 / January / 2017, 00:22:02 »
On the A720IS when it reaches 1/100k the script crashes.
Can you be a little more specific about what happens? The word "crashes" means different things to different people.

Quote
Yep, zoom levers should be for zooming.
Why? If I disable the ability to adjust with the zoom levers, then the zoom levers will do nothing when the script is running.  If you don't want you use them, just don't touch them?

Quote
- It would be nice if the script could tell the user how many steps you are currently over or under exposed so you can make adjustments it if needed. This part could be hard to do.
Have you tried the CHDKplus.lua script?  It already does everything you've asked for here!

Re: expanding exposure times on a590
« Reply #15 on: 16 / January / 2017, 00:55:57 »
>Can you be a little more specific about what happens?

When I get to 1/100k and do another click forward, I get this:

...tv_control.lua...
:29: attempt to concate field '?' (a nil value)
*** Terminated ***

and the script ends.

CHDKplus.lua runs find. I didn't know about it. I need to play more with it.





Re: expanding exposure times on a590
« Reply #16 on: 16 / January / 2017, 03:20:21 »
...and the script ends.
Updated script attached.  I also bumped the font size for this one.


Re: expanding exposure times on a590
« Reply #17 on: 16 / January / 2017, 10:25:06 »
Hi Waterwingz,
            I really like the new GUI. Very nice, so simple and straight forward. And I have learned how to bring up the CHDK meunu, by pressing the shutter release button. (You probably told me this :D .) But I would still prefer to exit and enter the CHDK menu using the alt key, as is done with CHDKplus. (Too many procedures makes life to complicated :) .) 
     However, I still cannot exit tv_control back to the camera's native functions, unless I go into the CHDK menu and load the default.lua. With CHDKplus, pressing the alt key returns me to the camera's native functions. If I press the alt key in tv_control, the tv_control GUI disappears, and the camera's GUI appears, but the camera insists on using the most recent tv_control shutter speed, even though I appear to be able to change the settings.
 I can zoom in and out while CHDKplus is running, but cannot zoom in and out while tv_control is running. I would like to be able to use the zoom function to zoom in an out. I do not have the problem sequencer has wrt being kicked out if I try to go past a value of 1/100,000
Thanks again for your efforts.
...... john


Re: expanding exposure times on a590
« Reply #18 on: 16 / January / 2017, 10:30:12 »
Fixed! Nice bigger font too.

Re: expanding exposure times on a590
« Reply #19 on: 16 / January / 2017, 10:45:24 »
Regarding CHDKplus, it is truly a remarkable script.
It would be nice if this was done in C to speed it up and make it part of chdk. Perhaps a timer/hook to refresh the screen a lot faster and display the EV bar without  having to press the shutter release button to update it. I like the script's EV bar, the A720IS doesn't have one, the A590IS does.

 

Related Topics