Automatically shutdown camera when in script mode AND disk is full

  • 5 Replies
  • 1980 Views
*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Advertisements
this topic is just a reminder to myself :D

what it should do: via an option you can enable automatic cam shutdown if disk is full and a script is running (normally scripts take shots, which is of no use when disk is full -> battery low!), this is useful if you cannot monitor your camera or you are remote to it.
additional feature: just before shutting of, take a last picture (wont be saved though) with FLASH. purpose? this might be useful in aerial photography when your kite is up there and you dont really know when the disk is full. i guess lot of times people haul in their kite finding out that either there was lots of space to take pics or the camera died minutes ago :D
don't exactly know how i'll do it, i just know that i'll do it :D fingalo already said he'd help with the shutting down, thanks in advance.

*

Offline mx3

  • ****
  • 372
Re: Automatically shutdown camera when in script mode AND disk is full
« Reply #1 on: 14 / February / 2008, 08:07:02 »
nice idea.
I think it would be usefull to separate this feature into independent parts:
 free_disk_space - ubasic command
 shutdown - ubasic command

Code: [Select]

while free_disk_space>5000000
 sleep some_time
 shoot
wend

shutdown

end

skype: max_dtc. ICQ: 125985663, email: win.drivers(at)gmail, eVB decompiler

*

Offline mx3

  • ****
  • 372
Re: Automatically shutdown camera when in script mode AND disk is full
« Reply #2 on: 14 / February / 2008, 08:14:23 »

I like this:
unsigned int GetFreeCardSpaceKb(void);

and this:
void __attribute__((noreturn)) shutdown();

I will do it right now :-)
skype: max_dtc. ICQ: 125985663, email: win.drivers(at)gmail, eVB decompiler

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Automatically shutdown camera when in script mode AND disk is full
« Reply #3 on: 14 / February / 2008, 11:30:46 »
damn you :D
by the way for more complex scripts maybe it's clever to also have a way to implement raw_left and jpeg_left in script.
for example you want to make a hdr-bracketing session with 5 pictures, and the script calculates that the left space will NOT suffice so it will quit with a warning or something.
the autoshutdown when disk full should not only be implemented in script, because this way you'd have to change all your scripts. maybe an option in scriptmenu additionally will do the trick. i'll read through the sources, but first i'll finish the other thing.


Re: Automatically shutdown camera when in script mode AND disk is full
« Reply #4 on: 14 / February / 2008, 14:24:50 »
Deleted
« Last Edit: 22 / April / 2008, 12:05:08 by Barney Fife »
[acseven/admin commented out: please refrain from more direct offensive language to any user. FW complaints to me] I felt it imperative to withdraw my TOTAL participation. Nobody has my permission, nor the right, to reinstate MY posts. Make-do with my quoted text in others' replies only. Bye

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Automatically shutdown camera when in script mode AND disk is full
« Reply #5 on: 17 / February / 2008, 20:14:48 »
Testbuild for configureable usermenu fingalo created a test build, where - among other things - shutting down the cam via script is possible.
while this is already nice, i want to go further than that. but that will come later :D

 

Related Topics