Download Print this page

Advertisement

Quick Links

Dalsa X64-AN Quad User Manual

Advertisement

loading
Need help?

Need help?

Do you have a question about the X64-AN Quad and is the answer not in the manual?

Questions and answers

Summary of Contents for Dalsa X64-AN Quad

  • Page 1 Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment SERVICE CENTER REPAIRS WE BUY USED EQUIPMENT • FAST SHIPPING AND DELIVERY Experienced engineers and technicians on staff Sell your excess, underutilized, and idle us at our full-service, in-house repair center We also offer credit for buy-backs and trad •...
  • Page 2 Teledyne Dalsa  7075 Place Robert-Joncas, Suite 142  St-Laurent, Quebec, H4M 2Z2  Canada www.teledynedalsa.com ™ X64-AN Quad User's Manual Part number OC-64AM-USER0 Edition 2.01 *OC-64AM-USER0*...
  • Page 3 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.
  • Page 4: Table Of Contents

    EVELOPMENT OFTWARE VERVIEW Sapera++ LT Library........................7 Sapera Processing Library....................... 7 X-I/O M ........................8 BOUT THE ODULE INSTALLING THE X64-AN QUAD _________________________________________________ 9 ! (G )....................9 ARNING ROUNDING NSTRUCTIONS ............................9 NSTALLATION Sapera LT Library Installation....................... 10 X64-AN Quad Driver Installation ....................10 X64-AN Quad Firmware Loader....................
  • Page 5: Table Of Contents

    Teledyne DALSA Log Viewer ......................30 Memory Requirements with Area Scan Acquisitions ..............30 Symptoms: CamExpert Detects no Boards ..................31 Symptoms: X64-AN Quad Does Not Grab..................31 Symptoms: Card grabs black......................32 Symptoms: Card acquisition bandwidth is less than expected ............32 THEORY OF OPERATION _______________________________________________________ 33 ..................
  • Page 6: Table Of Contents

    ONNECTOR AND UMPER OCATIONS Connector List ..........................61 X64-AN Quad Board Component View ..................62 Connector Bracket End View ......................63 Hirose Input Connectors ........................ 63 J8, J9, J10, J11: Input Low Pass Filter Select ................65 J5 – Trigger Signals Connector ..................... 65 Acquisition Status LED........................
  • Page 7: Table Of Contents

    Using Sapera LT General I/O Demo .................... 107 Sapera LT General I/O Demo Code Samples................109 CONTACT INFORMATION _____________________________________________________ 113 ..........................113 ALES NFORMATION ..........................114 ECHNICAL UPPORT GLOSSARY OF TERMS_________________________________________________________ 115 INDEX ________________________________________________________________________ 119 iv  Contents X64-AN Quad User's Manual...
  • Page 8: Introduction

    Introduction Overview of the Manual X64-AN Quad Board  The X64-AN Quad Description of the X64-AN Quad board, package contents, and a brief summary of its capabilities.  Block Diagrams Detailing X64-AN Quad functional blocks. Installing the X64-AN Quad ...
  • Page 9 Lists the Sapera server available plus describes the Sapera parameters and values supported by X64- AN Quad board.  Using Sapera CamExpert with X64-AN Quad Describes the Sapera CamExpert tool and how to use it with X64-AN Quad.  Sapera Software Example Describes the Sapera Grab Demo example and how use it.
  • Page 10: X64-An Quad Board

    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.
  • Page 11: X64-An Q Uad O Verview

    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.
  • Page 12: X64-An Q Uad F Unctional B Lock D Iagrams

    Core typical ADC/PLL Jumper Camera controls Figure 1: X64-AN Quad-Typical Input Block Diagram  Four differential video inputs with high CMRR (typically 70dB).  Input termination – 75 ohm.  Wide band or low pass filtered signal path. Single corner low pass filter selected by shorting jumper.
  • Page 13: Overall Block Diagram

    Acquisition inputs are described in “Input Block Diagram (one shown)” on page ACU-Plus: Acquisition Control Unit The X64-AN Quad ACU consists of controller and functional logic as follows:  Grab controller: includes sync control for slave cameras, trigger inputs/outputs, strobe outputs, etc.
  • Page 14: Dte: Intelligent Data Transfer Engine

    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.
  • Page 15: A Bout The X-I/O M Odule

    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”...
  • Page 16: Installing The X64-An Quad

     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.
  • Page 17: Sapera Lt Library Installation

    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.
  • Page 18 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.
  • Page 19 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 • All Programs • Teledyne DALSA • X64-AN Quad Device Driver • Firmware Update.
  • Page 20: R Equirements For A S Ilent I Nstall

    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.
  • Page 21: Silent Mode Uninstall

    Note: On Windows Vista and 7, the Windows Security dialog box will appear unless one has already notified Windows to ‘Always trust software from “DALSA Corp.” during a previous installation of a driver. Silent Mode Uninstall Similar to a silent installation, a response file must be prepared first as follows.
  • Page 22: Silent Mode Installation Return Code

    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. Installing the X64-AN Quad  15 X64-AN Quad User's Manual...
  • Page 23 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 –...
  • Page 24: U Pgrading S Apera Or Any T Eledyne Dalsa B Oard D River

    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.
  • Page 25: Upgrading Both Sapera And Board Driver

    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”...
  • Page 26: C Onfiguring S Apera

    Configuring Sapera The Sapera Configuration program (Start • All Programs • 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.
  • Page 27: Increasing Contiguous Memory For Sapera Resources

    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  Installing the X64-AN Quad X64-AN Quad User's Manual...
  • Page 28: Com Port Assignment

     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. ...
  • Page 29: D Isplaying X64-An Q Uad I Nformation

    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 • All Programs • 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.
  • Page 30: Troubleshooting Problems

    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.
  • Page 31: Possible Installation Problems

    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"...
  • Page 32: Checking For Pci Bus Conflicts

    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.
  • Page 33: Windows Device Manager

    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 • Settings • Control Panel •...
  • Page 34: Sapera 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 • Programs • Accessories • System Tools • System Information •...
  • Page 35: Recovering From A Firmware Update Error

    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.
  • Page 36: Driver Information Via The Device Manager Program

    • 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: ...
  • Page 37: Teledyne Dalsa Log Viewer

    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.
  • Page 38: Symptoms: Camexpert Detects No Boards

    You are able to start Sapera CamExpert but you do not see an image and the frame rate displayed is 0.  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.
  • Page 39: Symptoms: Card Grabs Black

     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.  Try to snap one frame instead of continuous grab.
  • Page 40: 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.
  • Page 41 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:...
  • Page 42 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.
  • Page 43 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.
  • Page 44 CORACQ_PRM_HFRONT_PORCH: Size of horizontal front porch CORACQ_PRM_VSYNC: Size of vertical sync pulse CORACQ_PRM_VBACK_PORCH: Size of vertical back porch CORACQ_PRM_VACTIVE: Number of valid line from camera CORACQ_PRM_VFRONT_PORCH: Size of vertical front porch Theory of Operation  37 X64-AN Quad User's Manual...
  • Page 45 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.
  • Page 46: Camera Control

    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.
  • Page 47 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  Theory of Operation X64-AN Quad User's Manual...
  • Page 48: 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.
  • Page 49 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 together while using separate grounds.
  • Page 50 Ext_Trig+ input is required. One possibility 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. Theory of Operation  43 X64-AN Quad User's Manual...
  • Page 51 Refer to Strobe Method in Sapera documentation CORACQ_PRM_STROBE_ENABLE = TRUE CORACQ_PRM_STROBE_METHOD = {CORACQ_VAL_STROBE_METHOD_1, CORACQ_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  Theory of Operation X64-AN Quad User's Manual...
  • Page 52: Serial Port

    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 & Com Ports”...
  • Page 53: Contrast And Brightness Adjustment

    Likewise a decrease in contrast reduces 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.
  • Page 54: A/D Converter

    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 0xFF 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.
  • Page 55 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 = {CORACQ_VAL_DC_REST_MODE_AUTO, CORACQ_VAL_DC_REST_MODE_ON, CORACQ_VAL_DC_REST_MODE_OFF} CORACQ_PRM_DC_REST_START: Start of clamp pulse relative to HS or HD CORACQ_PRM_DC_REST_WIDTH: Clamp pulse duration 48  Theory of Operation X64-AN Quad User's Manual...
  • Page 56: Lookup Table

    8-bits out. The LUT is used for operations such as gamma adjustments, invert and threshold processes, etc. Input Output Cropper 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. Theory of Operation  49 X64-AN Quad User's Manual...
  • Page 57: Cropper

    (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 CORACQ_PRM_CROP_WIDTH: Horizontal width of area of interest 50  Theory of Operation X64-AN Quad User's Manual...
  • Page 58: On-Board Memory

    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.
  • Page 59: Acquisition Events

    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 Interrupt excellent event reaction time since interrupts are processed inside an interrupt service routine (ISR) at kernel level.
  • Page 60 PCI bus bandwidth. If multiple PCI bus master devices are active simultaneously, it is possible that the PCI controller can not transfer onboard buffers in time for the next X64-AN Quad Theory of Operation  53 X64-AN Quad User's Manual...
  • Page 61: Transfer Events

    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  Theory of Operation X64-AN Quad User's Manual...
  • Page 62 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, Theory of Operation  55 X64-AN Quad User's Manual...
  • Page 63  CORXFER_VAL_CYCLE_MODE_ASYNCHRONOUS The transfer device cycles through all buffers in the list without concern about the buffer state. 56  Theory of Operation X64-AN Quad User's Manual...
  • Page 64: Technical Reference

    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 75...
  • Page 65 Frame reset, VS, HS, WEN TTL 3.3V (5V tolerant) Source current 8mA, Sink current 8mA On-board Processing Input lookup-tables (256 x 8-bit) – following A/D Area of Interest transfers Output format: four 8-bit pixels per DWORD 58  Technical Reference X64-AN Quad User's Manual...
  • Page 66: 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...
  • Page 67: Emi C Ertifications

    EMI Certifications 60  Technical Reference X64-AN Quad User's Manual...
  • Page 68: X64-An Q Uad C Onnector And J Umper L Ocations

    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 DB9 – External Signal & Trigger PC power to camera interface inputs (see “J5 – Trigger Signals (see “J17: Power Connector”...
  • Page 69: X64-An Quad Board Component View

    X64-AN Quad Board Component View Figure 31: X64-AN Quad Board Component View 62  Technical Reference X64-AN Quad User's Manual...
  • Page 70: Connector Bracket End View

    J5 - I/O 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...
  • Page 71 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  Technical Reference...
  • Page 72: J8, J9, J10, J11: Input Low Pass Filter Select

    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.
  • Page 73 Maximum input current to turn ON 50 mA I max Minimum input pulse width to turn ON 10 us I min Maximum forward voltage 24 V f max Maximum reverse voltage -25 V r max 66  Technical Reference X64-AN Quad User's Manual...
  • Page 74: 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).
  • Page 75 CAM2 serial TX Ground Strobe CAM2 reserved output Ground CAM3 serial RX CAM3 serial TX Ground Strobe CAM3 reserved output Ground CAM4 serial RX CAM4 serial TX Ground Strobe CAM4 reserved output Ground 68  Technical Reference X64-AN Quad User's Manual...
  • Page 76: J17: Power Connector

    “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.
  • Page 77: J21: Memory Socket

    J15: Boot Recovery Mode  Default Mode: Shunt jumper is installed. The X64-AN Quad boots normally on system power up and is ready to execute image capture applications.  Boot Recovery Mode: Shunt jumper is removed if any problems occurred while updating the X64 firmware.
  • Page 78: Sapera Lt

    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. Servers Resources Name Descriptio Type Name Inde Description X64-AN_1 X64-AN Quad Acquisition Analog...
  • Page 79: S Upported S Apera P Arameters

    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 CORACQ_VAL_SIGNAL_NAME_GND (0x4000) Pin –...
  • Page 80 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 CORACQ_PRM_SCAN CORACQ_VAL_SCAN_AREA CORACQ_PRM_SIGNAL CORACQ_VAL_SIGNAL_SINGLE_ENDED CORACQ_PRM_SYNC CORACQ_VAL_SYNC_COMP_VIDEO CORACQ_VAL_SYNC_SEP_SYNC CORACQ_VAL_SYNC_INT_SYNC CORACQ_PRM_TAP_1_DIRECTION CORACQ_VAL_TAP_DIRECTION_FROM_TOP CORACQ_VAL_TAP_DIRECTION_UD CORACQ_VAL_TAP_DIRECTION_LR Sapera LT  73 X64-AN Quad User's Manual...
  • Page 81 CORACQ_PRM_VIDEO_LEVEL_MAX >= CORACQ_PRM_VIDEO_LEVEL_MIN CORACQ_PRM_VIDEO_LEVEL_MIN <= CORACQ_PRM_VIDEO_LEVEL_MAX CORACQ_PRM_VIDEO_STD CORACQ_VAL_VIDEO_STD_NON_STD CORACQ_VAL_VIDEO_STD_RS170_NTSC CORACQ_VAL_VIDEO_STD_CCIR_PAL CORACQ_VAL_VIDEO_STD_SECAM CORACQ_PRM_VSYNC Min: 1 line Max: 255 line Step: 1 line CORACQ_PRM_VSYNC_POLARITY CORACQ_VAL_ACTIVE_LOW CORACQ_VAL_ACTIVE_HIGH CORACQ_PRM_WEN_POLARITY CORACQ_VAL_ACTIVE_LOW CORACQ_VAL_ACTIVE_HIGH VIC PARAMETERS Values CORACQ_PRM_BIT_ORDERING CORACQ_VAL_BIT_ORDERING_STD 74  Sapera LT X64-AN Quad User's Manual...
  • Page 82 CORACQ_PRM_DC_REST_WIDTH Min: 0 pixel Max: 2047 pixel Step: 1 pixel CORACQ_PRM_DECIMATE_METHOD CORACQ_VAL_DECIMATE_DISABLE CORACQ_VAL_DECIMATE_ODD CORACQ_VAL_DECIMATE_EVEN CORACQ_PRM_EXT_TRIGGER_DETECTION CORACQ_VAL_RISING_EDGE CORACQ_VAL_FALLING_EDGE CORACQ_VAL_ACTIVE_LOW CORACQ_VAL_ACTIVE_HIGH CORACQ_PRM_EXT_TRIGGER_DURATION Min: 0 µs Max: 65535 µs Step: 1 µs CORACQ_PRM_EXT_TRIGGER_ENABLE CORACQ_VAL_EXT_TRIGGER_OFF CORACQ_VAL_EXT_TRIGGER_ON Sapera LT  75 X64-AN Quad User's Manual...
  • Page 83 CORACQ_PRM_STROBE_DELAY_2 Min: 0 µs Max: 65535000 µs Step: 1 µs CORACQ_PRM_STROBE_DURATION Min: 1 µs Max: 65535000 µs Step: 1 µs CORACQ_PRM_STROBE_ENABLE TRUE FALSE CORACQ_PRM_STROBE_METHOD CORACQ_VAL_STROBE_METHOD_1 CORACQ_VAL_STROBE_METHOD_2 CORACQ_VAL_STROBE_METHOD_4 CORACQ_PRM_STROBE_LEVEL CORACQ_VAL_LEVEL_TTL CORACQ_PRM_STROBE_POLARITY CORACQ_VAL_ACTIVE_LOW CORACQ_VAL_ACTIVE_HIGH 76  Sapera LT X64-AN Quad User's Manual...
  • Page 84 CORACQ_VAL_EVENT_TYPE_DATA_OVERFLOW CORACQ_VAL_EVENT_TYPE_FRAME_LOST CORACQ_VAL_EVENT_TYPE_START_OF_FIELD CORACQ_VAL_EVENT_TYPE_START_OF_ODD CORACQ_VAL_EVENT_TYPE_START_OF_EVEN CORACQ_VAL_EVENT_TYPE_START_OF_FRAME CORACQ_VAL_EVENT_TYPE_END_OF_FIELD CORACQ_VAL_EVENT_TYPE_END_OF_ODD CORACQ_VAL_EVENT_TYPE_END_OF_EVEN CORACQ_VAL_EVENT_TYPE_END_OF_FRAME CORACQ_VAL_EVENT_TYPE_EXTERNAL_TRIGGER CORACQ_VAL_EVENT_TYPE_VERTICAL_SYNC CORACQ_PRM_SIGNAL_STATUS CORACQ_VAL_SIGNAL_HSYNC_PRESENT CORACQ_VAL_SIGNAL_VSYNC_PRESENT CORACQ_VAL_SIGNAL_HSYNC_LOCK CORACQ_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 Sapera LT  77 X64-AN Quad User's Manual...
  • Page 85 CamExpert. Figure 40: CamExpert Tool The central section of CamExpert provides access to the various X64-AN Quad Sapera parameters. It is divided into four or five tabs (dependent on the board capabilities).
  • Page 86: Camera Interfacing Check List

    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.
  • Page 87: Overview Of Sapera Acquisition Parameter Files (*.Ccf Or *.Cca/*.Cvi)

    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).
  • Page 88: C Am E Xpert E Xample : I Nterfacing The Jai Cv-A11

    Check the Teledyne DALSA web site for a published application note with camera files [http://www.teledynedalsa.com/mv/support/support.aspx].  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. ...
  • Page 89: Step 1: Jai Cv-A11 In Free Run Mode

    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. Figure 42: JAI CV-A11 Camera Control Tool 82  Sapera LT X64-AN Quad User's Manual...
  • Page 90 Figure 43: CamExpert: Selecting a camera file  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).
  • Page 91: Overview Of Basic Timing Parameters

    Figure 44: CamExpert: Live acquisition window  If you have multiple cameras connected to the X64-AN Quad, select each board server in turn to verify live grab from each camera.  Use the File-Save dialog to save this camera configuration file (*.ccf) with user entered information.
  • Page 92: Step 2: Jai Cv-A11 In Partial Scan Mode

    CamExpert parameter. The following screen image shows the JAI CV-A11 tool setting the scan parameter to ½ Partial (240 video lines). Figure 45: Setting the JAI CV-A11 to Partial Scan Mode Sapera LT  85 X64-AN Quad User's Manual...
  • Page 93: Step 3: Jai Cv-A11 In Edge Pre-Select (Trigger) Mode

    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  Sapera LT X64-AN Quad User's Manual...
  • Page 94  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. Sapera LT  87 X64-AN Quad User's Manual...
  • Page 95 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 600s to meet the camera specifications defined in its user manual. 88  Sapera LT X64-AN Quad User's Manual...
  • Page 96 0s (edge detection—not level detection). The last parameter defines the number of sequential video frames captured on a single external trigger event. Sapera LT  89 X64-AN Quad User's Manual...
  • Page 97 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  Sapera LT X64-AN Quad User's Manual...
  • Page 98: Step 4: Jai Cv-A11 In Time Integration Mode

     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. Sapera LT  91 X64-AN Quad User's Manual...
  • Page 99 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 30000s simply to have a proper exposure at the test bench. 92  Sapera LT X64-AN Quad User's Manual...
  • Page 100 In this example, with two control methods having been defined, the Enable Control Method drop menu selects which control method to activate. Figure 56: CamExpert: Enable Time Integration Sapera LT  93 X64-AN Quad User's Manual...
  • Page 101: Note On Analog Camera Timing Relationships

    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  Sapera LT X64-AN Quad User's Manual...
  • Page 102 Important: Some computer systems do not provide the BIOS controls described. Review your system manual. Sapera Grab Demo Example Program Start • All Programs • Teledyne DALSA • Sapera LT • Demos • Grab Demo Program file …\Sapera\Demos\Classes\vc\GrabDemo\Release\GrabDemo.exe Workspace …\Sapera\Demos\Classes\vc\SapDemos.dsw...
  • Page 103: Using The Grab Demo

    Using the Grab Demo Server Selection Run Grab Demo from: Start • All Programs • Teledyne DALSA • Sapera LT • Demos • Frame Grabbers • 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).
  • Page 104 New: Clears the current image frame buffer.  Load: Retrieves images in BMP, TIF, CRC, JPG, and RAW formats.  Save: Prompts for a file name, file save location, and image format. Sapera LT  97 X64-AN Quad User's Manual...
  • Page 105 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.
  • Page 106: Appendix: X-I/O Module Option

    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. ...
  • Page 107: X-I/O Module Connector Location

    X-I/O Module Connector Location X-I/O revision A2 X-I/O Connector List DB37 female I/O signals connector. 16 pin miniature header connector (connect to X64-AN Quad J16 via supplied ribbon cable OC-IO0C-ANLVDS). J21, J22, J24, J28 Reserved. Connect PC power via floppy drive power cable.
  • Page 108: Board Installation

    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.
  • Page 109: Db37 Pinout Description

    IN_TTL_7 Input 7 ( TTL ) IN_TTL_8 Input 8 ( TTL ) OUT_TTL_3 output 3 OUT_TTL_4 output 4 OUT_TTL_5 output 5 OUT_TTL_6 output 6 OUT_TTL_7 output 7 OUT_TTL_8 output 8 102  Appendix: X-I/O Module Option X64-AN Quad User's Manual...
  • Page 110: Outputs In Npn Mode: Electrical Details

    Output 4 Output 5 Output 6 Output 7 Output 8 X-I/O Module  Each output can sink 700 mA.  Over-current thermal protection will automatically shut down the output device. Appendix: X-I/O Module Option  103 X64-AN Quad User's Manual...
  • Page 111: Outputs In Pnp Mode: Electrical Details

    Source driver with over-current protection (all outputs will shut down simultaneously). The over- current fault circuit will protect the device from short-circuits to ground with supply voltages of up to 35V. 104  Appendix: X-I/O Module Option X64-AN Quad User's Manual...
  • Page 112: Opto-Coupled Input: Electrical Details

    106) for standard TTL logic levels or industrial logic systems (typically 24 volts). The design switch points are as follows:  TTL level mode: trip point at 2V +/- 5%  Industrial level mode: trip point at 16V +/- 5% Appendix: X-I/O Module Option  105 X64-AN Quad User's Manual...
  • Page 113: X-I/O M Odule S Apera I Nterface

    Device Manager program. Run the program via the windows start menu: (Start • Programs • Teledyne DALSA • X64-AN Quad Device Driver • Device Manager). The Device Manager provides information on the installed X64-AN Quad board and its firmware.
  • Page 114: Using Sapera Lt General I/O Demo

    (in the case of multiple installed boards). Run the demo via the windows start menu: (Start • Programs • 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.
  • Page 115 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).
  • Page 116: Sapera Lt General I/O Demo Code Samples

    (UINT32 iDevice = 0; (iDevice < MAX_GIO_DEVICE) && (iDevice < m_gioCount); iDevice++) [ . . . ] // direct read access to low-level Sapera C library capability to check // I/O Output module if (m_pGio[iDevice]->IsCapabilityValid(CORGIO_CAP_DIR_OUTPUT)) status = m_pGio[iDevice]->GetCapability(CORGIO_CAP_DIR_OUTPUT,&capOutput); Appendix: X-I/O Module Option  109 X64-AN Quad User's Manual...
  • Page 117 // 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] && !*m_pGio[iDevice] && !m_pGio[iDevice]->Create()) DestroyObjects(); return FALSE; return TRUE; 110  Appendix: X-I/O Module Option X64-AN Quad User's Manual...
  • Page 118 // the pointer to pin state ( SapGio ::PinLow if low and SapGio ::PinHigh if high) status = m_pGio->GetPinState(iIO, &state); m_pGio->SetDisplayStatusMode(SapManager::StatusNotify, NULL); [ . . . ] [ . . . ] Appendix: X-I/O Module Option  111 X64-AN Quad User's Manual...
  • Page 119 = (CGioInputDlg*)pInfo->GetContext(); // We get the current count of I/O events strEventCount.Format("%d", pInfo->GetEventCount()); // We get the I/O pin number that generated an I/O event and apply the changes. pInputDlg->m_GioEventCount[pInfo->GetPinNumber()]++; 112  Appendix: X-I/O Module Option X64-AN Quad User's Manual...
  • Page 120: Contact Information

    Sales Information www.teledynedalsa.com/mv Visit our web site: mailto:info@teledynedalsa.com Email: Canada USA Sales Teledyne DALSA — Montreal office Teledyne DALSA — Billerica office 7075 Place Robert-Joncas, Suite #142 700 Technology Park Drive St. Laurent, Quebec, Canada Billerica, Ma. H4M 2Z2 01821...
  • Page 121: T Echnical S Upport

    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 Camera support information Product literature and driver updates 114  Contact Information X64-AN Quad User's Manual...
  • Page 122: Glossary Of Terms

    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. Glossary of Terms  115 X64-AN Quad User's Manual...
  • Page 123 625 video lines at a frame rate of 25 Hz. 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  Glossary of Terms X64-AN Quad User's Manual...
  • Page 124 A UART (Universal Asynchronous Receiver/Transmitter) is the microchip with programming that controls an interface to its attached serial devices. Write ENable: Output by some video cameras to indicate valid video. Also indicates frame timing when the camera does not use VS. Glossary of Terms  117 X64-AN Quad User's Manual...
  • Page 125 118  Glossary of Terms X64-AN Quad User's Manual...
  • Page 126: Index

    DALSA Device Manager, 29, 106 Index 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 Acquisition and Control Unit, 33, 51...
  • Page 127 Start of Even Field event, 55 maximum frame size, 51 Start of Field event, 54 memory capacity, 51 Start of Frame event, 54 Minor upgrades, 17 Start of Odd Field event, 55 Static electricity, 9, 100 120  Index X64-AN Quad User's Manual...
  • Page 128 Vertical Sync event, 53 Vertical Timeout, 54 video black level, 48 video buffers, 80 viewer program, 30 X64-AN Quad_X_Serial_Y, 45 X-I/O field installation, 101 X-I/O module driver update, 101 X-I/O module overview, 99 Index  121 X64-AN Quad User's Manual...
  • Page 129 Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment SERVICE CENTER REPAIRS WE BUY USED EQUIPMENT • FAST SHIPPING AND DELIVERY Experienced engineers and technicians on staff Sell your excess, underutilized, and idle us at our full-service, in-house repair center We also offer credit for buy-backs and trad •...