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

// The Jai TM-6CN camera cannot sync to the frame grabber's drive 
// signals.  The frame grabber must instead sync to the camera's 
// drive signals.  The camera manual refers to this type of sync as 
// internal sync.  This software library refers to this sync model 
// as External PLL Composite.  Note that Cognex CVM3 lacks the 
// hardware (PLL) to support this camera.
//
// This CCF supports the TM-6CN camera in free running,
// 2-field mode. 
// 
// Cable: 300-0136 (CVM1 & 8501/8504 & 8500Le/8504e)
// Cable: 300-0264 (CVM6)
// Cable: 300-0264 (8100M+)

format name = "Jai TM-6CN 760x574 ExtPLLCo CCF";

format width = 760;
format height = 574;
format bits_per_pel = 8;
format video_interface = analog;
format video_encoding = mono;
format peltype = mono;
format taps = 1;

format hd_direction = unused;
format horiz_reference = sync_separator;
format horiz_reference_type = sync;
format hlock_position = 7;

format vd_direction = unused;
format vertical_reference = sync_separator;
format vertical_reference_type = sync;
format vlock_position = 1.0625;

format ctrl1_direction = unused;
format ctrl2_direction = unused;

format pclk_direction = unused;
format pclk_source = pll;
format pclk_frequency = 14.75;

format htotal = 944;
format vtotal = 625;
format active_start = 161;

// Horizontal events
format hdrive = 1 917;
format hdrive = 0 70;
format hsync = 1 0;
format hsync = 0 70;
format hvsync = 1 0;
format hvsync = 0 402;
format hvsync = 1 472;
format hvsync = 0 874;
format heq = 1 0;
format heq = 0 35;
format heq = 1 472;
format heq = 0 507;
format hsample = 1 109;
format hsample = 0 117;

// Vertical Events
format vdrive = 1 622.5;
format vdrive = 0 5;
format vdrive = 1 310;
format vdrive = 0 317.5;
format vsync = 1 625;
format vsync = 0 2.5;
format vsync = 1 312.5;
format vsync = 0 315;
format vaoi = 1 23;
format vaoi = 0 310;
format vaoi = 1 335;
format vaoi = 0 622;

format cti_end_field0 = 13.5;
format cti_end_field1 = 325.5;
format cti_width_min = 2;

format number_of_fields = 2;
format aoi_per_field = 1;
format x_subsampling = 1;
format interlace = 1;
format rapid_reset = 0;
format shutter_mode = none;
format strobe_mode = trigger;
format settling_time = 0.5;
format origin_in_field0 = 0;

vs version = 5;
vs revision = 1;

ccf version = 1.0;
ccf build_number = 4; 

ccf_checksum 0x033CE6C4
