Home

X64-AN Quad User's Manual

image

Contents

1. Pixels Valid Pixels gt gt gt Cam Analog Composite AID LUT Cropper Video Pixel Clock Clock yD Generator Figure 18 Internal Sync in Master Mode Block Diagram When using Internal Sync the horizontal reference for acquisition is HD This is equivalent to a horizontal front porch of 0 pixels The horizontal signal is used as a time reference to configure the clamping pulse delay and duration parameters 36 e Theory of Operation X64 AN Quad User s Manual Time Delta HD vs HS HD Video Out Horizontal Front jack Porch Porch Back Porch Horizontal Sync Figure 19 Master Mode Timing HD relation to HS Sapera parameters for Sync on Internal Sync CORACQ PRM SYNC CORACO VAL SYNC_INT SYNC CORACQ PRM MASTER MODE CORACO VAL MASTER MODE HSYNC VSYNC CORACQ PRM MASTER MODE HSYNC_POLARITY CORACO VAL ACTIVE LOW CORACO VAL ACTIVE HIGH CORACQ PRM MASTER MODE VSYNC_POLARITY CORACO VAL ACTIVE LOW CORACO VAL ACTIVE HIGH CORACO PRM_HSYNC Size of horizontal sync pulse CORACQ PRM HBACK PORCH Size of horizontal back porch CORACQ PRM_HACTIVE Number of valid pixels per line CORACQ PRM HFRONT_ PORCH Size of horizontal front porch CORACO PRM_VSYNC Size of vertical sync pulse CORACQ PRM VBACK PORCH Size of vertical back porch CORACO PRM VACTIVE Number of valid line from camera CORACO PRM VFRONT PORCH Size of vertical front porch X64 AN Quad
2. 252 253 254 255 Output Cropper gt 254 Invert Function Figure 28 Lookup Table Example Sapera parameters for Lookup Table CORACQ PRM LUT _ENABLE TRUE FALSE Use CorAcqSetLut to load a LUT into X64 AN Quad X64 AN Quad User s Manual Theory of Operation e 49 Cropper The Cropper extracts a window from the incoming image This window is represented by a rectangle where the upper left corner is given by horizontal and vertical offset from the start of valid video and the rectangle size by width and height parameters See below for diagram Note that image widths must be a multiple of 16 bytes For interlace scan video image heights must be a multiple of two lines Window Generator Complete frame Vertical offset a Horizontal offset Figure 29 Cropper window example Partial Scan Mode Partial Scan mode reduces the number of lines output by a camera in order to increase the frame rate X64 AN Quad sees the output of a partial scan camera as an image with reduced height One simply needs to adjust the frame rate vertical sync frequency and image height in order to acquire from a partial scan mode camera Sapera Parameters for Cropper CORACQ PRM CROP LEFT Horizontal offset CORACQ PRM CROP HEIGHT Vertical height of area of interest CORACQ PRM CROP TOP Vertical offset CORACO PRM CROP WIDTH Horizontal width of area
3. X64 AN Quad User s Manual Sapera LT e 71 Supported Sapera Parameters The following table describes the Sapera parameters and values supported by X64 AN Quad Refer to Sapera Acquisition Parameters Reference manual for a thorough description of each parameter Camera Related Capabilities Values CORACQ CAP CONNECTOR TYPE CORACQ_VAL_CONNECTOR_TYPE_HIROSE12 0x1 CORACQ CAP CONNECTOR CAMLINK Pin 01 Pin 05 Pin 08 Pin 12 Pin 02 Pin 03 Pin 04 Pin 06 Pin 07 Pin 09 Pin 10 Pin 11 CORACO VAL SIGNAL NAME GND 0x4000 CORACO VAL SIGNAL NAME POWER 12V 0x8000 CORACO VAL SIGNAL NAME VIDEO GND 0x20000 CORACO VAL SIGNAL NAME VIDEO 0x10000 CORACO VAL SIGNAL NAME NO CONNECT 0x1 CORACO VAL SIGNAL NAME HD 0x2 CORACO VAL SIGNAL NAME PULSEO 0x8 CORACO VAL SIGNAL NAME PULSE 0x10 CORACO VAL SIGNAL NAME WEN 0x100 m m m CORACQ_VAL_SIGNAL NAM CORACQ VAL SIGNAL NAM CORACQ VAL SIGNAL NAM CORACO VAL SIGNAL NAM CORACQ VAL SIGNAL NAM NO CONNECT 0x1 VD 0x4 PULSEO 0x8 PULSE 0x10 WEN 0x100 mm m m m CORACO VAL SIGNAL NAM CORACO VAL SIGNAL NAM CORACO VAL SIGNAL NAM CORACO VAL SIGNAL NAM CORACO VAL SIGNAL NAM CORACO VAL SIGNAL NAM NO CONNECT 0x1 HD 0x2 VD 0x4 PULSEO 0x8 PULSE 0x10 WEN 0x100 mom m m m m CORACQ_VAL_SIGNAL_NAME_NO_CONNECT 0x1 CORACO VAL SIGNAL NAME PULSEO 0x8 CORACO VAL SIGNAL NA
4. Min 0 pixel Max 4095 pixel Step 1 pixel CORACO PRM HSYNC z 5 in 1 pixel Max 510 pixel Step 1 pixel 2 CORACQ PRM HSYNC POLARITY CORACO VAL ACTIVE LOW CORACO VAL ACTIVE HIGH CORACO PRM INTERFACE CORACO VAL INTERFACE ANALOG CORACQ PRM PIXEL CLK 1 Min 1 Hz Max 2 32 1 Hz Step 1 Hz CORACQ PRM PIXEL CLK DETECTION CORACQ VAL RISING EDGE CORACQ PRM PIXEL CLK INT Min 8000000 Hz Max 50000000 Hz Step 1 Hz CORACQ PRM PIXEL CLK SRC CORACQ VAL PIXEL CLK SRC INT CORACQ PRM PIXEL DEPTH 8 CORACQ PRM SCAN CORACO VAL SCAN AREA CORACO PRM SIGNAL CORACO VAL SIGNAL SINGLE ENDED CORACO PRM SYNC CORACO VAL SYNC COMP VIDEO CORACO VAL SYNC SEP SYNC CORACO VAL SYNC INT SYNC CORACQ PRM TAP 1 DIRECTION CORACO VAL TAP DIRECTION FROM TOP CORACO VAL TAP DIRECTION UD CORACO VAL TAP DIRECTION LR X64 AN Quad User s Manual Sapera LT e 73 CORACO PRM TAP OUTPUT CORACO VAL TAP OUTPUT SEGMENTED CORACO PRM_TAPS ji CORACO PRM TIME INTEGRATE METHOD CORACO VAL TIME INTEGRATE METHOD 1 CORACO VAL TIME INTEGRATE METHOD 2 CORACO VAL TIME INTEGRATE METHOD 3 CORACO VAL TIME INTEGRATE METHOD 4 CORACO VAL TIME INTEGRATE METHOD 5 CORACO VAL TIME INTEGRATE METHOD 6 CORACO VAL TIME INTEGRATE METHOD 7 CORACO PRM TIME INTEGRATE PULSEO DELAY Min 0 us Max 65535000 us Step 1 us CORACQ PRM TIME INTEGRATE PU
5. e External hardware signal assignment CVI File Details Legacy files using the CVI extension Camera Video files contain all operating parameters related to the frame grabber board that is what the frame grabber can actually do with camera controls or incoming video The Sapera parameter groups located within the file e Activates and sets any supported camera control mode or control variable e Defines the integration mode and duration e Defines the strobe output control e Allocates the frame grabber transfer ROI the host video buffer size and buffer type RGB888 RGB101010 MONO8 MONO16 80 e Sapera LT X64 AN Quad User s Manual e Configuration of line frame trigger parameters such as source internal via the frame grabber external via some outside event electrical format TTL LVDS OPTO isolated and signal active edge or level characterization CamExpert Example Interfacing the JAI CV A11 The CamExpert utility is presented by using the example of interfacing the JAI CV A11 progressive scan camera to the X64 AN Quad The major steps covered are e Camera interfacing check list e CamExpert interfacing outline e JAI CV A11 in free run exposure mode JAI CV A11 in Partial Scan mode e JAI CV A11 in Edge Pre select trigger mode JAI CV A11 in Time Integration mode Download the user s manual directly from the JAI web site http www jai com Interfacing Outline e Sapera and the X64 AN Qu
6. NE EO EE ME N 69 J21 Memory Socket shes cel laa lita aise a cole eG Aes 70 JID Boot Recovery Modes EN N stele 70 Jl X 1 O Interface Connector ai ciate ee Ss a a ee ge eN 70 EN PR EE ME eer i il ieee ese 70 SAPERA LT 71 SAPERA SERVERAND RESOURCES se see er bee ge GER Sek KERSE Ee Be EE EEE eed eN Ee ees ENS eed eb ge Wee se sees ees ees bi eek es 71 SUPPORTED SAPERA PAR AMEIER Se ee ee Di ei SE Ge es ee ee Oe se ee be oe ees 72 USING SAPERA CAMEXPERT WITH X64 AN QUAD ese esse ee se se ee se ee ee se ee se ee ee ge ee ee ee Re ee ee ee Re ee ee Ge Re ee ee ee 78 Camera Interfacing Check List se ee Ge Re GR Re GR Re ek Ge Ge Re Ge ee ee Ge ee Ge ek ee 79 Overview of Sapera Acquisition Parameter Files ccf or CCA CVi iese se se Re Ge ek 80 CAMEXPERT EXAMPLE INTERFACING THE JAI CV A11 ese ese sesse ee ee se ee ee bee ee ee ese ee ee ge ee ge ee eke ee ee ee ee ee 81 Interfacing Outline sssini ER N EA EE RE N N 81 step 1 JAI CV A11 in Free Run N EE OR EE N 82 Overview of Basic Timing Parameters cccccccccsccecseseesetsceteeuseeecnseescuseeseesecseeaeeuteeecneeeresaeeteaeseeatens 84 step 2 JAI CV A11 in Partial Scan Mode ee ee ee ee ee ee ee ee ee ee ee ee 85 step 3 JAI CV A11 in Edge Pre select trigger Mode ee ee ee ee 86 step 4 JAI CV A11 in Time Integration Mode ee ee ee ee ee ee ee ee ee ee ee 91 Note on Analog Camera Timing Relationships iese ee Ge GR ee GR Ge Ge Re GR ee Re ee Ge ek ee 94 Overview of Video B
7. The following screen image shows the CamExpert basic timing parameter for Vertical Active set to 240 lines matching the JAI CV A11 video output The test image grab in the display window shows the capture of the JAI CV A11 partial scan output from the center portion of its CCD refer to the camera manual for more information on all partial scan modes CamExpert can be configure to capture whatever number of video lines output by the camera Modified CamExpert settings should be saved as new camera configuration files with an appropriate description and unique file name ee CameExpert J_C A11 cca File View Output Pre Processing Help O S olx Basic Timing Parameters Display z Parameter Value EES Freeze Sna T Trigger video Standard Non Standard Keo m p igg Image Sensor readout Progressive Scan Field Order Next 2 fields Horizontal Active in Pixels 648 Horizontal Front Porch in Pixels 18 Horizontal Sync in Pixels 60 Horizontal Back Porch in Pixels 54 Horizontal Frequency in KHz Vertical Active in Lines Vertical Front Porch in Lines 3 Vertical Sync in Lines 3 Vertical Back Porch in Lines 23 Vertical Frequency in Hz 58 491 Vertical Timeout Delay 0 Pixel Clock Digitization Frequency MHz 12 2727 Video Synchronization Source Composite Video Basic Advan Exter Image Mul
8. together while using separate grounds This galvanic isolation approach prevents ground loops and protects both circuits A serial resistor limits the current 42 e Theory of Operation X64 AN Quad User s Manual Ext_Trig Ext_Trig 650 ohm Opto Coupler Figure 24 Opto coupler Detail Trigger The surrounding circuit that converts the voltage to flow as a current into the LED is therefore crucial to the good performance of the opto coupler The emitted light will not turn the transistor ON if the current flowing through the LED is too small Electrical parameters Vit max Vin min I min Th max t min Ve max V max Description Maximum voltage different to turn OFF Minimum voltage difference to turn ON Minimum input current to turn ON Maximum input current to turn ON Minimum input pulse width to turn ON Maximum forward voltage Maximum reverse voltage Value 0 8 V 2 V 2 mA 50 mA 10 us 24 V 25 V Note TTL signals are approximately 0 and 5V corresponding to logical 0 and 1 respectively A standard TTL output can sink 16mA and could be used as a sink to drive an opto coupled input That is 5V is connected to Ext_Trig and the sink trigger source is connected to Ext_Trig Some logic devices will not supply enough current to reliably drive the Ext_Trig of an opto coupled input a buffer between that logic device output and the Ext_Trig input is required One possibility
9. when the camera does not use VS X64 AN Quad User s Manual Glossary of Terms e 117 118 e Glossary of Terms X64 AN Quad User s Manual Index A Acquisition and Control Unit 33 51 acquisition bandwidth 32 Acquisition Configuration 96 Acquisition events 52 acquisition module 52 acquisition parameters 72 acquisition process 33 45 52 ADC sampling window 47 AUTORUN 10 B Block Diagram 6 52 Board driver 17 79 BoardInfo txt 22 29 boot recovery mode 28 buffer descriptor list 51 C calibration information 30 camera control modes 39 Camera file 18 94 camera interfacing tool 78 camera search utility 79 clamper circuit 5 clock generator 36 communication program 45 computer administrator 9 configuration switch 28 connector location 100 contiguous memory 20 control pulse generation 39 X64 AN Quad User s Manual D DALSA Device Manager 29 106 DALSA Imaging drivers 27 DALSA Imaging web site 79 Data Overflow event 53 DC Restoration 32 48 debounce circuit time constant 41 Device Manager 10 22 device report 22 differential input buffer 45 differential video 5 DMA controller performance 51 double buffering memory 30 dual channel analog cameras 4 E End of n Lines event 56 End of Even Field event 55 End of Field event 55 End of Frame event 55 End of Line event 55 End of Odd Field event 55 End of Transfer event 55 event interrupt sources 4 even
10. 70 J8 J9 J10 J11 see J8 J9 J10 J11 Input Low J21 Memory module socket Pass Filter Select on page 65 J19 Strobe outputs and Serial Ports J16 X I O Interface using cable see J19 Strobe amp Com Ports OC IOOC ANLVDS on page 69 D13 D14 D15 Input Status LEDS J13 J18 J22 Reserved D16 see Acquisition Status LED on page 67 X64 AN Quad User s Manual Technical Reference e 61 X64 AN Quad Board Component View J22 J21 J19 C J18 J16 u J17 Sooo D13 D14 D15 D16 X64 AN Quad revision A1 J13 J8 J9 J11 J7 J6 J5 Figure 31 X64 AN Ouad Board Component View 62 e Technical Reference X64 AN Quad User s Manual Connector Bracket End View Input 1 Input2 Input3 Input 4 J5 VO Figure 32 Connector Bracket Hirose Input Connectors The following drawing shows the female Hirose connector mounted on the X64 AN Quad as seen when looking at the board mounted in a computer Pin descriptions follow Figure 33 Hirose Pin Numbering Hirose Pin Description The X64 AN Quad features industrially secure Hirose connectors permitting a single cable connection to popular analog cameras such as from Sony Hitachi and Pulnix Signal pins are software configurable
11. Laurent Quebec Canada HAM 272 Declare under sole legal responsibility that the following products conform to the protection requirements of council directive 2004 108 EC on the approximation of the laws of member states relating to electromagnetic compatibility X64 AN Quad The products to which this declaration relates are in conformity with the following relevant harmonized standards the reference numbers of which have been published in the Official Journal of the European Communities EN55022 2006 A1 2007 ENV50204 1995 EN61000 4 1995 1996 Further declare under our sole legal responsibility that the product listed conforms to the code of federal regulations CFR 47 part 15 2008 subpart B for a class A product PG St Laurent Canada 2011 09 06 e ei Location Date Eric Carey ing Director Research and Development 60 e Technical Reference X64 AN Quad User s Manual X64 AN Quad Connector and Jumper Locations Connector List Descriptions for connectors and status LEDs follow the X64 AN Quad component layout drawings Connector Description Connector Description J5 DB9 External Signal amp Trigger J17 PC power to camera interface inputs see J5 Trigger Signals see J17 Power Connector on Connector on page 65 page 69 J6 J7 Connectors for Hirose input J15 Normal Operation jumper on module assembly Safe Start Mode jumper off see J15 Boot Recovery Mode on page
12. PRM VBACK PORCH Size of vertical back porch CORACO PRM VACTIVE Number of valid line from camera CORACQ PRM _VFRONT_ PORCH Size of vertical front porch X64 AN Quad User s Manual Theory of Operation e 35 Internal Sync In Internal Sync mode a clock generator is programmed to generate the desired pixel clock and time base signals The clock generator produces separate horizontal and vertical sync signals that match the desired video format These signals called horizontal drive HD and vertical drive VD are then output to the camera The frequency synthesizer can be programmed to generate any clock frequency up to SOMHz with less than Ins jitter Internal Sync mode easily supports both standard and non standard camera timing The horizontal and vertical timing created by the clock generator is output to the camera as HD VD signals called Master Mode It is also possible to deactivate the VD output for use with cameras that have such a requirement Note that the X64 AN Quad in Master Mode is independent from the selected source of synchronization It is therefore possible for X64 AN Quad to send VD HD to the camera but still synchronize to the VS HS present in the composite video signal X64 AN Quad allows the same VD HD to be sent to all four cameras simultaneously This is useful to genlock cameras together X64 AN Quad has two master mode controllers allowing control of up to two independent sets of cameras
13. Resistor Connector 220 ohm 5V typical i Output 1 Simplified 2 R gt Device Input Output Driver 2A AE 3 23 24 N QJ gt Device Input GND typical 8 places 16 29 30 O GND G Output 2 x Output 3 faz Output 4 ee 7 Output 5 zg M A Output 6 iey O Sr N N Output 7 7 HE 2 jis Output 8 Ol aa X I O Module e Each output can sink 700 mA e Over current thermal protection will automatically shut down the output device X64 AN Quad User s Manual Appendix X I O Module Option e 103 Outputs in PNP Mode Electrical Details When the outputs are configured for PNP mode source driver the user is required to provide the output supply voltage USR_PWR A simplified schematic and important output specifications follow PNP Source Driver Output Mode gt Device Power Supply gt Device Input DB37 Connector Simplified Be USER_PWR Output Buffer s Driver Output 1 A typical 8 places 3 23 24 C GND Ly 16 29 30 GND N Output 2 eo Output 3 i Output 4 Output 5 Output 6 2 5 Output 7 Gy ome Output 8 Caan umes X VO Module N gt Device Input GND e User provides the output power supply voltage 7 volts to 35 volts e Maximum source driver output current is 350 mA e Source driver with over current protection all outputs will shut down simultaneously
14. Sync on Composite Video Vertical Syne VS and horizontal sync HS signals are extracted from the composite video output signal by the sync extractor The PLL receives the stripped horizontal sync and outputs a pixel clock which is line locked to the incoming video The pixel clock then drives the ADC timing to digitize video and also generates frame timing The PLL which maintains a frequency stable pixel clock is programmed based on the timing requirements of the incoming video Pixels Valid Pixels AD gt LUT Cropper Analog Composite Video A Pixel Clock Sync Extractor VS Figure 16 Composite Video Synchronization Block Diagram Synchronization on composite video is commonly used for standard RS 170 and CCIR cameras as well as for many non standard cameras The following table shows the Sapera timing parameters used by the synchronization hardware Use the Sapera CamExpert utility to program camera timings and create camera files for any non standard camera usable with the X64 AN Quad Sapera parameters for Sync on Composite Video CORACQ PRM SYNC CORACO VAL_SYNC_COMP_VIDEO CORACQ PRM_HSYNC Size of horizontal sync pulse CORACQ PRM HBACK PORCH Size of horizontal back porch CORACO PRM HACTIVE Number of valid pixels per line CORACO PRM HFRONT PORCH Size of horizontal front porch CORACO PRM_VSYNC Size of vertical sync pulse CORACQ PRM VBACK
15. These values must be accurate if the acquisition board drives the synchronization signals to the camera board is in Master Mode The HS and VS signal frequencies are 1 EF 1 Ec H sotal RT Ea Votat HShe PCLK seq VS HS heq Overview of Video Bandwidth and System Limitations Some high resolution high frame rate cameras can output more data than can be transferred through the host computer s PCI bus A successful imaging application must account for the camera data bandwidth and possibly control frame rate or image resolution to bring the bandwidth requirements to within the system s limitations Bandwidth is defined in two different ways Peak bandwidth is the highest data rate occurring at any time during the data transfer The average bandwidth is the amount of data per unit of time being transferred Each is calculated as follows e Peak Bandwidth MBps Pixel Clock Frequency Bpp nb channels e Average Bandwidth MBps Frame Width Frame Height Frame Rate Bpp where MBps Mega Bytes per second Bpp Bytes per pixel nb number of When the bandwidth required by the frame grabber exceeds the capacity of the PCI 32 64 bit bus the following techniques can reduce and optimize the average bandwidth 94 e Sapera LT X64 AN Quad User s Manual Bandwidth Reduction Techniques A linear relationship exists between the average bandwidth required and the acquisition image height For exampl
16. Use the Buffer menu of the Sapera Grab demo program to allocate host buffer memory until an error message signals the limit allowed by the operating system used Contiguous Memory for Sapera Messaging The current value for Sapera messaging determines the total amount of contiguous memory reserved at boot time for message allocation This memory space is used to store arguments when a Sapera function is called Increase this value if you are using functions with large arguments such as arrays and when experiencing any memory errors 20 e Installing the X64 AN Quad X64 AN Quad User s Manual COM Port Assignment The lower section of the Sapera Configuration program screen contains the serial port configuration menu Configure as follows e Use the Physical Port drop menu to select the Sapera board device from all available Sapera boards with serial ports when more then one board is in the system Note that the X64 AN Quad has 4 physical ports e Use the Maps to drop menu to assign an available COM number to the Sapera board serial port e Click on the Save Settings Now button and then the Close button You are prompted to reboot your computer to enable the serial port mapping e The X64 AN Quad serial ports one of them mapped to COM3 in this example is available to any serial port application for camera control Note that this serial port is not listed in the Windows e Control Panel e System Properties Device Manager because it is a logical
17. X64 AN Quad User s Manual Theory of Operation e 47 DC Restoration DC Restoration uses a programmable clamp pulse The horizontal back porch is used to establish the reference video black level Two parameters are required to locate the region used as the reference The clamp_start and clamp_end parameters are referenced to the start of HS The clamp_width is the time difference between clamp_start and clamp_end See below for diagram DC Restoration Clamping Comp Video Clam iz start be Clam n ond Figure 27 DC restoration timing Note With Internal Sync mode the horizontal reference is the edge of HD With this synchronization scheme clamp start and clamp end values refer to first edge of HD not to HS coming from composite video Sapera parameters for ADC Converter CORACQ PRM PIXEL CLK _INT Internal pixel clock frequency in Hz CORACQ PRM PIXEL DEPTH 8 CORACQ PRM DC REST MODE CORACO VAL DC REST MODE AUTO CORACO VAL DC REST MODE ON CORACQ VAL DC REST MODE OFF CORACO PRM DC REST START Start of clamp pulse relative to HS or HD CORACO PRM DC REST WIDTH Clamp pulse duration 48 e Theory of Operation X64 AN Quad User s Manual Lookup Table Each of the 4 video inputs has an independent Lookup Table LUT The LUT format is 8 bits in and 8 bits out The LUT is used for operations such as gamma adjustments invert and threshold processes etc Input re ADC 1
18. at any one time In this example with two control methods having been defined the Enable Control Method drop menu selects which control method to activate Camera Control method selected Time Integrati 7 Time Integration Method Setting Time Inteqration Camera Reset Method Setting Figure 50 CamExpert Advanced Control Parameters e With the camera control method defined and enabled the last configuration item is to define the external trigger signal to the frame grabber The CamExpert External Trigger Parameters tab shown in the following screen image has external trigger enabled with detection set to falling edge and a trigger minimum duration as Ous edge detection not level detection The last parameter defines the number of sequential video frames captured on a single external trigger event X64 AN Quad User s Manual Sapera LT e 89 External Trigger Parameters External Trigger Enable External Trigger Detection Falling Edge External Trigger Source Automatic External Trigger Minimum Duration in us 0 Frame Count per External Trigger 1 External Trigger Ignore Delay 0 Figure 51 CamExpert External Trigger Parameters Testing the Setup CamExpert provides a control button to emulate an asynchronous event trigger which simplifies testing the camera configuration before the vision system is placed into its final location When all camera and CamExpert parameters are set cli
19. clock range 12 programming I O flash 107 S Sapera Acquisition Devices 107 Sapera acquisition server 96 Sapera buffers allocation 20 Sapera CamExpert 31 34 Sapera CD ROM 10 Sapera LT Development Library 9 Sapera LT User s manual 10 Sapera memory resources 20 Sapera messaging 20 scatter gather buffers 20 scatter gather support 51 Scatter Gather 7 serial ports 21 45 69 server list 19 software trigger 31 39 42 87 Start of Even Field event 55 Start of Field event 54 Start of Frame event 54 Start of Odd Field event 55 Static electricity 9 100 X64 AN Quad User s Manual strobe signal 44 sync extractor 34 synchronization sources 33 T technical support 22 Technical Support 28 31 temporary buffer 51 threshold processes 49 Timer granularity 39 Total bandwidth 51 transfer module 54 U user defined I O state 99 V Vertical Sync event 53 Vertical Timeout 54 video black level 48 video buffers 80 viewer program 30 X X64 AN Quad X Serial Y 45 X I O field installation 101 X VO module driver update 101 X I O module overview 99 X64 AN Quad User s Manual Index e 121
20. driver Silent Mode Uninstall Similar to a silent installation a response file must be prepared first as follows Creating a Response File The installer response file is created by performing a device driver un installation with a command line switch r The response file is automatically named setup uninstall iss which is saved in the Windows folder If a specific directory is desired the switch f1 is used As an example to save a response file in the same directory as the installation executable of the X64 AN Quad the command line would be X64 AN Quad 1 40 00 0000 r f1 setup_uninstall iss Running a Silent Mode Uninstall Similar to the device driver silent mode installation the un installation requires the device driver executable and the generated response file setup iss Execute the device driver installer with the following command line X64 AN Quad 1 40 00 0000 s f1 setup_uninstall iss Where the s switch specifies the silent mode and the f1 switch specifies the location of the response file In this example the switch f1 setup_uninstall iss specifies that the setup uninstall iss file be in the same folder as the device driver installer 14 o Installing the X64 AN Quad X64 AN Quad User s Manual Silent Mode Installation Return Code A silent mode installation creates a file corinstall ini in the Windows directory A section called SetupResult contains the statu
21. frame buffer e Load Retrieves images in BMP TIF CRC JPG and RAW formats e Save Prompts for a file name file save location and image format X64 AN Quad User s Manual Sapera LT e 97 Acquisition Options Note that unsupported functions are grayed out and not selectable Function support is dependent on the frame grabber hardware in use General Acquisition Settings Allows for X64 AN Quad external trigger mode enabling Area Scan Camera Control Provides trigger reset and integrate controls when supported by the current hardware and driver Also offers master HS and VS output Line Scan Camera Control This dialog is not applicable to the area scan frame grabber Composite Conditioning Offers Brightness and Contrast controls Load Config Opens the dialog window Acquisition Configuration allowing the user to load a new set of camera files This is the same window displayed when the Sapera Grab Demo is first started Acquisition Control Grab Displays live digitized video from your video source If your source is a camera focus and adjust the lens aperture for the best exposure Use a video generator as a video source to acquire reference images Freeze Stops live grab mode The grabbed image can be saved to disk via the File Control Save control Snap A single video frame is grabbed Abort Exits the current grab process immediately If any video signal problem prevents the freeze function from ending th
22. grabs black You are able to use Sapera CamExpert the displayed frame rate is as expected but the display stays black e Set your camera to manual exposure mode and set the exposure to a longer period plus open the lens iris e Try changing Contrast Brightness settings e Try changing the clamping setting DC restoration if it is not a standard video source configuration file and the camera file was not supplied by Teledyne DALSA e Try using a standard video source RS 170 or CCIR This validates that X64 AN Quad is able to grab and may point to a problem with your camera configuration file e Try to snap one frame instead of continuous grab e Make certain that the input LUT is not programmed to output all 0 s e This problem is sometimes caused by a PCI transfer issue No PCI transfer takes place so the frame rate is above 0 but nevertheless no image is displayed in CamExpert e Make certain that BUS MASTER bit in the PCI configuration space is activated Look in PCI Diagnostics for BM button under Command group Make certain that the BM button is activated e Perform all installation checks described in this section Troubleshooting Problems on page 23 before contacting Technical Support Symptoms Card acquisition bandwidth is less than expected The X64 AN Quad acquisition bandwidth is less than expected e Review the system for problems or conflicts with other expansion boards or drivers e Remove other PCI E
23. host memory in a fraction of the time acquired X64 AN Quad supports a number of event interrupt sources such as image acquisition and bus master transfer completion X64 AN Quad contains 128MB of onboard memory for buffering image data between the camera and the host system Onboard memory assures that image information is not lost during transfer to system memory due to PCI bus latency issues Images are grabbed into local memory and then transferred at very high speeds to the host for processing or display X64 AN Quad is supported by Sapera LT It is also fully supported by the Sapera Image Processing library X64 AN Quad Features e Full size single slot PCI form factor e 128MB onboard frame buffer memory e Four 4 analog Hirose 12 video inputs AC coupled and 75Q terminated e Acquires up to 4 monochrome cameras e Supports standard RS 170 or CCIR and a variety of non standard progressive scan cameras e External Trigger input synchronizes acquisition to external events e Camera Control signals e Strobe Control signals e Resolution up to 4094 x 16 777 215 interlaced or non interlaced e Video controls allow brightness and contrast e Driver supports 32 bit or 64 bit versions of Windows XP Windows Vista and Windows 7 e SOMHZ pixel clock See Technical Reference on page 57 detailed information 4 e X64 AN Quad Board X64 AN Quad User s Manual X64 AN Quad Functional Block Diagrams Input Block Diagram one shown Diffe
24. is a CMOS buffer with TTL compatible inputs such as the 74AC240 inverting buffer or 74AC241 non inverting buffer These devices can supply up to 24mA close to the supply voltage X64 AN Quad User s Manual Theory of Operation e 43 Sapera parameters for External Trigger CORACQ PRM EXT TRIGGER ENABLE CORACO VAL EXT TRIGGER ON CORACQ PRM EXT TRIGGER SOURCE 0 Same trigger source number as video source 1 Trigger source 1 2 Trigger source 2 3 Trigger source 3 4 Trigger source 4 CORACQ PRM EXT TRIGGER DETECTION CORACQ VAL RISING EDGE CORACQ VAL FALLING EDGE CORACO VAL ACTIVE LOW CORACQ VAL ACTIVE HIGH CORACO PRM EXT TRIGGER DURATION Debouncing duration CORACQ PRM EXT TRIGGER FRAME COUNT Number of frame to acquire per trigger Note CORACQ PRM EXT TRIGGER LEVEL always represents the opto coupler trigger input independent of its actual value CORACQ VAL LEVEL TTL or CORACO VAL LEVEL 422 This means this parameter does not matter for the X64 AN Quad driver Strobe One strobe signal is available per input See section J19 Strobe amp Com Ports on page 69 for pinout information The polarity and pulse duration are programmable up to 65 seconds The strobe signal is achieved using a 74AHCT125 driver with the following electrical characteristics Electrical parameters Description Value Vou typ Typical high level output voltage 3 9V Tou max Maximum high level output curren
25. memory frame buffers Start of Frame The Start of Frame event represents the beginning of a full frame transfer from onboard memory into PC memory For interlaced video there is one Start of Frame interrupt for each pair of fields The Sapera event value is CORACQ VAL EVENT TYPE START OF FRAME Start of Field The Start of Field event is only available for interlaced scan cameras There is a Start of Field event at the beginning of each field transferred from onboard memory into PC memory two per frame The Sapera event value is CORACQ VAL EVENT TYPE START OF FIELD 54 e Theory of Operation X64 AN Quad User s Manual Start of Odd Field The Start of Odd Field event is only available for interlaced scan cameras There is a Start of Odd Field event at the beginning of each incoming odd field transferred from onboard memory into PC memory The Sapera event value is CORACQ VAL EVENT TYPE START OF ODD Start of Even Field The Start of Even Field event is only available for interlaced scan cameras There is a Start of Even Field event at the beginning of each incoming even field transferred from onboard memory into PC memory The Sapera event value is CORACQ VAL EVENT TYPE START OF EVEN End of Frame The End of Frame event is generated when the last image pixel is transferred from onboard memory into PC memory The Sapera event value is CORACQ VAL EVENT TYPE END OF FRAME End of Field The End of Field event is on
26. of interest 50 e Theory of Operation X64 AN Quad User s Manual On board Memory The onboard memory behaves as a temporary buffer between the camera interface and the host PCI bus system The default total onboard memory capacity is 128MB There is a maximum frame size of 4094 x 16 777 215 Two or more frames are stored within onboard memory for double buffering Onboard memory allows the capture from cameras requiring a bandwidth exceeding the PCI 32 maximum of 132MB second PCI 64 maximum burst transfer rates are greater The X64 AN Quad supports the pixel format of 8 bit monochrome PCI Bus DMA Controller The PCI Bus DMA controller has scatter gather support to reduce CPU usage to a minimum Host system memory allocated for frame buffers is virtually contiguous but physically scattered throughout all available memory The buffer descriptor list is maintained in host memory The PCI Bus DMA controller maximum performance is specified independently from the analog acquisition front end of the X64 AN Quad The following table defines the PCI Bus DMA controller maximum data transfer rates Bus Sustained Transfer Max Burst Transfer PCI 32 120 MB second 132 MB second PCI 64 320 MB second 528 MB second Trigger to Image Reliability Trigger to image reliability incorporates all stages of image acquisition inside an integrated controller to increase reliability and simplify error recovery The trigger to image reliability m
27. serial port mapping Sapera Configuration x r Server List Index Name Serial Number 0 System None 1 KE4AN 1 53074100 r Contiguous Memory r Used for allocating buffers r Used for allocating messages Requested Requested 3 MBytes 6 4 MBytes Allocated Allocated 3 MBytes 6 MBytes r Serial Ports Physical Port Maps to Serial_0 on X84 AN_1 M X Selected physical port is present Camera Link API port index is not available Enable DirectShow support 7e Save Settings Now Figure 8 Serial port mapping X64 AN Quad User s Manual Installing the X64 AN Quad e 21 Displaying X64 AN Quad Information The Device Manager program also displays information about the X64 AN Quad boards installed in the system To view board information run the program via the Windows Start Menu shortcut Start e All Programs e Teledyne DALSA X64 AN Quad Device Driver Device Manager Device Manager Board Viewer The following screen image shows the Device Manager program with the Information Firmware tab active The left window displays all Teledyne DALSA boards in the system and their individual device components The right window displays the information stored in the selected board device This example screen shows the X64 AN Quad information contained in the EEProm component Generate the device manager report file BoardInfo txt by clicking File e Save Device Info Teledyne DAL
28. the difference in the digital pixel values for any constant change in input video level Default values of brightness and contrast use the full resolution of the X64 AN Quad ADC based on the Sapera acquisition parameters Video Level Min Max Video Voltage Level NTSC Contrast range A default 100 White level 714 mV 100 170 Default Brightness Contrast Line VAR ee ray Example 350 mV video signal leads Brightness range to pixel value of 115 default 0 i Black level 53 mV 0 Pixel Value 20 115 255 Figure 25 Brightness amp Contrast Relationship 46 e Theory of Operation X64 AN Quad User s Manual Sapera parameters for Contrast and Brightness CORACQ PRM CONTRAST Contrast percentage CORACQ PRM BRIGHTNESS Brightness percentage Note For the X64 AN Quad under Sapera contrast percentage ranges from 60 to 170 with 100 being the default value Brightness percentage ranges from 20 to 29 with 0 being the default value A D Converter The X64 AN Quad uses a high speed Analog to Digital Converter ADC The ADC outputs a 8 bit unsigned binary values from 0x0 to OxFF based on the sampled analog input signal level the ADC sampling window and by the clamping voltage level The Pixel Clock used by the ADC to sample the analog video comes from the PLL clock ADC Analog Video Digital Video t MUU Pixel Clock Figure 26 A D Converter diagram
29. the various X64 AN Quad Sapera parameters It is divided into four or five tabs dependent on the board capabilities 78 e Sapera LT X64 AN Quad User s Manual Basic Timing Parameters Basic parameters used to define the timing of the camera This includes the vertical horizontal and pixel clock frequency This tab is sufficient to configure a free running camera Advanced Control Parameters Advanced parameters used to configure camera control mode and strobe output Also provides analog signal conditioning brightness contrast DC restoration etc External Trigger Parameters Parameters to configure the external trigger characteristics Image Buffer and ROI Parameters Control of the host buffer dimension and format Multi Camera Control Parameters Provides camera selection in multi camera modes when applicable Camera Interfacing Check List Before undertaking the task of interfacing a camera from scratch with CamExpert e Confirm that Teledyne DALSA has not already published an application note with camera files http www teledynedalsa com mv support support aspx e Confirm that Sapera does not already have a cca file for your camera installed on your hard disk If there is a cca file supplied with Sapera then use CamExpert to automatically generate the ccf file with default parameter values matching the frame grabber capabilities e Check if the Sapera installation has a similar type of camera file A
30. to easily support cameras as they become available HD VD video trigger exposure and their corresponding ground connections are configured for the pin out required by the camera Also available on the connector is a 12 volt fused power source for the camera requires cable assembly cable OC COMC POW03 connected to J17 and an unused computer disk drive power connector X64 AN Quad User s Manual Technical Reference e 63 Pin X64 AN Quad JAI Sony Hitachi Pulnix Number 1 GND GND GND GND 2 12v 12v 12v 12v 3 GND video GND video GND video GND video 4 Video input Video input Video input Video input 5 GND GND GND HD I O GND Trigger 6 camera control I O HD in HD VO Trigger Programmable 7 camera control I O VD in VD I O VD VO Programmable 8 GND GND GND Trigger GND HD I O output 9 camera control I O NC PCLK Trigger output HD VO Programmable 10 camera control I O NC WEN out GND GND Programmable 11 camera control I O NC Ext Trig in 12v Programmable 12 GND GND GND VD I O GND VD I O Note X64 AN Quad programmable camera control I O pins are typically defined by Sapera camera files Camera files as distributed by Teledyne DALSA or defined new by X64 AN Quad users are configured with the Sapera CamExpert tool 64 e Technical Reference X64 AN Quad User s Manual J8 J9 J10 J11 Input Low Pass Filter Select The Input Low Pass Filter Select jumpers select the option of applying an i
31. z WEN Polarity Active L C Active H ActiveL C ActiveH Trigger Polarity P HD Synchronous Accumulation r Syne Signal Output Sync C Async Off C On Gain Setup Gain Level C Auto Gain Control AGC Level E Manual Gain Control Manual Gain Level 100 Rear Potentiometer Select r Gamma Correction C On Off 045 Levels Black Level 150 White Clip Level 1160 cz Figure 53 CamExpert Pulse Width Trigger Setup CamExpert Settings CamExpert parameters are in two groups similar to the previous example Those which select the control method and those which enable one of the possible control methods e First select a Sapera time integration method that matches the timing and control required by the camera In this example with the JAI CV A11 time integration method 1 is selected X64 AN Quad User s Manual Sapera LT e 91 Advanced Control Parameters x Value Internal Frame Trigger Enable Internal Frame Trigger Frequency in Ha 1 Camera Control method selected None Time Integration Method Setting Method 1 Camera Reset Method Setting None Camera Trigger Method Setting None Camera Control During Readout Net Supported HD D Output Disabled HD Output Polarity Active Low D Output Polarity lactive Low Pulse 0 HD Align Device Dependent Pulse 1 HD Align Device Dependent WEN Input Disabled WEN Polarity Active High WEN Vertical Offset in Li
32. 000 29 Step 196 0 196 o CORACQ PRM CAM CONTROL PULSEO HD ALIGN TRUE FALSE CORACQ PRM CAM CONTROL PULSEI HD ALIGN TRUE FALSE CORACQ PRM CAM RESET DELAY Min 0 us Max 65535000 us Step 1 us CORACQ PRM CAM RESET ENABLE TRUE FALSE CORACO PRM_CAM_ TRIGGER DELAY Min 0 us Max 65535000 us Step 1 us CORACQ PRM CAM TRIGGER ENABLE je gt C n Mm CORACQ PRM CAMSEL CORACQ PRM CONTRAST Min 60000 60 Max 170000 170 Step 1000 1 CORACQ PRM CROP HEIGHT Min 1 line Max 16777215 lineStep 1 line CORACQ PRM CROP LEFT Min 0 pixel Max 16777215 pixel Step 8 pixel CORACQ PRM CROP TOP Min 0 line Max 16777215 line Step 1 line CORACQ PRM CROP WIDTH Min 16 pixel Max 16777215 pixel Step 16 pixel CORACQ PRM DC REST MODE CORACO VAL DC REST MODE AUTO CORACO VAL DC REST MODE ON CORACO VAL DC REST MODE OFF CORACQ PRM DC REST START Min 0 pixel Max 2047 pixel Step 1 pixel CORACQ PRM DC REST WIDTH Min 0 pixel Max 2047 pixel Step 1 pixel CORACQ PRM DECIMATE METHOD CORACO VAL DECIMATE DISABLE CORACO VAL DECIMATE ODD CORACO VAL DECIMATE EVEN CORACQ PRM EXT TRIGGER DETECTION CORACQ VAL RISING EDGE CORACO VAL FALLING EDGE CORACO VAL ACTIVE LOW CORACO VAL ACTIVE HIGH CORACQ PRM EXT TRIGGER DURATION Min 0 us Max 65535 us Step 1 us CORACO PRM EXT TRIGGER ENABLE CO
33. 000F7 cc0000 00000000F7 caffff Intel 5 5 0 00000000f7ce0000 00000000f7cfffff Intel 5 5 0 Information No conflict in PCI configuration for bus 5 I Display wamings Save OK Figure 11 Sapera Diagnostics Reviewing PCI Bus Conflicts Windows Device Manager An alternative method to confirm the installation of the X64 AN Quad board and driver is to use the Windows Device manager tool Use the Start Menu shortcut Start s Settings Control Panel System Hardware Device Manager As shown in the following screen images look for X64 AN Quad board under Imaging Devices Double click and look at the device status You should see This device is working properly Go to Resources tab and make certain that the device is mapped and has an interrupt assigned to it without any conflicts 26 e Troubleshooting Problems X64 AN Quad User s Manual fa Z4 Device Manager el x File Action View Help 9 IEB amp 4 2 Dell380 W7 32 J Computer g Disk drives E Display adapters 3 DVD CD ROM drives ds Human Interface Devices ca IDE ATA ATAPI controllers Imaging devices Z X64 AN Quad Board 2 Keyboards A Mice and other pointing devices amp Monitors amp Y Network adapters II Ports COM amp LPT n Processors Sound video and game controllers 7E System devices g Universal Serial Bus controllers Figure 12 Windows Device Manager Screen Sape
34. 1 in Free Run Mode This section illustrates interfacing the JAI CV A11 in free run mode e Run the JAI camera control application The factory defaults typically place the camera in free run mode as shown in the following screen image Note that this example used a camera with an adjustable iris thus the camera gain was set to manual The JAI CV A11 camera control tool can remain running Camera Control Ei Shutter Mode Normal Programmable Exposure E 7 Programmable Exposure 7 p a En Shutter Speed Partial Scan Mode OFF T Full Frame ad Trigger Mode CLKAWEN Normal 7 WEN C Pixel CLK m Trigger Polarity WEN Polarity fctivel ketiye H Activel ActiveH HD Synchronous Accumulation To ee aus Sone C Async Off C On Gain Setup r Gain Level C Auto Gain Control AGC Level fi 2 3 Manual Gain Control Manual Gain Level 1100 sd Rear Potentiometer Select r Gamma Correction C On Off C 10 045 Levels Black Level 150 White ClipLevel 160 Figure 42 JAI CV A11 Camera Control Tool 82 e Sapera LT X64 AN Quad User s Manual Run Sapera CamExpert e From the Windows start menu run the Sapera CamExpert program Start sAll Programs e Teledyne DALSA Sapera LT CamExpert e The CamExpert Board window shows the available Sapera acquisition devices where the X64 AN Quad monochrome input 1 is selected by default e Load the Sapera supplied camera file for the JAI CV A11 CamExpert is now configur
35. 3 Input 4 J5 I O Figure 6 X64 AN Quad Connector Bracket Note An X64 AN Quad board is able to provide up to 500mA of power to connected cameras from the PCI bus fused protected Nonetheless Teledyne DALSA strongly recommends connecting the floppy power connector see J17 Power Connector on page 69 to ensure sufficient current is available from the PC power supply Caution Sinking more than 500mA from the X64 AN Quad PCI connector may result in the auto reset fuse blowing Check your camera datasheet for the required camera current 18 o Installing the X64 AN Quad X64 AN Quad User s Manual Configuring Sapera The Sapera Configuration program Start e All Programs es Teledyne DALSA Sapera LT Sapera Configuration allows the user to see all available Sapera servers for the installed Sapera compatible boards Viewing Installed Sapera Servers The System entry represents the system server It corresponds to the host machine your computer and is the only server that should be present at all times As shown in the following screen image server index is the X64 AN Quad board installed f Sapera Configuration r Server List Serial Number 0 System 1 XE4L AN_1 None 53074100 r Contiguous Memory Used for allocating buffers Selected physical port is present Enable DirectShow support Used for allocating messages Requested Requested 3 MBytes 6 MBytes All
36. 6 x 8 bit following A D Area of Interest transfers Output format four 8 bit pixels per DWORD 58 e Technical Reference X64 AN Quad User s Manual Camera Power Source Camera power via Hirose connector 12 V 500 mA fused protected Board Power Requirements 3 3 Volts 2 62A standby 2 74A during acquisition typical 5 Volts 330mA typical 12 Volts 150mA typical 12 Volts 120mA typical 5 Volts not used Camera Compatibility Go to the Teledyne DALSA Camera Database web page for the latest camera information at http www teledynedalsa com mv support support aspx Host System Requirements The X64 AN Quad requires at minimum an Intel Pentium III or compatible computer system with a free PCI 32 or PCI 64 local bus slot supporting the PCI 3 3 volt specification Operating System Support Either 32 bit or 64 bit versions of Windows XP Windows Vista and Windows 7 X64 AN Quad Physical Dimensions Conforms to PCI full length PCB approximately 12 25 Wx4 125 H 31 cm Wx10 5 cm H Environment Ambient Temperature 0 to 55 C operation 40 to 125 C storage Relative Humidity 5 to 95 non condensing operating 0 to 95 storage X64 AN Quad User s Manual Technical Reference e 59 EMI Certifications A Teledyne Technologies Company ME TELEDYNE DALSA EC amp FCC DECLARATION OF CONFORMITY We Teledyne DALSA ine 7075 Place Robert Joncas Suite 142 St
37. 64 AN Quad User s Manual Pixel A contraction of picture element The number of pixels describes the number of digital samples taken of the analog video signal The number of pixels per video line by the number of active video lines describes the acquisition image resolution The binary size of each pixel e g 8 bits 15 bits 24 bits defines the number of gray levels or colors possible for each pixel PLL Short for phase locked loop A PLL ensures that a signal is locked on a specific frequency Progressive Scan Camera The progressive scan format outputs data from the camera the signal in sequential order as it is scanned The scan format produces a full frame of video in a continuous stream rather than half the image per output sequence in standard interlaced cameras Scatter Gather Host system memory allocated for frame buffers is virtually contiguous but physically scattered throughout all available memory Trigger A mechanism that initiates an action when an event occurs such as synchronizing an image acquisition to an external event A trigger generally causes a program routine to be executed such as the resetting of camera exposure and or the firing of a strobe light UART A UART Universal Asynchronous Receiver Transmitter is the microchip with programming that controls an interface to its attached serial devices WEN Write ENable Output by some video cameras to indicate valid video Also indicates frame timing
38. AN Quad has one strobe output signal available per input The polarity and pulse duration are programmable up to 65 seconds The following table defines the strobe pinout on J19 See section Strobe on page 44 for more information The X64 AN Quad has four serial ports for camera control Each port can be mapped to a PC com port if required See section Serial Port on page 45 for more information The following table defines the serial port pinout on J19 Each port is made up of one transmit TX receive RX pair plus ground 2 4 z 24 26 1 3 g 23 25 Figure 39 J19 Pin Numbering Description Odd Pins Even Pins Description Ground 1 2 CAMI1 R 232 RX CAMI1 RS232_TX 3 4 Ground Strobe CAM1 5 6 reserved output Ground 7 8 CAM 2 R 232 RX CAM 2 RS232_TX 9 10 Ground Strobe CAM2 11 12 reserved output Ground 13 14 CAM3 R 232 RX CAM3 RS232_TX 15 16 Ground Strobe CAM3 17 18 reserved output Ground 19 20 CAM4 R 232 RX CAM4 RS232_TX 21 22 Ground Strobe CAM4 23 24 reserved output Ground 25 26 NC J17 Power Connector A computer floppy disk power cable connects to J17 to provide 12V to cameras via the Hirose 12 input connectors Camera power is fused power off reset Use cable OC COMC POW 03 to connect to an unused computer hard disk power supply cable X64 AN Quad User s Manual Technical Reference e 69 J21 Memory Socket SODIMM socket with 128 MB installed Memory type or size changes are
39. D Output Polarity Active Low D Output Polarity Active Low Pulse 0 HD Align Device Depend Pulse 1 HD Align Device Depend WEN Input Disabled WEN Polarity Active High WEN Vertical Offset in Lines 0 Strobe Method Setting None Analog Signal Conditioning Setting Hirose 12 pins Connector Setting Basic Advan Extern Image Multi C Figure 48 CamExpert Setting Trigger Mode e Next step is to program the trigger method parameters such as polarity delay and duration CamExpert provides a graphical menu to enter those variables which must be defined as required by the camera specifications In this example with the JAI CV A11 the trigger duration is set to 600ps to meet the camera specifications defined in its user manual 88 e Sapera LT X64 AN Quad User s Manual Camera Trigger Method Setting Setup Description This method generates an trigger pulse to a camera The next generated frame from the camera will be acquired Video acquired acquired Intafjacee odd field even field Trigger Polarity Delay us Duration us Pulse 0 Low High 1 Internal or External Trigger Cancel Figure 49 CamExpert Camera Trigger Method 1 Timing e The desired Sapera control method now must be enabled This parameter is required because a frame grabber board and camera may support different acquisition or exposure methods When multiple methods are supported and setup only one can be the controlling method
40. Default Connector 50 Pins Header Device Info Firmware Update Output 106 e Appendix X I O Module Option X64 AN Quad User s Manual The XIO information screen shows the current status of Device 0 the output device and Device 1 the input device A few items are user configurable for X I O board power up state Click on the item to display a drop list of available capabilities as described below e Device 0 Default Output Type choose Tristate mode i e output disconnected or PNP mode or NPN mode e Device 0 Default Output Pin State A window is displayed to select a logic low or high state for each output pin Click on each pin that should be logic high by default e Device 1 Default Input Level Select the input logic level as TTL 5 Volts or 24 Volts dependent on the signal type being input to the X I O module e Device 1 Default Connector DB37 is the supported output connector as described in this section Programming the User Configuration After changing any user configurable X I O mode from the factory default state click on the Program button located on the upper left to write the new default state to flash memory The Device Manager message output window will display Successfully updated EEProm The program can now be closed Using Sapera LT General I O Demo The Sapera General I O demo program controls the I O capabilities of the X I O module on the Sapera board product Th
41. E GER ES Gee Ee EES 51 Acquisition Events ees ee ee ee se ee Ge Gee ee Ge ee ee ee ee ee ee Re Se Re Ge ee eke ee SEE Ge ee ee ee ee ee ERSS 52 VOU A BAA TE E ET PEN E A EA E EA E E A 54 TECHNICAL REFERENCE 57 X64 AN QUAD BOARD SPECIFICATIONS i e ee ee ee ee ee ee ee ee ee ee ee ee 57 Camera Compatibility iieiea nenea EE EE N 59 HOST SYSTEM REQUIREMENTS ccccvissssesacsececessosesenesvacveciesssuvsestestecesebdsscuscostscbeukescawsesnts eg eed e es Gees ee ge eg es 59 ii e Contents X64 AN Quad User s Manual EMI CERTIFICATIONS ccccccccccccccccccccsccescecscscscsescscscscscecscscsesescscsusesesescsescacscacsusescsescacauscaceseceeeseveseeeuevens 60 X64 AN QUAD CONNECTOR AND JUMPER LOCATIONS csccccssssecessesceceessececsesaeeecseeeeeeseeeecsssaeeesseaaeees 61 Bid SE AR EE N OE EE 61 X64 AN Quad Board Component VieW iese ee Ge Ge Re GR ee RR Ge Re Ge eke Ge ee ek Ke Ge ee ee 62 Connector Bracket End View eie ee ee ee ee ee ee Re ee Re Ge Re RR Gee Gee ee ee ee ee ee ee ee ee ee iea 63 Hirose Input Connectors iese ee se se se se Ge Ge si erten ee ee Se E EE Ge ee ee ee ee ee E ee 63 J8 J9 J10 J11 Input Low Pass Filter Select s 65 J5 Trigger Signals Connector iii see Ge AA Ge AR Ge ee GR ge AA Ge AR Ge ee GRA ge Ad Ge RA Ge GR Ge ee 65 Acquisition Status LED ass ias NE EE N EE 67 Serial Ports Strobe Outputs Connector Bracket Assembly eie ese ee se Re Ge Re GR ee GR Ge ek ee ee 67 JIT Power Connector
42. LSE We loop to get all I O pins for i10 0 iIO lt UINT32 m pGio GetNumPins iIO m_pGio gt SetDisplayStatusMode SapManager StatusLog NULL We get the current state of the current I O pin by using the pin number on the current I O resource the pointer to pin state SapGio PinLow if low and SapGio PinHigh if high status m_pGio gt GetPinState ilIO amp state m_pGio gt SetDisplayStatusMode SapManager StatusNotify NULL X64 AN Quad User s Manual Appendix X I O Module Option e 111 VO Event Handling void CGioInputDlg GioCallbackInfo SapGioCallbackInfo pInfo CGiolInputDlg pInputDlg CString strEventCount We get the application context associated with I O events pinputDlg CGioInputDlg pInfo gt GetContext We get the current count of I O events strEventCount Format d pInfo gt GetEventCount We get the I O pin number that generated an I O event and apply the changes plInputDlg gt m_GioEventCount pInfo gt GetPinNumber 112 e Appendix X I O Module Option X64 AN Quad User s Manual MN TELEDYNE DALSA A Teledyne Technologies Company Contact Information Sales Information Visit our web site Email Canada Teledyne DALSA Montreal office 7075 Place Robert Joncas Suite 142 St Laurent Quebec Canada H4M 2Z2 Tel 514 333 1301 Fax 514 333 1388 Asia Sales Teledyne DALSA Asia Pacific Ikebukuro Eas
43. LSEO DURATION Min us Max 65535000 us Step 1 us CORACQ PRM TIME INTEGRATE PULSEO POLARITY CORACQ VAL ACTIVE LOW CORACO VAL ACTIVE HIGH CORACO PRM TIME INTEGRATE PULSEI DELAY Min 0 us Max 65535000 us Step 1 us CORACO PRM TIME INTEGRATE PULSEI DURATION Min 1 us Max 65535000 us Step 1 us CORACO PRM TIME INTEGRATE PULSEI POLARITY CORACO VAL ACTIVE LOW CORACO VAL ACTIVE HIGH CORACO PRM VACTIVE Min 1 line Max 16777215 line Step 1 line CORACO PRM VBACK INVALID Min 0 line Max 16777215 lineStep 1 line CORACO PRM VBACK PORCH Min 0 line Max 65535 line Step 1 line CORACQ PRM VFERONT PORCH Min 0 line Max 65535 lineStep 1 line CORACQ PRM VIDEO CORACO VAL VIDEO MONO CORACO PRM VIDEO LEVEL MAX gt CORACO PRM VIDEO LEVEL MIN CORACO PRM VIDEO LEVEL MIN lt CORACQ PRM VIDEO LEVEL MAX CORACQ PRM VIDEO STD CORACO VAL VIDEO STD NON STD CORACO VAL VIDEO STD RS170 NTSC CORACQ VAL VIDEO STD CCIR PAL CORACQ VAL VIDEO STD SECAM CORACO PRM VSYNC Min 1 line Max 255 line Step 1 line CORACO PRM VSYNC POLARITY CORACO VAL ACTIVE LOW CORACO VAL ACTIVE HIGH CORACQ PRM WEN POLARITY CORACO VAL ACTIVE LOW CORACO VAL ACTIVE HIGH VIC PARAMETERS Values CORACQ PRM BIT ORDERING CORACQ VAL BIT ORDERING STD 74 e Sapera LT X64 AN Quad User s Manual CORACQ PRM BRIGHTNESS Min 20000 20 Max 29
44. MAN TELEDYNE DALSA Teledyne Dalsa e 7075 Place Robert Joncas Suite 142 e St Laurent Quebec HAM 2Z2 e Canada www teledynedalsa com X64 AN Quad User s Manual Part number OC 64AM USERO0 Edition 2 01 NOTICE 2011 TELEDYNE DALSA Corp All rights reserved This document may not be reproduced nor transmitted in any form or by any means either electronic or mechanical without the express written permission of TELEDYNE DALSA Every effort is made to ensure the information in this manual is accurate and reliable Use of the products described herein is understood to be at the user s risk TELEDYNE DALSA assumes no liability whatsoever for the use of the products detailed in this document and reserves the right to make changes in specifications at any time and without notice Microsoft is a registered trademark Windows Windows XP Windows Vista Windows 7 are trademarks of Microsoft Corporation All other trademarks or intellectual property mentioned herein belong to their respective owners Released on September 29 2011 Document Number OC 64AM USERO Printed in Canada Contents INTRODUCTION 1 OVERVIEW OF THE MANUAL ees esse esse Een ees iese ede seg ees tasvebecenstetsbensseasdenssubssteasetbesdevelsisnisessdenesebssan I X64 AN QUAD BOARD 3 PRODUCT PART NUMBERS enetimer Se Ge ani ee Gie EAN ee ie Ge 3 X64 AN QUAD OVERVIEW eise ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee 4 X64 AN QUAD FEATURE
45. ME WEN 0x100 CORACO VAL SIGNAL NAME NO CONNECT 0x1 CORACO VAL SIGNAL NAME PULSEO 0x8 CORACO VAL SIGNAL NAME PULSE 0x10 CORACO VAL SIGNAL NAME WEN 0x100 CAMERA PARAMETERS Values CORACO PRM CAM CONTROL DURING READOUT TRUE FALSE CORACO PRM CAM RESET DURATION Min 1 us Max 65535000 us Step 1 us CORACO PRM CAM RESET METHOD CORACO VAL CAM RESET METHOD 1 72 e Sapera LT X64 AN Quad User s Manual CORACQ PRM CAM RESET POLARITY CORACO VAL ACTIVE LOW CORACO VAL ACTIVE HIGH CORACQ PRM CAM TIME INTEGRATE DURATION MAX 4294967295 us CORACO PRM CAM TIME INTEGRATE DURATION MIN 0 us CORACO PRM CAM TRIGGER DURATION Min 1 us Max 65535000 us Step 1 us CORACO PRM CAM TRIGGER METHOD CORACO VAL CAM TRIGGER METHOD 1 CORACO VAL CAM TRIGGER METHOD 2 CORACQ PRM CAM TRIGGER POLARITY CORACO VAL ACTIVE LOW CORACO VAL ACTIVE HIGH CORACQ PRM CHANNEL CORACO VAL CHANNEL SINGLE CORACQ PRM CHANNELS ORDER CORACO VAL CHANNELS ORDER NORMAL CORACO PRM_COUPLING CORACO VAL COUPLING AC CORACO PRM FIELD ORDER CORACO VAL FIELD ORDER NEXT FIELD CORACO VAL FIELD ORDER EVEN ODD CORACO VAL FIELD ORDER ODD EVEN CORACQ PRM FRAME CORACO VAL FRAME INTERLACED CORACO VAL FRAME PROGRESSIVE CORACQ PRM HACTIVE Min 1 pixel Max 4095 pixel Step 1 pixel CORACQ PRM HBACK PORCH Min 0 pixel Max 4095 pixel Step 1 pixel CORACQ PRM HFRONT PORCH
46. Min 1 us Max 65535000 us Step 1 us CORACO PRM STROBE ENABLE TRUE FALSE CORACO PRM STROBE METHOD CORACO VAL STROBE METHOD 1 CORACQ VAL STROBE METHOD 2 CORACQ VAL STROBE METHOD 4 CORACQ PRM STROBE LEVEL CORACO VAL LEVEL TTL CORACQ PRM STROBE POLARITY CORACQ_VAL_ACTIVE_LOW CORACO VAL ACTIVE HIGH 76 e Sapera LT X64 AN Quad User s Manual CORACQ PRM TIME INTEGRATE DELAY Min 0 us Max 65535000 us Step 1 us CORACO PRM TIME INTEGRATE DURATION Min 0 us Max 65535000 us Step 1 us CORACQ PRM TIME INTEGRATE ENABLE TRUE FALSE CORACQ PRM VERTICAL TIMEOUT DELAY Min 0 us Max 16383000 us Step 1 us CORACO PRM WEN ENABLE TRUE FALSE ACOUISITION PARAMETERS Values CORACO PRM EVENT TYPE CORACO VAL EVENT TYPE VERTICAL TIMEOUT CORACO VAL EVENT TYPE HSYNC LOCK CORACO VAL EVENT TYPE HSYNC UNLOCK CORACO VAL EVENT TYPE EXTERNAL TRIGGER IGNORED CORACO VAL EVENT TYPE DATA OVERFLOW CORACO VAL EVENT TYPE FRAME LOST CORACO VAL EVENT TYPE START OF FIELD CORACO VAL EVENT TYPE START OF ODD CORACO VAL EVENT TYPE START OF EVEN CORACO VAL EVENT TYPE START OF FRAME CORACO VAL EVENT TYPE END OF FIELD CORACO VAL EVENT TYPE END OF ODD CORACO VAL EVENT TYPE END OF EVEN CORACO VAL EVENT TYPE END OF FRAME CORACO VAL EVENT TYPE EXTERNAL TRIGGER CORACO VAL EVENT TYPE VERTICAL SYNC CORACO PRM SIGNAL STATUS CORACO VAL SIGNAL HSYNC PRESENT CO
47. PE B2BJ user _66MHz 0 00 _BIST capable r Base address registers Expansion ROM Enabled 9 OxF7800000 to OxF7BFFFFF Mem Pref 32 bit View Enabled 1 HT VO Pre View PCI PCI bridge Diagnostic 2 120 Pre View Primary Bus Save dIE VO Pe View Second Bus s a Folpel GN Subord Bus Help TE sin se e 5 EE MOT Pe View Bridge Ctrl J OK Figure 10 Sapera Diagnostics Main Screen Clicking on the Diagnostic button opens a new window with the diagnostic report From the PCI Bus Number drop menu select the bus number where the X64 AN Quad is installed In this example the slot is bus 5 The window now shows the I O and memory ranges used by each device on the selected PCI bus The information display box will detail any PCI conflicts If there is a problem click on the Save button A file named peidiag txt is created in the Sapera LT bin directory with a full dump of the PCI X64 AN Quad User s Manual Troubleshooting Problems e 25 configuration registers Email this file when requested by the Technical Support group along with a full description of your computer EE 33 PCI bus 1 0 range Number agoodeed Rood Iel 5 0 Range Mem Ow 7e00000047a Menor range Pref 0x0000000000000000 0 000000 00000000f7800000 00000000f7bfffff Teledyne DALSA 5 2 Q0000000F7c80000 00000000F7 cStftf Intel 5 4 0 QOO00000F ca0000 00000000F cbf fff Intel 5 4 0 00000
48. PORCH Size of vertical back porch CORACO PRM VACTIVE Number of valid line from camera CORACQ PRM VFRONT PORCH Size of vertical front porch 34 e Theory of Operation X64 AN Quad User s Manual Sync on Separate Sync In this mode the VS and HS signals are each input to the X64 AN Quad The sync extractor circuit is not used The PLL compares the separate horizontal sync input to the internal feedback and generates the PLL clock The ADC uses the PLL clock to digitize the video input The polarity of the sync inputs can be negative or positive The incoming signals must be referenced to system ground Pixels Valid Pixels ADC LUT Cropper gt Cam Analog Composite Video AA Pixel Clock PLL HS A VS LI LJ Figure 17 Separate Sync Video Synchronization Block Diagram Each camera has its own VS and HS output which are typically TTL level Sapera parameters for Sync on Separate Sync CORACQ PRM SYNC CORACQ VAL SYNC SEP SYNC CORACO PRM HSYNC Size of horizontal sync pulse CORACQ PRM HSYNC POLARITY CORACO VAL ACTIVE LOW or CORACQ VAL ACTIVE HIGH CORACQ PRM HBACK PORCH Size of horizontal back porch CORACO PRM HACTIVE Number of valid pixels per line CORACQ PRM HFRONT PORCH Size of horizontal front porch CORACQ PRM_VSYNC Size of vertical sync pulse CORACQ PRM VSYNC POLARITY CORACO VAL ACTIVE LOW or CORACQ VAL ACTIVE HIGH CORACQ
49. RACO VAL EXT TRIGGER OFF CORACO VAL EXT TRIGGER ON X64 AN Quad User s Manual Sapera LT e 75 CORACQ PRM EXT TRIGGER FRAME COUNT Min 1 frame Max 65535 frame Step 1 frame CORACQ PRM EXT TRIGGER LEVEL CORACO VAL LEVEL TTL CORACO PRM EXT TRIGGER SOURCE 0 automatic selection Use same trigger number as the acquisition module index 1 Trigger Input 1 2 Trigger Input 2 3 Trigger Input 3 4 Trigger Input 4 CORACQ PRM FLIP CORACO VAL FLIP HORZ CORACQ PRM INT FRAME TRIGGER ENABLE_ TRUE FALSE CORACQ PRM _INT FRAME TRIGGER FREQ Min 1 Hz Max 1073741823 Hz Step 1 Hz CORACQ PRM LUT ENABLE CORACQ PRM LUT FORMAT TRUE FALSE CORACQ_VAL_OUTPUT__FORMAT MONOS CORACQ PRM LUT MAX 1 CORACQ PRM LUT NENTRIES 256 CORACO PRM_LUT NUMBER CORACQ PRM MASTER MODE 0 CORACO VAL MASTER MODE DISABLE CORACO VAL MASTER MODE HSYNC _VSYNC CORACO VAL MASTER MODE HSYNC CORACQ PRM MASTER MODE HSYNC POLARITY CORACQ_VAL_ACTIVE_LOW CORACO VAL ACTIVE HIGH CORACQ PRM MASTER MODE VSYNC POLARITY CORACO VAL ACTIVE LOW CORACO VAL ACTIVE HIGH CORACQ PRM OUTPUT FORMAT CORACO VAL OUTPUT FORMAT MONOS CORACO PRM SNAP COUNT Min 1 frame Max 65535 frame Step 1 frame CORACQ PRM STROBE DELAY Min 0 us Max 65535000 us Step 1 us CORACQ PRM STROBE DELAY 2 Min 0 us Max 65535000 us Step 1 us CORACQ PRM STROBE DURATION
50. RACO VAL SIGNAL VSYNC PRESENT CORACQ VAL SIGNAL HSYNC LOCK CORACO VAL SIGNAL POWER PRESENT TRANSFER PARAMETERS Values CORXFER PRM EVENT TYPE CORXFER VAL EVENT TYPE START OF FIELD CORXFER VAL EVENT TYPE START OF ODD CORXFER VAL EVENT TYPE START OF EVEN CORXFER VAL EVENT TYPE START OF FRAME CORXFER VAL EVENT TYPE END OF FIELD CORXFER VAL EVENT TYPE END OF ODD CORXFER VAL EVENT TYPE END OF EVEN CORXFER VAL EVENT TYPE END OF FRAME CORXFER VAL EVENT TYPE END OF LINE CORXFER VAL EVENT TYPE END OF NLINES CORXFER VAL EVENT TYPE END OF TRANSFER X64 AN Quad User s Manual Sapera LT e 77 Using Sapera CamExpert with X64 AN Quad CamExpert is the camera interfacing tool for frame grabber boards supported by the Sapera library CamExpert generates the Sapera camera configuration file vourcamera ccf based on timing and control parameters entered For backward compatibility with previous versions of Sapera CamExpert also reads and writes the cca and cvi camera parameter files An important component of CamExpert is its live acquisition display window which allows immediate verification of timing or control parameters without the need to run a separate acquisition program N For context sensitive help click on the button then click on a camera configuration parameter A short description of the configuration parameter will be shown in a popup Click on the button to open the help file for more descripti
51. Re Ese EE Ge ee heeds suntan RE RE eN Gere eN Renee gee Ee ige EE 19 X64 AN Quad User s Manual Contents e i Increasing Contiguous Memory for Sapera Resources ee ee ee ee ee Re Re ee Re ee Gee Ge RR Re ee 20 BOESEM EE ER EE N N RE 21 DISPLAYING X64 AN QUAD INFORMATION sees es se ee oe ee ee Ge ee Ge ee AR Re ee Ge RA ee Ge ee ee ER Re ee ee RA ee Ge ee 22 Device Manager Board Viewer iese sesse se Ge ee GR ee AA Se AA Ge AR Ge ee GRA Ge AA Ge Gee Ge ee AR ee 22 TROUBLESHOOTING PROBLEMS 23 El EE Me se ee N ee RE N ates 23 PROBLEM LYPE SUMMARY i e Se ees Red ees ee ees Se cadences een Gee ee ee EN ERG eed Re wee ek gee eN ee Re ee 23 First Step Check the Status LEDS esse vs ER EES ERNS aae ENESE ese EE SA ravens 23 Possible Installation Problems Ge Re Re SR Ge Ge Re GR ee GR ek Re GR ee RA Ge Re Ge ek Ge ee ke ee 24 Possible Functional Problems iii sees yiee esea iae be AA Ge eenen eiae Ge Re Ge Re GR ee ek ee 24 TROUBLESHOOTING PROCEDURES seprana se ger seek ces cones Bee ee Ge Reg GER ee gese ER ek eke Re EEE eke e gegee Dek Se Rep Eed ep 24 Checking for PCL Bus Conflicts EE EE EE N ase 25 Windows Device Mand SG RE TE ER EE Savasnepeeseesasiee 26 Sapera and Hardware Windows DriVerS esse ese sees ese se ee Ge ee ek ee be ek Ge eke Ge ee ee ee Ge ee Ge eke Ge ee ee 27 Recovering from a Firmware Update EYFOP iese sesse esse ee se ek Ge ee GR ee RA Ge ee Ge ee Ge eke Ge ee ee 28 Driver Information via the Device Man
52. S iese ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee 4 X64 AN QUAD FUNCTIONAL BLOCK DIAGRAMS csscscessseeecsencececseeecsesueeeceneaeeecsueeecessueeesseaaeeeeseeeeeees 5 Input Block Diagram one SHOWN ccccccecesscetetseeseenseescseeseeseuseescesecseeseceeeecseeseeteeseeecieeeecnseereaees 5 Overall Block Did gram rirerire RA Ge Re Ge Re aieiaiei E en EE a eke Ee Eas 6 ACU Plus Acquisition Control Uni se Se Re Re GR Re Re GR Ge Re Ge ee Re Ge eke GR ee ee ee ee 6 DTE Intelligent Data Transfer Engine ices uses sis epiese dae Oes esse se SR Ds a Aude ae bes SNR anes EE dd 7 External Event Synchronization ss dye 8 Dees Ee sy ee Ee E tas eines ended tees 7 DEVELOPMENT SOFTWARE OVERVIEW ees ese sees se ee ee ee ee ke ere ee ee ee ee ee ee Ge eke ere eke eke ese ee ee ee ee ke Gee eke eke ee ee ee ge ee Ke Ge ee 7 Sapera t LT Library esse sees se Ge ee Se AR Ge ee GR ee SA Ge AA Ge Re GR ee RA Ge AR Ge Re Ge ee GRA Re AA Ge Re Ge ee ee 7 Sapera Processing Library ccccccccccccecssceseescesecsseeccnseescesesseeecieenecnsseseesecseeseeneeeecnteeseeeeeaesaesieeereneeeree 7 ABOUT THE X I O MODULE Go oeste ees lien ee GE oe er ie Re ee ee 8 INSTALLING THE X64 AN OUAD 9 WARNING GROUNDING INSTRUCTIONS cccccesseesscesseeseceaecssecseecseeeaeeeaeceeeeeeeseeeseeeseceaecaeenaecaecaeeaeeeaes 9 EE EN ta malts AE EE N EE EE austere aes 9 Sapera LT Library Installation cccccccceccccceccesecsseeeessesscuseeseeseeseeecseeeecucees
53. SA Technical Support may request this report to aid in troubleshooting installation or operational problems etn OAS Dee EE File Tools Help Device Info Manager Device Information E X64 AN_1 Er Template version 3 eb Firmware a PCI 64 Interface Drawing Number 2080 Ta PCI 32 Interface Issue A q ACU DTE Control Revision 1 Vendor ID 0x11EC Last ECO 1240 CMI 0x0 Extension 4 Input Serial Number 3074100 Component Version 0 Optional ECO 0x0 NE PERE E EREA Device Info Firmware Update Output Figure 9 Board Information via Device Manager 22 e Installing the X64 AN Quad X64 AN Quad User s Manual Troubleshooting Problems Overview The X64 AN Quad has been tested by Teledyne DALSA in a wide variety of 64 bit and 32 bit PCI computers Although unlikely installation problems may occur due to the constant changing nature of computer equipment and operating systems This section describes what the user can verify to determine the problem or the checks to make before contacting Teledyne DALSA Technical Support If you require help and need to contact Teledyne DALSA Technical Support make detailed notes on your installation and or test results for our technical support to review See Technical Support on page 114 for contact information Problem Type Summary X64 AN Quad problems are either installation types where the
54. The over current fault circuit will protect the device from short circuits to ground with supply voltages of up to 35V 104 e Appendix X I O Module Option X64 AN Quad User s Manual Opto coupled Input Electrical Details The two opto coupled inputs can be used either with TTL or RS422 sources A simplified input schematic and important electrical specifications are listed below Opto Coupled Input DB37 Connector n_Opto_1 P N i 1 4 a N X V O Input n_Opto_1 ki Vv C gt Ca D No ee n_Opto_2 g N N gt 2 fF Simplified GND 3 Opto coupled n Opto 2 P Input Oe typical 2 places X I O Module Input reverse breakdown voltage 5 volts minimum Maximum average forward input current 25 mA Maximum input frequency 200 kHz Maximum Sapera call back rate System processing dependent TTL Input Electrical Details The six TTL inputs are software configurable see Configuring User Defined Power up I O States on page 106 for standard TTL logic levels or industrial logic systems typically 24 volts The design switch points are as follows e TTL level mode trip point at 2V 5 e Industrial level mode trip point at 16V 5 X64 AN Quad User s Manual Appendix X I O Module Option e 105 X I O Module Sapera Interface Sapera version 5 30 or later provides support for the X I O module via an I O class and demonstration program U
55. User s Manual Theory of Operation e 37 WEN Some cameras indicate when valid data is output by generating a write enable signal WEN The function of WEN is similar to a vertical sync pulse When enabled the X64 AN Quad uses WEN as the vertical timing reference instead of VS Some cameras generate WEN but with no VS pulse embedded in the composite video signal Frame Reset HD DO KO DO DUN WEN n Video Out Integrated Video Figure 20 WEN Timing One WEN signal is available per connected camera WEN has programmable polarity it can be selected to be active high or active low Sapera parameters for WEN CORACQ PRM_WEN_ENABLE TRUE FALSE CORACQ PRM WEN POLARITY CORACQ VAL ACTIVE LOW CORACO VAL ACTIVE HIGH CORACO PRM VBACK INVALID Number of lines to skip for valid video after WEN pulse 38 e Theory of Operation X64 AN Quad User s Manual Camera Control Pulse Generator X64 AN Quad has three independent timers per input that control pulse generation for camera controls This allows to position pulses precisely to a resolution of 1us relative to the trigger event Pulse generation flexibility is required to support a wide range of camera control modes edge pre select pulse width control E Donpisha etc An independent timer is available for each of the following signals VS e Frame Reset Strobe VS and Frame Reset timers can be combined to generate a double pulse on the same c
56. ad Does Not Grab You are able to start Sapera CamExpert but you do not see an image and the frame rate displayed is 0 e If your camera is powered through a camera cable make certain that J17 on the X64 AN Quad is connected to a floppy power cable Otherwise the camera must be powered using an external power supply e Verify the camera and timing parameters with the camera in free run mode e Make certain that you provide an external trigger if the camera configuration file requires one Use the software trigger feature of CamExpert if you do not have a trigger source e Does your camera provide a WEN signal that you need to use Adapt your configuration file and camera cable accordingly e Make certain that the pinout of your camera cable matches your camera and that the camera is properly connected to the cable e Make certain that the camera is configured for the proper mode of operation Composite Video Separate Sync Master Mode This must match the camera configuration file Refer to your camera datasheet X64 AN Quad User s Manual Troubleshooting Problems e 31 e Try using a standard video source RS 170 or CCIR This validates that X64 AN Quad is able to grab and may point to a problem with your camera configuration file e Try to snap one frame instead of continuous grab e Perform all installation checks described in this section Troubleshooting Problems on page 23 before contacting Technical Support Symptoms Card
57. ad device driver are installed e Check for an existing CCA file distributed with Sapera that will provide camera timing parameters For the JAI CV A11 the supplied file is J_CV All cca e Check the Teledyne DALSA web site for a published application note with camera files http www teledynedalsa com mv support support aspx e Connect the interface cables for video and serial port control to the camera The X64 AN Quad provides power to the camera via the video cable e Run the JAI CV A11 camera control tool to set the camera in free run mode This will simplify testing the camera file timing parameters The following screen image shows the control tool version used within this document About CV A11 Camera Control Tool Version 1 3 Copyright C 2003 a http www jai com Help Select Help File CV AT1 Developers Guide pdf X Open Help File Figure 41 JAI CV A11 Control Tool Info X64 AN Quad User s Manual Sapera LT e 81 e Run CamExpert load or set camera timing parameters and capabilities and then test a live grab Save the camera file for the default free run mode e Use the JAI CV A11 camera control tool to set the camera in alternative control modes such as time integration or reduced vertical size higher frame rate modes e Configure CamExpert for the mode setup via the camera control tool Test variations of these other modes Save new camera files for these modes when satisfied step 1 JAI CV A1
58. age 5 X64 AN Quad User s Manual Theory of Operation e 45 Contrast and Brightness Adjustment Contrast and Brightness are controlled through the input gain of the ADC The X64 AN Quad is calibrated for standard video during manufacturing The figure below shows the relationship between input analog video vertical axis relative to the output digital data horizontal axis Brightness controls the offset of the digitization line while contrast controls its gain the slope of the line The vertical axis represents the voltage level of the incoming video signal black level is 53mV white level is 714mV for RS170 video while the horizontal axis shows the resulting pixel value As an example using default brightness and contrast settings an incoming video signal of 350mV will be digitized to a value of 115 By increasing the brightness the digitization line gets shifted down with no slope change This creates a brighter digital image same input voltage leads to a higher pixel value Likewise a decrease in brightness leads to a darker image same input voltage leads to a lower pixel value Changing the brightness only affects the offset of the digitization line not its slope Contrast controls the relationship between a change in input analog video to the change in digital pixel value Increasing contrast causes a greater difference in the digital pixel values for any constant change in input video level Likewise a decrease in contrast reduces
59. ager Program eise se ese ee se ee se ee ek Ge ee Ge ek Ge ee ee 29 Teledyne DALSA Log Viewer ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee 30 Memory Requirements with Area Scan Acquisitions ese ese ee Ge Re Re RR Ge Re Ge Re GR ee ee 30 Symptoms CamExpert Detects no Boards iese se Ge ee Re Re Ge Re GR ee RA Ge ee Ge ee Ge ee ek 31 Symptoms X64 AN Quad Does Not Grab 31 SYmptloms Card rabs DIGCK tese ese se Ee REKE RR ER onze REDDER Red ae RES GER EE GR eene ee sede S 32 Symptoms Card acquisition bandwidth is less than expected RR RR RR ee 32 THEORY OF OPERATION 33 CAMERA CONTROL AND S VINCI OINIZ KING eise oes sees ee Ri seen ee sesse ek eg eeeb Gegee EE Eie RS 33 Source Of SVNCHTONIZALION OE EE N EE EE N RE EE stead ian 33 Camera Control ENE OE EE EE RE N EE EE IE 39 External Trigger and Strobe eise se Ge ee GR ee Ge Re Ge Re GR ee SR Ge RR Ge ek Ge Re GR ee RA Ge Re Ge eek 41 Serial OR EE EE EE N N 45 PAS ENG dy ie EE EE EE N Daai Niseni 45 Anti aliasing FIE EE EE EE EE N 45 Contrast and Brightness Adjustment c ccceccccesesseeseesseescuseescusetseesecseeseeeeescsecseeseeseesesteeeenssereaees 46 MD CONVE OT ee ee ee eee 47 Bookupt Table vi ES EE ee nae eee ee nee E ee eee ee eee 49 CH OPPO RE EE Rd AE N EE 50 On board Ee RE EE OR N EE EE EE EE OR 51 POI Bus DMA COmT aaah ceo NE cee ae N EG 51 TRIGGER TO IMAGE RELIABILITY es see es sr ges esse bee Ese KERS Sek eke ER es Ee DEER EEEE EE EESE gs DERE GER EE
60. amera signal control pin This is required for some camera modes like long time exposure Each timer has the following capabilities Programmable polarity active high or active low e Programmable delay from trigger event up to 65 seconds e Programmable duration up to 65 seconds Timer granularity timer step size is lus when the delay and duration values are below 65ms Granularity reduces to 1ms for a delay or duration above 65ms Delay and duration always have the same granularity level Therefore even if only one timer has the reduced granularity of 1ms all timers then have the same 1ms step size Each timer can be started by any of the following events VS default e External trigger Internal trigger Software trigger Frame Reset Frame reset also known as camera reset or camera trigger is a signal sent by the X64 AN Quad to the camera which triggers an acquisition One frame reset signal is available per X64 AN Quad input The pulse duration and polarity are programmable Frame reset can be triggered either by an external trigger signal an internal trigger a software trigger or a VS event After the trigger is initiated an internal frame reset counter counts up to a maximum of 65 seconds This pulse is normally used to control the exposure of the camera CCD used with camera modes such as Edge Pre Select or Pulse Width Control X64 AN Quad User s Manual Theory of Operation e 39 Two parameters control t
61. and setup only one can be the controlling method at any one time In this example with two control methods having been defined the Enable Control Method drop menu selects which control method to activate Advanced Control Parameters x Parameter Enable Control Method None 7 Camera Reset Method Setting None Time Integration Camera Trigger Method Setting Camera Trigger Frame Integration Method Setting None Time Integration Method Setting Method 1 HD VD Output Disabled Strobe Method Setting None Analog Signal Conditioning Setting Hirose 12 pins Connector Setting Figure 56 CamExpert Enable Time Integration X64 AN Quad User s Manual Sapera LT e 93 Testing the Setup With the time integration setup click on the CamExpert Grab button to have a live acquisition in the display window Time integration can work either in free run or external trigger mode Modified and tested CamExpert settings from this example or any custom configuration should be saved as a new camera configuration file with an appropriate description and unique file name Loading the saved camera file either in CamExpert again or from your custom vision application is the simplest method to configure Sapera for the camera used Note on Analog Camera Timing Relationships For analog cameras the following formulas show the relationship between the PCLK parameter and the Horizontal and Vertical total
62. andwidth and System Limitations eie ee Ge Ge Re Ge Re GR Ge Re Ge ek 94 SAPERA GRAB DEMO EXAMPLE AA NE Oe N N Ie 95 Using the Grab DEMONE ee Re RE EE eg Ge Se eek ee eek eer ye ek Ee os uae Re gee ee ba ed ee ER 96 APPENDIX X I O MODULE OPTION 99 X I O MODULE OVERVIEW sae fe cag th EO EE N a Ge tt 99 X VO Module Connector LOCAtON cc ee ee Ge ee ee ee ee ee ee ee Re ee Re ee ee ee Ge ee ee ee ee ee ee ee 100 A V O Connector OE EE OE EE OE Guat 100 X I O MODULE INSTALLATION eeuse sesse esse se ee ek ee ek ee ge ee ek ee eke He Ge GR ee ee He Ge eke REK He ee eN ee Re Ke ek ek ee ee Ne ee 100 Board Installation ee ee RR RA RR RA Re ee Ee ee ee ee ee Re ee Re ee Re Gee Gee Gee ee ee ee ee ee ee ee 101 X64 AN Quad and X I O Driver Update se ee Ge Re GR GR Ge RA Ge Re Ge Re GR Ge ee GR ee ee 101 X I O MODULE EXTERNAL CONNECTIONS TO THE DB37 Lees esse se see see se see eke se eke eke ee eke eke se eke eke ge eke ee ee 101 DB3 7 Pinout Description sisie sei as ives EES NS SEE ius es eb eE SEG AU ea Red REDES see Ee N EE 102 Outputs in NPN Mode Electrical Details iese ees se ee Ge ee GR ee RA Ge Re Ge Re Ge ee ee ek ee ee ee 103 Outputs in PNP Mode Electrical Detail iese sesse se ee Ge Re GR Ge RA Ge Re Ge eke Ge ee ee ee ee ee ee 104 Opto coupled Input Electrical Details iese see se Ge Re Ge Re GR ee GR ee GR Ge Re Ge eke Ge ee ee ee 105 X64 AN Quad User s Manual Contents e iii TTL Input Electrical Details see se ee Ge Re Ge ee Re RA G
63. ard PCl Host Camera Memory Controller Memory We gf Start of End of image End of PCI image capture transfer Figure 30 Acquisition Transfer Interrupts Event Related Definitions An interrupt is a signal sent by the X64 AN Quad board to the computer CPU which indicates an event on the frame grabber The X64 AN Quad driver has excellent event reaction time since interrupts are processed inside an interrupt service routine ISR at kernel level Interrupt An event is a WIN32 object that can take two states signaled and non signaled It is used for thread synchronization In this context an event is associated with an Event interrupt so that a WIN32 thread can be unblocked when the event it is waiting for gets signaled For example when an interrupt is received the corresponding event is signaled and the thread waiting for this event resumes execution External Trigger Used Ignored The External Trigger event is generated when the external trigger pin is asserted usually indicating the start of the acquisition process There are 2 types of external trigger events Used or Ignored Following an external trigger if the event generates a captured image an External Trigger Used event will be generated CORACQ VAL EVENT TYPE EXTERNAL TRIGGER If there is no captured image an External Trigger Ignored event will be generated CORACQ VAL EVENT TYPE EXTERNAL TRIGGER IGNORED An external trigger event will be ignored if the
64. ate procedure The user usually easily corrects this Follow the instructions Recovering from a Firmware Update Error on page 28 Installation went well but the board doesn t work or stopped working Review theses steps described in Symptoms CamExpert Detects no Boards on page 31 Possible Functional Problems Driver Information Use the Teledyne DALSA device manager program to view information about the installed X64 AN Quad board and driver See Driver Information via the Device Manager Program on page 29 Area Scan Memory Requirements The X64 AN Quad on board memory provides two frame buffers large enough for most imaging situations See Memory Requirements with Area Scan Acquisitions on page 30 for details on the on board memory and possible limitations Sometimes the problem symptoms are not the result of an installation issue but due to other system issues Review the sections described below for solutions to various functional problems Symptoms X64 AN Quad Does Not Grab on page 31 Symptoms Card grabs black on page 32 Symptoms Card acquisition bandwidth is less than expected on page 32 Troubleshooting Procedures The following sections provide information and solutions to possible X64 AN Quad installation and functional problems The previous section of this manual summarizes these topics 24 e Troubleshooting Problems X64 AN Quad User s Manual Checking for PCI Bus Conflicts One of the first items
65. bed below GR File Tools Help Device Info Manager Device iti S COS W Information Er XB4 AN_1 Field Value ai Template version 3 p Firmware a PCI 64 Interface Drawing Number 2080 Ta PCI 32 Interface Issue A ACU DTE Control Revision 1 Vendor ID Ox11EC Last ECO 1240 CMI 0x0 Extension 4 Input Serial Number 3074100 Component Version 0 Optional ECO 0x0 P P VEN Device Info Fimware Update Output X64 AN Quad User s Manual Troubleshooting Problems e 29 Figure 13 Device Manager Information Window e Select Information to display identification and information stored in the X64 AN Quad firmware e Select Firmware to display version information for the firmware components e Select one of the PCI interface components to load custom firmware when supplied by Teledyne DALSA engineering for a future new feature e Click on File Save Device Info to save all information to a text file Default location is drive TeledyneDALSA X64 AN Quad Bin BoardInfo txt Email this file when requested by Technical Support Teledyne DALSA Log Viewer The third step in the verification process is to save in a text file the information collected by the Log Viewer program Run the program via the Windows Start Menu shortcut Start e All Programs e Teledyne DALSA Sapera LT Tools Log Viewer The Log Viewer lists information about the installed Teled
66. board hardware is not recognized on the PCI bus or function errors due to camera connections or bandwidth issues The following links jump to various topics in this troubleshooting section First Step Check the Status LEDs The four input status LEDs located on the top edge of the board should be RED when the board is initialized properly but with no video signals connected Other LED indicators relate to various input signal states as described in section Acquisition Status LED on page 67 X64 AN Quad User s Manual Troubleshooting Problems e 23 Possible Installation Problems Hardware PCI bus conflict When a new installation produces PCI bus error messages or the board driver does not install it is important to verify that there are no conflicts with other PCI or system devices already installed Use the Teledyne DALSA PCI Diagnostic tool as described in Checking for PCI Bus Conflicts on page 25 Also verify the installation via the Windows Device Manager on page 26 Verify Sapera and Board drivers If there are errors when running applications confirm that all Sapera and board drivers are running See Sapera and Hardware Windows Drivers on page 27 for details In addition Teledyne DALSA technical support will ask for the log file of messages by Teledyne DALSA drivers Follow the instructions describe in Teledyne DALSA Log Viewer on page 30 Firmware update error There was an error during the X64 AN Quad firmware upd
67. boot the computer once again e Verify that the frame grabber is functioning by running a Sapera application such as CamExpert 28 e Troubleshooting Problems X64 AN Quad User s Manual Driver Information via the Device Manager Program The Teledyne DALSA Device Manager program provides a convenient method of collecting information about the installed X64 AN Quad System information such as operating system computer CPU system memory PCI configuration space plus X64 AN Quad calibration and firmware information can be displayed or written to a text file default file name BoardInfo txt Note that this program also manually uploads firmware to the X64 AN Quad described elsewhere in this manual Execute the program via the Windows Start Menu shortcut Start e All Programs e Teledyne DALSA e X64 AN Quad Device Driver Device Manager If the Device Manager program does not run it will exit with a message that the board was not found Since the X64 AN Quad board must have been in the system to install the board driver possible reasons for an error are Board is not in the computer e Board driver did not start or was terminated PCI conflict after some other device was installed Information Window The following figure shows the Device Manager information screen with one X64 AN Quad installed in the system Click to highlight one of the board components and the information for that item is shown on the right hand window as descri
68. ceseeseeseseveeeseseeeesneseeenaeenes 10 X64 AN Quad Driver Installation ccccccccescecessceseeseeseeseeseesecseeeeenseeeceseeseeseeseeseceeeeeneeesenaeeseereaees 10 X64 AN Quad Firmware Loader se se se ee Ge Re Ge Re GR ee Re GR ee RA Ge ee Ge ek Ge ee eke Ke ee 10 REQUIREMENTS FOR A SILENT INSTALL ees ese sue sesse ge oge sesse sees Nee see bge sd ee ese eg ed ese ede sees geed be ee Gee Ee gee dee vee 13 Silent Mode Installation ccccccsscssssssscsssesscesseesscssseveacsacesascuaseonsccavectsenseertansesusssesesusaseassnesseceesersass 13 Silent RE ERA OU OE EE EE EE N EE OE 14 Silent Mode Installation Return Code GR Re Re Re ee Re ee ee ee ee ee ee ee ee ee ee ee ee 15 Installation Setup with CorApplLauncher ex iese ee Ge Re GR ee GR Ge Re Ge Re Ge ee Ge ee ee Ge ee 15 Custom Driver Installation using install Mi se ee Re SR Ge Ge Re GR ee GR Ge RR Ge ek 15 UPGRADING SAPERA OR ANY TELEDYNE DALSA BOARD DRIVER esse see se ee ee se ee ese ee ke ere ee ee ee se ee ke be ee 17 Board Driver Upgrade ONL raise as SEKS RE RR SESDE RR ER gods DRANG KUR SEGE SAG AR Ao Ge GADE AE Guna REDE 17 Upgrading both Sapera and Board Driver iese sees esse ee se ee Ge ee GR ee RA Ge ek Ge eke GR ee ee Ge ee Ge ee 18 CONNECTING CAMERA AND DEVICES ee sesse sees se es ee se ee see ee ees se ese REE Gee ee Gee Be Gee Se ee Ge ee Ge Be ETER EiS 18 CONFIGURING APERA sei niese ee N ee ed ee eo een aneita 19 Viewing Installed Sdperd Servers vtec
69. ck on the Trigger button to initiate video acquisition With the setup example described a sequence of 15 frames are captured and displayed in the CamExpert display window Position x 264 y 000 Values 00368 Framefsec 0 0 fls Resolution 640 Pixels x 240 Lines Monochrome 8 bit Figure 52 CamExpert Software Trigger Button Modified and tested CamExpert settings from this example or any custom configuration should be saved as a new camera configuration file with an appropriate description and unique file name Loading the saved camera file either in CamExpert again or from your custom vision application is the simplest method to configure Sapera for the camera used 90 e Sapera LT X64 AN Quad User s Manual step 4 JAI CV A11 in Time Integration Mode The JAI CV A11 trigger mode Pulse Width Control is a single pulse time integration mode The leading edge of the trigger initiates the video capture while the trigger pulse width determines the exposure time JAI CV A11 Control Setting The following screen image shows the camera setup for Pulse Width Control trigger which is selected from the Trigger Mode drop menu Camera shutter speed is not applicable in this mode Camera Control Shutter Mode Normal Programmable Exposure 250 5H Programmable Exposure Shutter Speed Partial Scan Mode OFF Y Full Frame hd Trigger Made n CLKAVEN Pulse Width Control WEN C Pixel CLK l
70. computer s internal bus to memory and system components peripheral buses such as PCI and AGP allow adding or changing devices that make up the computer system Clamper Circuit A circuit that establishes a fixed level for the video signal at the beginning of each scanning line CMRR Common Mode Rejection Ratio The ratio of the common mode noise or interference voltage at the input of a circuit to the corresponding noise or interference voltage at the output Composite Video A video signal that is composed of the luminance and color information plus the synchronization signals together Common composite video formats are NTSC and PAL Contiguous Memory A block of physical memory occupying consecutive addresses Driver Also called a device driver a program routine that links a peripheral device to the operating system Specific to the Bandit II its VGA driver is required for its display adapter functionality and a device driver is required for its frame grabber capabilities Frame One complete image data set or its equivalent storage space X64 AN Quad User s Manual Glossary of Terms e 115 Frame buffer An area of memory used to hold a frame of image data A frame buffer may exist on the acquisition hardware or be allocated by the acquisition hardware device driver in host system memory Genlock When two cameras are genlocked their internal sync circuits are driven by a common external source These cameras output vide
71. d management plus easy to use application development wizards Applications are developed using either C or NET frameworks Sapera LT comes bundled with CamExpert an easy to use camera configuration utility to create new or modify existing camera configuration files Sapera Processing Library Sapera Processing is a comprehensive set of C classes or NET classes for image processing and analysis Sapera Processing offers highly optimized tools for image processing blob analysis search pattern recognition OCR and barcode decoding X64 AN Quad User s Manual X64 AN Quad Board e 7 About the X I O Module The optional X I O module adds general purpose software controllable I O signals to the X64 AN Quad The X I O module provides 2 opto coupled inputs 6 logic signal inputs 5V or 24V and 8 TTL outputs NPN or PNP type selectable The module also makes available 5V or 12V dc power from the host system The X I O module can be either purchased with the X64 AN Quad board or installed into the computer system at a later time The module occupies one adjacent PCI slot and connects to the X64 AN Quad via a ribbon cable X I O Module external connections are made via the DB37 connector on the module bracket X I O requires X64 AN Quad board driver version 1 10 or later and Sapera LT version 5 30 or later See Appendix X I O Module Option on page 99 for details and specifications 8 e X64 AN Quad Board X64 AN Quad User s Manua
72. d to use for time integration CORACO PRM TIME INTEGRATE PULSE DELAY Pulse offset from trigger event CORACO PRM TIME INTEGRATE PULSE DURATION Size of pulse CORACO PRM TIME INTEGRATE PULSE POLARITY CORACQ VAL ACTIVE LOW CORACQ VAL ACTIVE HIGH External Trigger and Strobe External Trigger External Trigger allows image acquisitions to be synchronized to external events With this mode enabled when the X64 AN Quad receives a trigger signal the acquisition begins with the next valid frame One external trigger signal is available per input The same external trigger signal can be used to synchronized acquisitions from multiple inputs The external trigger input uses an opto coupler for isolation and protection The trigger source must drive at least 2mA to turn on the opto coupler Minimum voltage difference is 2V to turn on and 0 8V to turn off The external trigger can be either rising or falling edge Maximum input differential voltage supported by opto coupler is 24V The incoming trigger pulse is debounced to ensure that no voltage glitch would be detected as a valid trigger pulse This debounce circuit time constant can be programmed from 1us to 255us Any pulse smaller than the programmed value is blocked and therefore not seen by the acquisition circuitry Note If no debounce value is specified value of Ous the minimum value of 1us will be used X64 AN Quad User s Manual Theory of Operation e 41 Figure 23 E
73. e number of lines 2 if buffer is 10 or 12 bits e Provide 1MB for every 256 MB of frame buffer memory required e Add an additional 1 MB if the frame buffers have a short line length say 1k or less the increased number of individual frame buffers requires more resources e Add an additional 2 MB for various static and dynamic Sapera resources e Add the amount of memory needed for DMA tables using the formula Sapera 7 10 and up number of frame buffers e number of lines 16 e line length in bytes 4kB e Test for any memory error when allocating host buffers Simply use the Buffer menu of the Sapera Grab demo program see Using the Grab Demo on page 96 to allocate the number of host buffers required for your acquisition source Feel free to test the maximum limit of host buffers possible on your host system the Sapera Grab demo will not crash when the requested number of host frame buffers is not allocated Host Computer Frame Buffer Memory Limitations When planning a Sapera application and its host frame buffers used as well as other Sapera memory resources do not forget the Windows operating system memory needs A Sapera application using the preferred scatter gather buffers could consume most of the remaining system memory with a large allocation of frame buffers If using frame buffers allocated as a single contiguous memory block Windows will limit the allocation dependent on the installed system memory
74. e if four cameras of 1K x 1K at some frame rate need to transfer 160MB per second of data those four cameras at a 512 x IK resolution will only need a bandwidth of 80MB per second which is now within the capability of the PCI 32 bus Bandwidth Optimization Techniques The following techniques are suggestions for applications that require all possible optimizations from the host system Implementing these suggestions require a thorough understanding of your computer system setup and its BIOS controls Allocate a separate IRQ for the frame grabber BIOS settings can be used to manually assign the IRQ number to a particular PCI slot As an alternative the Window Device Manager can be used to force a specific IRQ to a specific PCI slot e Minimize the PCI latency timer in the BIOS setting the value is given in CLK cycles Use a high performance AGP VGA card to decrease the image display system overhead when live acquisition is required e Avoid any hard drive write read operations and network access through PCI LAN interfaces during intensive image transfers by the frame grabber Important Some computer systems do not provide the BIOS controls described Review your system manual Sapera Grab Demo Example Program Start e All Programs e Teledyne DALSA Sapera LT e Demos Grab Demo Program file Sapera Demos Classes vc GrabDemo Release GrabDemo exe Workspace Sapera Demos Classes vc SapDemos dsw Description This pro
75. e DALSA Optional X I O Module optional provides 8 input amp 8 output general I Os OC I001 STD00 see Appendix X I O Module Option on page 99 for information on the product and its interconnect cables This manual in printed form is available on request X64 AN Quad Cables amp Accessories Product Number Serial Ports Strobe Outputs Connector Bracket Assembly supplied with each OR 64AC 0SERO X64 AN Quad connects to J19 optional Trigger Input Cable DB9 to four BNC OR VIPC QDTRG optional Power interface cable required when supplying power to cameras OR COMC POW03 optional Hirose 12 Video Input Cable 6 ft OC COMC HIR12 X64 AN Quad User s Manual X64 AN Quad Board e 3 X64 AN Quad Overview X64 AN Quad is a PCI 64 version 2 2 compatible plug in board that provides image capture of up to 4 independent analog cameras The acquisition circuitry interfaces with standard video RS 170 and CCIR and non standard video progressive scan cameras X64 AN Quad interfaces with cameras easily with fully programmable standard Hirose 12 connectors X64 AN Quad provides an efficient 32 64 bit PCI interface capable of bus mastering image data directly to memory within the system i e system memory or another PCI target such as VGA Transfer rates up to 528MB sec 64 bit PCI or 100 MB second 32 bit PCI are sustained depending upon host system capabilities Consequently images can be transferred to
76. e Re Ge Re GR ee RA Ge ee ek Ge ee Ge ee Ge ee 105 X T O MODULE SAPERA INTERFACE scsesseseessesecnesevsececsevsececsevsecnenevsecesnavsesaenavsecessavseaenavsecesnavsesees 106 Configuring User Defined Power up I O State ees ee ee ee ee GR RR Re GR ee Re ee ee ee ee ee ee 106 Using Sapera LT General WODERMO see RES GESE VEE SRSA ese Seba fied end teenies 107 Sapera LT General I O Demo Code SampleS iis se Se Re Ge Re GR ee RR Ge ek Ge ee GR ee ee Ge ee 109 CONTACT INFORMATION 113 SALES INFORMATION RE EE EE EE EENE ENEE 113 TECHNICAL od die AR OR EE EE ER ER ER EE EEN 114 GLOSSARY OF TERMS 115 INDEX 119 iv e Contents X64 AN Quad User s Manual Introduction Overview of the Manual X64 AN Quad Board e The X64 AN Quad Description of the X64 AN Quad board package contents and a brief summary of its capabilities e Block Diagrams Detailing X64 AN Quad functional blocks Installing the X64 AN Quad e The X64 AN Quad Description of the X64 AN Quad installation e Configuring Sapera Describes Sapera servers and contiguous memory e Troubleshooting Offers suggestions for resolving X64 AN Quad installation or usage problems Theory of Operation e Camera Control and Synchronization Overview of synchronization sources trigger and strobe signals e Acquisition Process Describes the process of video capture from the analog input to the data in frame buffer plus the events generated e Trigger to Image Rel
77. e demo will present to the user only the controls pertaining to the selected hardware in the case of multiple installed boards Run the demo via the windows start menu Start Programs e Teledyne DALSA Sapera LT Demos General I O Demo The first menu presents a drop list of all installed Sapera Acquisition Devices with I O capabilities In the following figure the X64 AN Quad board is selected Click OK to continue Sapera LT General 1 0 Demo x Select Acquisition Device X64 AN_1 Cancel X64 AN Quad User s Manual Appendix X I O Module Option e 107 General I O Module Control Panel The I O module control demo presents the I O capabilities of the installed hardware The following figure shows the X I O module connected to the X64 AN Quad board Output Pins The first column displays the current state of the eight output pins I O Device 0 e The startup default state is user configured using the Device Manager program e The state of each output can be changed by clicking on its status button e Use the Signal Output drop menu to select the output mode Tristate PNP NPN Input Pins The second section provides input pin status I O device 1 Note that this program is a demo therefore no action takes place on an input event e The first column reads the logic level present on each input The Input Level drop menu changes the logic level from 5V TTL to 24V logic Use the Device Manager program to select
78. e grab click Abort General Options Note functions grayed out are not supported by acquisition hardware Buffer Select from supported frame buffer counts size and types Count and Size Select the number of frame buffers and the image size here Type Contiguous Frame buffers are allocated in contiguous system memory single memory block no segmentation Type Scatter Gather Preferred Frame buffers are allocated throughout system memory in noncontiguous memory paged pool Pages are locked in physical memory so a scatter gather list can be constructed This type allows for the allocation of very large size buffers or large buffer counts Type Off screen Video The buffer is allocated in off screen video memory and uses the display adapter hardware to perform a fast copy from video memory to video memory Type Overlay The frame buffer is allocated in video memory where the display adapter overlay hardware uses color keying to view the overlay buffer Format Shows frame buffer pixel formats as supported by the hardware and camera files used 98 e Sapera LT X64 AN Quad User s Manual Appendix X I O Module Option X I O Module Overview The X I O module requires X64 AN Quad board driver version 1 10 or later and Sapera LT version 5 30 or later Occupies an adjacent slot to the X64 AN Quad Slot can be either PCI 32 or PCI 64 no PCI signals or power are used Connects to the X64 AN Quad via a 16 pin fla
79. ed for JAI CV A11 in free run mode The following screen shot shows the CamExpert camera file selection menu with the JAI CV A11 selected Camera Library EB CIS EB COHU B Costar Hitachi ER JAI EA cv a1 H Cv aa1 af Free Running HE Cv mi cv mi0 cv m4o H EH Panasonic EH Pulnix El Figure 43 CamExpert Selecting a camera file HERE TF e Assuming that the camera is connected to the X64 AN Quad on channel one click the CamExpert grab button Adjust the camera iris and focus The following screen image shows CamExpert in grab mode with the mouse pointer ready to stop the capture During live grab CamExpert displays the video frame rate and resolution X64 AN Quad User s Manual Sapera LT e 83 ARE Video status VSync Present H5ync Present H5ync Lock Present 7 Figure 44 CamExpert Live acquisition window e If you have multiple cameras connected to the X64 AN Quad select each board server in turn to verify live grab from each camera e Use the File Save dialog to save this camera configuration file ccf with user entered information CamExpert provides information for each field based on the file originally loaded Modify the fields such as camera mode and board configuration to describe the parameter setup Modify the file name and clic
80. eps Prepare the response file which emulates a user Invoke the device driver installer with command options to use the prepared response file Creating a Response File Create the installer response file by performing a device driver installation with a command line switch r The response file is automatically named setup iss and is saved in the Windows folder Ifa specific directory is desired the switch f1 is used As an example to save a response file in the same directory as the installation executable of the X64 AN Quad the command line would be X64 AN Quad 1 40 00 0000 r f1 setup iss X64 AN Quad User s Manual Installing the X64 AN Quad e 13 Running a Silent Mode Installation A device driver silent installation whether done alone or within a larger software installation requires the device driver executable and the generated response file setup iss Execute the device driver installer with the following command line X64 AN Quad 1 40 00 0000 s f1 setup iss Where the s switch specifies the silent mode and the f1 switch specifies the location of the response file In this example the switch f1 setup iss specifies that the setup iss file be in the same folder as the device driver installer already notified Windows to Always trust software from DALSA Corp during a previous Note On Windows Vista and 7 the Windows Security dialog box will appear unless one has installation of a
81. era and Board Driver When both Sapera LT and the Teledyne DALSA acquisition board driver are upgraded follow the procedure described below e Logon the computer as an administrator or with an account that has administrator privileges e In Windows XP from the start menu select Start e Settings Control Panel Add or Remove Programs Select the Teledyne DALSA X64 AN Quad board driver and click Remove Follow by also removing the older version of Sapera LT e In Windows Vista and Windows 7 from the start menu select Start e Settings Control Panel Programs and Features Double click the Teledyne DALSA X64 AN Quad board driver and click Remove Follow by also removing the older version of Sapera LT e Reboot the computer and logon the computer as an administrator again e Install the new versions of Sapera and the board driver as if this was a first time installation See Sapera LT Library Installation on page 10 and Installation on page 9 for installation procedures Connecting Camera and Devices Connector Bracket End View The following figure identifies the four X64 AN Quad input connectors The Hirose 12 connectors have programmable signal pins defined by camera file parameters See Hirose Input Connectors on page 63 for pinout descriptions The DB9 connector J5 provides for easy trigger signal connections See J5 Trigger Signals Connector on page 65 for pinout descriptions Input 1 Input2 Input
82. f 15kHz would generate too many events for the PC to follow The Sapera event value is CORACQ VAL EVENT TYPE END OF LINE End of n Lines The End of n Lines event is generated at the end of a group of n lines transferred from onboard memory into PC memory Note that this event should only be used with slow line rates The Sapera event value is CORACQ VAL EVENT TYPE END OF NLINES Supported Transfer Cycling Methods The X64 AN Quad supports the following transfer cycle modes which are either synchronous or asynchronous These definitions are from the Sapera Basic Reference manual e CORXFER VAL CYCLE MODE SYNCHRONOUS WITH TRASH Before cycling to the next buffer in the list the transfer device will check the next buffer s state If its state is full the transfer will be done in the trash buffer which is defined as the last buffer in the list otherwise it will occur in the next buffer After a transfer to the trash buffer is done the transfer device will check again the state of the next buffer If it is empty it will transfer to this buffer otherwise it will transfer again to the trash buffer e CORXFER VAL CYCLE MODE SYNCHRONOUS NEXT EMPTY WITH TRASH Before cycling to the next buffer in the list the transfer device will check the next buffer s state If its state is full the next buffer will be skipped and the transfer will be done in the trash buffer which is defined as the last buffer in the list otherwise it wil
83. fines if H V sync is embedded with the video or is on separate signals step 2 JAI CV A11 in Partial Scan Mode The JAI CV A11 partial scan mode increases the camera frame rate by decreasing the number of video lines output to the frame grabber refer to the camera manual for information CamExpert is easily configured to support each JAI CV A11 partial scan mode independently of whether the camera is in free run or trigger mode JAI CV A11 Control Setting Using partial scan mode requires only two setup changes One to the camera control tool and the second to a CamExpert parameter The following screen image shows the JAI CV A11 tool setting the scan parameter to Partial 240 video lines Camera Control zi Shutter Mode Normal Programmable Exposure ued 5H Programmable Exposure Shutter Speed Partial Scan Mode OFF hd 1 2 Partial x Trigger Mode CLKAWEN Normal 7 WEN C Pixel CLK Trigger Polarity WEN Polarity g D ActiveL C ActiveH HD Synchronous Accumulation Syr C Es Gain Setup Auto Gain Control Manual Gain Control Rear Potentiometer Select Syne Signal Output Off C On gt r Gain Level AGC Level 2 d Manual Gain Level 100 gt Gamma Correction C 1 0 045 C On Off Levels Black Level 150 5 White Clip Level fiso 3 Figure 45 Setting the JAI CV A11 to Partial Scan Mode X64 AN Quad User s Manual Sapera LT e 85 CamExpert Setting
84. full or partial as required Camera Control Shutter Mode Normal Programmable Exposure 260 sd 5H Programmable Exposure Shutter Speed Partial Scan Mode OFF hd Ful Frame se j Trigger Mode gt CLKAWEN Edge Pre select 7 WEN C Pixel CLK m Trigger Polarity e WEN Polarity Activel C Active H Acivel ActiveH HD Synchronous Accumulation z age Signal Output Sync C Esne Off C On Gain Setup r Gain Level C Auto Gain Control AGC Level fi rr Manual Gain Control Manual Gain Level 100 Rear Potentiometer Select Gamma Correction C On Off x 045 Levels Black Level 150 2 White Clip Level 160 4 Figure 47 Setting the JAI CV A11 to a Trigger Mode CamExpert Settings CamExpert parameters are in two groups those which select the control method and those which enable one of the possible control methods e First select a Sapera camera trigger method that matches the trigger timing required by the camera In this example with the JAI CV A11 Sapera camera trigger method 1 is selected X64 AN Quad User s Manual Sapera LT e 87 Advanced Control Parameters x Value Internal Frame Trigger Enable Internal Frame Trigger Frequency in Ha 1 Camera Control method selected Camera Trigger Time Integration Method Setting None Camera Reset Method Setting None Camera Control During Readout Not Supported HD D Output Disabled H
85. g wv 2 3 4 Input 4 Trigger Input anode Ext_Trig 5 Ground 6 Input 1 s Trigger Input cathode Ext_Trig 7 Input 2 s Trigger Input cathode Ext_Trig 8 Input 3 s Trigger Input cathode Ext_Trig 9 Input 4 s Trigger Input cathode Ext_Trig Electrical Description Value parameters Vit max Maximum voltage difference to turn OFF 0 8 V Vin min Minimum voltage difference to tum ON 2 V Ein Minimum input current to turn ON 2 mA TY max Maximum input current to tum ON 50 mA th min Minimum input pulse width to turn ON 10 us Ve max Maximum forward voltage 24 V V Emai Maximum reverse voltage 25 V 66 e Technical Reference X64 AN Quad User s Manual Note TTL signals are approximately 0 and 5V corresponding to logical 0 and 1 respectively A standard TTL output can sink 16mA and could be used as a sink to drive an opto coupled input That is 5V is connected to Ext_Trig and the sink trigger source is connected to Ext_Trig Acquisition Status LED The four status LEDs one per input provide visual feedback on the acquisition status The LEDs are located on the top edge of the X64 AN Quad therefore require an open host system case to be visible typical when doing system setup and verification D13 input 1 D14 input 2 D15 input 3 D16 input 4 have the following visual modes LED Status Status Description LED off X64 AN Quad firmware is not loaded Solid RED Can not
86. gram demonstrates the basic acquisition functions included in the Sapera library The program allows you to acquire images either in continuous or in one shot mode while adjusting acquisition parameters The program code can be extracted for use within your own application Remarks Grab Demo was built using Visual C 6 0 by means of the MFC library and is based on the Sapera standard API and Sapera C classes See the Sapera User s and Reference manuals for further information X64 AN Quad User s Manual Sapera LT e 95 Using the Grab Demo Server Selection Run Grab Demo from Start e All Programs e Teledyne DALSA Sapera LT Demos e Frame Grabbers s Grab Demo When activated Grab Demo first displays the Acquisition Configuration window The first drop down menu allows you to select any installed Sapera acquisition server that is installed Teledyne DALSA acquisition hardware using Sapera drivers The second drop down menu allows you to select the available input devices present on the selected server CCF File Selection The Acquisition Configuration window is also used to select the camera configuration file required for the connected camera Sapera camera files contain timing parameters and video conditioning parameters The default folder used for camera configuration files is also used by the CamExpert utility to save user generated or modified camera files Use Sapera CamExpert to generate the camera c
87. he X64 AN Quad hardware If there are multiple X64 AN Quad boards in the system all boards will be updated with new firmware With multiple X64 AN Quad boards in the system all are updated with new firmware If any installed board in a system already has the correct firmware version an update is not required In the following screen shot a single board is installed and ready for a firmware upgrade EEE tl se Teledyne DALSA Device Manager Version 3 33 Select Automatic to update with the Default Configuration Select Manual to update with a Specific Configuration Device Serial Number Configuration Status 64 AN_1 3074100 Standard Update Required Figure 3 X64 AN Quad Firmware Loader Note if you are certain that the X64 AN Quad firmware is of the same version as the driver being installed you can click on Cancel to bypass the update procedure Firmware Update Manual Mode Select Manual mode to load firmware other then the default version The figure below shows the Device Manager manual firmware screen with one X64 AN Quad installed in the system Information on all installed X64 AN Quad boards their serial numbers and their firmware components are shown Do a manual firmware update is as follows e Select the X64 AN Quad via the selection box if there are multiple boards in the system e From the Configuration field drop menu select the firmware version required e Click on the Start Update b
88. he frame reset pulse First the offset parameter sets the delay from trigger before asserting frame reset Then the size parameter specifies the frame reset pulse duration which in turn controls the exposure period on some cameras Single Pulse Frame Reset Ext Trigger f Frame Reset T D FR FR offset size Figure 21 Single pulse frame reset timing Sapera parameters for Frame Reset Refer to Time Integration method of Sapera documentation CORACQ CAP TIME INTEGRATE METHOD Method to use for time integration CORACO PRM TIME INTEGRATE PULSEO DELAY Pulse offset from trigger event CORACO PRM TIME INTEGRATE PULSEO DURATION Size of pulse CORACQ PRM TIME INTEGRATE PULSEO POLARITY CORACQ VAL ACTIVE LOW CORACQ VAL ACTIVE HIGH VSYNC One VS signal is output per active camera This feature is used on some cameras to control the exposure rate when in Master Mode The VS can generate up to two pulses each with a different duration up to 65 seconds Two parameters control the VS pulse First the offset sets the delay from trigger before asserting VS Then the duration sets the VS pulse width 40 e Theory of Operation X64 AN Quad User s Manual Single Pulse VS Ext Trigger j VS Ls VS VS t offset t duration gt Figure 22 Single pulse VS timing Sapera parameters for VSync Refer to Time Integration method of Sapera documentation CORACO CAP TIME INTEGRATE METHOD Metho
89. iability Overview of the X64 AN Quad system designed for imaging confidence Technical Reference e X64 AN Quad specifications including connector and pinout diagrams X64 AN Quad User s Manual Introduction e 1 X I O Module Option e Describes the X I O module its configuration cabling and usage Sapera LT e Sapera Server and Parameters Lists the Sapera server available plus describes the Sapera parameters and values supported by X64 AN Quad board e Using Sapera CamExpert with X64 AN Quad Describes the Sapera CamExpert tool and how to use it with X64 AN Quad e Sapera Software Example Describes the Sapera Grab Demo example and how use it Support e Teledyne DALSA Contact Information Phone numbers important web site links and email addresses 2 e Introduction X64 AN Quad User s Manual X64 AN Quad Board Product Part Numbers X64 AN Quad Board and Software Product Number X64 AN Quad with 128 MB of memory OR 64A0 02040 Sapera LT version 6 30 or later required but sold separately OC SL00 0000000 1 Sapera LT Provides everything you will need to build your imaging application Sapera 7 10 required for full feature support 2 Current Sapera compliant board hardware drivers 3 Sapera documentation compiled HTML help and Adobe Acrobat PDF formats optional Sapera Processing Imaging Development Library optional includes Contact Sales at Over 600 optimized image processing routines Teledyn
90. imeout conditions due to other devices e User forcing a partial firmware upload using an invalid firmware source file When the X64 AN Quad firmware is corrupted executing a manual firmware upload will not work because the firmware loader can not communicate with the board In the extreme case corrupted firmware may even prevent Windows from booting Solution The user manually forces the board to initialize from protected firmware designed only to allow driver firmware uploads When the firmware upload is complete reboot the board to initialize it in its normal operational mode e This procedure requires removing the X64 AN Quad board several times from the computer e Important Referring to the board s user manual in the connectors and jumpers reference section identify the configuration jumper location The Boot Recovery Mode jumper for the X64 AN Quad is J15 see J15 Boot Recovery Mode on page 70 e Shut down Windows and power OFF the computer e Move the configuration switch for boot recovery safe mode from its default position to the boot recovery mode position e Power on the computer Windows will boot normally e When Windows has started do a manual firmware update procedure to update the firmware again see Executing the Firmware Loader from the Start Menu on page 12 e When the update is complete shut down Windows and power off the computer e Set the Boot Recovery Mode switch back to its default position and re
91. in slave mode 4080 in master mode Vertical up to 16777215 lines in slave mode and 65535 in master mode X64 AN Quad User s Manual Technical Reference e 57 Synchronization and timing control Composite sync or Separate sync H Sync range 15 kHz to 100 kHz V Sync range 15 Hz to 120 kHz Trigger input opto isolated TTL or RS 422 optocoupler spec 3 3 to 5 V input requiring a minimum current of 8mA Programmable trigger de bounce delay from 1 to 255 microseconds Four External Trigger inputs Any one of them can be used to trigger acquisition from any camera Programmable trigger and strobe 2 Master Mode sync generators permit the genlocking of up to 2 different types of cameras One strobe output per input Outputs H sync V sync TTL up to 8 mA drive Trigger strobe and exposure TTL up to 8mA drive Four onboard RS 232 COM ports for camera control mapped as host system COM ports Host transfers and data format Pixel format MONO8 Simultaneous transfer of up to four camera images into host memory DMA engine supports typical sustained transfers up to 328MB PCI 64 120MB second PCI 32 DMA engine supports maximum burst transfers up to 528MB PCI 64 132MB second PCI 32 DMA engine supports scatter gather DMA engine supports de interlacing images External Signal Pins Frame reset VS HS WEN TTL 3 3V 5V tolerant Source current 8mA Sink current 8mA On board Processing Input lookup tables 25
92. ing the X64 AN Quad X64 AN Quad User s Manual Requirements for a Silent Install Both Sapera LT and the X64 AN Quad driver installations share the same installer technology When the installations of Teledyne DALSA products are embedded within a third party s product installation the mode can either have user interaction or be completely silent The following installation mode descriptions apply to both Sapera and the hardware driver process Sapera LT can be installed without rebooting before installing the board hardware device Note You must reboot after the installation of Sapera LT However to streamline the installation drivers The installations then complete with a single final system reboot Perform Teledyne DALSA embedded installations in either of these two ways e Normal Mode The default mode is interactive This is identical to running the setup exe program manually from Windows either run from Windows Explorer or the Windows command line e Silent Mode This mode requires no user interaction A preconfigured response file provides the user input The installer displays nothing Silent Mode Installation A Silent Mode installation is recommended when integrating Teledyne DALSA products into your software installation The silent installation mode allows the device driver installation to proceed without the need for mouse clicks or other input from a user Preparing a Silent Mode Installation requires two st
93. jectsO BOOL CreateObjects CWaitCursor wait Loop for all I O resources for UINT32 iDevice 0 iDevice lt MAX GIO DEVICE amp amp iDevice lt m gioCount iDevicett The SapLocation object specifying the server where the I O resource is located SapLocation location m_ServerIndex iDevice The SapGio constructor is called for each resource found m_pGio iDevice new SapGio location Creates all the low level Sapera resources needed by the I O object if m_pGio iDevice amp amp m_pGio iDevice amp amp m pGio iDevice gt Create DestroyObjects return FALSE return TRUE 110 e Appendix X I O Module Option X64 AN Quad User s Manual Output Dialog CGioOutputDlg class see Sapera Gui class void CGioOutputDlg UpdatelO UINT32 output 0 UINT32 state 0 BOOL status We loop to get all I O pins for UINT32 iIO 0 iIO lt UINT32 m_pGio gt GetNumPins iIO We set the current state of the current I O pin by using the pin number on the current I O resource the pointer to pin state SapGio PinLow if low and SapGio PinHigh if high status m_pGio gt SetPinState iIO SapGio PinState state Input Dialog CGioInputDlg class see Sapera Gui class BOOL CGiolnputDlg Update SapGio PinState state SapGio PinState PinLow BOOL status true UINT32 ilIO UINT32 jIO if m_pGio NULL return FA
94. k Save The ccf file is located in the default Sapera user folder Overview of Basic Timing Parameters CamExpert only shows parameters applicable to the acquisition board and camera type When configuring parameters for a new camera start by selecting or entering the basic horizontal timing parameters and pixel clock frequency as defined by the camera manufacturer Following is a brief overview of the basic timing parameters required for interfacing any camera e Video Standard An analog camera is either RS170 NTSC or CCIR PAL or Non Standard The group of Non Standard cameras covers all cameras that are not one of the basic TV standards Video capture of such cameras is only limited by the capabilities of the frame grabber hardware used e Image Sensor readout The JAI CV A11 output is full frame progressive scan video Basic TV standard video is interlaced 84 e Sapera LT X64 AN Quad User s Manual e Horizontal and Vertical Active Defines the frame resolution of the camera These parameters along with the front porch back porch sync values define the camera timing parameters When a new camera is interface to a Sapera frame grabber these values are entered based on the camera specifications e Pixel Clock Frequency Set the sampling clock frequency the frame grabber board will use to digitize the analog video The camera specifications will define the pixel clock required Typically this will produce square pixels e Video Sync Source De
95. l Installing the X64 AN Quad Warning Grounding Instructions Static electricity can damage electronic components Please discharge any static electrical charge by touching a grounded surface such as the metal computer chassis before performing any hardware installation If you do not feel comfortable performing the installation please consult a qualified computer technician Important Never remove or install any hardware component with the computer power on Disconnect the power cord from the computer to disable the power standby mode This prevents the case where some computers unexpectedly power up on installation of a board Installation Note to install Sapera LT and the X64 AN Quad device driver logon to the workstation as administrator or with an account that has administrator privileges The Sapera LT Development Library or runtime library if application execution without development is preferred must be installed before the board device driver e Turn the computer off disconnect the power cord disables power standby mode and open the computer chassis to allow access to the expansion slot area e Install the X64 AN Quad into a free 64 bit PCI expansion slot If no 64 bit PCI slot is available use a common 32 bit PCI slot X64 AN Quad supports the plug and play automatic configuration of the PCI specification e Connect the J17 12V power connector to a floppy power cable using the optional floppy power con
96. l occur in the next buffer After a transfer to the trash is done the transfer device will check the next buffer in the list if its state is empty it will transfer to this buffer otherwise it will skip it and transfer again to the trash buffer e CORXFER VAL CYCLE MODE ASYNCHRONOUS The transfer device cycles through all buffers in the list without concern about the buffer state 56 e Theory of Operation X64 AN Quad User s Manual Technical Reference X64 AN Quad Board Specifications Function Description Acquisition Standard RS 170 RS 330 CCIR and non standard progressive scan providing composite video non standard progressive scan can be driven with external timing HSYNC VSYNC and Frame Reset Four analog video inputs AC coupled and terminated to 750 Input video levels of 400mV to 1 2V supported 8 bit A D Input pixel rates from 8MHz to 50MHz Pixel jitter less than 2ns Simultaneous capture from any four synchronized or asynchronous cameras DC Restoration programmable clamp pulse Partial scan mode Brightness amp Contrast controls Programmable Gain Offset Low pass filter jumper selectable Programmable time base generator and programmable resolution interlaced or non interlaced horizontal period lt 255usec if Pixel clock lt 13 MHz 2046 horizontal by 16 777 215 vertical if Pixel clock gt 13 MHz 4094 horizontal by 16 777 215 vertical Horizontal up to 4094 pixels in multiple of 4 pixels
97. ly available for interlaced scan cameras There is an End of Field event when the last field has been transferred from onboard memory into PC memory The Sapera event value is CORACQ VAL EVENT TYPE END OF FIELD End of Odd Field The End of Odd Field event is only available for interlaced scan cameras There is an End of Odd Field event when the odd field has been transferred from onboard into PC memory The Sapera event value is CORACQ VAL EVENT TYPE END OF ODD End of Even Field The End of Even Field event is only available for interlaced scan cameras There is an End of Even Field event when the even field has been transferred from onboard memory into PCI memory The Sapera event value is CORACQ VAL EVENT TYPE END OF EVEN End of Transfer The End of Transfer event is generated at the completion of the last image being transferred from onboard memory into PC memory To complete a transfer a stop must be issued to the transfer module if transfers are already in progress If a transfer of a fixed number of frames was requested the transfer module will stop transfers automatically The Sapera event value is CORACO VAL EVENT TYPE END OF TRANSFER End of Line The End of Line event is generated at the end of each line transferred from onboard memory into PC memory Note that this event should only be used with very slow line rates Standard RS170 cameras X64 AN Quad User s Manual Theory of Operation e 55 with a line rate o
98. n board frame buffers using the Sapera LT API If allocation for the requested number of buffers fails the driver will reduce the number of on board frame buffers requested until they can all fit When reaching 2 on board buffers if they still cannot fit the driver will reduce the size such that it allocates two partial buffers This mode will write image data to the buffer while wrapping image lines around to the beginning of a buffer when full This mode relies on reading out the image data to the host computer faster than the acquisition Symptoms CamExpert Detects no Boards e If using Sapera version 5 20 or later When starting CamExpert if no Teledyne DALSA board is detected CamExpert will start in offline mode There is no error message and CamExpert is functional for creating or modifying a camera configuration file If CamExpert should have detected the installed board troubleshoot the installation problem as described below Troubleshooting Procedure When CamExpert detects no installed Teledyne DALSA board there could be a hardware problem a PnP problem a PCI problem a kernel driver problem or a software installation problem e Make certain that the card is properly seated in the PCI slot e Perform all installation checks described in this section Troubleshooting Problems on page 23 before contacting Technical Support e Try the board in a different PCI slot if the board does not initialize Symptoms X64 AN Qu
99. nc control for slave cameras trigger inputs outputs strobe outputs etc 6 e X64 AN Quad Board Serial port controller for camera setup Memory manager for acquisition data to onboard memory and from memory to host system Four independent 8 bit LUT for image processing Cropper to manage region of interest operations X64 AN Quad User s Manual DTE Intelligent Data Transfer Engine The X64 AN Quad intelligent Data Transfer Engine ensures fast image data transfers between the board and the host computer with zero CPU usage The DTE provides a high degree of data integrity during continuous image acquisition in a non real time operating system like Windows DTE consists of e Multiple independent DMA units e Tap Descriptor Tables e Auto loading Scatter Gather tables External Event Synchronization To synchronize image captures with external events the X64 AN Quad features optically isolated trigger inputs and strobe control signals for each input channel The signals can be programmed as active high or active low edge or level based and can be controlled independently Development Software Overview Saperat LT Library Sapera LT is a powerful development library for image acquisition and control Saperat LT provides a single API across all current and future Teledyne DALSA hardware Sapera LT delivers a comprehensive feature set including program portability versatile camera controls flexible display functionality an
100. nector OC COMC PCPWR See X64 AN Quad Connector and Jumper Locations on page 61 for detailed descriptions e Close the computer chassis and turn the computer on e Windows will find the X64 AN Quad and start its Found New Hardware Wizard Click on the Cancel button to close the Wizard Application X64 AN Quad User s Manual Installing the X64 AN Quad e 9 e If using Windows Vista or Windows 7 Windows will display its Found New Hardware dialog Click on the default Ask me again later and continue with the installation Note that if you select the third option Don t show this message again for this device there will be no prompt if the Teledyne DALSA board is installed in the same computer Sapera LT Library Installation e Insert the Teledyne DALSA Sapera Essential CD ROM With AUTORUN enabled the installation menu automatically displays e With AUTORUN not enabled use Windows Explorer and browse to the root directory of the CD ROM Execute launch exe to start the installation menu and install the required Sapera components e Continue with the installation of the board driver as described in the next section e The installation program will prompt you to reboot the computer Refer to Sapera LT User s Manual for additional details about Sapera LT X64 AN Quad Driver Installation The X64 AN Quad board driver supports installation in a Windows XP Windows Vista or Windows 7 system e After installing Sapera continue by
101. nes 0 Strobe Method Setting None Analog Signal Conditioning Setting Hirose 12 pins Connector Setting Basic Ti Advane External Image B Multi Ca Figure 54 CamExpert Time Integration Method Selection e Next step is to program the integration method parameters such as polarity delay and exposure time CamExpert provides a graphical menu to enter those variables which must be defined as required by the camera specifications and exposure desired In this example with the JAI CV A11 the exposure duration was set to 30000us simply to have a proper exposure at the test bench 92 e Sapera LT X64 AN Quad User s Manual Time Integration Method Setting Setup Ed None Method 1 Method 2 Method 3 Method 4 Method 5 Method 6 Method 7 Description This method generates an asynchronous time integration pulse 0 to a camera The width of this pulse represents the integration time Video acquired Interlaced odd field Integration Polarity Delay us e Exposure Time us I Pulse 0 EI N Internal or External Trigger Camera s Minimum Integration Time Camera s Maximum Integration Time 63500 Figure 55 CamExpert Time Integration Method Timing e The desired Sapera control method now must be enabled This parameter is required because a frame grabber board and camera may support different acquisition or exposure methods When multiple methods are supported
102. not supported See Memory Requirements with Area Scan Acquisitions on page 30 for information on a possible error during frame buffer allocation J15 Boot Recovery Mode e Default Mode Shunt jumper is installed The X64 AN Quad boots normally on system power up and is ready to execute image capture applications e Boot Recovery Mode Shunt jumper is removed if any problems occurred while updating the X64 firmware With the jumper off reboot the computer and update the firmware again When the update is complete install the jumper and reboot the computer once again See Recovering from a Firmware Update Error on page 28 J16 X I O Interface Connector Use cable OC IOOC ANLVDS See Appendix X I O Module Option on page 99 J13 J18 J22 Reserved These connectors are for internal use or future product development Signal descriptions are not publicly documented No connections should be made due to the high risk of permanent damage to the X64 AN Quad 70 e Technical Reference X64 AN Quad User s Manual Sapera LT Sapera Server and Resources The following table lists the Sapera Server available for X64 AN Quad Note that a single server supports up to four cameras ETE N n X64 AN_1 X64 AN Quad Acquisition Analog Monochrome video Input 1 Monochrome 1 Analog Monochrome video Input 2 Monochrome 2 Analog Monochrome video Input 3 Monochrome 3 Analog Monochrome video Input 4 Monochrome 4
103. nput low pass filter to each input The following figure shows the jumper Enabled and Disabled bypass positions top board edge Input Filter Enabled Input Filter Disabled Pin2 3 Pini 2 J8 J9 J10 J11 Figure 34 Input Low Pass Filter Selection Jumper The default jumper position is set to Disabled for each of the four inputs that is pins 2 and 3 shorted Note J8 Input 1 J9 Input 2 J10 Input 3 J11 Input 4 J5 Trigger Signals Connector The following figure is the DB9 male connector view when looking at the X64 AN Quad connector bracket The four X64 AN Quad trigger inputs use opto coupler isolation circuits A 650 ohm resistor is in series with the anode Trigger input cable number OC VIPC QDTRIG DB9 to four BNC is available to simplify connecting to trigger signal sources See section External Trigger on page 41 for details on using the trigger inputs 00006 DO E Figure 35 Trigger Inputs DB9 Male Connector X64 AN Quad User s Manual Technical Reference e 65 The following figure is a simplified drawing of one opto coupler trigger input Trigger signals requirements are defined below 650 ohm 1W O AMAN Anode Aid Cathode Fee Xe Figure 36 Trigger Input Opto coupler Pin Number Description 1 Input 1 Trigger Input anode Ext_Trig Input 2 Trigger Input anode Ext_Trig Input 3 Trigger Input anode Ext_Tri
104. o signal parameters CCA and video conditioning parameters CVI which in turn simplifies programming the frame grabber acquisition hardware for the camera in use Sapera LT 5 0 introduces a new camera configuration file CCF that combines the CCA and CVI files into one file Typically a camera application will use a CCF file per camera operating mode or one CCA file in conjunction with several CVI files where each CVI file defines a specific camera operating mode An application can also have multiple CCF files so as to support different image format modes supported by the camera or sensor such as image binning or variable ROI CCF File Details Files using the CCF extension Camera Configuration file are essentially the camera CCA and frame grabber CVI parameters grouped into one file for easier configuration file management This is the default Camera Configuration file used with Sapera LT 5 0 and the CamExpert utility CCA File Details Teledyne DALSA distributes camera files using the CCA extension that contain all parameters describing the camera video signal characteristics and operation modes that is what the camera outputs The Sapera parameter groups located within the file are e Video format and pixel definitions e Video resolution pixel rate pixels per line and lines per frame e Synchronization source and timings e Channels Taps configuration e Supported camera modes and related parameters
105. o frames synchronous to each other Grab Acquiring an image frame by means of a frame grabber Grayscale In image processing the range of available brightness levels displayed in shades of gray In an 8 bit system the gray scale contains values from 0 to 255 Host Refers to the computer system that supports the installed frame grabber Interlaced Describing the standard television method of raster scanning in which the image is the product of two fields each of which is made up of the image s alternate lines i e one field is comprised of lines 1 3 5 etc and the other is comprised of lines 2 4 6 etc Low Pass Filter A filter that blocks high frequencies and allows lower frequencies to pass through Used to limit undesirable analog information such as high frequency video noise before converting to digital data NTSC National Television Systems Committee Color TV standard used in North America and other countries The interlaced video signal is composed of a total of 525 video lines at a frame rate of 30 Hz PAL Phase Alteration by Line Color TV standard used in most of Europe and other countries The interlaced video signal is composed of a total of 625 video lines at a frame rate of 25 Hz PCI Peripheral Component Interconnect The PCI local bus is a 32 bit high performance expansion bus intended for interconnecting add in boards controllers and processor memory systems 116 e Glossary of Terms X
106. ocated Allocated 3 MBytes 6 MBytes Serial Ports Physical Port Maps to Serial_O on X64 4N_1 None z Camera Link API port index is not available Save Settings Now Close AE Figure 7 Sapera configuration utility Installing the X64 AN Quad e 19 X64 AN Quad User s Manual Increasing Contiguous Memory for Sapera Resources The Contiguous Memory section lets the user specify the total amount of contiguous memory a block of physical memory occupying consecutive addresses reserved for the resources needed for Sapera buffers allocation and Sapera messaging For both items the Requested value dialog box shows the driver default memory setting while the Allocated value displays the amount of contiguous memory that has been allocated successfully The default values will generally satisfy the needs of most applications The Sapera buffers value determines the total amount of contiguous memory reserved at boot time for the allocation of dynamic resources used for frame buffer management such as the scatter gather list DMA descriptor tables plus other kernel needs Adjust this value higher if your application generates any out of memory error while allocating host frame buffers or when connecting the buffers via a transfer object You can approximate the amount of contiguous memory required as follows e Calculate the total amount of host memory used for frame buffers number of frame buffers e number of pixels per lin
107. odel brings together all the requirements for image acquisition to a central management unit These include signals to control camera timing on board frame buffer memory to compensate for PCI bus latency and comprehensive error notification If the X64 AN Quad detects a problem the application can take appropriate action to return to normal operation The X64 AN Quad is designed with a robust ACU Acquisition and Control Unit The ACU monitors in real time the acquisition state of the input plus the DTE Data Transfer Engine which transfers image data from on board memory into PC memory In general these management processes are transparent to end user applications With the X64 AN Quad applications ensure trigger to image reliability by monitoring events and controlling transfer methods as described below X64 AN Quad User s Manual Theory of Operation e 51 Trigger Signal Validity External trigger signal noise or glitches are easily ignored by the ACU with its programmable debounce control A parameter is programmed for the minimum pulse duration considered as a valid external trigger pulse Refer to External Trigger and Strobe on page 41 for more information Acquisition Events Acquisition events are related to the acquisition module They provide feedback on the image digitization phase The following block diagram illustrates the acquisition process Trigger fi A D Onbo
108. on to launch Specify a fully qualified path As an example CorAppLauncher l f c driver_install x64 AN_Quad_1 40 00 0000 exe IF ERRORLEVEL NEO 0 goto launch error Note There is a 32 bit and 64 bit version of CorAppLauncher exe When installing the driver only the version related to the OS is installed However the 32 bit version is usable on either 32 bit or 64 bit Windows Custom Driver Installation using install ini Customize the driver installation by parameters defined in the file install ini By using this file the user can Select the user default configuration Select different configurations for systems with multiple boards X64 AN Quad User s Manual Installing the X64 AN Quad e 15 Assign a standard Serial COM port to board Creating the install ini File Install the driver in the target computer All X64 AN Quad boards required in the system must be installed Configure each board s acquisition firmware using the Teledyne DALSA Device Manager tool see Device Manager Board Viewer Ifa standard Serial COM port is required for any board use the Sapera Configuration tool see COM Port Assignment When each board setup is complete using the Teledyne DALSA Device Manager tool click on the Save Config File button This will create the install ini file f D Teledyne DALSA Device Manager v 3 33 sie z File Tools Help Firmware Update Manager Sta
109. onfiguration file based on the timing and control parameters entered see Using Sapera CamExpert with X64 AN Quad on page 78 for examples The CamExpert live acquisition window allows immediate verification of the parameters CamExpert reads both Sapera cca and cvi files for backwards compatibility with the original Sapera legacy camera files r Location Acquisition Server Acquisition Device X64 AN_1 E Analog Monochrome 1 Ne C Program Files T eledyne DALSA S apera CamFiles U ser If no Configuration file exists for your board camera you must run the CamE xpert utility to generate your Configuration file Figure 57 Camera File Selection Menu 96 e Sapera LT X64 AN Quad User s Manual Grab Demo Main Window The main window provides control buttons and a central region where the grabbed image is displayed Developers can use the source code supplied with the demo as a foundation to quickly create and test the desired imaging application d FE Sapera Grab Demo Piel data not ae ii Erme Acquisition Control Snap Grab Exit File Control New Load Save Acquisition Options Load Config General Composite Area Scan General Options Buffer View Figure 58 Sapera Grab Demo Program The various functions are described below File Control Three controls are provided for image file transfers e New Clears the current image
110. r all of the signals available on the X I O module DB37 Use a male DB37 with thumb screws for a secure fit Wiring type should meet the needs of the imaging environment X64 AN Quad User s Manual Appendix X I O Module Option e 101 DB37 Pinout Description Pin Signal Description 1 IN_OPTO_1 Input 1 Opto coupled 20 IN OPTO 1 2 IN OPTO 24 Input 2 Opto coupled 21 IN OPTO 2 3 ma Da Gnd 22 OUT TTL 1 output 1 4 OUT TTL 2 output 2 5 USER_PWR Power for the TTL Outputs in PNP mode 6 7 8 9 10 11 Reserved 25 26 27 28 Reserved 16 29 30 Gnd 12 Power PC 5V 1A max 31 Power PC 12V 1A max 13 IN TTL 3 Input 3 TTL 32 IN TTL 4 Input 4 TTL 14 IN_TTL 5 Input 5 TTL 33 IN_TTL 6 Input 6 TTL 15 IN TTL 7 Input 7 TTL 34 IN TTL 8 Input 8 TTL 35 OUT_TTL 3 output 3 17 OUT TTL 4 output 4 36 OUT TTL output 5 18 OUT TTL 6 output 6 37 OUT TTL 7 output 7 19 OUT TTL 8 output 8 102 e Appendix X I O Module Option X64 AN Quad User s Manual Outputs in NPN Mode Electrical Details When the outputs are configured for NPN mode open collector sink mode the user is required to provide an external input pull up resistor on the signal being controlled by the X I O output A simplified schematic and important output specifications follow NPN Open Collector Output Mode 5V or 24V typical DB37 External Pull up
111. rIndex m ServerName dlg GetServerName if m_ServerIndex 1 Get the number of resources from SapManager for ResourceGio type by using the server index chosen in the dialog box the resource type to enquire for Gio m_gioCount SapManager GetResourceCount m_ServerIndex SapManager ResourceGio Create all objects see the function following if CreateObjects EndDialog TRUE return FALSE Loop for all resources for UINT32 iDevice 0 iDevice lt MAX GIO DEVICE amp amp iDevice lt m_gioCount iDevicett direct read access to low level Sapera C library capability to check I O Output module if m_pGio iDevice gt IsCapabilityValid CORGIO CAP DIR OUTPUT status m pGiol iDevice GetCapability CORGIO CAP DIR OUTPUT amp capOutput X64 AN Quad User s Manual Appendix X I O Module Option e 109 direct read access to low level Sapera C library capability to check I O Input module if m_pGio iDevice gt IsCapabilityValid CORGIO_ CAP DIR INPUT status m_pGio iDevice gt GetCapability CORGIO CAP DIR INPUT amp capInput Constructor used for I O Output module dialog if capOutput m_pDlgOutput iDevice new CGioOutputDlg this iDevice m_pGio iDevice Constructor used for I O Input module dialog if capInput m_pDlgInput iDevice new CGioInputDlg this iDevice m_pGio iDevice end for end if Function CreateOb
112. ra and Hardware Windows Drivers Any problem seen after installation such as an error message running CamExpert first make certain the appropriate Teledyne DALSA drivers have started successfully during the boot sequence Example click on the Start se Programs e Accessories System Tools System Information Software Environment and click on System Drivers Make certain the following drivers have started for the X64 AN Quad driver Device Description Type Started CorX64An X64 AN Quad Kernel Driver Yes CorLog Sapera Log viewer Kernel Driver Yes CorMem Sapera Memory manager Kernel Driver Yes CorPci Sapera PCI configuration Kernel Driver Yes CorSerial Sapera Serial Port manager Kernel Driver Yes Table 1 X64 AN Quad Device Drivers X64 AN Quad User s Manual Troubleshooting Problems e 27 Teledyne DALSA Technical Support may request that you check the status of these drivers as part of the troubleshooting process Recovering from a Firmware Update Error This procedure is required if any failure occurred while updating the X64 AN Quad firmware on installation or during a manual firmware upgrade On the rare occasion the board has corrupted firmware any Sapera application such as CamExpert or the grab demo program will not find an installed board to control Possible reasons for firmware loading errors or corruption are e Computer system mains power failure or deep brown out e PCI bus or checksum errors e PCI bus t
113. rate at which the events are received are higher than the possible frame rate of the camera 52 e Theory of Operation X64 AN Quad User s Manual On X64 AN Quad the external trigger is protected by an opto coupler A minimum pulse width of 10us is necessary to detect an active high trigger pulse while a minimum pulse width of 5Ops is required for an active low trigger pulse The X64 AN Quad is also equipped with signal debounce input circuit that allows the user to define the minimum acceptable pulse width via Sapera CORACQ PRM EXTERNAL TRIGGER DURATION The region where an External Trigger will be ignored can be programmed using the 2 parameters CORACQ PRM EXT TRIGGER IGNORE DELAY and CORACQ PRM CAM CONTROL DURING READOUT Vertical Sync from Camera The Vertical Sync event indicates a vertical sync has been detected Note that this does not necessarily mean the image will be captured For instance if you have a free running camera at 30 fps with external trigger enabled you will get 30 events per second even though the X64 AN Quad waits for an external trigger to actually capture the next image This allows the application program to independently count frames coming from the camera The Sapera event value is CORACO VAL EVENT TYPE VERTICAL SYNC Horizontal Sync Lock Unlock The Horizontal Sync Lock Unlock event indicates the state of the Analog to Digital Converter PLL with respect to the incoming horizontal sync In order to digi
114. rd driver upgrades do not require a new revision of Sapera To confirm that the current Sapera version will work with the new board driver e Check the new board driver ReadMe file before installing for information on the minimum Sapera version required e If the ReadMe file does not specify the Sapera version required you should contact Teledyne DALSA Technical Support see Technical Support on page 114 To upgrade the board driver only e Logon the computer as an administrator or with an account that has administrator privileges e In Windows XP from the start menu select Start e Settings Control Panel e Add or Remove Programs Select the Teledyne DALSA X64 AN Quad board driver and click Remove Windows XP only When the driver un install is complete reboot the computer Logon the computer as an administrator again e In Windows Vista and Windows 7 from the start menu select Start e Settings e Control Panel Programs and Features Double click the Teledyne DALSA X64 AN Quad board driver and click Remove e Install the new board driver Run Setup exe if installing manually from a downloaded driver file e Ifthe new driver is on a Sapera Essential CD ROM follow the installation procedure described in Installation on page 9 e Important you can not install a Teledyne DALSA board driver without Sapera LT installed on the computer X64 AN Quad User s Manual Installing the X64 AN Quad e 17 Upgrading both Sap
115. rential Low Pass Amp Filter or gain 1 Bypass Video ED X64 AN Quad Input Core typical Camera controls Figure 1 X64 AN Quad Typical Input Block Diagram e Four differential video inputs with high CMRR typically 70dB e Input termination 75 ohm e Wide band or low pass filtered signal path Single corner low pass filter selected by shorting jumper Filter specifications analog 5th order Butterworth at 12 87 MHz e Independent programmable gain and offset references to adjust brightness and contrast of the analog image e One ADC analog to digital converter for each input e Each input has an independent clamper circuit and PLL phase locked loop X64 AN Quad User s Manual X64 AN Quad Board e 5 Overall Block Diagram Acquisition Input 1 Acquisition Input 2 Acquisition Input 3 Acquisition Input 4 Data ACU Plus Controls Onboard Memory DTE Data Transfer Engine DDR SODIMM Data amp Controls Trigger Inputs Universal Strobe Outputs PCI Controler Com Port 32 64b 33 66MHz 5V 3 3V Host PCI Bus Figure 2 X64 AN Ouad General Block Diagram Acquisition inputs are described in Input Block Diagram one shown on page 5 ACU Plus Acquisition Control Unit The X64 AN Quad ACU consists of controller and functional logic as follows Grab controller includes sy
116. rt Update Save Config fi Load Contig File Device n Value XE4AN 1 Serial Numbei 53074100 Update Firmware Device Version Al PCI 64 Interface 1 40 01 0350 PCI 32 Interface 1 40 01 0350 ACU DTE Control 40 01 0350 Configuration Information Firmware State Device Info Firmware Update Output Figure 5 Create an install ini File Run the Installation using install ini Copy the install ini file into the same directory as the setup installation file Run the setup installation as normal The installation will automatically check for an install ini file and if found use the configuration defined in it 16 e Installing the X64 AN Quad X64 AN Quad User s Manual Upgrading Sapera or any Teledyne DALSA Board Driver When installing a new version of Sapera or a Teledyne DALSA acquisition board driver in a computer with a previous installation the current version must be un installed first Upgrade scenarios are described below Note that if the board is installed in a different slot the new hardware wizard opens Answer as instructed in section X64 AN Quad Driver Installation on page 10 Board Driver Upgrade Only Minor upgrades to acquisition board drivers are typically distributed as ZIP files available in the Teledyne DALSA web site www teledynedalsa com mv support Board driver revisions are also available on the next release of the Sapera Essential CD ROM Often minor boa
117. s of the installation A value of 1 indicates that the installation has started and a value of 2 indicates that the installation has terminated A silent mode installation also creates a log file setup log which by default is created in the same directory and with the same name except for the extension as the response file The f2 option enables you to specify an alternative log file location and file name as in Setup exe s f2 C Setup log The setup log file contains three sections The first section InstallShield Silent identifies the version of InstallShield used in the silent installation It also identifies the file as a log file The second section Application identifies the installed application name version and the company name The third section ResponseResult contains the ResultCode indicating whether the silent installation succeeded A value of 0 means the installation was successful Installation Setup with CorAppLauncher exe The installation setup can be run with the CorAppLauncher exe tool provided with the driver Install the board driver and get CorAppLauncher exe from the Win directory of the installation When running the installation CorAppLauncher exe will return only when the installation is finished When run from within a batch file obtain the installation exit code from the ERRORLEVEL value The arguments to CorAppLauncher exe are l Launch application f Applicati
118. selecting the X64 AN Quad driver installation e If Sapera was previously installed insert the Teledyne DALSA Sapera Essential CD ROM to install the board driver With AUTORUN enabled the installation menu automatically displays Install the X64 AN Quad driver e With AUTORUN not enabled use Windows Explorer and browse to the root directory of the CD ROM Execute launch exe to start the installation menu and install the X64 AN Quad driver During the late stages of the installation the X64 AN Quad firmware loader application starts See the description in the following section e If Windows displays any unexpected message concerning the installed board power off the system and verify that the X64 AN Quad is installed properly in the computer slot X64 AN Quad Firmware Loader The Device Manager Firmware Loader program automatically executes at the end of the driver installation and on every subsequent reboot of the computer It will determine if the X64 AN Quad requires a firmware update If firmware is required a dialog displays This dialog also allows the user to load firmware for alternate operational modes of the board Important In the vary rare case of firmware loader errors please see Recovering from a Firmware Update Error on page 28 10 e Installing the X64 AN Quad X64 AN Quad User s Manual Firmware Update Automatic Mode Click Automatic to update the X64 AN Quad firmware with the default functionality as supported by t
119. sers can use the demonstration program as is or use the demo program source code to implement X I O controls within the custom imaging application This section describes configuring the X I O module power up state using the X I O demo program and describes the Sapera Class to program and read the X I O module along with sample code Configuring User Defined Power up I O States The X I O module power up state is stored onboard in flash memory User configuration of this initial state is performed by the Device Manager program Run the program via the windows start menu Start Programs e Teledyne DALSA X64 AN Quad Device Driver Device Manager The Device Manager provides information on the installed X64 AN Quad board and its firmware With an X I O module installed click on XIO Board Information as shown in the following figure mS DALSA Device Manager e x File Help Device Info Manager Program Refresh Reset Device Information E XB4 AN2_1 Field Value Information Device 0 NPN Pin OxO0FF Firmware XIO Board Device 0 PNP Pin OxO0FF Device 0 Tristate Pin Ox00FF E Firmware Device 0 Default Output Type Tristate Device 0 Default Output Pin State Ox00FF Device 1 Optocoupled Pin 00003 Device 1 Input Pin Ox00FF Device 1 TTL 5 Volts Pin Ox00FF Device 1 TTL 24 Volts Pin Ox00FC Device 1 Default Input Level TTL5 Volts Device 1
120. similar cca file can be loaded into CamExpert where it is modified to match timing and operating parameters for your camera and lastly save them as Camera Configuration file ccf e Finally if your camera type has never been interfaced run CamExpert after installing Sapera and the acquisition board driver select the board acquisition server and manually enter all camera parameters Camera Files Distributed with Sapera The Sapera distribution CDROM includes camera files for a selection of supported analog cameras Using the Sapera CamExpert program you may use the camera files CCA provided to generate a camera configuration file CCF that describes the desired camera and frame grabber configuration Sapera Camera Application Library Teledyne DALSA continually updates a camera application library composed of application information and prepared camera files Refer to the camera search utility on the Teledyne DALSA web site http www teledynedalsa com mv support support aspx for application notes Camera files are ASCII text and can be read with Notepad X64 AN Quad User s Manual Sapera LT e 79 Overview of Sapera Acquisition Parameter Files ccf or cca cvi Concepts and Differences between the Camera Parameter Files There are two components to the legacy Sapera acquisition parameter file set CCA files also called cam files and CVI files also called VIC files i e video input conditioning The files store vide
121. synchronize to input i e no video or unstable HS Solid Green HS present and stable Slow Flashing Green HS and VS present and stable Fast Flashing Green Acquisition in progress Serial Ports Strobe Outputs Connector Bracket Assembly The X64 AN Quad is equipped with a connector bracket assembly to allow easy interfacing to camera serial ports and strobe lights Connect the 26 pin header connector to J19 on the X64 AN Quad Mount the bracket to the computer case in a free slot position near the X64 AN Quad Pin 1 id Fo LI DB25 Female ee EN connector with OC 64AC 0SERO emale bracket Con meci to Pin 25 ye N Pin 26 Flat cable 16 __ Figure 37 OC 64AC 0SERO serial port strobe cable assembly X64 AN Quad User s Manual Technical Reference e 67 Of Oo Figure 38 DB25 Female Connector End View DB25 Pinout Description Description Odd Pins Even Pins Description Ground 1 14 CAMI serial RX CAM serial TX 2 15 Ground Strobe CAM1 3 16 reserved output Ground 4 17 CAM2 serial RX CAM2 serial TX 5 18 Ground Strobe CAM2 6 19 reserved output Ground 7 20 CAMS serial RX CAMS serial TX 8 21 Ground Strobe CAM3 9 22 reserved output Ground 10 23 CAM6 amp serial RX CAM4 amp serial TX 11 24 Ground Strobe CAM4 12 25 reserved output Ground 13 68 e Technical Reference X64 AN Quad User s Manual J19 Strobe amp Com Ports The X64
122. t 8mA sourcing TOL max Maximum low level output current 8mA sinking Sapera parameters for Strobe Refer to Strobe Method in Sapera documentation CORACQ PRM STROBE ENABLE TRUE CORACQ PRM STROBE METHOD CORACQ_VAL_STROBE METHOD 1 CORACO VAL STROBE METHOD 2 CORACQ VAL STROBE METHOD 4 CORACQ PRM STROBE POLARITY CORACQ VAL ACTIVE LOW CORACQ VAL ACTIVE HIGH CORACQ PRM STROBE DELAY Pulse offset from trigger event CORACQ PRM STROBE DELAY 2 Duration of exclusion region CORACQ PRM STROBE DURATION Pulse duration 44 e Theory of Operation X64 AN Quad User s Manual Serial Port X64 AN Quad hosts 4 serial ports intended for camera control only Due to data flow multiplexing of the 4 serial ports only one serial port can communicate at one time Data received from a camera will always be sent to the last serial port that sent characters See section J19 Strobe amp Com Ports on page 69 for pinout information The default names for the serial ports are X64 AN Ouad X Serial Y where X represents the X64 AN Quad board number from 1 to 8 and Y represents the serial port number from 0 to 3 Note A typical configuration would use 9600 baude8 biteno paritye 1 stop bit 9600 8 N 1 Ports can be used with their default names for example X64 AN uad 1 Serial 0 by many camera control applications Additionally the serial port can be mapped as a standard Windows COMx port for convenience or compa
123. t 13F 3 4 3 Higashi Ikebukuro Toshima ku Tokyo Japan Tel 81 3 5960 6353 Fax 81 3 5960 6354 X64 AN Quad User s Manual www teledynedalsa com mv mailto info teledynedalsa com USA Sales Teledyne DALSA Billerica office 700 Technology Park Drive Billerica Ma 01821 Tel 978 670 2000 Fax 978 670 2010 European Sales Teledyne DALSA Europe Breslauer Str 34 D 82194 Gr benzell Munich Germany Tel 49 8142 46770 Fax 49 8142 467746 Contact Information e 113 Technical Support Submit any support question or request via our web site Technical support form via our web page Support requests for imaging product installations Support requests for imaging applications http www teledynedalsa com mv suppor t Camera support information Product literature and driver updates 114 e Contact Information X64 AN Quad User s Manual Glossary of Terms ADC Analog to Digital conversion is an electronic process in which a continuously variable analog signal is changed without altering its essential content into digital data Bandwidth Describes the measure of data transfer capacity A computer system s PCI expansion bus is rated for a maximum peak data bandwidth of 132 MB s PCI devices must share the maximum PCI bus bandwidth when transferring data to and from system memory or other devices Bus A common pathway or channel between multiple devices Besides the
124. t reaction time 52 external events 4 41 F failure firmware upgrade 28 Firmware Loader 10 firmware revision 22 Found New Hardware Wizard 9 frame buffer 20 Frame Lost event 53 frame reset pulse 40 frequency synthesizer 36 G gamma adjustments 49 genlocking 58 Index e 119 H Hirose 12 connectors 4 18 Horizontal Sync Lock Unlock event 53 HTML help 3 VO Device 0 107 VO Device 1 107 VO flash memory 106 VO input event 108 VO input trip points 105 VO interface cable 101 VO interrupts 108 VO NPN output mode 107 VO output modes 99 VO PNP output mode 107 VO power up state 106 VO sample code 106 VO source code 109 VO Tristate output mode 107 image processing 3 Imaging drivers 27 increase the frame rate 50 independent timers 39 input logic level 107 installer response file 13 14 interfacing a camera 79 L launch exe 10 Log Viewer program 30 low pass filter 45 low pass filter bypass 45 LUT format 49 manual firmware upgrade 12 master mode controllers 36 maximum frame size 51 memory capacity 51 Minor upgrades 17 120 e Index N non standard video 4 O OC COMC POW03 63 69 opto coupled input specs 105 out of memory error 20 output sink current 103 output source current 104 P partial scan camera 50 PCI bus latency 4 51 PCI Bus Number 25 PCI configuration space 25 29 32 PCI conflict 29 PCI 64 4 51 PDF 3 pixel
125. t ribbon cable OC IOOC ANLVDS J23 on X VO to J16 on X64 AN Quad X I O provides 8 outputs software selectable as NPN current sink or PNP source driver type drivers See Outputs in NPN Mode Electrical Details on page 103 and Outputs in PNP Mode Electrical Details on page 104 X I O provides 2 opto coupled inputs See Opto coupled Input Electrical Details on page 105 X I O provides 6 TTL level inputs with software selectable transition point See TTL Input Electrical Details on page 105 X I O provides both 5 volt and 12 volt power output pins on the DB37 where power comes directly from the host system power supply Onboard flash memory to store user defined power up I O states X64 AN Quad User s Manual Appendix X I O Module Option e 99 X I O Module Connector Location IE J22 J24 DB37 female X I O revision A2 X I O Connector List J20 DB37 female I O signals connector J23 16 pin miniature header connector connect to X64 AN Quad J16 via supplied ribbon cable OC IOOC ANLVDS J21 J22 J24 J28 Reserved J26 Connect PC power via floppy drive power cable X I O Module Installation Grounding Instructions Static electricity can damage electronic components Please discharge any static electrical charge by touching a grounded surface such as the metal computer chassis before performing any hardware installation If you do not feel comfortable performing the installation please consult a q
126. the default logic level type e The second column demonstrates activating interrupts on individual inputs In this demo program use the Enable box to activate the interrupt on an input The Count box will tally detected input events Use the Signal Event drop menu to select which input signal edge to detect The Reset button clears all event counts mud General 1 0 module MEET m General 1 0 0 output gt General 1 0 1 input m Input Interrupt Output Status Input Status Enable Count 1 HIGH 1 Low g z mg 2 fe or AN 3 EE ro ET 4 HIGH 4 Low g of swf 5 EE rp 6 HIGH 6 LOW m fo 7 wed 7 ET e maje for Fp 3 WA 3 E ia EL EG eV et 11 NVA 11 ET in ET 12 N A 12 E Signal Output Reset Tristate El Input Level Signal Event Power Status B 5 Volts Single Ended 7 FalingEde 108 e Appendix X I O Module Option X64 AN Quad User s Manual Sapera LT General I O Demo Code Samples The following source code was extracted from the General I O demo program The comments highlight the areas that an application developer needs for embedding X I O module controls within the imaging application Main I O Demo code BOOL CGioMainDlg OnInitDialog some declarations UINT32 m_gioCount int m_ServerIndex int m Resourcelndex Show the Server Dialog to select the acquisition device CGioServer dlg this if dlg DoModal IDOK m ServerIndex dlg GetServe
127. ti C Ready Video status vSyne Present H5ync Present HSync Lock Present 7 Figure 46 CamExpert Partial Scan Live Grab step 3 JAI CV A11 in Edge Pre select trigger Mode The JAI CV A11 supports a number of trigger modes This example describes the setup for Edge Pre select As described in the camera user manual the leading edge of the trigger pulse initiates the exposure The trigger pulse to the camera is sent and controlled by the frame grabber to ensure correct timing with the camera sync In this mode the CCD exposure time is simply controlled by the camera setup The frame grabber receives an external signal connected to its external trigger input This is typically some asynchronous event used to signal the frame grabber to initiate and acquire 1 to n video frames 86 e Sapera LT X64 AN Quad User s Manual from the camera The type of external trigger signal is dependent on the capabilities of the frame grabber hardware For setup and testing purposes CamExpert provides a control button to simulate the asynchronous event trigger This software trigger control simplifies the camera configuration and testing procedure before the vision system is placed into its final location JAI CV A11 Control Setting The following screen image shows the camera setup for Edge Pre select trigger which is selected from the Trigger Mode drop menu The shutter mode can either be normal or programmed exposure The scan mode can be
128. tibility with any communication program such as HyperTerminal Acquisition Process The following sections describe the various acquisition stages of the X64 AN Quad Composite analog video input from cameras or any other source can be processed in both the analog domain before the A D stage and in the digital domain before transfer to host system frame buffers Anti aliasing Filter Following a differential input buffer stage the video passes through a low pass filter optimized for standard video frequencies with a filter corner set to 12 87 MHz When acquiring video from non standard sources the low pass filter can be bypassed with a manually set jumper see J8 J9 J10 J11 Input Low Pass Filter Select on page 65 Each of the four inputs has its own low pass filter bypass jumper The low pass filter strips high frequency signal content from the incoming video signal to avoid sampling aliasing artifacts Standard video RS 170 CCIR has useful frequency content up to approximately 6MHz Frequencies above this can be eliminated using the low pass filter Sampling rates for standard video are 1 OMHz to 14MHz If frequencies at or above the sampling rate are present in the input they represent noise rather than useful video These frequencies can alias into the real video signals causing corruption The low pass filter eliminates any high frequency signal content before digitization See Input Block Diagram one shown on p
129. tize accurately the PLL must be synchronized i e be locked to the incoming video HS This interrupt is available when video is connected to the X64 AN Quad whether it is acquiring images or not In addition a corresponding status flag can be read from the acquisition module Typically the application first verifies the HS lock condition before starting an acquisition sequence The Sapera event values are CORACQ VAL EVENT TYPE HSYNC_LOCK and CORACQ VAL EVENT TYPE HSYNC_UNLOCK The Sapera status values are CORACQ VAL SIGNAL HSYNC LOCK and CORACO VAL SIGNAL HSYNC UNLOCK Data Overflow The Data Overflow event indicates that there is not enough bandwidth for the acguired data to flow This is usually caused by limitations of the acquisition module Since the X64 AN Quad can easily sustain onboard data transfers over 320MB data overflow should never occur The Sapera event value is CORACQ VAL EVENT TYPE DATA OVERFLOW Frame Lost The Frame Lost event indicates that an acquired image could not be transferred to onboard memory An example of this case would be if there are no free onboard buffers available for the new image This will usually be the case if the image transfer from onboard buffers to host PC memory cannot be sustained due to the PCI bus bandwidth If multiple PCI bus master devices are active simultaneously it is possible that the X64 AN Quad PCI controller can not transfer onboard buffers in time for the next X64 AN Q
130. to check when there is a problem with any PCI board is to examine the system PCI configuration and ensure that there are no conflicts with other PCI or system devices The Teledyne DALSA PCI Diagnostic program cpcidiag exe allows examination of the PCI configuration registers and can save this information to a text file Run the program via the Windows Start Menu shortcut Start All Programs e Teledyne DALSA Sapera LT e Tools e PCI Diagnostics As shown in the following screen image use the first drop menu to select the PCI device to examine Select the device X64 AN Quad from Teledyne DALSA Note the bus and slot number of the installed board this will be unique for each system unless systems are setup identically Click on the Diagnostic button to view an analysis of the system PCI configuration space p T PCI Diagnostic 2 1 aey PCI device KE4AN Quad from Teledyne DALSA bus 5 slot 2 function 0 Device enabled Rescan devices Refresh Hex dumy Vendor ID OxT1EC Rev ID 000 Latency OFF EDE P add 0 Sbit OsOMs Ox20807 TEC Device ID 0 2080 IntLine 9 72 Min Grant OFF C 16 bit ox04 gt 0402000106 E a 0x08 gt 0x05800000 SubVendID 00001 IntPin O07 Max Lat OFF oF Schaal OxOC gt OxOQ00FFO0 1 SubsystID 0 3233 Line size p00 Class Code 0x058000 Ed BEP Command r Header type 0x0106 FBB SERR Wait PE vaal Mw Spel BM Mem 0f 0x00 Multi func _ Status BIST 00200 PE SE MA TA Sal med _D
131. uad User s Manual Theory of Operation e 53 acquired frame In such a situation an X64 AN Quad board with more memory would store more onboard frames without loss The Sapera event value is CORACQ VAL EVENT TYPE FRAME LOST Start End of Field Frame Odd Even Acquisition events are available to indicate the start and end of field odd or even even field or odd field interlaced acquisition and for the start and end of frame progressive acquisition The corresponding Sapera event values are CORACO VAL EVENT START OF FIELD CORACQ VAL EVENT START OF ODD CORACQ VAL EVENT START OF EVEN CORACQ VAL EVENT START OF FRAME CORACO VAL EVENT END OF FIELD CORACQ VAL EVENT END OF ODD CORACO VAL EVENT END OF EVEN CORACO VAL EVENT END OF FRAME Vertical Timeout A vertical time event is generated if a vertical sync is not detected following an external internal software trigger within the period specified by CORACQ PRM VERTICAL TIMEOUT DELAY For analog cameras if the WEN signal is used the beginning of the WEN must be detected before the programmed delay expires If syncing to blanking signals the end of the blanking signal must be detected before the programming delay expires The Sapera event value is CORACQ VAL EVENT TYPE VERTICAL TIMEOUT Transfer Events Transfer events are the ones related to the transfer module Transfer events provide feedback on image transfer from onboard memory frame buffers to PC
132. ualified computer technician Never remove or install any hardware component with the computer power on 100 e Appendix X I O Module Option X64 AN Quad User s Manual Board Installation Installing an X I O Module to an existing X64 AN Quad installation takes only a few minutes Install the X I O board into the host system as follows Power off the computer system that has the installed X64 AN Quad board Insert the X I O module into any free PCI slot no PCI electrical connections are used securing the bracket Connect the X I O module 16 pin ribbon cable from J23 to the X64 AN Quad board J16 Power on the computer again For new X64 AN Quad and X I O module installations simply follow the procedure to install Sapera and the X64 AN Quad driver see Installation on page 9 X64 AN Quad and X I O Driver Update If both Sapera 5 30 and X64 AN Quad driver 1 10 need to be installed follow the procedure Upgrading Sapera or any Teledyne DALSA Board Driver on page 17 This procedure steps through the upgrade of both Sapera and the board driver typically required when installing the X I O module in the field If the X64 AN Quad installation already has the required Sapera and board driver version install the X I O module and perform a firmware update as described in Executing the Firmware Loader from the Start Menu on page 12 X I O Module External Connections to the DB37 Users can assemble their interface cable using some o
133. ule extra 4 inputs detected Oxfffff05e 64_extra_input c 53 gt CORX644NL DLL FPGA Present and Not Loaded eke gegee c 546 CORXBAANL DLL PCI 64 Interface Version 1 40 01 0 NN Nexternals x64 an_common driver user 64M anagerAN c 160 3 gt CORX644NL DLL PCI 32 Interface Version 1 30 00 0204 externalsx64 an_common driver user 64M anagerAaN c 172 gt CORXB44NL DLL C Program Files T eledyne DALSAWEES A Quad Firmware 64 4N cbf Version 1 40 01 0350 4 externals x64 an_comrn Ds CORKEAA L DLL 1 FPGA LoadFromCbnFile file ne DALSA X64 4 AN Quad Firmware x64 AN cbf NM Aextemalsx64idriversuser64Fpa v Figure 14 Sapera Log Viewer Screen Memory Requirements with Area Scan Acquisitions The X64 AN Quad allocates by default two frame buffers in on board memory each equal in size to the acquisition frame buffer This double buffering memory allocation is automatic at the driver level Two buffers will ensure that the acquired video frame is complete and not corrupted in cases where the image transfer to host system memory may be interrupted and delayed by other host system processes 30 e Troubleshooting Problems X64 AN Quad User s Manual That is the image acquisition to one frame buffer is not interrupted by any delays in transfer of the other frame buffer which contains the previously acquired video frame to system memory Note that an application can change the number of o
134. utton e Observe the firmware update progress in the message output window e Close the Device manager program when the X64 AN Quad board reset complete message is shown X64 AN Quad User s Manual Installing the X64 AN Quad e 11 Save Config file Load Config File V Same Configuration For All Devices Device Value KE4AN 1 Serial Number 53074100 Update Firmware Device Version Al PCI 64 Interface 1 40 01 0350 PCI 32 Interface 1 30 00 0204 ACU DTE Control 1 40 01 0350 Configuration Standard X Information Firmware State Update Required PCI 32 Interface Header is different Content is different 14 37 19 64 4N_1 Update of PCI 64 Interface in progress 14 37 19 X64 4N_1 Firmware is up to date 14 37 19 664 4N_1 Update of PCI 32 Interface in progress Figure 4 X64 AN Quad Firmware Loader while programming Firmware versions currently available are e Standard Support for 4 independent monochrome cameras with a pixel clock range of 8 MHz to 50 MHz Note Also choose the manual firmware upgrade mode when multiple X64 AN Quad boards are installed in the system and if each requires different firmware versions Executing the Firmware Loader from the Start Menu If required the X64 AN Quad Firmware Loader program is executed via the Windows Start Menu shortcut Start e All Programs e Teledyne DALSA e X64 AN Quad Device Driver Firmware Update 12 e Install
135. ve information on CamExpert f D ea File View Pre Processing Advanced Cameralink Port Help DEd Device Selector x Display T z Device EP X64AN_1 Analog Monochrome 1 7 Gag gt is se Ka fal de Position x 002 y 302 Value 0000 Frame sec Resolution 640 Pixels x 480 Configuration Select a camera file Optional Parameters x Category Parameter Value E Basic Timing Video Standard Non Standard Advanced Control Image Sensor readout Progressive Scan EUN ee Field Order Odd Even field E Horizontal Active in 640 Image Buffer and ROI Horizontal Front Porc 23 Horizontal Sync in Pi 56 Horizontal Back Porc 61 Horizontal Frequency 15 73 Vertical Active in Lin 480 Vertical Front Porch i 3 Multi Camera Control Horizontal Active Defines the horizontal camera resolution in pixels i e the visible part of the image from the mens ar ni er in Manual O M m x 16 24 26 X64 AN_1 Analog Monochrome 1 16 24 58 X64 AN_1 Video Standard value was changed from RS 170 NTSC to Non Standar 16 25 02 X64 AN_1 Image Sensor readout value was changed from Interlaced to Progressive Refer to Sapera Paramet CORACQ_PRM_HACTIVE n m r i Output Messages Video status VSync Not Present HSync Not Present HSync Lock Not Present Figure 40 CamExpert Tool The central section of CamExpert provides access to
136. xpress PCI 32 or PCI 64 boards and check acquisition bandwidth again Engineering has seen this case where other PCI boards in some systems cause limitations in transfers Each system with its combination of system motherboard and PCI boards will be unique and must be tested for bandwidth limitations affecting the imaging application 32 e Troubleshooting Problems X64 AN Quad User s Manual Theory of Operation Camera Control and Synchronization Source of Synchronization The X64 AN Quad can use a variety of synchronization sources allowing it to interface with various cameras All four inputs can make use of their own horizontal sync HS vertical sync VS frame reset and WEN signals The Acquisition and Control Unit ACU is the main controller responsible for supervising the acquisition process It manages all the signals coming from the cameras and recovers the timing information to accurately digitize the video signal into pixels Input Video R Pixels ADC I aa Sampling Clock VS ER Composite ve y ACU Video Sync Controller ETE ESE Extractor HS WEN _ gt Pulse Pulse c T 1 amera Trigger Generator Generator External Trigger sron lii 4 x 1 Mux Figure 15 Synchronization Block Diagram 1 Input Shown Additional details on the various synchronization modes follow X64 AN Quad User s Manual Theory of Operation e 33
137. xternal Trigger Input Let t et time of external trigger in us t vt time of validated trigger in us t oc time opto coupler takes to change state t d debouncing duration from 1 to 255us trigger high For an active high external trigger t oc 10us t vt t et 10us t d trigger low For an active low external trigger t oc 50us t vt Het 50us t d Note Teledyne DALSA recommends using an active high external trigger to minimize the time it takes for the opto coupler to change state Specifically the opto coupler response time is 10us for active high compared to 50us for active low If the duration of the external trigger is gt t oc t d then a valid acquisition trigger is detected Therefore the external pulse with active high polarity must be at least 11us if debounce time is set to 1 in order to be acknowledged Any pulse larger than 51us is always considered valid It is possible to emulate an external trigger using the software trigger which is generated by a function call from an application External trigger input is available on J5 a DB9 connector see J5 Trigger Signals Connector on page 65 The X64 AN Quad external trigger interfaces to the external world through the use of an opto coupled device Formed by a LED emitter combined with a photo detector in close proximity an opto coupler or opto isolator connects the X64 AN Quad external trigger input and the user circuit
138. yne DALSA drivers Click on File Save and you will be prompted for a text file name to save the Log Viewer contents Email this text file to Technical Support when requested or as part of your initial contact email Although the information collected by the Log Viewer seems complicated you can make some initial diagnostics by checking the status of the Teledyne DALSA driver In the screen shot below note the highlighted line which states CORX64ANL DLL Found 1 X64 AN board s This confirms that the driver can communicate with the X64 AN Quad G Sapera Log Viewer Se File Edit Options Help gt CORMEM SYS CORMEMMAPPOOL gt CMemPhysical 0x7a880000 e dev_sapera_It 1 0 externals driver cormem kernel win2000 corme a b CORMEM SYS CORMEMMAPPOOL gt CMemSize Object Ox00300000 e dev_sapera_It 1 0 externals driver cormem kernel win2000 corr b CORMEM SYS CORMEMMAPPOOL gt CMemSize Messaging OxO0600000 e dev_sapera_It 1 D exterals driver comem kemelwin2000 cc gt CORMEM SYS CORMEMMAPPOOL gt Physical 0x7a880000 Linear 0x8d000000 Virtual 0x015f0000 e dev_sapera_It 710externalssdriversce 3 gt CORX644NL DLL ProcessID 0 Sextemals x64 driver user X64api c aM gt CORX644NL DLL Version 1 644 7 660 gt CORX644NL DLL Board 0 X64_Eeprom_Init No XIO Module detected Oxfffff05 _ externals x6d driverusersX64E eprom c 164 gt CORX644NL DLL X64_Extralnput_Init No Expansion Mod

Download Pdf Manuals

image

Related Search

Related Contents

  Harbor Freight Tools (420cc) Quick Start Guide  knimbus user guide  取扱説明書  TL-100045v1 Lismax IOM  RCD001-00 Disciplinare elementi tecnici  MANUALE DELL`UTENTE  

Copyright © All rights reserved.
Failed to retrieve file