Can you programmatically enable/disable the "Enable Remote" parameter? - page 2 - Script Writing - CHDK Forum supplierdeeply

Can you programmatically enable/disable the "Enable Remote" parameter?

  • 18 Replies
  • 4570 Views
Re: Can you programmatically enable/disable the "Enable Remote" parameter?
« Reply #10 on: 01 / October / 2011, 07:27:31 »
Advertisements
newmedia42, yes, that's right.
It may be available in the future if the developers will incorporate waterwingz patch into the philmoz release.

Re: Can you programmatically enable/disable the "Enable Remote" parameter?
« Reply #11 on: 01 / October / 2011, 09:24:41 »
Added as of release 1348 to the regular CHDK - supported in both LUA and uBASIC.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Can you programmatically enable/disable the "Enable Remote" parameter?
« Reply #12 on: 02 / October / 2011, 02:29:39 »
Tested, works on a590 (b.1352)
Wonderfull, thank you for the contribution waterwingz.

Hi everyone,

I'm with the same problem of "mcaramb". And haven't a CHDK-DE for my camera (canon a2500 - 100a).

I want to use a button on display to toggle between "remote on / remote off".
Someone can help me?

Thanks
Canon A2500 and 60D


*

Offline srsa_4c

  • ******
  • 3887
I'm with the same problem of "mcaramb". And haven't a CHDK-DE for my camera (canon a2500 - 100a).

I want to use a button on display to toggle between "remote on / remote off".
Not a button, but you can have it as a script:
http://chdk.setepontos.com/index.php?topic=6429.msg73685#msg73685

CHDK is available for your camera: http://mighty-hoernsche.de/trunk/

*

Offline reyalp

  • ******
  • 11859
You could also put the remote enable/disable in the user menu, and have the user menu be the default menu. See http://chdk.wikia.com/wiki/CHDK_User_Manual#User_Menu_Enable
Don't forget what the H stands for.

And finally,  a customized build of CHDK might be an option this is really important. Hijacking a key to enable/disable the USB remote is not a big job.

Or at some point, we should consider how to add this :
http://chdk.setepontos.com/index.php?topic=8769.msg105488#msg105488
more generally to the standard build.
Ported :   A1200    SD940   G10    Powershot N    G16

I'm glad for each response, thank all yours.

For a first moment worked. But I'm trying to use a arduino to triggering the shots, so, when conected to a pc, the script must put the remote in off mode and I can download the photos.

I try use it, but don't work:

Code: [Select]
@title SOMENZI

while 1
   do
    k = get_usb_power
   until k>0

rem I put If (k > 100 and k < 500) for when the arduino triggering a shoot......
   if k > 100 and k < 500 then gosub "foto"
   
rem I put If k > 600 for when the pc usb connect to the usb......
if k > 600 then gosub "usboff"   
wend
end



:foto
    print "SWITCHING TO REC MODE"
    set_record 1
    sleep 3000

    print "shooting"
    press "shoot_half"
    sleep 800 
    press "shoot_full"
    sleep 700
    release "shoot_full"
    release "shoot_half"
    sleep a*1000
   
    print "SWITCHING BACK TO PLAY MODE"
    set_record 0
    sleep 3000
return


:usboff
    print "IGNORING USB"
    set_config_value 121 0
return


I built a special cable, to connect to PC and to receive the 5V signal from arduino, but I don't know build the script yet. Can someone help me again?

Thanks for any help.
Canon A2500 and 60D


Please don't post the same thing in multiple threads :  http://chdk.setepontos.com/index.php?topic=5164.msg112769#msg112769
It makes it hard to follow things and is very confusing when someone comes back here later.

I try use it, but don't work:
You need to tell us more about what you were expecting and what actually happened.

(FYI : the line that says sleep a*1000 is using an undefined variable.)

Quote
I built a special cable, to connect to PC and to receive the 5V signal from arduino, but I don't know build the script yet.
What is a "special cable" ?

Quote
Can someone help me again?
Yes.  One step at a time though.
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics