Go to Post There is more to our team than my hair, you know. :P - thefro526 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Spotlight this post!  
Unread 28-01-2010, 17:06
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Saving Camera Exposure and White Balance Holds after Restart?

Quote:
Originally Posted by Mr. Lim View Post
We are working in C++.

The API provides two functions:

Code:
void AxisCamera::writeExposureControl  ( ExposureT  exposureControl  )   

Parameters:
 valid  values are automatic, hold, flickerfree50, flickerfree60  

void AxisCamera::writeWhiteBalance  ( WhiteBalanceT  whiteBalance  )   

Parameters:
 valid  values automatic, hold, fixed_outdoor1, fixed_outdoor2, fixed_indoor,fixed_flour1, fixed_flour2
When setting both of these to HOLD in code, the camera appears to still stay in AUTOMATIC. Upon immediately logging in to the camera's web interface, it confirms that the camera is still in AUTOMATIC mode.

Furthermore, there doesn't seem to be a way to programmatically "set" an exposure or white balance level, either through the API or web interface.

For those using LabVIEW, can you verify that you can change the exposure and white balance settings to HOLD, and confirm that they actually changed through the camera's web interface?
I was refactoring the AxisCamera class last night and found 3 bugs that prevent the C++ implementation from successfully setting the rotation, exposure, and white balance. This is likely why it's not working for you.

-Joe

EDIT: Turns out the rotation bug was introduced since Update 1.

Last edited by jhersh : 29-01-2010 at 12:05.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving images/video from camera (LabVIEW) Chaos in a Can NI LabVIEW 3 16-08-2010 16:21
Manually Calibrate White Balance MartinStewart Technical Discussion 2 23-01-2009 13:28
timer after restart sciguy125 Programming 10 04-04-2006 01:12
[white paper] Auto-Balance Gyro Code Brandon Martus Technical Discussion 3 21-06-2001 10:36


All times are GMT -5. The time now is 02:05.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi