ubasic - determine left/right camera - Microfunguy's Builds - CHDK Forum supplierdeeply

ubasic - determine left/right camera

  • 10 Replies
  • 4021 Views
*

Offline you1

  • *
  • 10
ubasic - determine left/right camera
« on: 09 / August / 2009, 04:33:58 »
Advertisements
Hi,

Is there a way to determine left/right camera in ubasic? 

That is, using the script, I want to check SDM settings to determine which camera the script is running on.

tnx
Edvin

Re: ubasic - determine left/right camera
« Reply #1 on: 09 / August / 2009, 08:51:37 »
Is there a way to determine left/right camera in ubasic? 

No, I only add uBasic commands when people really need them.

As you need it, I will add it   :)

What is your camera and firmware version ?


David

*

Offline you1

  • *
  • 10
Re: ubasic - determine left/right camera
« Reply #2 on: 09 / August / 2009, 13:28:58 »
Hi David,

No need to add a command just for this functionality. 
I already have a workaround by requiring the user to specify a "parameter" for identifying left/right camera(s). 

If you are considering enhancements, and if it is feasible,
I would suggest addition of a single command that can inquery and return firmware parameters.  For example:

get_sys_param a b

where "a" is an integer representing the parameter of interest
and "b" is an integer value assigned to the param

Thank you.
Edvin

Re: ubasic - determine left/right camera
« Reply #3 on: 09 / August / 2009, 13:54:44 »
No need to add a command just for this functionality. 


Too late, I have  already added it, even if you no longer need it !


*

Offline you1

  • *
  • 10
Re: ubasic - determine left/right camera
« Reply #4 on: 10 / August / 2009, 01:38:00 »
That's freaky fast  :o 
Thank you and great job.

Re: ubasic - determine left/right camera
« Reply #5 on: 10 / August / 2009, 05:22:04 »
I have added a compile-time option to the latest SDM that at a click of the mouse will remove all support for zebra and histograms.

I have not yet decided if I will 'push the button'.

It will only be necessary if I think too much memory is being used.

Would you miss zebra and histograms ?


*

Offline you1

  • *
  • 10
Re: ubasic - determine left/right camera
« Reply #6 on: 10 / August / 2009, 12:15:28 »

Quote
Would you miss zebra and histograms ?

I wouldn't; however, I'm not the best person to answer this question. 

I use SDM to digitize my books via book scanner (http://www.diybookscanner.org/); thus, I have no use for them

Re: ubasic - determine left/right camera
« Reply #7 on: 10 / August / 2009, 13:06:10 »
I use SDM to digitize my books via book scanner

I know, I told you how to disable LCD off  :)


David


Re: ubasic - determine left/right camera
« Reply #8 on: 12 / August / 2009, 09:06:44 »
Please don't shoot the zebra! / / / / /    :'(

It's very useful for documentary-style shooting where you don't have much control over lighting.

However, Histogram only used occasionally.
~~~~~~~~~~~~~~~~~~~~~

<")%%%><<

Re: ubasic - determine left/right camera
« Reply #9 on: 12 / August / 2009, 09:21:26 »
Please don't shoot the zebra! / / / / /    :'(

OK !   :)

 

Related Topics