hook and exposure counter test - page 2 - General Discussion and Assistance - CHDK Forum

hook and exposure counter test

  • 21 Replies
  • 6176 Views
*

Offline philmoz

  • *****
  • 3332
    • Photos
Re: hook and exposure counter test
« Reply #10 on: 04 / August / 2015, 23:21:53 »
Advertisements
On my G1X (1.00f):
    FTO = 0
    FMN = 10
    FMX = 290 (worst case seen after a number of tests)

So PAUSE_FOR_FILE_COUNTER should probably be set to 300 for the G1X.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

*

Offline reyalp

  • ******
  • 13391
Re: hook and exposure counter test
« Reply #11 on: 05 / August / 2015, 02:02:24 »
So PAUSE_FOR_FILE_COUNTER should probably be set to 300 for the G1X.
Agreed, I've checked this in. Assuming FTO was usually 0, it should only wait when it actually needs to.
Don't forget what the H stands for.

*

Offline c_joerg

  • *****
  • 1151
Re: hook and exposure counter test
« Reply #12 on: 06 / August / 2015, 02:59:36 »
Sorry for the delay…..
I made two runs with my G1x 101a (20 pictures each).
Both runs show:

FTO = 0
FMN = 10
FMX = 350

No RAW File is missing.


Two runs with my S110 103a  (20 pictures each).
Both runs show:

FTO = 0
FMN = 20 on the first run, 10 on the second
FMX = 320

No RAW File is missing
« Last Edit: 06 / August / 2015, 03:14:04 by c_joerg »
M100 100a, M3 101a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd

*

Offline c_joerg

  • *****
  • 1151
Re: hook and exposure counter test
« Reply #13 on: 07 / August / 2015, 02:44:27 »
Here is an test for sx230hs 101a

M100 100a, M3 101a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd


*

Offline reyalp

  • ******
  • 13391
Re: hook and exposure counter test
« Reply #14 on: 08 / August / 2015, 18:20:19 »
I made two runs with my G1x 101a (20 pictures each).
...
Thanks. According to these, the pause should be even longer, maybe 400ms. I'm reluctant to set this too large in case the filecounter is sometimes already incremented, but the fact FTO is 0 suggests this is rare if it happens.

It's possible the time depends on some setting (SD card speed, shutter speed? ISO? capture mode?) but I wasn't able to see any pattern on the cameras I have.

Here is an test for sx230hs 101a
Thanks.

This camera has PAUSE_FOR_FILE_COUNTER 320 already, so according your log it should be fine, but FWIW, this port has unresolved issues with the file counter and CHDK raw in continuous mode
previous discussion (unfortunately scattered over several threads)
http://chdk.setepontos.com/index.php?topic=12183.msg119820#msg119820
http://chdk.setepontos.com/index.php?topic=11506.msg112937#msg112937
http://chdk.setepontos.com/index.php?topic=11527.0

Here's a build for sx230hs 101a with the same test code I posted for g1x and s110
https://app.box.com/s/wzbhggzjyih0b9ltx7yb1gl3bxb6v33a
If you can do the same test, maybe it will shed more light on the problem.

edit:
I posted a build for another outstanding patch for this camera in the porting thread http://chdk.setepontos.com/index.php?topic=6397.msg123888#msg123888
« Last Edit: 08 / August / 2015, 19:10:58 by reyalp »
Don't forget what the H stands for.

*

Offline c_joerg

  • *****
  • 1151
Re: hook and exposure counter test
« Reply #15 on: 09 / August / 2015, 03:27:27 »
Quote
this port has unresolved issues with the file counter and CHDK raw in continuous mode
RAW + Continues mode does not work with SX230 (As you wrote above). Even not with the normal trunk.

The camera makes on picture and saves one raw without JPG. The RAW looks OK. The LED is blinking all the time, and the camera no longer reacts . I cannot turn it off even. After more than a minute then goes out by itself

« Last Edit: 09 / August / 2015, 04:13:17 by c_joerg »
M100 100a, M3 101a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd

*

Offline philmoz

  • *****
  • 3332
    • Photos
Re: hook and exposure counter test
« Reply #16 on: 09 / August / 2015, 07:55:48 »
Sorry for the delay…..
I made two runs with my G1x 101a (20 pictures each).
Both runs show:

FTO = 0
FMN = 10
FMX = 350

No RAW File is missing.

When you have a chance please test the attached version for the G1X.

This removes the need for the PAUSE_FOR_FILE_COUNTER delay by moving the raw capture hook to a different task.

Note, this does not include reyalp's debug display as the code it was testing is no longer needed. Please test and make sure no RAW or DNG files are missing in continuous shooting mode.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

*

Offline c_joerg

  • *****
  • 1151
Re: hook and exposure counter test
« Reply #17 on: 09 / August / 2015, 13:38:57 »
Quote
When you have a chance please test the attached version for the G1X.

I checked it 2 times with 20 pictures. No RAW is lost.

I had the impression that this version runs slower. But I haven’t really measured it. Can it be?
Then I would compare both version under same condition tomorrow again...

Joerg
M100 100a, M3 101a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd


*

Offline philmoz

  • *****
  • 3332
    • Photos
Re: hook and exposure counter test
« Reply #18 on: 09 / August / 2015, 22:19:22 »
Quote
When you have a chance please test the attached version for the G1X.

I checked it 2 times with 20 pictures. No RAW is lost.

I had the impression that this version runs slower. But I haven’t really measured it. Can it be?
Then I would compare both version under same condition tomorrow again...

Joerg

I haven't noticed any slowdown; let me know if it runs slower for you.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

*

Offline c_joerg

  • *****
  • 1151
Re: hook and exposure counter test
« Reply #19 on: 10 / August / 2015, 11:54:31 »
Hello Phil,

I compared your version with reyalp again. There is no difference in timing between. With both version I need about 3.2s per picture (JPG+RAW).

I normally use the canon RAW on G1x and S110. With Canon RAW + JPG the G1x needs about 1.7s per picture. That was the reason why I was confused…

Joerg
M100 100a, M3 101a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd

 

Related Topics