View Full Version : Button OnePush for WhiteBalance
March 8, 2005, 16:54:14
I am trying to realise the one push functionality for white balance in my application. But I could not find the answer in the help and sample files. Do you have a small program which describe this.
I am working with V2.0.
Thanks in advance
With kind regards
March 9, 2005, 08:16:30
Please have a look into the "VC6/VCD Simple Property" sample. It uses the "CSimplePropertyAccess" class, that provides simple access to the VCD properties. This sample implements the white balance one push button.
If this sample is missing in your IC Imaging Control setup, please send a request to email@example.com, so you can receive a free updat to IC Imaging Control 2.1.
March 9, 2005, 15:09:35
I've build in the following lines and the files "SimplePropertyAccess.xxx" in my program. But the program is not working. I've got the message "not possible". Why?
I've make some test with version 2.0 and 2.1. I am using the camera DFK21F04.
m_VCDProp.init( pGrabber->getAvailableVCDProperties() );
if( !m_VCDProp.isOnePushAvailable( VCDID_WhiteBalance ) )
MessageBox( "not possible!" );
m_VCDProp.push( VCDID_WhiteBalance );
March 10, 2005, 08:15:06
Does the DemoApp shows the white balance OnePush button? If not, you did not install the correct driver for your DFK 21F04. You may have a look into the device manager and check in ther camera propertiers the installed driver. The driver provider should be The Imaging Source and not Microsoft. The Windows standard DCam driver does not support the OnePush button.
Your code snippet is correct.
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.