DALSA • 7075 Place Robert-Joncas, Suite 142 • Montreal, Quebec, Canada • H4M 2Z2 http://www.dalsa.com/mv PC2-CamLink User's Manual Part number OC-PC2M-CUM00 Edition 2.
NOTICE © 2001-2010 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 DALSA Corp. 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. DALSA Corp.
Contents INTRODUCTION ................................................................................................................... 1 OVERVIEW OF THE MANUAL ........................................................................................ 1 About the Manual ......................................................................................... 2 Using the Manual ......................................................................................... 2 PART I: PC2-CAMLINK BOARD ..............
Acquisition Interrupts ................................................................................. 55 Error Support Interrupts............................................................................. 59 Camera Power ............................................................................................ 60 Trigger-to-Image Reliability ....................................................................... 60 TECHNICAL REFERENCE ..................................................................
Introduction Overview of the Manual • • • • Part I: PC2-CamLink Board • The PC2-CamLink Description of the PC2-CamLink board and its software as well as PC2-CamLink package contents list. Installing the PC2-CamLink Hardware installation instructions as well as information concerning jumper configuration and connecting cameras and devices.
DALSA Contact Information Phone numbers, web sites, and important email addresses. About the Manual This manual exists in Adobe Acrobat (PDF) format. The PDF format makes full use of hypertext cross-references and include links to the DALSA home page on the Internet located at http://www.dalsa.com/mv, accessed using any web browser. Using the Manual File names, directories, and Internet sites will be in bold text (e.g., image2.bmp, c:\IFC, http://www.dalsa.com).
Part I: PC2-CamLink Board PC2-CamLink User's Manual Part I: PC2-CamLink Board • 3
4 • Part I: PC2-CamLink Board PC2-CamLink User's Manual
The PC2-CamLink The PC2-CamLink is a half slot frame grabber that grabs images from a single base digital Camera Link™ camera to host memory for processing. The board was designed for cost-effective performance. Both linescan and area scan cameras are supported. Up to two channels are supported. Note that RGB is not supported.
EC & FCC Certificate of Conformity 6 • Part I: PC2-CamLink Board PC2-CamLink User's Manual
PC2-CamLink–Installation Overview 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, consult a qualified computer technician. Never remove or install any hardware component with the computer power on.
Sapera LT Library Installation Note: to install Sapera LT and the PC2-CamLink device driver, logon to the workstation as an 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 PC2-CamLink device driver. • Insert the DALSA Sapera CD-ROM. If AUTORUN is enabled on your computer, the DALSA installation menu is presented.
• When using Windows Vista or Windows 7, a message asking to install the DALSA device software is displayed. Click Install. Upgrading Sapera or any Board Driver When installing a new version of Sapera or a DALSA acquisition board driver in a computer with a previous installation, the current version must be un-installed first. Upgrade scenarios are described below.
To upgrade the board driver only: • Logon the computer as an administrator or with an account that has administrator privileges. • From the Windows start menu select Start • Control Panel • Add or Remove Programs. • Select the DALSA PC2-CamLink Device Driver, click Remove, and then in the InstallShield dialog click on Remove to uninstall the board driver. • When the driver un-install is complete, reboot the computer is prompted to do so. • Logon the computer as an administrator again.
• The PC2-CamLink serial port (mapped to COM3 in this example) is available as a serial port to any serial port application for camera control. Note that this serial port is not listed in the Windows•Control Panel•System Properties•Device Manager because it is a logical serial port mapping.
Configuring Sapera The Sapera Configuration program (Start•Programs•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 shoot, server index 1 is the PC2-CamLink board installed.
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 buffer allocation and Sapera messaging. For both items, the Requested value dialog box shows the default driver memory setting while the Allocated value displays the amount of contiguous memory that has been allocated successfully.
Host Computer Frame Buffer Memory Limitations When planning a Sapera application and the host frame buffers used, as well as other Sapera memory resources, do not forget the needs of the Windows operating system memory. Window XP, as an example, should always have a minimum of 128MB for its own use. A Sapera application using scatter-gather buffers could consume most of the remaining system memory.
IFC Software Installation IFC-SDK™ The IFC (Imaging Foundation Classes) library offers a C++ Application Program Interface (API) intended for use with DALSA’s PC2-CamLink board. IFC is packaged within the “Imaging Studio CD-ROM”. See the IFC-SDK™ Software Manual for information concerning IFC. Information in this manual matches IFC 5.8. Note that PC2-CamLink is supplied with either Imaging Studio (IFC) or Sapera LT.
• The ‘Select Components’ window is displayed (see above screen shot). If you do not see PC2CamLink in the list, select Next to display more boards. Check PC2-CamLink and select Next. Note that only the support, configuration files and examples for the board(s) chosen get copied to your hard drive. • The ‘Select Program Folder’ window is displayed. You can either retain the default program folder or create a new one. Select Next for the installation to begin.
Configuring Serial Port Under IFC Optional COM Port Assignment The IFC “Set Board COM Port” application tool is used to assign the COM Port. Run the program from the Windows Start menu: Start•ProgramsIFC version 5.8•Tools•Set Board Com Port. The ‘Set Image Capture Board Uart ComX Port’ window appears. The PC2-CamLink board/s appear/s in the ‘Select Board’ window. See screenshot below.
• Under ‘Select Board’ choose the PC2-CamLink board (CL2 prefix) you want to map (CL20 is the first PC2-CamLink board, CL21 is the second, …). • Under ‘Select COM Port Number’ assign an unused COM Port number to that PC2-CamLink board and click Set. • Click Close. • Reboot PC for the new settings to take effect. Setup Example Using HyperTerminal • Run HyperTerminal and type a name for the new connection when prompted, click OK.
Starting Camera Configurator The IFC Camera Configurator® program is the camera interfacing tool for frame grabber boards supported by the IFC library, such as the PC2-CamLink. Camera Configurator® generates the required camera configuration file (yourconfig.txt) based on the timing and control parameters entered. Run the program from the Windows Start menu: Start•ProgramsIFC version 5.8•IFC Camera Configurator. The live acquisition window is an important tool within Camera Configurator.
Upgrading Onboard Firmware The Firmware Update program is used to upgrade onboard firmware, automatically opening on the first reboot after installation. It can be launched manually if upgrading a board not present in the system when the PC2-CamLink driver software was first installed. Location of Board Update tool under Sapera: Start•Programs•DALSA•PC2-CamLink•PC2-CamLink Update Tool IFC Location of Board Update tool under IFC: Start•Programs•IFC 5.8.0.
The board icon, next to the board’s serial number (SN), allows you to monitor the state of the board. The icon is displayed in four different states: • A white icon with a blue interrogation mark indicates an unknown board state because of incomplete board analysis. • A gray icon indicates the board needs to be updated with the latest firmware. • A green icon is displayed when the board is up-to-date. • A red icon represents an error during the analysis or update phase.
Camera Control y Supports EXSYNC and PRIN camera control signals y 2 Opto or 2 LVDS frame trigger inputs y Shaft-Encoder LVDS inputs y Serial Port Camera y y y 1 Base CameraLink, areascan or line scan 1 or 2 channel(s) 8 to 16-bit per pixel ILUT y 1 LUT for each CameraLink port Data Port Sequencer y 1 or 2 channel(s) y Optional truncation to 8-bit Window Generator y Creates region of interest (ROI) YCrCb Engine y Optionally converts to 16-bit padded YCrCb for display PCI Controller y y Sca
Camera Control and Synchronization FVAL, LVAL, and DVAL LVAL is the line valid input. The rising edge of LVAL enables and clocks the horizontal offset and clocks the horizontal active counters in the valid video window generator. This indicates a valid line is output by the camera. FVAL is the frame valid input. The rising edge of FVAL enables and clocks the vertical offset and vertical active counters in the valid video window generator. This indicates a valid frame is output by the camera.
CC1-CC4 Four camera controls are reserved to act as general-purpose camera controls. They are referred to in the Camera Link™ standard as CC1, CC2, CC3 and CC4.
Note: The EXSYNC and PRIN pulse generators are fired by the selected trigger source. For area scan, if no trigger source is enabled, the pulse generators are triggered as soon as the previous frame has been captured. This is similar to a free-running mode where EXSYNC and PRIN are generated as fast as possible. For linescan cameras, a line trigger source is required to get an EXSYNC or PRIN pulse. You can select the user timer to generate a trigger at a specified rate.
The EXSYNC signal can be selected as an output on any of the four camera control lines on the Camera Link™ connector. Note: The EXSYNC pulse is always fired from the selected trigger event. EXSYNC can be used as the exposure input to some area scan cameras. EXSYNC might also be used as the line transfer input on some linescan cameras. Sapera Parameters for EXSYNC: Refer to Time Integration method in the Sapera Acquisition Parameters Reference manual.
PRIN Pulse Generator Ext. Trigger PRIN Active Time Offset Figure 4: PRIN Pulse Generator The PRIN signal can be selected as an output on any of the four camera control lines on the Camera Link™ connector. Note: The PRIN pulse is always fired from the selected trigger event. Sapera Parameters for PRIN: Refer to Time Integration method in the Sapera Acquisition Parameters Reference manual. PRIN is typically designated by pulse #0 in the various time integration methods.
Area Scan Triggers The External Trigger allows image acquisition to be synchronized to external events. When acquiring an image in External Trigger mode, the acquisition will not start until the PC2-CamLink receives a trigger signal. Acquisition begins with the next valid frame after the trigger. A variety of trigger events can fire the EXSYNC and PRIN pulse generators for area scan cameras.
Let: t(et) = time of external trigger in μs t(vt) = time of validated trigger in μs t(d) = debounce circuit duration from 0 to 255μs We therefore get: t(vt) = t(et) – t(d) If: t(vt)> 0, then a valid trigger is detected and acquisition is fired Opto Formed by a LED emitter combined with a photo detector in close proximity, an opto-coupler (or opto-isolator) allows for the connection between the PC2-CamLink external trigger and the user circuitry using separate grounds.
3.3V 1.33k (1W) J3: opto2 Opto2_Trig + J4: opto2 221 (0.1W) Opto2_Trig - Opto-Coupler 3.3V 1.33k Trigger Controller (1W) J5: opto1 Opto1_Trig + J6: opto1 221 (0.1W) Opto1_Trig - Opto-Coupler Figure 6: Opto-coupler When current flows inside the LED, the emitted light acts as a base current for the transistor. Depending on the amount of light that is being emitted, the transistor can be turned ON, just like a switch.
other words, +5V is connected to Ext_Trig+ and the sink trigger source is connected to Ext_Trig-. This will normally require the application the invert the polarity of the trigger in the camera configuration file. Many TTL devices will not supply enough current to reliably drive the Ext_Trig+ of an opto-coupled input; a buffer is needed between the TTL output and the Ext_Trig+ input.
Sapera Parameters for Area Scan Trigger: CORACQ_PRM_EXT_TRIGGER_ENABLE = { CORACQ_VAL_EXT_TRIGGER_OFF, CORACQ_VAL_EXT_TRIGGER_ON} 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: Debounce duration CORACQ_PRM_EXT_TRIGGER_FRAME_COUNT: Number of frames to acquire per trigger CORACQ_PRM_EXT_TRIGGER_LEVEL = { CORACQ_VAL_LEVEL_TTL, CORACQ_VAL_LEVEL_LVDS} CORACQ_PRM_EXT_TRIGGER_SOURCE = {0 for auto
Shaft Encoder Web inspection systems with variable web speeds typically provide one or two synchronization signals from a web mounted encoder to coordinate trigger signals. The trigger signals are used by the acquisition linescan camera. The PC2-CamLink supports single or dual shaft encoder signals. Dual encoder signals are typically 90° out of phase relative to each other and provide greater web motion resolution.
TTL Shaft Encoder to LVDS/RS422 Input Block Diagram Connecting TTL Signals to LDVS Inputs TTL signal source LDVS (+) input GND LDVS (-) input +1 to +2 volts DC Frame Grabber System FG/system GND • LVDS/RS422 (-) input is biased to a DC voltage from +1 to +2 volts. • This guarantees that the TTL signal connected to the LVDS/RS422 (+) input will be detected as a logic high or low relative to the (-) input.
User Timer PC2-CamLink offers a user timer that can be used to fire a line acquisition at a specified frequency. Note this user timer is asynchronous to all input pins. The line rate generated by the user timer ranges from 1μs to 65535μs in steps of 1μs. Virtual Frames Triggers Virtual frame is a method grouping a number of consecutive lines from a linescan camera into a frame buffer.
Virtual Frame Trigger Source Polarity Variable Frame Length Support Description Software not applicable No A whole virtual frame acquired on SW trigger call Opto1 rising or falling edge No A whole virtual frame acquired on Opto1 edge detection Opto1 active high or active low Yes Acquisition from the first edge up to the second edge of Opto1. Acquisition waits for next trigger if virtual frame is filled.
TRIG Active high or active low trigger LVAL VFVAL Virtual frame size less than or equal to maximum VFRAME size Figure 9: Active High or Active Low Trigger TRIG 1 TRIG 2 LVAL VFVAL VFRAME size less than or equal to maximum VFRAME size Figure 10: Start-Stop Trigger Note: For virtual frame trigger, Opto1 and LVDS1 are always the start of a virtual frame trigger event, while Opto2 and LVDS2 are always an end of a virtual frame trigger event.
shaft encoder), 1 for phase A of shaft encoder} CORACQ_PRM_LINE_TRIGGER_ENABLE = {TRUE, FALSE} CORACQ_PRM_INT_LINE_TRIGGER_ENABLE = {TRUE, FALSE} CORACQ_PRM_INT_LINE_TRIGGER_FREQ: User timer line frequency Sapera Parameters for Shaft encoder: CORACQ_PRM_SHAFT_ENCODER_ENABLE = {TRUE, FALSE} CORACQ_PRM_SHAFT_ENCODER_LEVEL = CORACQ_VAL_LEVEL_LVDS CORACQ_PRM_SHAFT_ENCODER_DROP: Number of shaft pulse to skip between valid pulses In CamExpert, these parameters are located under ‘Advanced Control Parameters’ for
Strobe One strobe signal is available on pin 15 of the DB-15 connector (J2). The pulse duration and polarity are programmable (up to 65 seconds). The strobe signal is attained by using an LVT244 driver with the following electrical characteristics: Electrical parameters Description Value VOH typ Typical high-level output voltage 3.
delay parameter represents the time from the external trigger to strobe pulse assertion. In Slow Strobe mode, the strobe pulse occurs after a certain delay following the FVAL and the trigger, respectively. Strobe duration is programmable. See below for diagram. Basically, the strobe pulse is asserted from the first FVAL following the trigger. This mode is often used with free-running cameras. Slow Strobe Ext.
Serial Port The Camera Link™ cabling specification includes a serial communication port for direct camera control by the frame grabber. The PC2-CamLink supports this serial communication port either directly or by mapping it to a host computer COM Port. Any serial port communication program, such as Windows HyperTerminal, can connect to the camera in use and modify its function modes via its serial port controls.
Camera Interface The PC2-CamLink supports the Camera Link™ specification base configuration (one connector, 24bit data) and clock rates up to 66 MHz. The Camera Link™ specification also defines medium and full configurations with two and three connectors as well as a larger data size. The PC2-CamLink does not support the medium and full configurations. All signal and timing characteristics match the Camera Link™ specification. • The PC2-CamLink accepts up to 24-bit data in differential format.
B5 B5 x B9 x B9 A13 A13 B6 B6 x x x B10 x A14 B7 B7 x x x B11 x A16 C0 x x B0 x B0 x x C1 x x B1 x B1 x x C2 x x B2 x B2 x x C3 x x B3 x B3 x x C4 x x B4 x B4 x x C5 x x B5 x B5 x x C6 x x B6 x B6 x x C7 x x B7 x B7 x x Port C The PC2-CamLink supports area scan and linescan cameras: • Maximum image size up to 8K x 8K pixels for area scan. • Maximum image size up to 8K x 8K number of lines for linescan.
Sapera parameters for Lookup Table: CORACQ_PRM_LUT_ENABLE = {TRUE, FALSE} CORACQ_PRM_LUT_FORMAT = CORACQ_VAL_OUTPUT_FORMAT_MONO8 CORACQ_PRM_LUT_MAX = 1 CORACQ_PRM_LUT_NENTRIES = 256 CORACQ_PRM_LUT_NUMBER = 0 Use CorAcqSetLut() to load a LUT into PC2-CamLink. CamExpert does not provide direct access to these parameters. They must be activated programmatically from your Sapera application through the SapLut class.
Single Channel One channel presents the pixel data in sequential order. The acquired sequence represents the original image, without need of sorting or reformatting. The figure below (single channel) shows where the data appears in the original image. PC2-CamLink can support this format for pixel depths from 8-bit up to 16-bit. The IFC Software Library calls this “One Channel Left to Right” or CL2_1CHAN_L2R.
Dual-Channel Interline One channel carries the even lines, the other the odd lines. The lines are ‘interlaced’ in the original image. Data is presented simultaneously on both channels. The figure below (Interline) shows where the data appears in the original image. There are two options, as shown in the figure below. Channel A can present the even lines 0, 2, 4, 6, 8 or the odd lines 1, 3, 5, 7, 9. The PC2-CamLink can support this format for pixel depths from 8-bits up to 12-bits.
IFC IFC parameters for Data Port Sequencer Table: CL2_IMAGE_GEOMETRY = {CL2_1CHAN_L2R, CL2_2CHAN_INTERLEAVED, CL2_2CHAN_SEP_TAP_L2R, CL2_2TAP_INTERLINE_A_EVEN, CL2_2TAP_INTERLINE_B_EVEN} P_PIXEL_SIZE: pixel size of host buffer from 8 to 16 bits P_CAM_PIXEL_SIZE: pixel size from camera, 0 if camera has same pixel size as host buffer P_PIXEL_COLOR = {IFC_MONO} Window Generator The Window Generator extracts a window from the incoming image.
Sapera Parameters for Cropper: CORACQ_PRM_CROP_WIDTH: Horizontal width of area of interest CORACQ_PRM_CROP_LEFT: Horizontal offset CORACQ_PRM_CROP_HEIGHT: Vertical height of area of interest CORACQ_PRM_CROP_TOP: Vertical offset In CamExpert, these parameters are located under the ‘Image Buffer and AOI Parameters’ tab.
IFC IFC Support for YCrCb Engine: Create an image connection using IfxCreateImgConn()with the flag IFC_YCRCB_SINK or use IfxCreateImgSink() with the YCRCB_SINK flag. PCI Controller PCI controller has scatter-gather support to reduce CPU usage to a minimum. It retrieves a buffer descriptor list from host memory. The PCI controller can sustain an average transfer rate up to 100MB/second with bursts of 132MB/second.
Case 1: Line size below 4KB If the camera line dimension is smaller than 4096Bytes, the average line bandwidth must be used to evaluate if the camera’s bandwidth is acceptable for a FIFO-based frame grabber, such as the PC2CamLink. Line size = nb pixel/ lines * Bpp where Bpp is the number of bytes required to store each pixel. 8-bit pixels require 1 byte/pixel while the pixel depth of 10, 12, 14 or 16-bit/pixel requires 2 bytes/pixel.
Bandwidth Optimization Pixel Depth Truncation One of easiest techniques is to transfer only the eight most significant bits when the camera’s pixel depth is higher than 8-bits. If this compromise is acceptable, this will result in half the bandwidth required for the full pixel depth. PC2-CamLink has the ability to truncate the digital information to 8bits/pixel.
Visual Status LEDs PC2-CamLink hosts two visual status LEDs on its PCI bracket. They are labeled ACQ (acquisition) and TRIG (external trigger). The ACQ LED indicates the status of the acquisition based on the signals going through the Camera Link™ MDR-26 connector. Possible LED states are outlined in table below.
Parallel I/O PC2-CamLink provides digital I/O capability for controlling or monitoring external events. The digital input and output lines, available on the 26-pin header located at the top of the board, can be cabled to a 25-pin D-Sub connector that occupies an open slot in the PC chassis. The functionality of the I/O port is as follows: IN(7-0) Eight digital TTL input lines provide the capability to read these as either raw or latched (by STROBE_I) inputs.
Sapera support for Parallel I/O: Access to Parallel I/O is achieved using members of the SapGio class. Refer to Sapera++ Programmer’s manual for a complete description of the SapGio functions.
Acquisition Interrupts The PC2-CamLink provides acquisition interrupts that allow an application to monitor the acquisition status accurately. This is one of the many elements that frame the “trigger-to-image reliability” model supported by PC2-CamLink and its Acquisition and Control Unit (ACU).
Interrupt-Related Definitions Interrupt An interrupt is an electrical signal sent by the PC2-CamLink board to the computer CPU to indicate an event on the frame grabber. The PC2-CamLink driver has excellent reaction time to interrupts since interrupts are processed inside an interrupt service routine (ISR) at kernel level. Event An event is a WIN32 object that can take two states: signaled and nonsignaled. It is used for thread synchronization.
Start/End of Line For linescan cameras, the Start of Line interrupt represents the beginning of a valid line output by the camera. It is asserted on the LVAL pulse (at the beginning of the line). This is represented by CL2_INTR_HB in IFC. Sapera offers the End of line interrupt through the CORACQ_VAL_EVENT_TYPE_END_OF_NLINES event with N=1. Warning: Start/End of Line interrupts occur at a very high rate. This may saturate your CPU and prevent proper functioning of your OS.
End of PCI Transfer The End of PCI Transfer interrupt is generated when each frame or virtual frame has been transferred to host memory. In Sapera, CORXFER_PRM_EVENT_TYPE provides the various transfer events. The following are available on PC2-CamLink: -CORXFER_VAL_EVENT_TYPE_END_OF_FRAME -CORXFER_VAL_EVENT_TYPE_START_OF_FRAME -CORXFER_VAL_EVENT_TYPE_END_OF_LINE -CORXFER_VAL_EVENT_TYPE_END_OF_NLINES -CORXFER_VAL_EVENT_TYPE_END_OF_TRANSFER Under IFC, the end of transfer is represented by CL2_INTR_BMDONE .
Error Support Interrupts PC2-CamLink supports a number of interrupts generated when problematic conditions occur within the system. These interrupts are used to notify applications that something erroneous occurred. Error Support Interrupts are part of the “trigger-to-image reliability” support. Skipped Frame A Skipped Frame condition is signaled when the onboard FIFO is full resulting in the remainder of the current acquired frame to be discarded.
Camera Power PC2-CamLink can provide up to 1.5A of 5V or 12V power to the camera through the DB-15 connector. The voltage supply is dependent on the configuration of jumper J13. Refer to "J13: Power to Camera Voltage Selector" on page 72 for jumper settings. The floppy power connector J14 must be connected if your camera requires more than 0.5A. That is, if J14 is not connected, the PC2-CamLink will use power from the PCI connector to power the camera.
• • Error on Pixel Clock: No pixel clock detected from the camera. Visual indicators on the PCI bracket give a clear indication of the acquisition and trigger status. Additional LEDs are present at the back of the board, below the floppy power connector. These LEDs indicate a camera power overflow. The rest of trigger-to-image reliability is handled internally by the ACU to correctly synchronize acquisition with camera control and image transfer.
Yes, Buffer data preventing data corruption due to PCI bus latency or unavailability. FIFO-based (4 kilobytes) Monitoring Image Certificate Visual Status LEDs Events (Certificate is encoded by Sapera LT) Camera not connected Red Yes Camera detected, but not operating within established parameters. Solid green Yes Camera detected and operating correctly. Flashing green Yes A valid trigger has been detected Valid trigger Yes Indicates if the soft-fuse is open.
Reports that a camera is connected with a valid output Yes Trigger Debounce Hardware rejection of multiple short-lived triggers. Minimum valid trigger pulse duration is SW programmable. Yes Invalid Trigger Rejection If two triggers are detected in less than a minimum time, the second trigger is rejected and an error event is generated.
Technical Reference Block Diagram 26-Pin Header 4 Data CamLink MDR-26 Base Connector Camera Control CamLink Receiv er 4 Tx Rx In Out 8 Strobe In I/O Controller 8 Strobe Out Interrupt ILUT LVDS UART Acquisition Visual Status LED Acquisition Control Unit Image Data PCI Controller LED Trigger Control LED Strobe TTL Driv er Trigger Opto #1 Trigger Opto #2 Trigger LVDS #1 Trigger LVDS #2 DB-15 Connector Opto Coupler Trigger Controller LVDSReceiv er Shaf t Encoder #1 Shaf t Encoder #2
Hardware Specifications The following provides detailed information related to PC2-CamLink hardware specifications. PC2-CamLink Specifications Function Description Board PCI half-slot rev. 2.1 compliant for 5V and 3.
• 8K pixel x 8K # of lines for linescan • Variable frame length for linescan (level control or 2 pulse controls) PCI Transfer • Up to 100MB/second sustained Connectors • One MDR-26 for Camera Link™ • One DB-15 for trigger, strobe and +12V/+5V power (available on PCI bracket) • One 26-pin header for Parallel I/O (flat cable to second slot) I/O • 19 general-purpose I/O pins, TTL level (8 input, 8 output, 2 strobes, 1 interrupt) with 2 soft-fused +5V power pins • One RS-232C serial port, mapped as regular Wind
PC2-CamLink Connector and Jumper Locations PC2-CamLink Component View-revision A0 J13 J8 J14 LED 2 J11 J9 J1 LED 3 LED 4 PC2-CamLink LED 1 LED 5 LED 6 J3 J4 J5 J2 J6 PCI Bus Figure 18: Component View – revison A0 PC2-CamLink Component View-revision A1 J13 J8 J9 J1 J14 J11 LED 3 PC2-CamLink LED 1 LED 2 LED 4 LED 5 LED 6 J3 J4 J5 J2 J6 PCI Bus Figure 19: Component View – revison A1 Important: Revision A1 is different only in the orientation of J8.
Connector Bracket J2 LED J1 ACQ CAMERALINK TRIG Pin 1 Pin 1 Figure 20: Connector Bracket J1: MDR 26-Pin Female Camera Connector Pin 1 Pin 26 Pin # Pin Name Type Description 25 BASE_X0- Input Neg. Base Data 0 12 BASE_X0+ Input Pos. Base Data 0 24 BASE_X1- Input Neg. Base Data 1 11 BASE_X1+ Input Pos. Base Data 1 23 BASE_X2- Input Neg. Base Data 2 10 BASE_X2+ Input Pos. Base Data 2 21 BASE_X3- Input Neg. Base Data 3 8 BASE_X3+ Input Pos.
J2: DB-15 Female Connector Pin 1 Pin 15 Pin # Pin Name Type 1 Opto Trigger1+ Input The anode’s side of the first opto-coupler. It can manage up to 25V signals or TTL signals. Configurable through a jumper. 9 Opto Trigger1- Input The cathode side of the first opto-coupler. It can manage up to 25V signals or TTL signals. Configurable through a jumper. Must be grounded when in TTL mode. 2 Opto Trigger2+ Input The anode side of the second opto-coupler.
J3, J4, J5, J6: Opto-coupler Voltage Selector The opto-coupler can be feed from 3V to 24V by means of jumper configuration. See diagram below for jumper configuration selection. J3 OPTO-2 J4 OR OR J5 OPTO-1 J6 unused connect 0 to 6V connect 6 to 25V Figure 21: Opto-coupler Jumper Selection J8: Parallel I/O 26-Pin Dual-Row Connector Pin Identification as Viewed From Component Side Board Revision A0 2 1 4 3 ... ... 24 23 26 25 Board Revision A1 25 26 23 24 ... ...
19 OUT2 Digital Output pin 2 10 21 OUT4 Digital Output pin 4 11 23 OUT6 Digital Output pin 6 12 25 +5V +5V power output 13 2 STROBE_0 Strobe Output 14 4 STROBE_1 Strobe Input 15 6 I/O_INT Interrupt Input 16 8 IN0 Digital Input pin 0 17 10 IN2 Digital Input pin 2 18 12 IN4 Digital Input pin 4 19 14 IN6 Digital Input pin 6 20 16 +5V +5V power output 21 18 OUT1 Digital Output pin 1 22 20 OUT3 Digital Output pin 3 23 22 OUT5 Digital Output pin 5 24 24
J13: Power to Camera Voltage Selector When the PC floppy drive power supply cable is connected to J14, a shorting jumper on J13 selects either no voltage, 5V, or 12V for the camera power supply. The voltage supply is dependent on jumper configuration. See diagram below for J13 jumper configuration selection.
J14: Power Connector J14 must be connected to a computer floppy disk power cable to provide 12V or 5V to the camera through the J2: DB-15 Female Connector. To remove the floppy disk power cable from the J14 connector, carefully lift the cable connector head from the J14 connector to unlatch the locking mechanism underneath the connector, then carefully pull the cable from the board connector.
ACQ Status: Camera Link Connector (J1) Status: Trigger (J2) TRIG Figure 24: Visual Status LEDs There are five additional LEDs located on the PC2-CamLink. These LEDs give supplemental information concerning the state of the voltage supply, amp overload, and Safe Mode. J14 LED 2 LED 3 LED 4 LED 5 LED 6 PC2-CamLink Figure 25: Visual Status of Supplemental LEDs The table below specifies each LED and the result of its activation. Description Result LED2 1.
Computer Requirements for the PC2-CamLink The PC2-CamLink requires at minimum an Intel Pentium III or compatible computer system with a free PCI local bus slot. Operating System Support Windows XP, Windows Vista, and Windows 7. PC2-CamLink Physical Dimensions Approximately 6.675" length × 4.2" width (16.95 cm L×10.
Camera Link™ Interface Camera Link™ Overview Camera Link™ is a communication interface for vision applications developed as an extension of National Semiconductor's Channel Link technology. The advantages of the Camera Link™ interface are that it provides a standard digital camera connection specification, a standard data communication protocol, and simpler cabling between camera and frame grabber.
Data Port Summary The Camera Link™ interface has three configurations. A single Camera Link™ connection is limited to 28-bits requiring some cameras to have multiple connections or channels. The naming conventions for the three configurations are: • Base: Single Channel Link interface, single cable connector. • Medium: Two Channel Link interface, two cable connectors. • Full: Three Channel Link interface, two cable connectors.
Camera Controls Four LVDS pairs are reserved for general-purpose camera control, defined as camera inputs and frame grabber outputs. • Camera Control 1 (CC1) • Camera Control 2 (CC2) • Camera Control 3 (CC3) • Camera Control 4 (CC4) Note: the PC2-CamLink by default implements the control lines as follows (using DALSA Corporation terminology).
PC2-CamLink User's Manual Part I: PC2-CamLink Board • 79
Part II: Sapera LT PC2-CamLink User's Manual Part II: Sapera LT • 81
82 • Part II: Sapera LT PC2-CamLink User's Manual
Sapera Server and Parameters The following table lists the Sapera Server available for PC2-CamLink. Servers Name PC2-CamLink_1 Resources Description Type PC2-CamLink Acquisition Name Index Mono #1 0 Description CameraLink Base Mono #1 The following four tables describe Sapera parameters and values supported by PC2-CamLink. Refer to Sapera Acquisition Parameters Reference manual for a thorough description of each parameter.
CORACQ_PRM_CHANNELS_ORDER CORACQ_VAL_CHANNELS_ORDER_NORMAL (0x1) CORACQ_VAL_CHANNELS_ORDER_REVERSE (0x2) CORACQ_PRM_CONNECTOR_EXPOSURE_INPUT Default = 0 CORACQ_PRM_CONNECTOR_HD_INPUT Default = 0 CORACQ_PRM_CONNECTOR_LINE_INTEGRATE_INPUT Default = 0 CORACQ_PRM_CONNECTOR_LINE_TRIGGER_INPUT Default = 0 CORACQ_PRM_CONNECTOR_LINESCAN_DIRECTION_INPUT Default = 0 CORACQ_PRM_CONNECTOR_PIXEL_CLK_OUTPUT Default = 0 CORACQ_PRM_CONNECTOR_RESET_TRIGGER_INPUT Default = 0 CORACQ_PRM_CONNECTOR_VD_INPUT Def
CORACQ_PRM_LINE_INTEGRATE_METHOD CORACQ_VAL_LINE_INTEGRATE_METHOD_1 (0x1) CORACQ_VAL_LINE_INTEGRATE_METHOD_3 (0x4) CORACQ_VAL_LINE_INTEGRATE_METHOD_4 (0x8) CORACQ_PRM_LINE_INTEGRATE_PULSE0_DELAY min = 0 µs max = 65535000 µs step = 1 µs CORACQ_PRM_LINE_INTEGRATE_PULSE0_DURATION min = 1 µs max = 65535000 µs step = 1 µs CORACQ_PRM_LINE_INTEGRATE_PULSE0_POLARITY CORACQ_VAL_ACTIVE_LOW (0x1) CORACQ_VAL_ACTIVE_HIGH (0x2) CORACQ_PRM_LINE_INTEGRATE_PULSE1_DELAY min = 0 µs max = 65535000 µs step = 1 µs CORA
CORACQ_PRM_PIXEL_CLK_SRC CORACQ_VAL_PIXEL_CLK_SRC_EXT (0x2) CORACQ_PRM_PIXEL_DEPTH 8 bits 10 bits 12 bits 14 bits 16 bits CORACQ_PRM_SCAN CORACQ_VAL_SCAN_AREA (0x1) CORACQ_VAL_SCAN_LINE (0x2) CORACQ_PRM_SIGNAL CORACQ_VAL_SIGNAL_DIFFERENTIAL (0x2) CORACQ_PRM_SYNC CORACQ_VAL_SYNC_SEP_SYNC (0x4) CORACQ_PRM_TAP_1_DIRECTION CORACQ_VAL_TAP_DIRECTION_LR (0x1) CORACQ_VAL_TAP_DIRECTION_UD (0x4) CORACQ_VAL_TAP_DIRECTION_FROM_TOP (0x10) CORACQ_PRM_TAP_2_DIRECTION CORACQ_VAL_TAP_DIRECTION_LR (0x1) CORACQ_V
CORACQ_PRM_TIME_INTEGRATE_PULSE0_POLARITY CORACQ_VAL_ACTIVE_LOW (0x1) CORACQ_VAL_ACTIVE_HIGH (0x2) CORACQ_PRM_TIME_INTEGRATE_PULSE1_DELAY min = 0 µs max = 65535000 µs step = 1 µs CORACQ_PRM_TIME_INTEGRATE_PULSE1_DURATION min = 1 µs max = 65535000 µs step = 1 µs CORACQ_PRM_TIME_INTEGRATE_PULSE1_POLARITY CORACQ_VAL_ACTIVE_LOW (0x1) CORACQ_VAL_ACTIVE_HIGH (0x2) CORACQ_PRM_VACTIVE min = 1 line max = 8192 lines step = 1 line CORACQ_PRM_VBACK_INVALID min = 0 line max = 16777215 lines step = 1 line COR
VIC PARAMETERS Values CORACQ_PRM_BIT_ORDERING CORACQ_VAL_BIT_ORDERING_STD (0x1) CORACQ_PRM_BRIGHTNESS Not available CORACQ_PRM_BRIGHTNESS_BLUE Not available CORACQ_PRM_BRIGHTNESS_RED Not available CORACQ_PRM_CAM_RESET_DELAY min = 0 µs max = 65535000 µs step = 1 µs CORACQ_PRM_CAM_RESET_ENABLE TRUE FALSE CORACQ_PRM_CAM_TRIGGER_DELAY min = 0 µs max = 65535000 µs step = 1 µs CORACQ_PRM_CAM_TRIGGER_ENABLE TRUE FALSE CORACQ_PRM_CAMSEL CAMSEL_MONO = from 0 to 0 CAMSEL_COLOR not available CAMSEL_
CORACQ_PRM_EXT_FRAME_TRIGGER_DETECTION CORACQ_VAL_ACTIVE_LOW (0x1) CORACQ_VAL_ACTIVE_HIGH (0x2) CORACQ_VAL_RISING_EDGE (0x4) CORACQ_VAL_FALLING_EDGE (0x8) CORACQ_VAL_DOUBLE_PULSE_RISING_EDGE (0x20) CORACQ_VAL_DOUBLE_PULSE_FALLING_EDGE (0x40) CORACQ_PRM_EXT_FRAME_TRIGGER_ENABLE TRUE FALSE CORACQ_PRM_EXT_FRAME_TRIGGER_LEVEL CORACQ_VAL_LEVEL_TTL (0x1) CORACQ_PRM_EXT_FRAME_TRIGGER_SOURCE 0: automatic (always trigger input 1, except in variable frame length where start pulse is associated with trigger inp
CORACQ_PRM_INT_FRAME_TRIGGER_ENABLE TRUE FALSE CORACQ_PRM_INT_FRAME_TRIGGER_FREQ min = 16 milli-Hz max = 1000000000 milli-Hz step = 1 milli-Hz CORACQ_PRM_INT_LINE_TRIGGER_ENABLE TRUE FALSE CORACQ_PRM_INT_LINE_TRIGGER_FREQ Default = 10000 Hz CORACQ_PRM_INT_LINE_TRIGGER_FREQ_MAX 1000000 Hz CORACQ_PRM_INT_LINE_TRIGGER_FREQ_MIN 16 Hz CORACQ_PRM_LINE_INTEGRATE_DURATION min = 20 pixels max = 4095000 pixels step = 1 pixel CORACQ_PRM_LINE_INTEGRATE_ENABLE TRUE FALSE CORACQ_PRM_LINE_TRIGGER_ENABLE T
CORACQ_PRM_SHAFT_ENCODER_DROP min = 0 tick max = 65535 ticks step = 1 tick CORACQ_PRM_SHAFT_ENCODER_ENABLE TRUE FALSE CORACQ_PRM_SHAFT_ENCODER_LEVEL CORACQ_VAL_LEVEL_LVDS (0x4) CORACQ_PRM_SHAFT_ENCODER_MULTIPLY Not available CORACQ_PRM_SHARED_CAM_RESET Not available CORACQ_PRM_SHARED_CAM_TRIGGER Not available CORACQ_PRM_SHARED_EXT_TRIGGER Not available CORACQ_PRM_SHARED_FRAME_INTEGRATE Not available CORACQ_PRM_SHARED_STROBE Not available CORACQ_PRM_SHARED_TIME_INTEGRATE Not available COR
Not available CORACQ_PRM_WEN_ENABLE ACQUISITION PARAMETERS Values CORACQ_PRM_EVENT_TYPE CORACQ_VAL_EVENT_TYPE_EXTERNAL_TRIGGER (0x1000000) CORACQ_VAL_EVENT_TYPE_VERTICAL_SYNC (0x2000000) CORACQ_VAL_EVENT_TYPE_END_OF_NLINES (0x8000000) CORACQ_VAL_EVENT_TYPE_NO_PIXEL_CLK (0x40000000) CORACQ_VAL_EVENT_TYPE_FRAME_LOST (0x8000) CORACQ_VAL_EVENT_TYPE_DATA_OVERFLOW (0x4000) CORACQ_PRM_LABEL CameraLink Base Mono #1 CORACQ_PRM_SIGNAL_STATUS CORACQ_VAL_SIGNAL_PIXEL_CLK_PRESENT (0x4) TRANSFER PARAMETERS Val
Sapera Software Example Grab Demo Overview Program Start•Programs•DALSA•Sapera LT•Demos•Grab Demo Program file \Dalsa\Sapera\Demos\Classes\vc\GrabDemo\Release\GrabDemo.exe Workspace \Dalsa\Sapera\Demos\Classes\vc\SapDemos.dsw Description This program demonstrates the basic acquisition functions included in the Sapera library. The program allows you to acquire images, either in continuous or in oneshot mode, while adjusting acquisition parameters.
Using the Grab Demo Server Selection Run Grab Demo from the Start Menu: Start•Programs•DALSA•Sapera LT•Demos•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 DALSA acquisition hardware using Sapera drivers). The second drop down menu allows you to select the available input devices present on the selected server.
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.
The various functions are described below: File Control Three controls are provided for image file transfers • 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. Acquisition Options Note that unsupported functions are grayed out and not selectable. Function support is dependent on the frame grabber hardware in use.
• 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: 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.
An important component of CamExpert is its live acquisition display window that allows immediate verification of timing or control parameters without the need to run a separate acquisition program. 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 open the help file for more descriptive information on CamExpert.
Camera Files Distributed with Sapera The Sapera LT CDROM includes camera files that are compatible to PC2-CamLink supported cameras. When using CamExpert, you may use the camera files (CCA) provided to generate a camera configuration file (CCF) that describes the desired camera and frame grabber configuration. DALSA continually updates their camera application library that contains application information and prepared camera files.
Legacy files using the “.CVI” extension (CORECO VIDEO files) contain all operating parameters related to the frame grabber board, i.e., what the frame grabber can actually do with camera controls or incoming video. The Sapera parameter groups located within the file: • Activates and sets any supported camera control mode or control variable. • Defines the integration mode and duration. • Defines the strobe output control.
Part III: IFC PC2-CamLink User's Manual Part III: IFC • 101
102 • Part III: IFC PC2-CamLink User's Manual
IFC Software Examples IFC Examples for PC2-CamLink Imaging Studio comes supplied with the following example programs for PC2-CamLink. Full source code is included. You need Microsoft Visual C++ 6.0 or later to recompile the examples. Two examples are included with PC2-CamLink. If IFC is installed on your system, go to Windows Desktop and select the IFC folder or from the Windows Desktop: Start•Program•IFC Version 5.8•PC2-CamLink Examples.
Setup -Any supported Camera Link™ camera -Camera Link™ cable -1 PC2-CamLink -Source of external trigger Project location Installation Directory\examples\PC2-CamLink\IntrEx Sequential Snap Title Sequential Snap Description Snaps a small number of images into host memory and replays them. Demonstrates how to use LUT, Parallel I/O and other PC2-CamLink features. Features -Uses CL2TEST.
Project location Installation Directory\examples\PC2-CamLink\SeqSnap PC-CamLink IFC Parameters Comparison Overview The following tables compare IFC parameters between PC-CamLink and PC2-CamLink . They are intended to help someone familiar with PC-CamLink to create config files for PC2-CamLink. Parameters on the same line control equivalent functionality on their respective board. For a complete description of each parameter, refer to the IFC-SDK Software Manual.
IFC_ACTIVE_HIGH LNK_DVAL_INPUT_MODE LNK_DVAL_INPUT_FIELD CL2_DVAL_INPUT_MODE CL2_DVAL_INPUT_VALID_DATA LNK_DVAL_INPUT_VALID_DATA LNK_SPR_ENABLE IFC_DISABLE IFC_ENABLE LNK_SPR_POLARITY IFC_ACTIVE_LOW IFC_ACTIVE_HIGH Spare not supported in CamLink spec. Spare not supported in CamLink spec.
ASSIGNMENTS GROUP LNK_CAM_CTL1_SIGNAL LNK_CCTL_FIXED_LOW LNK_CAM_CTL2_SIGNAL CL2_CAM_CTL1_SIGNAL CL2_CCTL_FIXED_HIGH LNK_CCTL_EXSYNC CL2_CCTL_EXSYNC LNK_CCTL_PRI CL2_CCTL_PRI LNK_CCTL_FIXED_LOW CL2_CAM_CTL2_SIGNAL CL2_CCTL_FIXED_HIGH LNK_CCTL_EXSYNC CL2_CCTL_EXSYNC LNK_CCTL_FIXED_LOW CL2_CCTL_PRI CL2_CAM_CTL3_SIGNAL CL2_CCTL_FIXED_LOW LNK_CCTL_FIXED_HIGH CL2_CCTL_FIXED_HIGH LNK_CCTL_EXSYNC CL2_CCTL_EXSYNC CL2_CCTL_PRI LNK_CCTL_PRI LNK_CAM_CTL4_SIGNAL CL2_CCTL_FIXED_LOW LNK_CCTL_FIXED_
IFC_RGB_PACK24 IFC_YCRCB WINDOW GENERATOR GROUP P_HORZ_OFF Range: 0 to 65536, step size 1 P_HORZ_OFF Integer range parameter, min:0, max:8188, step size:1 P_WIDTH_PIXELS Range: 0 to 65536, step size 1 P_WIDTH_PIXELS Integer range parameter, min:4, max:8192, step size:4 P_VERT_OFF Range: 0 to 65536, step size 1 P_VERT_OFF Integer range parameter, min:0, max:8191, step size:1 P_HEIGHT_PIXELS Range: 0 to 65536, step size 1 P_HEIGHT_PIXELS Integer range parameter, min:1, max:8192, step size:1 N
LNK_TTL_TRIG CL2_OPTO_FRAME_TRIG1 LNK_OPTO_COUPLED_TRIG CL2_OPTO_FRAME_TRIG2 CL2_LVDS_FRAME_TRIG1 CL2_LVDS_FRAME_TRIG2 CL2_FREQ_FRAME_TRIG Use LNK_EXT_SYNC_PERIOD_TIME CL2_FRAME_TRIG_FREQ LINE TRIGGER GROUP Only available if P_FEN_ENABLE is disabled Implicitly activated by EXSYNC and PRI on PC-CamLink CL2_LINE_TRIG_ENABLE Float range parameter,min:0.1, max:10000, step size:0.
Advanced Custom Camera Parameters PC-CamLink Param Values PC2-CamLink Param Values P_BAYER_GAIN_RED Range: 0.1 to 10.0 in steps of 0.1 P_BAYER_GAIN_RED Float range parameter, min:0.1, max:10, step size:0.1 P_BAYER_GAIN_GREEN Range: 0.1 to 10.0 in steps of 0.1 P_BAYER_GAIN_GREEN Float range parameter, min:0.1, max:10, step size:0.1 P_BAYER_GAIN_BLUE Range: 0.1 to 10.0 in steps of 0.1 P_BAYER_GAIN_BLUE Float range parameter, min:0.1, max:10, step size:0.
Strobe Parameters PC-CamLink Param Values PC2-CamLink Param Values No strobe on PC-CamLink P_STROBE_ENABLE IFC_DISABLE No strobe on PC-CamLink P_STROBE_MODE IFC_ENABLE IFC_FAST_STROBE IFC_SLOW_STROBE No strobe on PC-CamLink P_STROBE_POLARITY IFC_ACTIVE_HIGH No strobe on PC-CamLink P_STROBE_DELAY Integer range parameter: min: 0us, max: 65535000us, step size: 1us No strobe on PC-CamLink P_STROBE_DURATION Integer range parameter: min: 10us, max: 65535000us, step size: 1us IFC_ACTIVE_LOW PC2-
112 • Part III: IFC PC2-CamLink User's Manual
Part IV: Troubleshooting and Support PC2-CamLink User's Manual Part IV: Troubleshooting and Support • 113
114 • Part IV: Troubleshooting and Support PC2-CamLink User's Manual
Troubleshooting Overview This section provides suggestions for resolving installation or usage problems that may be encountered with the PC2-CamLink due to the constant changing nature of computer equipment and operating systems. Note that information provided within this section will be updated with the latest information DALSA can provide for each manual version release.
Saving the Log • • • • Start Log Viewer From the menu bar select File•Save Messages… Select a filename (e.g., log.txt) Send log to DALSA Technical support Here is a typical log: Saving the PCI Diagnostics • • • • Start PCI Diagnostics Select the Save button. The dump of PCI configuration file is saved under PCIDUMP.TXT Send PCIDUMP.TXT to DALSA Technical Support Note that the DALSA PCI Vendor ID is 0x11EC. The PC2-CamLink board PCI Device ID is 0x2021.
Symptoms PC2-CamLink board not detected The board is not seen when an application is started. This is due to a module creation error under IFC or because the Sapera Server is not present under Sapera. Note: PC2-CamLink is supported by two different APIs: Sapera LT and IFC. You must install one or the other. It is not possible for PC2-CamLink to work under both APIs on the same machine. PC2CamLink will only work correctly with the last API installed on the machine.
Potential Hardware or PCI Failure • Make certain that the PC2-CamLink board is properly seated in the PCI slot. It is preferable to screw in the board securely to the computer chassis at the PCI bracket (some computer chassis use a clip mechanism instead of a screw). This ensures that the board remains stable when you connect/disconnect cables. • Make certain that the 3.3V (LED6) or 5V (LED5) LED is lit at the back of the board (below the floppy power connector).
• Open the registry editor. Click on Windows Start button and select ‘Run…’. In the Run dialog box, type ‘regedit’ (without the quotes) and click OK. This will start the registry editor. Go to the HKEY_LOCAL_MACHINE•SYSTEM•CurrentControlSet•Service•Pc2c folder. You should see the following key: • • Start REG_DWORD • 0x00000002 • If the Pc2c folder is absent, this indicates a problem with the installation process. Make certain that you have ‘Administrator’ privileges when you perform installation.
have not connected a floppy power cable from the PC power supply to the PC2-CamLink floppy power connector, do so if LED3 (12V overload) is lit. • Start the camera configuration tool (CamExpert for Sapera LT, or Camera Configurator for IFC) and select a suitable camera configuration file. Start the grab. The acquisition LED should blink rapidly (at about 15Hz) when the ACU is capturing valid data. Any error indication is reported by having the trigger LED turn red.
DALSA Contact Information Sales Information Visit our web site: http://www.dalsa.com/mv Email: mailto:info@dalsa.com Canadian/International Sales Office DALSA 7075 Place Robert-Joncas Suite #142 Montreal, Quebec, Canada H4M 2Z2 Tel: Fax: (514) 333-1301 (514) 333-1388 US Sales Office DALSA Inc. 700 Technology Park Drive Billerica, Ma.
Technical Support Any support question or request can be submitted via our web site: Technical support form via our web page: Support requests for imaging product installations, Support requests for imaging applications http://www.dalsa.com/mv/support Camera support information http://www.dalsa.com/mv/products/fgvpdetail.aspx?partNumber=OR-PC20-C0000 Product literature and driver updates http://www.dalsa.
Glossary of Terms 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.
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. 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.
(e.g., 8-bits, 15-bits, 24-bits) defines the number of gray levels or colors possible for each pixel. RGB A representation of color using the three primary colors (red, green, blue) as components. Video signals in RGB format are typically a non-composite video standard. A digital true color image can be represented by 8-bits per color (24-bits/pixel). Often image data is stored or transferred in 32-bits/pixel where the upper 8-bits of each pixel are unused.
126 • Glossary of Terms PC2-CamLink User's Manual
Index 5 CamExpert, 92, 95, 97, 118 capture interrupts, 57 CCA, 92 Channel Link, 76 COM Port, 10, 18, 41 COM Port Assignment, 17 computer system required, 74 contiguous memory, 13, 14, 95 CVI, 92 D 500mA power pins, 53 A acquisition flow diagram, 21 Acquisition Interrupts, 55 Acrobat Reader, 16 administrator, 8, 10 API, 15 area scan, 5, 25, 43, 44, 94 area scan grab trigger, 28 asynchronous serial communication, 77 AUTORUN, 8 B BIOS, 116 board not detected, 115 buffer descriptor list, 49 Bus Master, 49,
H HyperTerminal, 18, 41 opto-coupler jumper, 7 opto-coupler voltage, 70 out-of-memory error, 13 P I IFC Camera Configurator®, 19 IFC com port tool, 17 IFC comparison, 103 IFC library, 19, 45, 46 IFC SDK, 15 IFC-SDK Software Manual, 103 IFC-SDK™ Software Manual, 15 ILUT, 43 Imaging Studio, 15, 16, 20, 101 Installation, 15 Imaging Studio, 15 Interrupt Example, 101 interrupt timing, 58 interrupts, 56 J jumper types, 7 paged pool, 95 Parallel I/O, 53 PC2-CamLink components, 5 PC2-CamLink Device Driver, 15,
serial port, 10, 17, 18, 41, 118 server list, 12 Service Pack Update Check, 16 Set Board COM Port Tool, 17 shaft encoder, 25, 32, 33, 60, 118 shaft encoder signal, 33 shunt jumper, 71 Slow Strobe, 39 software trigger, 31 SPR, 23 static electricity, 7 static resources, 13 status LED, 72, 117, 118 strobe, 39 T technical support, 9, 113, 114 timer granularity, 25 transfer interrupts, 58 trigger polarity active high, 28 active low, 28 falling edge, 28 rising edge, 28 Trigger-To-Image Reliability, 55, 59, 60, 6