Hello back Goju-Ryu,
I am coming back with more information. Note that this is available using camera that return analog signal...
The example that is not accessible anymore is kept in internal because it uses obsolete VIs. The principle of it was the following:
This example programmatically sets auto exposure values for your IMAQ device. This VI produces the same result as manually assigning these values in Measurement & Automation Explorer (MAX). Auto Exposure.vi uses the same algorithm as MAX by taking a snap using the largest range of voltage levels (no gain), analyzes the image's histogram to find the range of pixel values, and adjusts the white and black voltage levels in order to get 98% of the pixels in the range (excluding the top and bottom 1% of pixels).
What was realized is:
1. Open IMAQ session
2. According to the used board: Set Black Reference to minimum and White reference to the maximum. Note that all boards don't have the same maximum White reference voltage, and that all boards don't allow you to change the Black Reference one.
3. Take a snap
4. Analyse the image using histogram, and determine a range within which 98% of the pixels are in
5. Set White Reference and Black Reference according to the previously determined range
What is obsolete (still supported however) is the call to the "IMAQ attribute.vi" that was used to get White/Black References. Now, this can be done using Properties Nodes on the IMAQ session you open in step 1.
Hope this helps
Keep me informed
Best regards,