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

// Created Wed Oct 20 9:45:00 EDT 1999

// With this CCF, image acquisition using a Pulnix TM-9701 
// camera is supported in non-interlaced, asynchronous mode.
// Set the TM-9701 switches to NON (non-interlaced mode) and 
// ASY (asynchronous mode).  Additionally, set the rotary
// switch to 9.  This rotary switch setting allows specifi-
// cation of shutter speed to be done through Cognex software.
// 
// With this CCF, do not attempt to set the shutter speed 
// using the rotary switch on the camera; the rotary switch 
// must be set to 9.  
//
// Cable: 300-0127 (CVM1 & CVM3 & 8501 & 8504)
// Cable: 300-0302 (CVM6)
// Cable: 300-0351 (8100M+)
//

format name = "Pulnix TM-9701 640x480 IntDrv (analog-out, rapid-reset, shutter-sw-doublePulse) CCF";
format width = 640;
format height = 480;

format video_interface = analog;
format video_encoding = mono;
format bits_per_pel = 8;
format peltype = mono;
format taps = 1;

format pclk_direction = unused;
format pclk_source = oscillator;
format pclk_frequency = 12.348;

format hctrl1 = 1 0;
format hctrl2 = 1 0;
format horiz_reference = none;
format hlock_position = 0;
format hd_polarity = active_low;
format active_start = 129;
format htotal = 784;
format hdrive = 1 768;
format hdrive = 0 63;
format hsync = 1 0;
format hsync = 0 59;
format heq = 1 0;
format heq = 0 29;
format hvsync = 1 0;
format hvsync = 0 337;
format hsample = 1 88;
format hsample = 0 96;
format heq = 1 392;
format heq = 0 421;
format hvsync = 1 392;
format hvsync = 0 729;

format vd_direction = unused;
format vertical_reference = none;
format vlock_position = 0;

format vtotal = 1045;
format vsync = 1 528;
format vsync = 0 531;
format vsample = 1 533;
format vsample = 0 541;
format vaoi = 1 563;
format vaoi = 0 1043;;
format vctrl1 = 1 513.5;    // Index #0: Shutter End, close line
format vctrl1 = 0 515.5;    
format vctrl1 = 1 523.5;    // Index #1: Instead of VD
format vctrl1 = 0 525.5;
format vstrobe = 1 532.5;   // 19H from Index #0
format vstrobe = 0 539.0;

format number_of_fields = 1;
format aoi_per_field = 1;
format x_subsampling = 1;
format interlace = 0;
format rapid_reset = 1;

format cti_width_min = 1.0;
format cti_end_field0 = 535.0;

format shutter_mode = pulse_position;
format shutter_line = ctrl1;
format ctrl1_direction = out;
format ctrl1_polarity = active_low;
format ctrl1_interface = ttl;
format shutter_min_exposure = 0.000064;
format shutter_max_exposure = 0.0256;
format shutter_adjustment_granularity = pel;
format shutter_per_field = 0;
format rapid_reset_min_position = 512.0;

format strobe_mode = pulse_position;

format settling_time = 0.500;

vs version = 5;
vs revision = 1;

ccf version = 1.0;
ccf build_number = 5;

ccf_checksum 0x03CA42B3
