/* 
 Copyright (c) 2003-2006 by Cognex Corporation, Natick, MA USA
 All rights reserved. This material contains unpublished,
 copyrighted work, which includes confidential and proprietary
 information of Cognex.

 This CCF supports the Teli CS8541D camera in a "1/2-size" 
 partial scan, non-interlaced, shuttered mode.  The shutter
 mode is Teli Random Trigger Shutter (RDM) in Non-Reset Single 
 VD mode.  
 This CCF supports software controllable exposure using the 
 variable shutter capability of the camera.
 The switches on the bottom of the camera control unit (CCU) 
 must be set as described below. Disconnect all electrical 
 connections to the camera before making any changes to
 the settings.
 ----------------------------------------------
 Switch Function      DIP             Setting
                      Switch  
 ----------------------------------------------
 E shutter speed      1               ON
 E shutter speed      2               OFF
 E shutter speed      3               OFF
 Video Output mode    4               OFF
 Shutter mode         5               OFF
 Shutter mode         6               OFF
 Partial Scan         7               OFF
 Partial Scan         8               ON
 Trigger Polarity     9               OFF 
 RTS Exposure Mode   10               ON 

 Three switches inside the CCU must be set as described below.
 Disconnect all electrical connections to the camera before 
 removing the cover of the CCU.  The camera's Operation Manual 
 shows the location of these switches.
 ------------------------------------------------------------
 Switch Function      Switch          Setting
                                
 ------------------------------------------------------------
 Video Out coupling   SW1             AC  (Default = DC)
 ExSync In/Out        SW4             IN  (Default = IN)
 ExSync In Impedance  SW5             75  (Default = High)

 Additionally, set the GAIN CONTROL selection switch located
 on the side of the CCU to FIX.
 
 Cable: 300-0385 without Camera Breakout Box (8504/8501)

 Created/Edited by Cognex CIT August 07, 2006, 15:37:13
*/

format name = "Teli CS8541D 640x227 IntDrv (rapid-reset, shutter-sw-random-trigger) CCF";
format width = 640;
format height = 227;
format video_interface = analog;
format video_encoding = mono;
format bits_per_pel = 8;
format peltype = mono;
format taps = 1;
format hd_direction = out;
format hd_interface = ttl;
format hd_signal = hd;
format hd_polarity = active_low;
format horiz_reference = none;
format hlock_position = 0;
format vd_direction = out;
format vd_interface = ttl;
format vd_signal = vd;
format vd_polarity = active_low;
format vertical_reference = none;
format vlock_position = 0;
format ctrl1_direction = out;
format ctrl1_interface = ttl;
format ctrl1_polarity = active_high;
format pclk_direction = unused;
format pclk_source = oscillator;
format pclk_frequency = 24.5454;
format htotal = 780;
format vtotal = 3828;//            3565 + 263
format number_of_fields = 1;
format aoi_per_field = 1;
format x_subsampling = 1;
format interlace = 0;
format hdrive = 1 768;
format hdrive = 0 66;
format hsync = 1 6;
format hsync = 0 71;
format hsample = 1 78;
format hsample = 0 118;
format hctrl1 = 1 0;
format vdrive = 1 3.565e3;
format vdrive = 0 3.574e3;
format vsync = 1 3.569e3;
format vsync = 0 3.572e3;
format vaoi = 1 3.587e3;
format vaoi = 0 3.814e3;
format vstrobe = 1 3.563e3;
format vstrobe = 0 3.569e3;
format vctrl1 = 1 3.563e3;
format vctrl1 = 0 3.563125e3;//            Minimum pulse width
format active_start = 133;
format rapid_reset = 1;
format rapid_reset_min_position = 3562;
format shutter_mode = pulse_width_adjust_leading;
format shutter_min_exposure = 20.4e-6;//            = T1 + 16.4 uS
format shutter_max_exposure = 112e-3;
format shutter_adjustment_granularity = pel;
format shutter_line = ctrl1;
format shutter_per_field = 0;
format cti_end_field0 = 3.566e3;
format cti_width_min = 1;
format settling_time = 500e-3;
format strobe_mode = pulse_position;
format im_shutter_capable = 1;
vs version = 5;
vs revision = 1;
ccf version = 1;
ccf build_number = 6;
ccf_checksum 0x03DDE510
