help: how to debug script interrupting? - page 8 - General Discussion and Assistance - CHDK Forum

help: how to debug script interrupting?

  • 224 Replies
  • 64762 Views
Re: help: how to debug script interrupting?
« Reply #70 on: 13 / July / 2012, 15:49:28 »
Advertisements

Am I wrong?

I have not studied the CHDK code so I don't know if it has changed.

Quote
Moreover: on SDM yahoo group they say that are able to synch cams perfectly to 1/1000th with flash...

Yes, because the user knows when both cams are in the part of the code that reacts VERY quickly when the switch is released.

It then applies a certain delay to one of the cameras before triggering the flash.

That is not done with scripts.

Re: help: how to debug script interrupting?
« Reply #71 on: 13 / July / 2012, 16:10:58 »
A CHDK developer may offer a description of the process.

If I get time, I may look at the code.

First, I have to finish some decorating in preparation for the delivery of a 3D TV that I have waited two months for.

Re: help: how to debug script interrupting?
« Reply #72 on: 13 / July / 2012, 16:11:34 »
ok, thankyou

Re: help: how to debug script interrupting?
« Reply #73 on: 13 / July / 2012, 16:32:22 »
Your cross-pointing does cause problems.

see other thread for my response to your response to msl.

*

Offline reyalp

  • ******
  • 14126
Re: help: how to debug script interrupting?
« Reply #74 on: 13 / July / 2012, 17:03:42 »
(if this is wrong please give me some hints on where to find documentation about "how CHDK sync works." thx
I believe this patch from waterwingz made it possible to use sync from script (so the wait for release will be called from a scripted shot):
http://chdk.setepontos.com/index.php?topic=650.msg86785#msg86785

There was some discussion of this elsewhere on the forum.

edit:
note this was added in trunk changeset 1933
Don't forget what the H stands for.

Re: help: how to debug script interrupting?
« Reply #75 on: 13 / July / 2012, 17:18:33 »
thankyou
actually the patch enable the feature to work (was not working before)
and Im already using that version (http://chdk.setepontos.com/index.php?topic=6824.msg86822#msg86822)

thanks anyway

Re: help: how to debug script interrupting?
« Reply #76 on: 13 / July / 2012, 17:25:02 »
Ported :   A1200    SD940   G10    Powershot N    G16

Re: help: how to debug script interrupting?
« Reply #77 on: 13 / July / 2012, 22:12:47 »
[I believe this patch from waterwingz made it possible to use sync from script (so the wait for release will be called from a scripted shot)
Looking at it again,  I guess that  I really need change this  :

Code: [Select]
if ((skey == KEY_SHOOT_FULL) &&  conf.remote_enable && conf.synch_enable ) usb_sync_wait = 1 ;
and add "SHOOT_FULL_ONLY"   :

Code: [Select]
if ( ((skey == KEY_SHOOT_FULL) || (skey == KEY_SHOOT_FULL_ONLY)) &&  conf.remote_enable && conf.synch_enable ) usb_sync_wait = 1 ;
Although that is not the source of the problem in this (these) thread(s).
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline reyalp

  • ******
  • 14126
Re: help: how to debug script interrupting?
« Reply #78 on: 14 / July / 2012, 22:26:01 »
Not sure if you are still interested in helping to track this down, but if you are here's another test build.

Also included is source patch with my debug code for anyone who is interested.

I think this might be the same problem reported a long time ago here:
http://chdk.setepontos.com/index.php/topic,4131.msg39296.html#msg39296
Don't forget what the H stands for.

Re: help: how to debug script interrupting?
« Reply #79 on: 15 / July / 2012, 06:46:06 »
i'm absolutly interested in helping to track down the problem,
I'd be very happy if I could use lua instead of ubasic, it would
solve a lot of stuff...

I immediatly test it and send results.

thx

 

Related Topics


SimplePortal © 2008-2014, SimplePortal