Improving CHDK ND filter support - page 7 - General Discussion and Assistance - CHDK Forum supplierdeeply

Improving CHDK ND filter support

  • 216 Replies
  • 42116 Views
*

Offline koshy

  • *****
  • 912
Re: Improving CHDK ND filter support
« Reply #60 on: 31 / May / 2018, 16:18:28 »
Advertisements
Are you available for testing on this cam? If so, please post a reminder in the Ixus1000 porting thread, and I'll try to repair what I broke.
Yes I will be. If I don't pick it up PM please.

*

Offline reyalp

  • ******
  • 12103
Re: Improving CHDK ND filter support
« Reply #61 on: 01 / June / 2018, 00:00:14 »
Ixus 200: Has an iris, does not react to ND in/out

UPDATE: It didn't react to ND as that is aperture based and the -av setting overwrote it.
Thanks for testing. I think this confirms pretty clearly that
1) It has an iris
2) The "ND" functions also control the iris.

Same for TX1.
Don't forget what the H stands for.

*

Offline koshy

  • *****
  • 912
Re: Improving CHDK ND filter support
« Reply #62 on: 01 / June / 2018, 17:26:48 »
Thanks for testing. I think this confirms pretty clearly that
1) It has an iris
2) The "ND" functions also control the iris.
srsa fixed IXUS 1000. I'll try it sometime this weekend for ND / Iris but franky expect it to have an iris and no ND. Seems it's either the one or the other with ND functions being emulated by Iris where present. makes sense, too to have that kind of wrapper to generalize stuff between models in FW.

*

Offline reyalp

  • ******
  • 12103
Re: Improving CHDK ND filter support
« Reply #63 on: 01 / June / 2018, 17:34:15 »
srsa fixed IXUS 1000. I'll try it sometime this weekend for ND / Iris but franky expect it to have an iris and no ND. Seems it's either the one or the other with ND functions being emulated by Iris where present. makes sense, too to have that kind of wrapper to generalize stuff between models in FW.
This seems likely, but good to confirm before we switch the defines around.  There are some cameras with both ND and iris, but so far the only ones confirmed have control for both in the Canon UI.

Here's a build for 100d with iris support enabled.
Don't forget what the H stands for.


*

Offline koshy

  • *****
  • 912
Re: Improving CHDK ND filter support
« Reply #64 on: 01 / June / 2018, 18:00:13 »
Here's a build for 100d with iris support enabled.
Thanks, getting that. I'll try trying it in the dark.

*

Offline koshy

  • *****
  • 912
Re: Improving CHDK ND filter support
« Reply #65 on: 01 / June / 2018, 18:05:50 »
This seems likely, but good to confirm before we switch the defines around.
Well, IXUS 1000 wants more attention.
I can connect to it through CHDKPTP but switching to Rec mode crashes the camera and gives me "ERROR: I/O error". Attaching ROMLOG.TXT

*

Offline reyalp

  • ******
  • 12103
Re: Improving CHDK ND filter support
« Reply #66 on: 01 / June / 2018, 21:57:08 »
Well, IXUS 1000 wants more attention.
I can connect to it through CHDKPTP but switching to Rec mode crashes the camera and gives me "ERROR: I/O error". Attaching ROMLOG.TXT
Does 1.4 have the same problem?
Don't forget what the H stands for.

*

Offline koshy

  • *****
  • 912
Re: Improving CHDK ND filter support
« Reply #67 on: 02 / June / 2018, 19:04:57 »
Does 1.4 have the same problem?
I did not try. Intended to but srsa said:
The port's notes mention a possible crash when attempting to switch to rec mode during a ptp session.
So, I expect it to be a general thing and guess we should relocate the pursuit of this to the IXUS 1000 porting thread. Once PTP works I'll test the ND/iris stuff.


*

Offline koshy

  • *****
  • 912
Re: Improving CHDK ND filter support
« Reply #68 on: 07 / June / 2018, 20:38:17 »
On srsa's codegen build I can't obtain aperture info on IXUS 1000:

Code: [Select]
> !local minav,maxav=con:execwait([[return get_min_av96(),get_max_av96()]]) printf('%0.1f %0.1f\n',exp.av96_to_f(minav),exp.av96_to_f(maxav))

ERROR: call failed:Y:\chdkptp-r785-win32\lua\exposure.lua:74: attempt to perform arithmetic on local 'v' (a nil value)
stack traceback:
[string "local minav,maxav=con:execwait([[return get_m..."]:1: in main chunk
[C]: in function 'xpcall'
Y:\chdkptp-r785-win32\lua\cli.lua:733: in function <Y:\chdkptp-r785-win32\lua\cli.lua:724>
(...tail calls...)
[C]: in function 'xpcall'
Y:\chdkptp-r785-win32\lua\cli.lua:285: in function 'execute'
Y:\chdkptp-r785-win32\lua\gui.lua:683: in function <Y:\chdkptp-r785-win32\lua\gui.lua:679>
(...tail calls...)
[C]: in function 'MainLoop'
Y:\chdkptp-r785-win32\lua\gui.lua:758: in function <Y:\chdkptp-r785-win32\lua\gui.lua:731>
(...tail calls...)
Y:\chdkptp-r785-win32\lua\main.lua:286: in main chunk
[C]: in function 'require'
[string "require('main')"]:1: in main chunk

These gave identical JPEGS:
FWT works at least...
Code: [Select]
rs -av=4
rs -nd=out
rs -av=11
rs -av=16
rs -nd=in

*

Offline reyalp

  • ******
  • 12103
Re: Improving CHDK ND filter support
« Reply #69 on: 07 / June / 2018, 22:28:53 »
On srsa's codegen build I can't obtain aperture info on IXUS 1000:
You need a build with
Code: [Select]
    #undef  CAM_HAS_IRIS_DIAPHRAGM
removed from platform_camera.h
Don't forget what the H stands for.

 

Related Topics