simple script with get_av/tv is not working (A590) - Script Writing - CHDK Forum supplierdeeply

simple script with get_av/tv is not working (A590)

  • 2 Replies
  • 2779 Views
*

Offline toby

  • *
  • 46
simple script with get_av/tv is not working (A590)
« on: 23 / November / 2008, 04:27:31 »
Advertisements
Hi,
i made my first little script, but its not working, the camera just ignores all buttons and completely turns off while going into sleep mode.

Code: [Select]
@title Settings revealer

@param c Mode: 0-append, 1-replace
@default c 1
n=0

while n<50
get_av a
get_tv t
print "av:",a
print "tv:",t
sleep 1000
n=n+1
wend

end
What is wrong?

*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: simple script with get_av/tv is not working (A590)
« Reply #1 on: 23 / November / 2008, 04:47:17 »
I don't quite know what you are trying to script, but your problem is likely solved by setting "Disable LCD OFF: Script" in CHDK settings.

*

Offline toby

  • *
  • 46
Re: simple script with get_av/tv is not working (A590)
« Reply #2 on: 23 / November / 2008, 04:55:15 »
Oh lol thats what i need to have turned on...
I want to get the aperture when cam is turned to sleep (LCD turned off)
Because then the aperture looks like 16, but actualy u can only override it to 11
I found out that the command get_tv freezes the script.
And i believe get_av is not working properly.

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal