Can't switch to record_mode after USB_UPLOAD - Script Writing - CHDK Forum

Can't switch to record_mode after USB_UPLOAD

  • 2 Replies
  • 1703 Views
Can't switch to record_mode after USB_UPLOAD
« on: 20 / September / 2011, 09:21:47 »
Advertisements
Hi guys,
I really need some help here...

I'm using a G11 and I trying to make a script that right after manual shooting,  upload to PC for a specific time, then go back to record mode to shoot again.

I got everything working upto uploading to WIA-Loader. I've tried CHDK, CHDK-DE & SDM.


using SDM, basically this is the script....
Code: [Select]
shoot

enable_usb_download
upload_images_for 20

disable_usb_download
...

I believe the problem is when you "enable_usb_download" the lens automatically retracts and CHDK can't go outside that mode again and simply shuts down. I've tried:


make_usb_connection
upload_images_for
plaback_mode/record_mode
set_config_value 121 1
set_record



Thanks in advance!! (I really need this)

Re: Can't switch to record_mode after USB_UPLOAD
« Reply #1 on: 21 / September / 2011, 13:32:52 »
Hello and welcome !

Got to be careful here, you are using commands that CHDK does not have and commands SDM 1.85 does not have.

Send me a message with an email address and I will send you latest version that does have the commands.


David

Re: Can't switch to record_mode after USB_UPLOAD
« Reply #2 on: 22 / September / 2011, 00:09:40 »
you've got PM  :D

 

Related Topics