User Tools

Site Tools


video_autofocus

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
video_autofocus [2023/01/20 16:55] – [TROUBLESHOOTING AND OPTIMIZATION] chrisdvideo_autofocus [2023/01/25 13:57] (current) – [MANUAL CALIBRATION] Added serial focus score instructions chrisd
Line 58: Line 58:
 [{{ autofocus_microscope_limits.png?direct&300 |Fig 3:  Set objective farther than 200 microns from the sample, then set the focus drive’s position to ZERO.}}] [{{ autofocus_microscope_limits.png?direct&300 |Fig 3:  Set objective farther than 200 microns from the sample, then set the focus drive’s position to ZERO.}}]
  
-2.Insure that **DIP Switch 2** on the back of your controller to UP position (Fig. 4). Your LCD will now display the //focus value// marked as ''F:####'' on its bottom line.  This number will always be between ''0000 and 2047''.  0000 indicates that little or no video signal is getting to the auto-focus card; check your connections.  If the //focus value// reads ''2047'', then the system is saturated with too much signal; try adjusting the Video Gain, Brightness, and Contrast controls on your camera if available. If this does not help, then go to step 4.+2.Insure that **DIP Switch 2** on the back of your controller to UP position (Fig. 4). Your LCD will now display the //focus value// marked as ''F:####'' on its bottom line.  This number will always be between ''0000 and 2047''.  0000 indicates that little or no video signal is getting to the auto-focus card; check your connections.  If the //focus value// reads ''2047'', then the system is saturated with too much signal; try adjusting the Video Gain, Brightness, and Contrast controls on your camera if available. If this does not help, then go to step 4. The focus score number can be read serially using the command ''RDADC Z''.
  
 [{{ autofocus_display.png?direct&300 |Fig 4:  Shows the focus value as F:1696 on a two-line LCD display (a) and as F:1904 on a three-line LCD display (b).  Dip Switch 2 on the back of a controller in the UP position (c).}}] [{{ autofocus_display.png?direct&300 |Fig 4:  Shows the focus value as F:1696 on a two-line LCD display (a) and as F:1904 on a three-line LCD display (b).  Dip Switch 2 on the back of a controller in the UP position (c).}}]
Line 80: Line 80:
 The ''AFCALIB'' (or ''AFC'') Auto Calibration routine tunes the system moderately so that the system works for most samples and objectives.  Try the following steps for better results: The ''AFCALIB'' (or ''AFC'') Auto Calibration routine tunes the system moderately so that the system works for most samples and objectives.  Try the following steps for better results:
  
-1.Manually focus the sample and insure that **DIP Switch 2** on the back of your controller is in the UP position.  It will now display the focus value marked as ''F:####'' on the bottom line of your LCD.  This number will always be between ''0000 and 2047''.+1.Manually focus the sample and insure that **DIP Switch 2** on the back of your controller is in the UP position.  It will now display the focus value marked as ''F:####'' on the bottom line of your LCD.  This number will always be between ''0000 and 2047''. Note that the focus score number can be read over serial with the command ''RDADC Z''.
  
 2.Next, set'' AFADJ X=0 Y=0 Z=0'' \\ 2.Next, set'' AFADJ X=0 Y=0 Z=0'' \\
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
video_autofocus.1674251705.txt.gz · Last modified: by chrisd