Disable ND Filter on Powershot sx100IS in an existing script - Script Writing - CHDK Forum  

Disable ND Filter on Powershot sx100IS in an existing script

  • 2 Replies
  • 3378 Views
Disable ND Filter on Powershot sx100IS in an existing script
« on: 13 / August / 2011, 20:54:01 »
Advertisements
Hi there,

I would like to disable the ND filter in the following script on my SX100IS. Is this possible?

Thanks!

Code: [Select]
@title Sunset4
rem Script to shoot time-lapse videos of sunsets
rem v. 4, Fbonomi apr 30th 2008
rem Released under GPL

@param a Delay (sec)
@default a 10

@param b Limit Tv
@default b -414
rem (-414=20 sec; -384=15 sec; -320=10 sec; -224=5 sec.)

@param c Default Sv
@default c 480
rem (480=160)

@param d Limit Sv
@default d 776
rem (776=1250 ISO; 960=5000)

@param e Guess mode limit
@default e -200

@param f Slope in guess mode
@default f 5


print_screen 1

print "Sunset Time Lapse"

rem initialize guess mode value
x=e

rem get start Tv
get_tv96 T


rem picture counter
p=1


:loop

rem measure luminance and aperture
press "shoot_half"
sleep 500
release "shoot_half"
get_bv96 B
get_av96 A
rem release "shoot_half"

print "Measured: ",B ,A

rem resulting Tv would be:
T=B-A
T=T+c

print "Calculated T: ", T

rem check Tv Values

if T>e then
 rem normal mode, shoot with calculated Tv and default Sc
 X=T
 Y=c
 print "Mode: Standard"
else
 rem Guess mode, every shot will be 5/96th steps longer
 x=x-f
 
 if  x>b then
  rem we are in dark, but exposure is not too long
  rem normal mode, shoot with guessed Tv and default Sc
  X=x
  Y=c
  print "Mode: Guess"
 else
  rem we are in very dark area, we want to avoid too long exposures
  rem shoot with maximum allowed time (b) and
  rem adjust Sv accordingly

  X=b
  Y=c+b-x
 
  rem BUT check we don't go in too high ISO!
  if Y>d then
   Y=d
  endif
 
  print "Mode: Guess with High ISO"
 endif
 
endif


rem we can now shoot
sleep 100
set_sv96 Y
set_tv96_direct X
sleep 100
shoot
sleep 100
print "SHOOT ",p,X,Y
p=p+1

sleep a*1000

goto "loop"

Re: Disable ND Filter on Powershot sx100IS in an existing script
« Reply #1 on: 13 / August / 2011, 21:19:40 »


I would like to disable the ND filter in the following script on my SX100IS. Is this possible?

A bit difficult  .. as it does not have one.


Re: Disable ND Filter on Powershot sx100IS in an existing script
« Reply #2 on: 14 / August / 2011, 10:17:27 »


I would like to disable the ND filter in the following script on my SX100IS. Is this possible?

A bit difficult  .. as it does not have one.


Excellent! thanks!

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal