Page 1
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.32 *OC-PC2M-CUM00*...
Page 2
Use of the products described herein is understood to be at the user's risk. DALSA Corp. 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.
INTRODUCTION ........................1 ..................1 VERVIEW OF THE ANUAL About the Manual ..................2 Using the Manual ..................2 PART I: PC2-CAMLINK BOARD ..................3 PC2-C ..................... 5 Components & Part Numbers............... 5 EC & FCC Certificate of Conformity ............6 PC2-C –I...
Page 4
..................... 64 ECHNICAL EFERENCE Block Diagram .................... 64 Hardware Specifications................65 PC2-CamLink Connector and Jumper Locations........67 Computer Requirements for the PC2-CamLink .......... 75 ™ I ..................76 AMERA NTERFACE Camera Link™ Overview ................76 Data Port Summary ..................77 Camera Signal Summary ................
Hardware installation instructions as well as information concerning jumper configuration and connecting cameras and devices. Sapera LT Software Installation Illustrates how to install Sapera LT and the PC2-CamLink device driver as well as information concerning COM Port assignment and how to configure Sapera LT. IFC Software Installation Illustrates how to install IFC as well as information concerning upgrading onboard firmware, configuring the serial port, and starting Camera Configurator.
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).
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.
Before Installing Make certain that a free PCI expansion slot is available PC2-CamLink is compatible with either 5V or 3.3V PCI slots.. Confirm that you are using Windows XP, Windows Vista, or Windows 7. Other versions of Windows or non-Microsoft operating systems are not supported.
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.
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.
Install the new board driver. Run Setup.exe if installing manually from a downloaded driver file. • Note that you can not install a DALSA board driver without Sapera LT installed on the computer. Sapera and Board Driver Upgrades When both Sapera and the acquisition board driver are upgraded, follow the procedure described below.
Page 15
• 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.
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. If required, update the server list by clicking the Refresh button.
Page 17
Feel free to test the maximum host buffer limit possible in your host system—Grab Demo will not crash when the requested number of host frame buffers cannot be allocated. Part I: PC2-CamLink Board • 13 PC2-CamLink User's Manual...
Page 18
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. 14 • Part I: PC2-CamLink Board PC2-CamLink User's Manual...
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. Follow the installation instructions that correspond to the software supplied with your board. It is not possible to install both the Sapera LT and IFC PC2-CamLink driver on the same machine.
Page 20
The ‘Select Components’ window is displayed (see above screen shot). If you do not see PC2- CamLink 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 IFC “Set Board COM Port” application tool is used to assign the COM Port. Run the program from the Windows Start menu: Start•Programs IFC 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.
Page 22
• 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.
Page 23
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.
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...
A red icon represents an error during the analysis or update phase. Theory of Operation PC2-CamLink Flow Diagram The following diagram represents the sequence and components in which the data acquired from the camera is piloted and processed through the PC2-CamLink. Part I: PC2-CamLink Board • 21 PC2-CamLink User's Manual...
Page 26
Optionally converts to 16-bit padded YCrCb for display Engine Scatter/gather engine that grabs into host logical memory minimizing CPU usage Controller 32-bit/33 MHz high-speed PCI interface (5V and 3.3V) To PCI bus Figure 1: Flow Diagram 22 • Part I: PC2-CamLink Board PC2-CamLink User's Manual...
P_FEN_POLARITY = IFC_RISING_EDGE CL2_DVAL_ENABLE = {IFC_DISABLE, IFC_ENABLE} CL2_DVAL_INPUT_MODE = CL2_DVAL_INPUT_VALID_DATA Note: In IFC, the P_FEN_ENABLE parameter indicates if the camera is area scan (P_FEN_ENABLE = IFC_ENABLE) or linescan (P_FEN_ENABLE = IFC_DISABLE). Part I: PC2-CamLink Board • 23 PC2-CamLink User's Manual...
Page 29
1µs to 65 seconds. The polarity of the EXSYNC output is programmable. EXSYNC Pulse Generator Ext. Trigger EXSYNC Active Offset Time Figure 3: EXSYNC Pulse Generator Part I: PC2-CamLink Board • 25 PC2-CamLink User's Manual...
Page 30
The PRIN output signal is used by some cameras to control the integration time. PRIN is a programmable pulse generator: the delay from the trigger and the pulse duration are programmable from 1µs to 65seconds. The polarity of the PRIN output is programmable. 26 • Part I: PC2-CamLink Board PC2-CamLink User's Manual...
Page 31
Select one of the camera control methods (camera reset, camera trigger, or time integration). IFC Parameters for PRIN: CL2_PRI_ENABLE = {IFC_DISABLE, IFC_ENABLE} CL2_PRI_POLARITY = {IFC_ACTIVE_LOW, IFC_ACTIVE_HIGH} CL2_PRI_OFFSET_TIME: Pulse offset from trigger event CL2_PRI_ACTIVE_TIME: Size of pulse CL2_ COMBINE_EXSYNC_PRI = {IFC_DISABLE, IFC_ENABLE} Part I: PC2-CamLink Board • 27 PC2-CamLink User's Manual...
Page 32
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.
Page 33
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. This ‘galvanic isolation’ prevents ground loops and protects both circuits.
Page 34
The information, in the form of a voltage, is transmitted from one side to the other as a transistor being turned ON or OFF. The opto-coupled input is an inverting circuit; PC2-CamLink software compensates for this when specifying the polarity.
Page 35
User Timer The PC2-CamLink offers a user timer that can be used to fire a frame acquisition at a specified frame rate. Note that the user timer is asynchronous to all input pins. The user timer has a minimum frequency of 0.1Hz and a maximum frequency of 10kHz with a step size of 0.1Hz.
Page 36
External triggers allows line acquisition to be synchronized to external events. When acquiring a line in External Trigger mode, the acquisition will not start until the PC2-CamLink receives a trigger signal. Acquisition begins with the next valid line after the trigger.
Page 37
(-) input of the pair must be biased with a DC voltage to ensure reliable operation. Suggestions on how to generate the DC bias voltage are given below. The actual physical wiring is left as an additional detail when interfacing a shaft encoder to the PC2-CamLink and then to the imaging system itself.
Page 38
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. • The TTL shaft encoder ground, the bias voltage ground, and the PC2-CamLink computer system ground must be connected together. LVDS/RS422 (-) Input Bias Source Generation...
Page 39
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.
Page 40
The following diagrams better illustrate the various modes of operation for virtual frame trigger: TRIG LVAL Maximum virtual frame size VFVAL Figure 8: Edge or SW Trigger 36 • Part I: PC2-CamLink Board PC2-CamLink User's Manual...
Page 41
1 and stop pulse is associated with trigger input 2)} CORACQ_PRM_EXT_TRIGGER_DURATION: Debounce duration Sapera Parameters for Linescan triggers: CORACQ_PRM_EXT_LINE_TRIGGER_ENABLE = {TRUE, FALSE} CORACQ_PRM_EXT_LINE_TRIGGER_DETECTION = CORACQ_VAL_RISING_EDGE CORACQ_PRM_EXT_LINE_TRIGGER_LEVEL = CORACQ_VAL_LEVEL_LVDS CORACQ_PRM_EXT_LINE_TRIGGER_SOURCE = {0 for automatic (both phases of Part I: PC2-CamLink Board • 37 PC2-CamLink User's Manual...
Page 42
CL2_LINE_TRIG_CYCLE_TIME: Timer interval for line trigger in CL2_TIMER_LINE_TRIG IFC Parameters for Shaft encoder: CL2_LINE_TRIGGER_DROP_COUNT: Number of shaft pulse to skip between valid pulses CL2_LINE_TRIGGER_NUM_PHASE: Number of phase (1 or 2) of the shaft encoder CL2_LINE_TRIGGER_TRIG_DEBOUNCE: Debounce duration 38 • Part I: PC2-CamLink Board PC2-CamLink User's Manual...
Page 43
In CamExpert, these parameters are located under ‘Advanced Control Parameters’. Select ‘Strobe Method Setting’. Under IFC, PC2-CamLink offers two types of strobes: Fast Strobe and Slow Strobe. Fast Strobe occurs immediately after the trigger. See below for diagram. The first trigger falling edge immediately generates a strobe pulse.
Note: The serial port is configured by the application that opens a connection to it. This means that if you are accessing the serial port from HyperTerminal (or any similar program), the PC2-CamLink serial port uses the settings of HyperTerminal, not ones from the Sapera or IFC parameters.
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™...
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. Variable frame length for linescan (level control or start/stop pulses).
Multi-channel area scan and linescan cameras output image data in a variety of pixel sequences. An important PC2-CamLink feature is its ability to transfer images to the host in the normal raster scan format for processing or display. Re-sequencing is performed in realtime without host processor intervention.
Page 49
Data is presented simultaneously on both channels. The figure below (two line segments) shows where the data appears in a line from the original image. PC2-CamLink can support this format for pixel depths from 8-bits up to 12-bits. The IFC Software Library calls this “Two Channel Separate Tap Left to Right”...
Page 50
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.
Figure 14: Window Generator Window Generator operates after the channels have been recombined by the data port sequencer; therefore, image width and height applies to this recombined image, not to individual channels. Part I: PC2-CamLink Board • 47 PC2-CamLink User's Manual...
8-bits, pixel data will be first truncated to 8-bits. Sapera Support for YCrCb Engine: CORACQ_PRM_OUTPUT_FORMAT = CORACQ_VAL_OUTPUT_FORMAT_YUY2 In CamExpert, this parameters is located under the ‘Image Buffer and AOI Parameters’ tab. Select ‘Image Buffer Format’. 48 • Part I: PC2-CamLink Board PC2-CamLink User's Manual...
These latter boards provide enough onboard memory to compensate for PCI latencies. Because the PC2-CamLink transfer engine is using a 4KB FIFO for transfers, when the PC2-CamLink is acquiring and transferring an image simultaneously, the FIFO gets filled at the maximum speed during one line period.
Page 54
We see that the peak line bandwidth reaches 80MB per second. With this bandwidth, the system has to maintain a transfer rate of 80MB per second to avoid loosing any information. PC2-CamLink can sustain this rate with a good PCI chipset.
Page 55
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 8- bits/pixel. Use the following method to enable this feature:...
Blinking or Static Red Error detected by PC2-CamLink driver Note: A PC2-CamLink application must be running to select the external trigger source for the TRIG LED to operate. For instance, if the current camera config file selects OPTO1 as the current external trigger source, only pulses detected on the DB-15’s OPTO1 pin will light the TRIG LED.
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...
Page 58
Sapera application using the SapGio class. IFC Support for Parallel I/O: Access to Parallel I/O is achieved using members of the CICapMod Class: CICapMod::InportInterruptPolarity CICapMod::InportMode CICapMod::InportVal CICapMod::OutportStrobeVal CICapMod::OutportVal 54 • Part I: PC2-CamLink Board PC2-CamLink User's Manual...
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).
Page 60
In IFC, this is represented by CL2_INTR_SOT . In Sapera, this is represented by CORACQ_VAL_EVENT_TYPE_EXTERNAL_TRIGGER. PC2-CamLink is equipped with a debounce circuit that allows the user to define the minimum acceptable pulse width programmatically.
Page 61
For linescan cameras, the End of N Lines interrupt is generated when the last pixel from the Nth line has been acquired and transferred to onboard FIFO memory. This is represented by CL2_INTR_END_OF_NLINES in IFC. In Sapera, this is represented by CORXFER_VAL_EVENT_TYPE_END_OF_NLINES. Part I: PC2-CamLink Board • 57 PC2-CamLink User's Manual...
Page 62
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...
8-bits to reduce the bandwidth. Error on Pixel Clock The Error on Pixel Clock condition is signaled when a pixel clock is not detected by PC2-CamLink. A typical cause of this problem is when no camera has been connected to the MDR-26 Camera Link™...
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.
Page 65
The rest of trigger-to-image reliability is handled internally by the ACU to correctly synchronize acquisition with camera control and image transfer. This is done automatically and does not require user application involvement. The following table summarizes trigger-to-image reliability features on the PC2-CamLink: Features Descriptions...
Page 66
Monitors the number of Data Integrity pixels being acquired Line length integrity from the camera. Monitors the number of lines per frame acquired Frame length integrity from the camera. 62 • Part I: PC2-CamLink Board PC2-CamLink User's Manual...
Page 67
Data Overrun when data becomes corrupted during the acquisition and transfer process (An error event is generated and the frame is invalidated. The next frame of data will be acquired properly). Part I: PC2-CamLink Board • 63 PC2-CamLink User's Manual...
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.3 V slots (32-bit, 33 MHz) Acquisition • 1 Base Camera • Area scan and linescan •...
Page 70
• Option to plug floppy power cable for more current (up to 1.5A) Temperature ○ ○ ○ ○ C (32 F) to 55 C (131 Relative Humidity: 5% up to 95% (non-condensing) 66 • Part I: PC2-CamLink Board PC2-CamLink User's Manual...
PCI Bus Figure 19: Component View – revison A1 Important: Revision A1 is different only in the orientation of J8. Pin one is on the upper right side of the pin connector. Part I: PC2-CamLink Board • 67 PC2-CamLink User's Manual...
Page 72
Pos. Camera Control 2 CC3- Output Neg. Camera Control 3 CC3+ Output Pos. Camera Control 3 CC4- Output Neg. Camera Control 4 CC4+ Output Pos. Camera Control 4 1, 13, 14, 26 Ground 68 • Part I: PC2-CamLink Board PC2-CamLink User's Manual...
Page 73
Negative line of the shaft encoder channel B LVDS signal. Strobe Output Strobe light output. 12V/5V Jumper selectable camera power (1.5A maximum). The power is provided by a floppy disk power connector. Ground Part I: PC2-CamLink Board • 69 PC2-CamLink User's Manual...
Page 74
Connector Pin Digital ground Digital ground Digital ground Digital ground Digital Input pin 1 Digital Input pin 3 Digital Input pin 5 Digital Input pin 7 OUT0 Digital Output pin 0 70 • Part I: PC2-CamLink Board PC2-CamLink User's Manual...
Page 75
Safe Mode: Shunt jumper is removed if any problems occurred while updating the PC2- CamLink firmware. With the jumper off, reboot the computer and update the firmware again. When the update is complete, install the jumper and reboot the computer once again. Part I: PC2-CamLink Board • 71 PC2-CamLink User's Manual...
Page 76
5V, or 12V for the camera power supply. The voltage supply is dependent on jumper configuration. See diagram below for J13 jumper configuration selection. top board edge top board edge top board edge connect connect voltage Figure 22: Power to Camera Voltage Selector 72 • Part I: PC2-CamLink Board PC2-CamLink User's Manual...
Page 77
No trigger detected Blinking Green Triggers at a slow rate detected (one blink per trigger) Static Green Triggers at a fast rate detected Blinking or Static Red Error detected by PC2-CamLink driver Part I: PC2-CamLink Board • 73 PC2-CamLink User's Manual...
Page 78
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. LED 2 LED 3...
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.67 cm W) standard PCI half-slot card...
3M™ is a trademark of the 3M Company. • Channel Link™ is a trademark of National Semiconductor. • Flatlink™ is a trademark of Texas Instruments. • Panel Link™ is a trademark of Silicon Image. 76 • Part I: PC2-CamLink Board PC2-CamLink User's Manual...
A spare has been defined for future use. All four enable signals must be provided by the camera on each Channel Link. All unused data bits must be tied to a known value by the camera. Part I: PC2-CamLink Board • 77 PC2-CamLink User's Manual...
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). (CC1) EXSYNC (CC2) PRIN (CC3) Low voltage...
PC2-CamLink_1 PC2-CamLink Acquisition Mono #1 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. CAMERA PARAMETERS Values CORACQ_PRM_CAM_LINE_TRIGGER_FREQ_MAX 16777215 Hz...
Page 88
= 0 pixel max = 16777215 pixels step = 1 pixel CORACQ_PRM_HFRONT_PORCH Not available CORACQ_PRM_HSYNC min = 8 pixels max = 4294967295 pixels step = 1 pixel CORACQ_PRM_HSYNC_POLARITY CORACQ_VAL_ACTIVE_LOW (0x1) CORACQ_PRM_INTERFACE CORACQ_VAL_INTERFACE_DIGITAL (0x2) 84 • Part II: Sapera LT PC2-CamLink User's Manual...
Page 89
20000000 Hz CORACQ_PRM_PIXEL_CLK_DETECTION CORACQ_VAL_RISING_EDGE (0x4) CORACQ_PRM_PIXEL_CLK_EXT min = 20000000 Hz max = 66000000 Hz step = 1 Hz CORACQ_PRM_PIXEL_CLK_INT min = 20000000 Hz max = 66000000 Hz step = 1 Hz Part II: Sapera LT • 85 PC2-CamLink User's Manual...
Page 90
(0x8) CORACQ_VAL_TIME_INTEGRATE_METHOD_5 (0x10) CORACQ_VAL_TIME_INTEGRATE_METHOD_6 (0x20) CORACQ_PRM_TIME_INTEGRATE_PULSE0_DELAY min = 0 µs max = 65535000 µs step = 1 µs CORACQ_PRM_TIME_INTEGRATE_PULSE0_DURATION min = 1 µs max = 65535000 µs step = 1 µs 86 • Part II: Sapera LT PC2-CamLink User's Manual...
Page 91
Default = 0 µV CORACQ_PRM_VIDEO_LEVEL_MIN Default = 0 µV CORACQ_PRM_VIDEO_STD CORACQ_VAL_VIDEO_STD_NON_STD (0x1) min = 0 line CORACQ_PRM_VSYNC max = 4294967295 lines step = 1 line CORACQ_PRM_VSYNC_POLARITY CORACQ_VAL_ACTIVE_LOW (0x1) CORACQ_PRM_VSYNC_TIMEOUT Not available CORACQ_PRM_WEN_POLARITY Not available Part II: Sapera LT • 87 PC2-CamLink User's Manual...
Page 92
= 16384 pixels for 2 taps, 8192 for 1 tap step = 4 pixels CORACQ_PRM_DC_REST_MODE CORACQ_VAL_DC_REST_MODE_AUTO (0x1) CORACQ_PRM_DC_REST_START Not available CORACQ_PRM_DC_REST_WIDTH Not available CORACQ_PRM_DECIMATE_COUNT Default = 0 CORACQ_PRM_DECIMATE_METHOD CORACQ_VAL_DECIMATE_DISABLE (0x1) 88 • Part II: Sapera LT PC2-CamLink User's Manual...
Page 93
0: default (always trigger input 1) CORACQ_PRM_FIX_FILTER_ENABLE Not available Not available CORACQ_PRM_FIX_FILTER_SELECTOR CORACQ_PRM_FLIP Not available CORACQ_PRM_FRAME_INTEGRATE_COUNT Not available CORACQ_PRM_FRAME_INTEGRATE_ENABLE Not available CORACQ_PRM_FRAME_LENGTH CORACQ_VAL_FRAME_LENGTH_FIX (0x1) CORACQ_VAL_FRAME_LENGTH_VARIABLE (0x2) CORACQ_PRM_HSYNC_REF CORACQ_VAL_SYNC_REF_END (0x2) CORACQ_PRM_HUE Not available Part II: Sapera LT • 89 PC2-CamLink User's Manual...
Page 94
CORACQ_PRM_OUTPUT_FORMAT CORACQ_VAL_OUTPUT_FORMAT_MONO8 CORACQ_VAL_OUTPUT_FORMAT_MONO16 CORACQ_VAL_OUTPUT_FORMAT_YUY2 CORACQ_PRM_PIXEL_MASK Not available CORACQ_PRM_PLANAR_INPUT_SOURCES Not available Not available CORACQ_PRM_PROG_FILTER_ENABLE CORACQ_PRM_PROG_FILTER_FREQ Not available CORACQ_PRM_SATURATION Not available CORACQ_PRM_SCALE_HORZ Not available CORACQ_PRM_SCALE_HORZ_METHOD Not available Not available CORACQ_PRM_SCALE_VERT CORACQ_PRM_SCALE_VERT_METHOD Not available 90 • Part II: Sapera LT PC2-CamLink User's Manual...
Page 95
= 65535000 µs step = 1 µs CORACQ_PRM_TIME_INTEGRATE_DURATION min = 1 µs max = 65535000 µs step = 1 µs TRUE CORACQ_PRM_TIME_INTEGRATE_ENABLE FALSE CORACQ_PRM_VIC_NAME Default Area Scan CORACQ_PRM_VSYNC_REF CORACQ_VAL_SYNC_REF_END (0x2) CORACQ_PRM_VSYNC_TIMEOUT Not available Part II: Sapera LT • 91 PC2-CamLink User's Manual...
Grab Demo was built using Visual C++ 6.0 by means of the MFC library and is based on the Sapera standard API and Sapera C++ classes. See the Sapera User’s and Reference manuals for further information. Part II: Sapera LT • 93 PC2-CamLink User's Manual...
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.
Page 99
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. Part II: Sapera LT • 95 PC2-CamLink User's Manual...
Page 100
Area Scan – Camera Control: Provides trigger, reset, and integrate controls when supported by the current hardware and driver. Also offers master HS and VS output. • Linescan – Camera Control: This dialog is not applicable to the PC2-CamLink. • Composite - Conditioning: Offers Brightness and Contrast controls.
• Format: Shows frame buffer pixel formats as supported by the hardware and camera files used. Using Sapera CamExpert with PC2-CamLink CamExpert is the camera interfacing tool for frame grabber boards supported by the Sapera library. CamExpert generates the Sapera camera configuration file (yourcamera.ccf) based on timing and control parameters entered.
Page 102
Click on the button to open the help file for more descriptive information on CamExpert. The central section of CamExpert provides access to the various Sapera parameters of PC2-CamLink. It is divided into five tabs. Basic Timing Parameters Basic parameters are used to define the timing of the camera.
Page 103
DALSA continually updates their camera application library that contains application information and prepared camera files. Along with the camera search utility on the DALSA web site, a number of camera files are ready to download from the DALSA FTP site [ftp://ftp.dalsa.com/public/Sapera/CamFile_Updates].
Page 104
Configuration of line/frame trigger parameters such as source (internal via the frame grabber /external via some outside event), electrical format (TTL, LVDS, OPTO- coupled), and signal active edge or level characterization. 100 • Part II: Sapera LT PC2-CamLink User's Manual...
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.
Page 108
Sequential Snap Snaps a small number of images into host memory and replays them. Demonstrates how Description to use LUT, Parallel I/O and other PC2-CamLink features. -Uses CL2TEST.TXT for configuration Features -Snaps a short sequence of frames to host memory and replays this sequence...
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.
Page 110
LNK_PRI_ACTIVE_TIME Range 0.13968 to 1.87481e+007 ms, step CL2_PRI_ACTIVE_TIME Float range parameter, size 0.069842 microseconds min:1us, max:65535000us, step size:1us LNK_PRI_END_LOCATION LNK_PRI_END_AT_LEN_BEGIN No equivalent on PC2-CamLink LNK_PRI_END_AT_LEN_END LNK_PRI_END_IS_START_DEPEND CAMERA CONTROL 106 • Part III: IFC PC2-CamLink User's Manual...
Page 111
Range: 1 to 32 in steps of 1 (bit) P_PIXEL_SIZE (to host Integer range parameter, min:8, max:16, step buffer) size:2 No equivalent on PC-CamLink P_CAM_PIXEL_SIZE (from Integer range parameter, min:0, max16, step camera) size:2 P_PIXEL_COLOR IFC_MONO P_PIXEL_COLOR IFC_MONO IFC_RGB Part III: IFC • 107 PC2-CamLink User's Manual...
Page 112
Integer range parameter, min 1, max 8188, step size: 1 pixel Trigger Parameters PC-CamLink Values PC2-CamLink Values Param Param MAIN GROUP P_TRIGGER_STATE IFC_LEVEL_LOW No equivalent on PC2-CamLink IFC_LEVEL_HIGH P_GEN_SW_TRIGGER P_GEN_SW_TRIGGER Integer range parameter, min:0, max:1, step size:1 LNK_TRIG_DIVIDE_CONTROL LNK_DISABLE_TRIG_DIVIDE CL2_LINE_TRIG_DROP_COUNT LNK_DIVIDE_TRIG_0 LNK_DIVIDE_TRIG_1 FRAME TRIGGER...
Page 113
Integer range parameter, min:0, max:255, step size:1 trigger No equivalent on PC-CamLink CL2_LINE_TRIG_NUM_PHASES Integer range parameter: min:1, max:2, step size:1 No equivalent on PC-CamLink CL2_LINE_TRIG_DEBOUNCE Integer range parameter: min:0, max:255, step size:1μs Part III: IFC • 109 PC2-CamLink User's Manual...
Note that information provided within this section will be updated with the latest information DALSA can provide for each manual version release. If you require help and need to contact DALSA Technical Support, make detailed notes on your installation and/or test results for our technical support department to review.
Page 120
• 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. Here is a typical PCI configuration for a PC2-CamLink: 116 • Part IV: Troubleshooting and Support...
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. PC2- CamLink will only work correctly with the last API installed on the machine. This ensures the PC2- CamLink driver matches the version of the API you are using.
Page 122
ACU. Try a different PCI slot. • Make certain that the PC2-CamLink is visible on the PCI bus. To do this, you can use the PCI diagnostic tools described above. Make certain that the PC2-CamLink is displayed within the PCI device list.
Page 123
‘Administrator’ privileges when you perform installation. • If the log does not show any indication that the PC2-CamLink driver was started, you may have a plug and play problem. If you have Windows XP, go to ControlPanel•System•Hardware•Device Manager. Look for PC2-CamLink under ‘Imaging Devices’.
Page 124
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.
(978) 670-2000 Fax: (978) 670-2010 Asia Sales Office DALSA Asia Pacific Ikebukuro East 13F 3-4-3 Higashi Ikebukuro, Toshima-ku, Tokyo Japan Tel: +81 3 5960 6353 Fax: +81 3 5960 6354 Part IV: Troubleshooting and Support • 121 PC2-CamLink User's Manual...
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.com/mv/download 122 • Part IV: Troubleshooting and Support PC2-CamLink User's Manual...
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 • 123 PC2-CamLink User's Manual...
Page 128
The number of pixels per video line by the number of active video lines describes the acquisition image resolution. The binary size of each pixel 124 • Glossary of Terms PC2-CamLink User's Manual...
Page 129
A mechanism that initiates an action when an event occurs such as synchronizing an image acquisition to an external event. A trigger generally causes a program routine to be executed such as the resetting of camera exposure and/or the firing of a strobe light. Glossary of Terms • 125 PC2-CamLink User's Manual...
Page 130
126 • Glossary of Terms PC2-CamLink User's Manual...
Need help?
Do you have a question about the PC2-CamLink and is the answer not in the manual?
Questions and answers