get_temperature fn explanation? - Script Writing - CHDK Forum supplierdeeply

get_temperature fn explanation?

  • 5 Replies
  • 3727 Views
get_temperature fn explanation?
« on: 13 / December / 2009, 23:11:28 »
Advertisements
i was curious if anyone understood the get_temperature fn in detail. I'm guessing that it returns temp in degrees C. 0 returns optical - what does that mean? CCD - it appears that the CCD has a higher temp. and battery - is this value meaningful if you're on AC power?

*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: get_temperature fn explanation?
« Reply #1 on: 14 / December / 2009, 12:50:02 »
i was curious if anyone understood the get_temperature fn in detail. I'm guessing that it returns temp in degrees C. 0 returns optical - what does that mean? CCD - it appears that the CCD has a higher temp. and battery - is this value meaningful if you're on AC power?

First, it's one of those functions that just calls Canon's function of (more or less) that name. So whatever we know is from some random strings and experience gained from trying it out one several cameras.

They appear to be temperatures in Celcius, returned from various temperature sensors the camera may have. Not all cameras have all sensors, and very likely they aren't placed identically but supposedly at or near the component(s) matching their names.

You be the judge of what's meaningful to you... when they work, they all change with ambient temperature and with camera generated heat. The camera obviously may use them for safety shutdown (especially lithium packs with real internal sensors) and various temperature compensation things (such as battery capacity indication and sensor noise removal).

On a related note, IMO CHDK OSD default config should not be to display temperatures...

*

Offline fe50

  • ******
  • 3152
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: get_temperature fn explanation?
« Reply #2 on: 15 / December / 2009, 06:22:24 »

*

Offline reyalp

  • ******
  • 14118
Re: get_temperature fn explanation?
« Reply #3 on: 15 / December / 2009, 17:34:58 »
Submit a patch to set the defaults sanely ;) Or fudgey could fix it himself!
Don't forget what the H stands for.


*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: get_temperature fn explanation?
« Reply #4 on: 20 / December / 2009, 03:07:50 »
Or fudgey could fix it himself!

True...  :D

I'm hesitant to change defaults to match my preferences without a vote, but I suppose most will accept that 'vanity' features not directly related to photography shouldn't be enabled by default. I dislike tiny icons, but wouldn't disable them as a default since they could help beginners and they don't clutter up the display while shooting.

This is not a big deal though and most users won't be affected by a change in defaults at all since they probably don't delete their old cfg files when upgrading.

(I realize this conversation truly off topic and as such effectively hidden, but I'm too lazy to split the topic atm :-X).

*

Offline fe50

  • ******
  • 3152
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: get_temperature fn explanation?
« Reply #5 on: 20 / December / 2009, 07:25:55 »
I'm hesitant to change defaults to match my preferences without a vote, but I suppose most will accept that 'vanity' features not directly related to photography shouldn't be enabled by default. I dislike tiny icons, but wouldn't disable them as a default since they could help beginners and they don't clutter up the display while shooting.

full ack  :)

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal