Home

PC2-Vision User's Manual

image

Contents

1. HD Analog Video 1 gg Acquired video Acquired video VD Cam2 Z Analog Video 2 SE Ms X Acquired video Start of grab rae switch switch Figure 36 Fast Camera Switching for Free Running Genlocked Cameras Genlocking can be used for free running or asynchronous reset mode cameras The acquisition rate for free running cameras is determined by the vertical sync pulse rate For asynchronous reset mode this rate depends on the exposure time and on the time it takes to transfer analog video signals from the camera CCD Example 1 Free running genlocked cameras e Six free running RS genlocked cameras 30fps e Cameras connected as two groups of three cameras J1 controls the first group J2 controls the second In this scenario the PC2 Vision is able to acquire simultaneously from the first group of three cameras and switch to next group of three during vertical blanking Total frame rate therefore is 90fps three cameras x 30fps or 15fps per camera Example 2 Edge pre select e Three 30fps cameras configured in edge pre select e Integration period of 1 100 seconds e Each camera receives frame reset and HD from the PC2 Vision Acquisition time is the sum of the exposure 1 100 seconds and the analog video transfer 1 30 seconds This gives about 43 3ms For most environments using asynchronous reset an external trigger
2. 16 Digital GND 5 Coax 1 Shield 24 VS2 7 Coax 2 Wire 29 Digital GND 8 Coax 2 Shield 5 Video 2 4 Coax 3 Wire 23 Analog GND 3 Coax 3 Shield 30 12V 2 Wire 31 12V GND 1 Wire 7 V init Camera Trig 2 6 Coax 4 Wire 29 Digital GND 5 Coax 4 Shield Hirose Cable 3 Pin MDR 36 Pin Male Frame Pin Hirose 12 Pin Female Grabber 9 HS3 9 Coax 1 Wire 12 Digital GND 5 Coax 1 Shield 27 VS3 7 Coax 2 Wire 12 Digital GND 8 Coax 2 Shield 8 Video 3 4 Coax 3 Wire 26 Analog GND 3 Coax 3 Shield 32 12V 2 Wire 33 12V GND 1 Wire 10 V init Camera Trig 3 6 Coax 4 Wire 16 Digital GND 5 Coax 4 Shield Separate Coax Cables Pin MDR 36 Pin Male Frame Grabber BNC Male Connector Trigger In 18 Ext Trig1l Coax Wire 17 Ext Trig1 Coax Shield Pin MDR 36 Pin Male Frame Grabber BNC Male Connector Strobe 11 Strobe1 Coax Wire 12 Digital GND Coax Shield Cable 12 JAI CV M Cameras Pixel Clock and WEN pulse PC2 Vision User s Manual Theory of Operation e 99 Part Number OC PC2C V3H04 72 Coax cable Shield 12 pin Hirose Female with Label Camera 1 PCLK Twisted pair for serial port Use sleeving to tie this twisted pair to Hirose cable 6 pin Hirose Female 12 pin Hirose Female no PCLK Label Camera 2 6 pin Hirose Female 12 pin Hirose Female no MDR 36 Male Label Camera 3 6 pin Hirose Fema
3. 25 23 Sa 3 1 26 24 4 2 Header Pin Signal name Description Connector Pin 1 GND Digital ground 1 3 GND Digital ground 2 5 GND Digital ground 3 7 GND Digital ground 4 9 INI Digital Input pin 1 5 11 IN3 Digital Input pin 3 6 13 INS Digital Input pin 5 7 15 IN7 Digital Input pin 7 8 17 OUTO Digital Output pin 0 9 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 STROBE 0 Strobe Output 14 STROBE 1 Strobe Input 15 I O INT Interrupt Input 16 INO Digital Input pin 0 17 10 IN2 Digital Input pin 2 18 12 INA Digital Input pin 4 19 14 IN6 Digital Input pin 6 20 16 5V 5V power output 21 18 OUTI Digital Output pin 1 22 20 OUT3 Digital Output pin 3 23 22 OUTS Digital Output pin 5 24 24 OUT7 Digital Output pin 7 25 26 n c no connection n a PC2 Vision User s Manual Theory of Operation e 77 J J7 J8 J14 Reserved Reserved J5 Recovery Jumper Recovery jumper for flash update J6 Power Connector J6 must be connected to a computer floppy disk power cable to provide 12V to the camera through the JI and J2 camera connectors To remove the floppy disk power cable from the J6 connector carefully lift the cable connector head from the J6 connector to unlatch the locking mechanism underneath the connector then carefully pull cable from the board connector floppy disk cable I Je a lt gt T ko PC2 Vision locking
4. Camera PCI Controller End of PCI transfer Host Memory Figure 34 Acquisition interrupts Under IFC an interrupt event object is created using the fxCreateInterrupt global I F C scope function This returns a pointer to a CInterrupt object that is used to manage interrupts Refer to the IFC SDKTM Software Manual for more information using CInterrupt objects 62 e Theory of Operation PC2 Vision User s Manual Interrupt related Definitions Interrupt An interrupt is an electrical signal sent by the PC2 Vision board to the computer CPU to indicate an event on the frame grabber The PC2 Vision 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 non signaled It is used for thread synchronization In this context an event is associated with an interrupt so that a WIN32 thread can be unblocked when the event it is waiting for gets signaled For example when an interrupt is received the corresponding event is signaled and the thread waiting for this event resumes execution Interrupt event Under IFC an interrupt object is an IFC virtualization of an event associated to object an interrupt Start of Trigger The Start of Trigger interrupt is generated when the external trigger pin is asserted usua
5. Sampling Clock 6 vs 6 XTAL HS mode Composite g vs ACU Video 7 Sync Controller Composite 2 HS Sync r A Extractor 6 WEN on i 2 Pixel Clock 6 Pulse Pulse EFASE ee Generator Generator 2 2 4 lt L External Trigger Strobe Figure 6 Synchronization Block Diagram Sync on Composite Video Vertical Sync VS and horizontal sync HS signals are extracted from the composite video output signal by the Sync Extractor The PLL receives the stripped horizontal sync and outputs a pixel clock which is line locked to the incoming video and is used to digitize video and generate frame timing The PLL is programmed based on the timing requirements of the incoming video The ADC uses the PLL generated pixel clock to digitize the video input PC2 Vision User s Manual Theory of Operation e 27 Video Analog Composite Pixels Valid Pixels AD Hm LUT Cropper _ Pixel Clock Sync Extractor Figure 7 Composite Video Synchronization on composite video is commonly used for standard RS 170 and CCIR cameras as well as for many non standard cameras Video input pins are 750 terminated Sapera Sapera parameters for Sync on Composite Video CORACQ PRM SYNC CORACQ VAL SYNC COMP VIDEO CORACQ PRM HSYNC Size of ho
6. HS Figure 15 Variable Scan Mode Sapera Sapera parameters for Variable Scan Mode CORACQ PRM SYNC CORACQ VAL SYNC SEP SYNC CORACQ PRM PIXEL CLK SRC CORACQ VAL PIXEL CLK SRC EXT CORACQ PRM PIXEL CLK EXT External pixel clock frequency in Hz CORACQ PRM HSYNC Size of horizontal sync pulse CORACQ PRM HSYNC POLARITY CORACQ VAL ACTIVE LOW CORACQ VAL ACTIVE HIGH CORACQ PRM HBACK PORCH Size of horizontal back porch CORACQ PRM HACTIVE Number of valid pixels per line CORACQ PRM HFRONT PORCH Size of horizontal front porch CORACQ PRM VSYNC Size of vertical sync pulse CORACQ PRM VSYNC POLARITY CORACQ VAL ACTIVE LOW CORACQ VAL ACTIVE HIGH 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 In CamExpert these parameters are located under the Basic Timing Parameters tab IFC IFC parameters for Variable Scan Mode P2V SYNC SOURCE P2V SYNC SEPARATE SYNC P PIXEL CLK SIGNAL TYPE P2V PIXEL CLOCK EXTERNAL P HSYNC FREQ Horizontal sync frequency P HSYNC WIDTH Size of Horizontal sync pulse P HSYNC POLARITY IFC ACTIVE LOW IFC ACTIVE HIGH P2V HORZ FRONT PORCH Size of horizontal front porch P2V HORZ BACK PORCH Size of horizontal back porch 38 e Theory of Operation PC2 Vision User s Manual P VSYNC FREQ Vertical sync frequency P VSYNC
7. Horizontal Front Porch region Post Equalizing Pulse Interval Invalid Video Lines Available Valid Video region Cropped grabbed image Figure 54 Cropper PC2 Vision User s Manual IFC e 139 Ref Hardware Description Ref Hardware Description signal signal A M a a ia sHLeadEdge p Horizontal Sync Leading Edge First Line of Pre Equalizing Pulse Interval A Same as A 1 line AG sVLeadEdge p Vertical Sync Leading Edge A line B 1 a A H sHTrailEdge p Horizontal Sync Trailing Edge sVTrailEdge Vertical Sync Trailing Edge aka Start of Horizontal Back Porch line C mE MK l aw Horizontal Start of Valid Video SSOFi p Start of Field occur on first pixel of a grabbed field D l D K sSOL_p First grabbed pixel of line SOL sSOF_p Start of Frame occur on first pixel Start of Line of a grabbed frame aka Horizontal Blank Stop E DK o sEOL p Last grabbed pixel of line EOL End sSOF p Start of Transfer only occur in first of Line rame on first pixel of a grabbed stream EM Horizontal Blank Start EL sEOFi p End Of Field occur on last pixel of a grabbed field F E EL al Start of Horizontal Front Porch sEOF p End Of Frame occur on last pixel of a grabbed frame G NL 5 E L First line of Vertical Sync sEOF p End Of Transfer only occur in last rame on last pixel of a grabbed stream g Same as G 1 fie
8. MDR 36 Pin J1 Channel 1 Dual HT pe Channel Channel 2 Cam 1 not connected Dual Channel 1 i Channel Channel 2 Cam 2 not connected MDR 36 Pin J2 Figure 9 Dual Channel Cameras for IFC 30 e Theory of Operation PC2 Vision User s Manual IFC IFC parameters for Sync on R G or B P2V SYNC SOURCE P2V SYNC RED P2V SYNC GREEN P2V SYNC BLUE P HSYNC FREQ Horizontal sync frequency P HSYNC WIDTH Size of Horizontal sync pulse P HSYNC POLARITY IFC ACTIVE LOW IFC ACTIVE HIGH P2V HORZ FRONT PORCH Size of horizontal front porch P2V HORZ BACK PORCH Size of horizontal back porch P VSYNC FREQ Vertical sync frequency P VSYNC POLARITY IFC ACTIVE LOW IFC ACTIVE HIGH P NUM EQ PULSES FPORCH Size of vertical front porch P NUM EQ PULSES BPORCH Size of vertical back porch P PIXEL COLOR IFC RGB P2V MULTITAP MODE P2V SINGLE TAP P2V 2TAP ILACE FIXED Sync on Composite Sync The VS and HS signals are extracted from the composite sync camera output signal and fed into the Sync Extractor to recover horizontal and vertical timing This information is then used by the PLL to generate the Pixel Clock used by ADC PC2 Vision supports an analog composite sync signal with a maximal voltage range from OV to SV Pixels Valid Pixels AD LUT Cropper li Analog Composite
9. No equivalent on PCVision P STROBE DURATION Range 10 us to 65535000 us step size 1 us Always enabled on PCVision P2V STROBE ALIGN ON HS IFC DISABLE IFC ENABLE PC2 Vision User s Manual IFC e 159 160 e IFC PC2 Vision User s Manual Troubleshooting Overview This section provides suggestions for resolving installation or usage problems that may be encountered with the PC2 Vision 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 released 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 to review See Technical Support on page 170 for contact information Tools Windows Event Viewer Windows Event Viewer Computer Management System Tools Event Viewer lists various events that have taken place during the OS boot sequence If a driver generates an error it will normally log an entry in the event list The Computer Management utility is available by right clicking My Computer in the Explorer window or desktop icon and selecting Manage in the pop up menu DALSA Device Manager Program The DALSA Device Manager program provides a convenient method of collecting information about the installed PC2 Vision System information such
10. PC2 Vision User s Manual IFC e 155 P VSYNC FREQ Range 10 0 to 100 0Hz step size of 0 00001Hz P VSYNC FREQ Range 2 0 to 1 000 0Hz in steps of 0 00001Hz P VSYNC WIDTH Range 1 0 to 20 0ms step size of 0 5ms P VSYNC WIDTH Range 1 to 20 lines in steps of 1 line P VSYNC POLARITY IFC ACTIVE HIGH IFC ACTIVE LOW P VSYNC POLARITY FC ACTIVE LOW IFC ACTIVE HIGH P NUM EQ PULSES FPORCH Range 0 to 10 step size of 1 P_NUM EQ PULSES FPORCH Range 0 to 100 lines in steps of 1 line P_NUM EQ PULSES BPORCH Range 0 to 10 step size of 1 P_NUM EQ PULSES BPORCH Range 0 to 100 lines in steps of 1 line P_EQ PULSE WIDTH Range 0 1 to 50 0 us in 0 00001 ps steps No equivalent on PC2 Vision P SERR PULSE WIDTH Range 0 1 to 50 0 us in 0 00001 us steps No equivalent on PC2 Vision No equivalent on PCVision P2V VS PULSE OFFSET Range 0 to 65535000 us step size of 1 us No equivalent on PCVision P2V VS PULSE DURATION Range 1 to 65535000 us step size of 1 us Always enabled on PCVision P2V VSYNC ALIGN ON HS IFC DISABLE IFC ENABLE No equivalent on PCVision IFC DISABLE 2V ADD VSYNC TO FRAME RESET IFC ENABLE AMV PTG VSYNC OUT EN IFC DISABLE P2V VSYNC OUT ENABLE IFC DISABLE IFC ENABLE IFC ENABLE Always enabled on PCVision P2V VSYNC OUT ALL CONN IFC DISABLE IFC ENABLE No equivalent on PCVision P WEN ENABLE IFC
11. Line Amplitude V horizontal sync voltage typically 300mV Vs Signal Voltage max typically 700mv or 647mV from pedestal reference V Video signal total amplitude 1V peak to peak V Signal voltage min pedestal voltage typically 53mV video black amplitude Figure 55 Horizontal Timing PC2 Vision has the corresponding horizontal timing parameters PC2 Vision User s Manual IFC e 143 Horizontal Sync Frequency Line frequency of the camera formula l It is given by the following P HSYNC FREQ ID HS Where Hs Hep Horizontal Horizontal Active low Sync Polarity Horizontal sync is the most common Horizontal above Horizontal Back Porch The horizontal back porch indicates the start of the frame to digitize is too low you lose some of the first pixels in the image from your camera datasheet edge of the image Vertical Timing Sync Width horizontal sync pulse width in pixels Front Porch Horizontal front porch duration in pixels Horizontal back porch duration in pixels a black bar appears on the left of the image Ha and Hyp are expressed in seconds Hs in diagram above pulse may be active high or active low Hrp in diagram Hsp in diagram above If its value If the value is too high If this information is not available you may need to tweak a bit until you are right on the The figure below reviews the basic vertical timings of a typica
12. ATS DALSA e 7075 Place Robert Joncas Suite 142 e Montreal Quebec HAM 2Z2 e Canada http www dalsa com PC2 Vision User s Manual Part number OC PC2M VUM00 Edition 2 52 NOTICE 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 assumes no liability whatsoever for the use of the products detailed in this document and reserves the right to make changes in specifications at any time and without notice Microsoft is a registered trademark Windows Windows XP Windows Vista and Windows 7 are trademarks of Microsoft Corporation All other trademarks or intellectual property mentioned herein belong to their respective owners Printed on November 5 2010 Document Number OC PC2M VUM00 Printed in Canada Contents INTRODUCTION eere va E See RENE NEN desu ye HENKENEN NENNEN HNNEN ERE YEN tei EEE 1 OVERVIEW OF THE MANUAL isi tei ete eri re nth eet eH AA IRENE RARA in a eain T ABOUT TAE MANUAL S ise us NURIA RA IRE MR eg bea tuli hoa estes iu ee 2 POE CS QR ER ROERO OR INIT 2 PC2 VISION BOARD orrererrerrereree rie renie riore neo nierenie nie reneo nie ienionierezio nin ie
13. Control Panel Add or Remove Programs Select the DALSA PC2 Vision 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 Logon the computer as an administrator again Install the new board driver Run Setup exe if installing manually from a downloaded driver file If the new driver is on a Sapera CD ROM follow the installation procedure described in the section Installing PC2 Vision Hardware and Driver on page 13 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 e 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 Vision Device Driver click Remove and then in the InstallShield dialog click on Remove to uninstall the board driver From the Windows start menu select Start Control Panel Add or Remove Programs Select the DALSA Sapera LT program click Remove and then in the InstallShield dialog click on Remove to uninstall Sapera If prompted to do so reboot the computer and logon the computer as an administrator again Install the new versions of Sapera and the board driver as if
14. Filter Selection Figure 25 Anti Aliasing Filter PC2 Vision User s Manual Sapera parameters for Anti aliasing Filter CORACQ PRM FIX FILTER ENABLE TRUE FALSE Sa pe ra CORACQ PRM FIX FILTER SELECTOR 0 for 6 MHz 1 for 12 MHz Note Bypass filter is selected when CORACQ PRM FIX FILTER ENABLE FALSE In CamExpert these parameters are located under the Advanced Control Parameters tab under the Analog Signal Conditioning entry IFC parameters for Anti aliasing Filter l F C P2V LOW PASS FILTER P2V LPF 6 5 MHZ P2V LPF 12 MHZ P2V LPF BYPASS Contrast and Brightness Adjustment Contrast and Brightness are controlled through the input gain of the ADC the PC2 Vision was calibrated during the manufacturing process to support this feature Brightness controls the offset of the digitization line while contrast controls its gain the slope of the line See below for diagram The vertical axis represents the voltage level of the incoming video signal black level is 53mV white level is 714mV in NTSC while the horizontal axis shows the resulting pixel value For instance using default brightness and contrast an incoming video signal of 350mV gets digitized into a value of 115 By increasing the brightness the digitization line gets shifted down which creates a brighter image same input voltage leads to a higher pixel value Decreasing brightness leads to a darker image Note
15. It performs immediate verification on timing or control parameters without the need to run a separate acquisition program An overview on how to use the Camera Configurator is available via the IFC Configurator help file installed within the IFC folder accessed from the Start Menu This section provides information concerning interfacing between analog cameras and the PC2 Vision Note that this applies to monochrome and RGB cameras Configuration Files Distributed with IFC The IFC distribution CD ROM includes a selection of supported camera configuration txt files Using the IFC Camera Configurator program your camera files can be reviewed or modified and corresponding txt files quickly generated IFC Camera Application Library DALSA created and frequently updates a camera application library composed of application information and prepared camera configuration files Refer to the Camera Search utility on the DALSA web site http www dalsa com mv downloads for application notes and camera configuration files that you can download 136 e IFC PC2 Vision User s Manual A Note about Cameras Many cameras have jumpers or a serial port to control their internal configuration Make certain that they match your camera configuration file Interfacing Check List Before undertaking the task of interfacing a camera from scratch using the Camera Configurator e Confirm that DALSA has not already published an a
16. Memory ier Memory ier Trigger 0 da o0 Skipped Field Test 411 Camera Type and Connector Select ru yy Camera 2 Camera 3 PC2 Vision User s Manual IFC e 133 IFC PC2V 3CamPlanarVertical Title Description Features Setup Project location Three Cameras Acquisition with Planar Vertical Transfer Acquisition and display of 3 genlock monochrome cameras using a single ring and a single buffer for all 3 channels Dialog box based application Trigger to image reliability indicators Statistics for frame count frame rate frame lost frame not acquired and frame not displayed Camera selection 3 genlockable monochrome cameras must accept external VD and HD signals Camera cable supporting three monochrome cameras PC2 Vision Installation Directory examples PC2 Vision IFC PC2V 3CamPlanarVertical Project location 3Cam1Grab Title Three Cameras using a single Grab call Description Acquisition from 3 synchronized cameras Features MDI based application Simultaneous display of 3 cameras outputs Setup 3 genlockable monochrome cameras must accept external VD and HD signals Camera cable supporting three monochrome cameras 1 PC2 Vision Installation Directory examples PC2 Vision 3Cam1Grab IFC_PC2V_3Cam1Ring Title Description Features Planar Acquisition from three cameras into a single ring buf
17. Vision Full source code is included You need Microsoft Visual C 6 0 or later to recompile the examples SAP PC2V Planar Simultaneous acquisition and display of three genlocked cameras SAP PC2V ManualCamSwitch Manual camera switching from up to six monochrome cameras SAP PC2V Parallel IO Parallel I O access techniques SAP PC2V Planar Title Acquisition from three genlocked cameras Description Simultaneous acquisition and display of three genlocked cameras in Planar transfer mode Features 3 independent displays Camera and port selection Grab or snap SW trigger Statistics indicators Frame Trash count for host buffer memory management Frame Lost count for PCI bandwidth problems Trigger to image indicators Setup 3 genlockable monochrome cameras must accept external VD and HD signals Camera cable supporting three monochrome cameras PC2 Vision Project location Installation Directory PC2 VisioniDemos SAP PC2V Planar PC2 Vision User s Manual Sapera LT e 111 ZXSAP PC2V PLANAR D Personnelle acetaminoph ne i Freeze 0 acetamin oph en Frame Lost Acquisition Statistics Trigger To Image Frame Count i 1 78 Frame Rate Po Frame Trash Camera 1 4 Planar Mode C Cameras 1 2 Cameras 1 2 3 C Cameras 4 5 Cameras 4 5 6 Camera 2 5 Camera 3 6 JAI CV AT1 XTAL ExtTrig Camera Type SAP PC2V ManualCamSwi
18. Camera 1 Shield from both sides has to be connected together BNC Male Label Trigger In MDR 36 Pin Male BNC Male Label Strobe Out MDR36 PinFront side View Figure 47 Single camera Hirose 12 cable trigger on pin 11 Note A coax appellation following by a number for example coax 1 identifies which coax cable within the Hirose cable is used for a specific connection Pin MDR 36 Pin Male Frame Pin Hirose 12 pin Female Grabber 1 Videol 4 Coax 1 Wire 19 Videol AGND 3 Coax 1 Shield 2 HS1 6 Coax 2 Wire 4 Digital GND 5 Coax 2 Shield 20 VSI 7 Coax 3 Wire 22 Digital GND 12 Coax 3 Shield 3 Camera Trigger 11 Coax 4 Wire 29 Digital GND 8 Coax 4 Shield 21 WENI 10 Wire 30 12V 2 Wire 31 12V GND l 18 Ext Trigl Coax Wire 17 Ext Trigl Coax Shield PC2 Vision User s Manual Theory ofOperation e 89 11 Strobel Coax Wire 12 Digital GND Coax Shield Cable 7 Standard interface to three Hirose 12 pin connectors with WEN and trigger pulse on pin 11 Part Number OC PC2C V3H01 72 12 pin Hirose Female Label Camera 1 12 pin Hirose Female Label Camera2 Shield from both sides has to be connected together 12 pin Hirose Female Label Camera3 MDR 36 Pin Male BNC Female Label Trigger In MDR36 PinFront side View Pin36 Pin19 Figure 48 Three camera Hirose 12 cable trigger on p
19. This type allows for the allocation of very large size buffers or large buffer counts e Type Off screen Video The buffer is allocated in off screen video memory and uses the display adapter hardware to perform a fast copy from video memory to video memory e Type Overlay The frame buffer is allocated in video memory where the display adapter overlay hardware uses color keying to view the overlay buffer e Format Shows frame buffer pixel formats as supported by the hardware and camera files used PC2 Vision User s Manual Sapera LT e 117 Using Sapera CamExpert with PC2 Vision 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 For backward compatibility with previous versions of Sapera CamExpert also reads and writes the cca and cvi camera parameter files kg CamE xpert Untitled J inl xl File View Help nau e Board X Basic Timing Parameters Egg PC2 Vision 1 Parameter Value Analog Interface Video Standard RS 170 NTSC Color Type Monochrome Image Sensor readout Interlaced Field Order Odd Even fi Horizontal Active in Pixels 640 Horizontal Front Porch in Pix 23 Horizontal Sync in Pixels 56 Horizontal Back Porch fin Pix 61 Horizontal Frequency in 73 Vertical Active in Lines 480 Vertical F
20. e Start e REG DWORD e 0x00000002 e Ifthe Pcv2 folder is absent this indicates a problem with the installation process Make certain that you have administrator privileges when you perform installation e Ifthe log does not show any indication that the PC2 Vision driver had started you may have a plug and play problem If you have Windows 2000 or Windows XP go to ControlPanel SystemeHardware Device Manager Look for PC2 Vision under Imaging Devices Double click and look at the device status You should see This device is working properly If this indication is not present you may try to manually install the INF file PC2 Vision User s Manual Troubleshooting e 165 The PCV2 INF file is located in your PC2 Vision folder IDALSA pc2 vision win2000Ninf pc2c inf Sapera The PC2Vision INF file is located in F C ill Ifc58 b n win2000 pcvision inf Open Windows Explorer and go to the INF folder Right click on the INF file and select Install Note that this does not apply to Windows NT Board does not grab You are able to start Sapera CamExpert or IFC Camera Configurator 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 J6 on the PC2 Vision is connected to a floppy power cable Otherwise the camera must be powered using an external power supply Make certain that you provide an externa
21. step size of 0 01875 Range 0 to 2 volts step size of 0 03125 P BRIGHTNESS P_CONTRAST Range 0 to 100 in steps of 0 1 Range 0 to 100 in steps of 0 1 AMV EDONPISHA MODE IFC DISABLE IFC ENABLE Use frame reset and VSync pulse P CLAMP HSYNC EDGE IFC FALLING EDGE IFC RISING EDGE Clamping always defined on the active ledge of HSync for PC2 Vision P CLAMP OFFSET TIME Range 0 to 50 us step size of 0 00001 us P2V CLAMP START P2V_CLAMP_END Range 0 1 us to 51 1 us step size of 0 025 us 25ns Range 0 1 us to 51 1 us step size of 0 025 us 25ns AMV CLAMP SOURCE AMV AUTOCLAMP AMV PROGCLAMP P CLAMP MODE IFC ENABLE Trigger and Strobe Parameters PCVision Param Values PC2 Vision Param Values P TRIGGER ENABLE IFC DISABLE IFC ENABLE P TRIGGER ENABLE IFC DISABLE IFC ENABLE P TRIGGER SRC IFC EXTO TRIG IFC SOFT TRIG P TRIGGER SRC IFC SOFT TRIG IFC EXTO TRIG IFC EXTI TRIG IFC EXT AUTO TRIG P TRIGGER POLARITY IFC ACTIVE HIGH IFC ACTIVE LOW P TRIGGER POLARITY IFC FALLING EDGE IFC RISING EDGE P TRIGGER STATE AMV TRGCYC IDLE AMV TRGCYC ACTIVE No equivalent on PC2 Vision P GEN SW TRIGGER Range O to 1 step size of 1 P GEN SW TRIGGER range Oto 1 step size 1 No equivalent on PCVision P FRAMES PER TRIGGER Range 1 to 1000 frames step size of 1 frame No equivalent on PCVisi
22. 10 introduces a new camera configuration file CCF that combines the CCA and CVI files into one file Typically a camera application will use a CCF file per camera operating mode or one CCA file in conjunction with several CVI files where each CVI file defines a specific camera operating mode An application can also have multiple CCA CCF files so as to support different image format modes supported by the camera or sensor such as image binning or variable ROI CCF File Details Files using the CCF extension DALSA Camera Configuration file are essentially the camera CCA and frame grabber CVI parameters grouped into one file for easier configuration file management This is the default Camera Configuration file used with Sapera LT 5 10 and the CamExpert utility PC2 Vision User s Manual Sapera LT e 119 CCA File Details DALSA distributes camera files using the CCA extension DALSA CAMERA files that contains all parameters describing the camera video signal characteristics and operation modes that is what the camera outputs The Sapera parameter groups located within the file are Video format and pixel definitions Video resolution pixel rate pixels per line and lines per frame Synchronization source and timings Channels Taps configuration Supported camera modes and related parameters T O hardware signal assignment CVI File Details Legacy files using the CVI extension DALSA VIDEO files
23. 119 154 PLL 27 31 32 53 68 69 112 141 142 plug and play 164 165 point transfer 54 Post Memory Operations 23 26 Index e 177 Pre Memory Operations 23 25 programmable clamp pulse 53 programmable delay 39 programmable duration 39 programmable polarity 39 programmable timing 3 progressive camera formats 4 progressive scan 3 65 72 Pulse Generator 39 Pulse Width Control Mode 39 149 R recovery jumper 78 resolution 4 72 ROI 56 138 140 141 RS 170 28 69 RS 170 3 4 RS 170 50 RS 170 51 RS 170 72 RS 170 166 Rx Tx pairs 47 S Sapera buffer allocation 17 Sapera CD ROM 11 13 Sapera Configuration program 16 Sapera Configuration Program 15 Sapera LT 3 164 Sapera LT Development Library 13 Sapera LT driver 67 111 115 Sapera LT User s manual 13 Sapera messaging 17 Sapera Processing Library 3 Sapera server 1 16 103 115 164 Sapera software examples 114 Sapera specific software examples 111 Sapera Programmer s manual 61 scaling 57 scatter gather 73 scatter gather 18 60 117 173 scatter gather buffers 18 separate sync 32 37 73 141 145 166 SeqSnap Example 166 serial port 15 47 48 153 server list 16 Service Pack Update Check 20 Slow Strobe 46 148 178 e Index software installation 19 software trigger 39 44 63 70 166 Start of Even Field 64 Start of Field 63 Start of Frame 63 Start of Image 63 64 Start of Od
24. 141 149 153 166 MDR connector 14 31 38 43 46 47 48 49 50 75 76 80 102 146 153 166 memory errors 18 Microsoft Visual C 6 0 111 121 monochrome cameras 14 72 MUX 48 50 N noise 50 non interlaced 138 non interlaced 4 72 NTSC 51 172 Nyquist 146 O onboard memory 58 onboard memory 3 onboard memory 58 onboard memory 64 onboard memory 64 onboard memory 64 onboard memory 64 PC2 Vision User s Manual onboard memory 64 onboard memory 66 onboard memory 66 onboard memory 71 onboard memory 71 opto coupler 43 44 63 opto isolated 73 out of memory error 17 P packed pixel format 73 paged pool 117 parallel I O 3 Parallel I O 60 Parameter Comparison 155 Partial Scan Mode 56 PC2 Vision Device Driver 3 63 162 164 165 PC2 Vision package 6 PC2 Vision Specific Sapera Examples SAP PC2V ManualCamSwitch 112 SAP PC2V Parallel IO 113 SAP PC2V Planar 111 PCI bus latency 3 71 PCI configuration space 161 PCI conflict 161 PCI controller 23 60 66 PCI device ID 164 PCI Diagnostics 162 163 166 167 PCI Dump 162 PCI form factor 4 PCI interface 3 PCI LAN 154 PCI latency timer 154 PCI slot number 164 PCI vendor ID 164 PCI version 2 1 3 PCLK 153 PCVision 155 PDF 2 peak bandwidth 153 pixel clock 31 34 37 38 53 142 153 Pixel clock 72 73 Pixel Clock 66 146 Planar Converter 59 planar transfer 58 65 66
25. 2 Shield 20 VSI 7 Coax 3 Wire 4 Digital GND 12 Coax 3 Shield 3 Camera Triggerl 9 Coax 4 Wire 4 Digital GND 8 Coax 4 Shield 30 12V 2 Wire 31 12V GND 1 Wire Camera 2 PC2 Vision User s Manual Theory of Operation e 87 Pin MDR 36 Pin Male Frame Pin Hirose 12 Pin Female Camera 2 Grabber 5 Video2 4 Coax 1 Wire 23 Video2 AGND 3 Coax 1 Shield 6 HS2 6 Coax 2 Wire 22 Digital GND 5 Coax 2 Shield 24 VS2 7 Coax 3 Wire 22 Digital GND 12 Coax 3 Shield 7 Camera Trigger 9 Coax 4 Wire 22 Digital GND 8 Coax 4 Shield 32 12V 2 Wire 33 12V GND 1 Wire Camera 3 Pin MDR 36 Pin Male Frame Pin Hirose 12 Pin Female Camera 3 Grabber 8 Video3 4 Coax 1 Wire 26 Video3 AGND 3 Coax 1 Shield 9 HS3 6 Coax 2 Wire 29 Digital GND 5 Coax 2 Shield 27 VS3 T Coax 3 Wire 29 Digital GND 12 Coax 3 Shield 10 Camera Trigger3 9 Coax 4 Wire 29 Digital GND 8 Coax 4 Shield 30 12V 2 Wire 31 12V GND 1 Wire BNC Pin MDR 36 Pin Male Frame BNC Female Connector Trigger In Grabber 18 Ext Trigl Coax Wire 17 Ext Trigl Coax Shield Pin MDR 36 Pin Male Frame DALSA Connector Grabber 11 Strobel Coax Wire 12 Digital GND Coax Shield 88 e Theory of Operation PC2 Vision User s Manual Cable 6 Standard interface to one Hirose 12 pin with WEN and trigger pulse on pin 11 Part Number OC PC2C V1H01 12 pinHirose Female Label
26. AGND Green AGND 2 Coax 2 Shield 8 Video3 Red 3 Coax 3 Wire 26 Video3 AGND Red AGND 2 Coax 3 Shield 13 CSyncl 7 Coax 4 Wire 12 Digital G ND 8 Coax 4 Shield Separate Coax Cables Pin MDR 36 Pin Male Frame Grabber BNC Male Connector Label Trigger In 18 Ext Trigl Coax Wire 17 Ext Trigl Coax Shield 11 Strobel Coax Wire 12 Digital GND Coax Shield PC2 Vision User s Manual Theory of Operation e 97 Cable 11 PC2 Vision Interface Cable to three PULNIX camera Part Number OC PC2C V3H03 i 3 12 pin Hirose Female xL Shield from both sides has to be connected together MOR cin BNC Male Male Label Trigger In MDR 36 Pin Front side View BNC Male Pin 1 Label Strobe Out O TOTI O Pin 36 Pin 19 Figure 52 Interface cable Hirose Cable 1 Pin MDR 36 Pin Male Frame Pin Hirose 12 Pin Female Grabber HS1 9 Coax 1 Wire Digital GND 5 Coax 1 Shield 20 VS1 7 Coax 2 Wire 22 Digital GND 8 Coax 2 Shield 1 Video 1 4 Coax 3 Wire 19 Analog GND 3 Coax 3 Shield 30 12V 2 Wire 31 12V GND 1 Wire 3 V init Camera Trig 1 6 Coax 4 Wire 22 Digital GND 5 Coax 4 Shield Hirose Cable 2 Pin MDR 36 Pin Male Frame Pin Hirose 12 Pin Female Grabber 6 HS2 9 Coax 1 Wire 98 e Theory of Operation PC2 Vision User s Manual
27. Analog Stage e Pre Memory Operations e Post Memory Operations Note the diagrams are broken into three stages for user clarity In reality the data flow in real world operation is a continuous stream in which all three stages act as a single process The remainder of this chapter will detail features associated with this flow diagram in order of appearance from the camera control to the PCI or PCI Express controller PC2 Vision User s Manual Theory of Operation e 23 Analog Stage Camera Control Camera MUX Anti aliasing Filter Contrast Brightness ADC To LUT 24 e Theory of Operation Seperate HS VS FR and WEN to each camera Serial Port 6 monochrome or 2 RGB or 2 dual channel cameras 3 x 2 1 MUX acquires up to 3 synchronized channels genlock camera or RGB 6MHz or 12MHz anti aliasing filter can be bypassed SW controlled Contrast and brightness control gain and offset to use full dynamic range before digital conversion High accuracy 40MHz triple channel 8 bit ADC Figure 3 Analog Stage of Flow Diagram PC2 Vision User s Manual Pre Memory Operations From ADC E LUT Cropper i e Decimator CE ue Onboard Memory k a EO To YUV Engine PC2 Vision User s Manual 8 bit LUT 1 per camera total of 6 LUTs onboard Create region of interest Image decim
28. DISABLE IFC ENABLE No equivalent on PCVision P WEN POLARITY IFC ACTIVE LOW IFC ACTIVE HIGH No equivalent on PCVision P WEN VERTICAL OFFSET Range 0 to 256 lines step size 1 line General Parameters PCVision Param Values PC2 Vision Param Values P PIXEL SIZE 8 bits per pixel P PIXEL SIZE Range 1 to 32 bits P FIRST FIELD STAT IFC EVEN FIELD IFC ODD FIELD No equivalent on PC2 Vision P FIRST FIELD CMD IFC NEXT FIELD IFC EVEN FIELD IFC ODD FIELD P FIRST FIELD CMD IFC NEXT FIELD IFC EVEN FIELD IFC ODD FIELD P SCAN MODE STAT IFC NILACED P SCAN MODE STAT IFC NILACED IFC ILACED IFC ILACED P PIXEL COLOR IFC MONO P PIXEL COLOR IFC MONO IFC RGB IFC RGB PLANAR 156 e IFC PC2 Vision User s Manual No equivalent on PCVision P2V MULTITAP MODE P2V SINGLE TAP P2V 2TAP ILACE FIXED o equivalent on PCVision IP2V PLANAR MODE P2V PLANAR DISABLED P2V PLANAR HORZ P2V PLANAR VERT P INPUT LUTI FILE filename P INPUT LUTI FILE filename AMV INPORT POLARITY IFC FALLING EDGE IFC RISING EDGE Use CICapMod InportInterruptPolarity AMV INPORT IFC LEVEL HIGH IFC LEVEL LOW Use CICapMod InportVal AMV OUTPORT IFC LEVEL HIGH IFC LEVEL LOW Use CICapMod OutportVal AMV YCRCB MONO ACQ IFC DISABLE ENABLE Use IfxCreatelmgConn with FC YCRCB SINK P HORZ OFF Range 1
29. IFC IFC parameters for Frame Reset P FRAME RESET MODE IFC ENABLE P FRAME RESET POLARITY IFC ACTIVE LOW IFC ACTIVE HIGH P FRAME RESET OFFSET Pulse offset from trigger event P FRAME RESET SIZE Size of pulse P2V ADD FRAME RESET TO VSYNC IFC DISABLE IFC ENABLE P FRAME RESET ALIGN ON HS IFC DISABLE IFC_ENABLE VSync One VS signal is output per active camera This feature 1s used on some cameras to control the exposure rate when in Master Mode XTAL The VS can generate up to two pulses each with a different duration up to 65 seconds VSync output signal is 3 3V low voltage TTL level It is typically implemented using a LVT245 device Two parameters control the VS pulse First the offset indicates the delay from the trigger before asserting VS Then the duration specifies the time the VS pulse is asserted Single Pulse Ext V L_J VS VS offset duration PC2 Vision User s Manual Theory of Operation e 41 Figure 18 Single pulse VS Sapera parameters for VSync Refer to Time Integration method of Sapera documentation CORACQ CAP TIME INTEGRATE METHOD Method to use for time integration CORACQ PRM TIME INTEGRATE PULSE DELAY Pulse offset from trigger event CORACQ PRM TIME INTEGRATE PULSE DURATION Size of pulse CORACQ PRM TIME INTEGRATE PULSE POLARITY CORACQ VAL ACTIVE LOW CORACQ VAL ACTIVE HIGH Note VSync pulse is always aligned on HS in Sapera CamExpert
30. IFC ENABLE VSync Pulse Enable P2V VSYNC LINE WIDTH Pixel Clock Source P2V PIXEL CLOCK INTERNAL Note On the PC2 Vision in XTAL mode with frame reset the VD pulse is not automatically resynchronized to the frame reset pulse in contrast to the PC Series which does resynchronize to the frame reset pulse in XTAL mode with frame reset To synchronize VD to frame reset you must select VSync Pulse Enable P2V VSYNC DISABLE For VScan Mode Source of Input Sync P2V SYNC SEPARATE SYNC Master HSync Enable IFC DISABLE VSync Pulse Enable P2V VSYNC DISABLE Pixel Clock Source P2V PIXEL CLOCK EXTERNAL Pixel Clock Timing The Pixel Clock is used by the analog to digital converter ADC to digitize the video signal The most important characteristic is the pixel clock frequency of your camera Pixel Clock Frequency value from your camera datasheet in MHz Pixel Clock Polarity IFC RISING EDGE Horizontal Timing The figure below reviews the basic horizontal timings of a typical analog camera Note that the black level Vp is specific to the NTSC RS 170 EIA video standard whereas other common video standards define black level as Vr 142 e IFC PC2 Vision User s Manual SAT J He f H Hs Line Timing H horizontal sync pixels or usec Hgp horizontal back porch pixels or usec horizontal Blanking Hp horizontal front porch pixels or usec H horizontal Active pixels or usec
31. SOURCE P2V SYNC COMPOSITE VIDEO P2V SYNC COMPOSITE SYNC P2V SYNC SEPARATE SYNC P2V SYNC INTERNAL SYNC P2V SYNC RED P2V SYNC GREEN P2V SYNC BLUE Use XTAL mode on PCVision P2V MASTER HSYNC FC DISABLE IFC ENABLE Use XTAL mode on PCVision P2V VS PULSE ENABLE P2V VSYNC DISABLE P2V VSYNC LINE WIDTH P2V VSYNC TIME WIDTH P PIXEL CLK FREQ Range 1 step size 0 to 20 0MHz of 0 00001MHz P PIXEL CLK FREQ Range 1 to 40MHz steps size 0 00001MHz 10Hz P PIXEL CLK POLARITY IFC FALLING EDGE IFC RISING EDGE P PIXEL CLK POLARITY FC RISING EDGE UseIFC VARIABLE SCAN P PIXEL CLK SIGNAL TYPE P2V PIXEL CLOCK INTERNAL P2V PIXEL CLOCK EXTERNAL P LEN POLARITY IFC FA LLING EDGE IFC RISING EDGE Use P HSYNC POLARITY P FEN POLARITY IFC FA LLING EDGE IFC RISING EDGE Use P_VSYNC_POLARITY AMV FIELD SRC AMV V IDEO STRIPPED FLD Use P2V SYNC SOURCE AMV LEN AND FEN DETECTED FLD AMV FIELD SHIFT AMV CROP HALFLINE Use Cropper to remove halfline AMV FLDSHFT NORM P HSYNC FREQ Range 10 0 to 50 0KHz P HSYNC FREQ Range 7 0 to 50 0KHz step size of 0 00001KHz in steps of 0 00001KHz 0 01Hz P HSYNC WIDTH Range 0 1 to 100 0 us step size of 0 00001 us P HSYNC WIDTH Range 1 to 400 pixels in steps of 1 pixel P HSYNC POLARITY IFC ACTIVE HIGH IFC ACTIVE LOW P HSYNC POLARITY IFC ACTIVE LOW IFC ACTIVE HIGH
32. Untitled seqsnap View Cmds LUT Help 1183333374 IDE em XI Fianna SINI ddl Tid SESS 401160 s1 69962 ILI VIIIPTI IFC PC2V Vixn Title Vixn versus regular callback latency and jitter comparison Description This demo shows how fast and constant a VIXN interrupt callback is achieved by comparing graphically the response time jitter of both a VIXN and a regular callback Features Dialog box based application Latency and jitter statistics for Vixn callbacks Latency and jitter statistics for regular event callbacks Frame rate indication Setup Any camera Camera cable PC2 Vision Project location Installation Directory examples PC2 Vision IFC PC2V Vixn 132 e IFC PC2 Vision User s Manual IFC PC2V 3Cam Title Acquisition from three genlocked cameras Description Simultaneous acquisition and display of three genlocked cameras in Planar transfer mode Features Camera and port selection Grab or snap SW trigger Statistics indicators Trigger To Image indicators Setup 3 genlockable monochrome cameras must accept external VD and HD signals Camera cable supporting three monochrome cameras PC2 Vision Project location Installation Directory examples PC2 Vision IFC_PC2V_3Cam IFC_PC2Y_3Cam no ioj xl Acquisition r Statistics m Trigger to Image 3 pa 3474 Acq Frame Freeze 1007 Frame Rate CO video Begin _ ihe AA
33. Video I Pixel Clock Composite Sync Sync LI LI Extractor VS HS PLL Figure 10 Composite Sync This mode is generally used for RGB cameras As such two composite sync inputs are available on PC2 Vision one on the first MDR 36 connector J1 and one on the second J2 PC2 Vision User s Manual Theory of Operation e 31 Sapera parameters for Sync on Composite Sync CORACQ PRM SYNC CORACQ VAL SYNC COMP SYNC Sa pe ra CORACQ PRM VIDEO CORACQ VAL VIDEO RGB CORACQ PRM HSYNC Size of horizontal sync pulse CORACQ PRM HBACK PORCH Size of horizontal back porch CORACQ PRM HACTIVE Number of valid pixels per line CORACQ PRM HFRONT PORCH Size of horizontal front porch 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 In CamExpert these parameters are located under the Basic Timing Parameters tab IFC parameters for Sync on Composite Sync I F C P2V SYNC SOURCE P2V SYNC COMPOSITE SYNC P PIXEL COLOR IFC RGB P HSYNC FREQ Horizontal sync frequency P HSYNC WIDTH Size of Horizontal sync pulse P HSYNC POLARITY IFC ACTIVE LOW IFC ACTIVE HIGH P2V HORZ FRONT PORCH Size of horizontal front porch P2V HORZ BACK PORCH Size of horizontal back porch P VSYNC FREQ Vertical sync frequency P VSYNC POLARITY IFC ACTIVE LOW IFC ACTIVE HI
34. Windows Security Would you like to install this device software Name PC2 Vision Express Device Driver Sai Publisher DALSA Corp h Cistai Don t Install IV Always trust software from DALSA Corp w You should only install driver software from publishers you trust How can decide which device software is safe to install During the installation the PC2 Vision Device Manager firmware loader application starts e Click Update All When the installation is complete the following dialog box is displayed Mon e l RCX Comp Express Device Driver Setup o Installation completed successfully Connecting Camera and Devices Connector Bracket Figure 2 Connector Bracket There are two MDR Mini Delta Ribbon 36 pin female camera connectors on the front bracket of the PC2 Vision board labeled J1 and J2 Both connectors control a group of cameras called channels J1 controls channels 1 to 3 J2 controls channels 4 to 6 Therefore six monochrome cameras can be connected to the PC2 Vision See the PC2 Vision Connector and Jumper Locations on page 74 for further information PC2 Vision User s Manual 14 e Installing the PC2 Vision Note PC2 Vision s J6 connector must be connected to a floppy power cable to provide 12V to the cameras Refer to PC2 Vision component view on page 74 section for connector locations PC2 Vision
35. Wire 4 Digital GND 5 Coax 2 Shield 3 Camera Triggerl 9 Wire 30 12V 15 Wire 31 12V GND 10 Wire 5 Video2 1 Coax Cable 23 Video2 AGND 6 Coax Cable 6 HS2 11 Coax 3 Wire 22 Digital GND 4 Coax 3 Shield 84 e Theory of Operation PC2 Vision User s Manual 24 VS2 12 Coax 4 Wire 22 Digital GND 4 Coax 4 Shield 7 Camera Trigger2 8 Wire Pin MDR 36 Pin Male Frame Grabber Pin DB26 Female Wire Type 8 Video3 2 Coax 1 Wire 26 Video3 AGND 11 Coax 1 Shield 9 HS3 21 Coax 2 Wire 29 Digital GND 3 Coax 2 Shield 27 VS3 22 Coax 3 Wire 29 Digital GND 3 Coax 3 Shield 10 Camera Trigger3 13 Coax 4 Wire 29 Digital GND 3 Coax 4 Shield 32 12V 23 Wire 33 12V GND 14 Wire 18 Ext_Trigl 17 Wire 17 Ext_Trigl 24 Jumper Wire 11 Strobel 6 Wire 29 Digital GND 24 Jumper Wire PC2 Vision User s Manual Theory of Operation e 85 Cable 4 Standard interface to one Hirose 12 pin with trigger pulse on pin 9 Part Number OC PC2C V1H00 72 12 pinHirose Female Label Camera 1 Shield from both sides has to be connected together BNC Male Label Trigger In MDR 36 Pin Male BNC Male Label Strobe Out MDR36 PinFront side View Figure 45 Single camera Hirose 12 cable trigger on pin 9 Note A coax appellation following by a number for example coax 1 identifies which coax cable within the Hirose cable is used for a specific conne
36. and synchronization settings apply to all three channels MDR 36 Pin J1 blue RGB green Cam 1 blue RGB green e Cam 2 Ned 1 MDR 36 Pin J2 Figure 8 Sync on R G or B Note that for an RGB camera the green channel is used as the timing reference if sync on composite video is selected PC2 Vision User s Manual Theory of Operation e 29 Sapera Note Dual channel cameras are not currently supported with the PC2 Vision Sapera driver Sapera parameters for Sync on R G or B CORACQ PRM VIDEO CORACQ VAL VIDEO RGB CORACQ PRM SYNC CORACQ VAL SYNC RED CORACQ VAL SYNC GREEN CORACQ VAL SYNC BLUE CORACQ PRM HSYNC Size of horizontal sync pulse CORACQ PRM HBACK PORCH Size of horizontal back porch CORACQ PRM HACTIVE Number of valid pixels per line CORACQ PRM HFRONT PORCH Size of horizontal front porch 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 In CamExpert these parameters are located under the Basic Timing Parameters tab Dual channel cameras must use the blue and green channels paired together PC2 Vision supports the following dual channel cameras under IFC e Channel is always even field blue channel port 0 or 3 e Channel 2 is always odd field green channel port 1 or 4
37. and terminated to 750 Triple 8 bit flash A C Input pixel rates to 40MHz Simultaneous capture from any three synchronized monochrome cameras DC Restoration programmable clamp pulse Partial scan mode Input gain software selectable Low pass filter software selectable Pixel clock from 7MHz up to 40MHz minimum 3 5MHz using horizontal decimator Programmable time base generator and programmable resolution to 2048 x 2048 interlaced or non interlaced 72 e Theory of Operation PC2 Vision User s Manual Synchronization and timing control Composite sync Separate sync TTL Pixel clock input TTL Trigger input opto isolated TTL or RS 422 Programmable trigger de bounce delay from 1 to 255 microseconds One External Trigger input per group of three cameras synchronizes acquisition to external events Programmable trigger slow strobe fast strobe One strobe output per group of three cameras I O controls 8 TTL inputs 8 TTL outputs Interrupt driven for immediate software response Onboard RS 232 COM port for camera control mapped as a COM port in the system Host transfers and data format Pixel format MONO8 YUV16 RGB32 RGB planar Simultaneous transfer of three camera images into host memory in a packed pixel format C1 C2 C3 x DMA engine supports transfers up to 100MB second DMA engine supports scatter gather DMA engine supports de interlacing images I O Pins I O pins include Parallel I O fr
38. are sustained depending upon host capabilities Consequently images can be transferred to host memory in a fraction of the time acquired More bandwidth is therefore available for other system resources to utilize by minimizing PC2 Vision transfer time on the PCI or PCI Express bus PC2 Vision provides a number of interrupt sources such as image acquisition and bus master transfer completion PC2 Vision contains 8MB of memory for buffering image data between the camera and the host system Onboard memory assures that image information is not lost during transfer to system memory due to PCI bus latency issues The memory is addressed linearly for maximum utilization Images are grabbed into local memory and then transferred at very high speeds to the host for processing or display PC2 Vision is supported by both Sapera LT and IFC It is also fully supported by the Sapera Image Processing library Note You can install the PC2 Vision device driver for either IFC or for Sapera LT You cannot use both IFC and Sapera LT at the same time for PC2 Vision PC2 Vision User s Manual PC2 Vision Board e 3 PC2 Vision Features and Block Diagram Features e Half size PCI or PCI Express form factor e Six analog video inputs AC coupled and terminated to 750 e Acquires up to six monochrome or two RGB cameras simultaneous acquisition up to three genlocked monochrome cameras Supports standard RS 170 and CCIR non standard progressive cameras and RGB f
39. board s chosen get copied to your hard drive e The Select Components window is displayed a second time with a default list of cameras Select a camera from the default list or select None If None is selected a camera file is not installed however you can use the Camera Configurator at anytime after installation to install a camera file e After clicking Next in the Select Program Folder window the software and files install unto your hard drive e A window appears asking if you want Acrobat Reader installed to view and print installed manuals Click Yes if you do not already have Acrobat Reader installed on your system e Click Yes or No after a window appears asking to view readme files e The Service Pack Update Check window is displayed This allows you to check for an IFC service pack update via the DALSA web site Note that you need an active Internet connection Click Yes if you want to check for an update e The Setup Complete window appears and asks whether you want to restart the computer now or at a later time Choose desired option and click Finish Note that the computer must be restarted for drivers to take effect 20 e Installing the PC2 Vision PC2 Vision User s Manual 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 Programs IFC version 5 8 Set Board COM port Set Image Capture Board Uart
40. computer chassis and turn the computer on Driver installation requires administrator rights for the current user of the computer Windows will find the PC2 Vision and start its Found New Hardware Wizard Click on the Cancel button to close the Wizard Insert the DALSA Sapera CD ROM If AUTORUN is enabled on your computer the installation menu is presented Install the PC2 Vision driver If AUTORUN is not enabled use Windows Explorer and browse to the root directory of the CD ROM Execute launch exe to start the installation menu Click Software Installation then Install Hardware Device Driver Frame Grabbers Device Drivers and PC2 Series Select the PC2 Vision board and install the PC2 Vision driver Note if you are using Vista with the User Account Control feature enabled a dialog is displayed when you execute launch exe click Allow to continue with the driver installation Choose the device driver setup type full installation required for application development or runtime installation supports application execution only When using Windows XP if a message stating that the PC2 Vision software has not passed Windows Logo testing is displayed click on Continue Anyway to finish the PC2 Vision driver installation Reboot the computer if prompted to do so When using Windows Vista 7 a message asking to install the DALSA device software is displayed Click Install PC2 Vision User s Manual Installing the PC2 Vision e 13 la
41. converts the voltage to flow as a current into the LED 1s therefore crucial to the good performance of the opto coupler The emitted light will not turn the transistor ON if the current flowing through the LED is too small The opto coupler on the PC2 Vision is typically a Fairchild HMHA281 with the following characteristics Electrical Description Value parameters VIL max Maximum voltage difference to turn OFF 0 8V Vin min Minimum voltage difference to turn ON 2V It min Minimum input current to turn ON 2mA Tmax Maximum input current to turn ON 50 mA tr min Minimum input pulse width to turn ON 10 us VE max Maximum forward voltage 24V Vimax Maximum reverse voltage 25 V 44 e Theory of Operation PC2 Vision User s Manual Note TTL signals are approximately 0 and 3 3 5V corresponding to logical 0 and 1 respectively A standard TTL output can sink 16mA and could be used as a sink to drive an opto coupled input That is 5V is connected to Ext Trig and the sink trigger source is connected to Ext Trig This will normally require the application to invert the polarity of the trigger in the camera configuration file Sapera Sapera parameters for External Trigger CORACQ PRM EXT TRIGGER ENABLE CORACQ VAL EXT TRIGGER ON CORACQ PRM EXT TRIGGER SOURCE 0 Same connector as video source 1 first MDR 36 2 second MDR 36 CORACQ PRM EXT TRIGGER DETECTION CORACQ VAL RISING EDGE CORACQ VAL FALLING EDGE CORACQ VAL
42. depends on the duration of the blanking period since no data is digitized during blanking One can use the Cropper or the Decimator to accommodate a high bandwidth RGB camera Planar transfer can also be an option as it only uses 75 of the bandwidth required for 0 padded 32 bit RGB value 66 e Theory of Operation PC2 Vision User s Manual Loss of Sync Loss of Sync is a condition that happens when PC2 Vision does not detect an HS signal coming from the currently selected camera This typically happens when the camera cable is disconnected When this condition is detected image acquisition is stopped until an HS is received Loss of Sync is also signaled if horizontal line is too short that 1s if two HS pulses are too near to each other Fast Camera Switching PC2 Vision supports a Fast Camera Switching mode permitting efficient use of the six inputs by its triple channel ADC Fast camera switching proceeds in two steps 1 Defines the sequence of cameras to be cycled through No actual grab takes place during this sequence definition 2 Starts the fast camera switching acquisition Note Fast Camera Switching is not supported in Sapera LT 5 10 Use manual camera S a pe ra switching that is modifying the camera selector parameter to switch between cameras A demo of manual camera switching is provided with the Sapera LT driver Note All cameras in the switching group must have the same camera configuration file Failure to do
43. frame grabber boards supported by the IFC library such as the PC2 Vision Camera Configurator generates the required camera configuration file yourconfig txt based on the timing and control parameters entered PC2 Vision User s Manual IFC e 135 CJ Camera Configurator Camera View n x EH File View Tools Window Help l x D a uv gem Is Live 2939716 FS Width 640 Height Local Machine pm o x a 85 X EE Aa BH e Up 2 8 Board 0 i Pozvision fapeoado A Poto f Port P2W DEF RS640x480P ff Porti lt P2V DEF RS640x480P IF Single Click Assignment AP Dor e DOW MEF RSA4NY4ANP I List of Cameras 2 Gs Cv M77 Camera Timing 4 Sony XC HR50 Pw Qi Sony XC HR70 FR Parameter Name Parameter Value e Sony XC HR70 Bir Horizontal Syne Frequency 15 750000 L Sony XCHR7O Bin B test XC 003P Horizontal Sync Width Num Ea ZH CC7E0x574 Xtal Horizontal Sync Polarity IFC_ACTIVE_LOW Mi CL7604574P RGB EH JAI CY A1 Long Ex Horizontal Front Porch Num EH JAI CV A1 Long Ex Horizontal Back Porch Num ERJAI CV AT PLL Eh JAI CW A11 B40x4 Vertical Sync Frequency Hz 60 000000 BJA CV A11 640x4 aa Dulaan iiidh nnnnan ER JAI Cv A11 640x4 men pano Eh JAI CV A11 640x4 EH JAI CV A1 PWC b k TrigStt Serial J For Help press F1 The live acquisition window is an important tool within Camera Configurator
44. is displayed Developers can use the source code supplied with the demo as a foundation to quickly create and test the desired imaging application PC2 Vision User s Manual Sapera LT e 115 d Sapera Grab Demo GI x File r File Control Acquisition Options General Area Scan Line Scan Composite Load CAM VIC PA HIERN Lum Save Load GEO Acquisition Contral a v Grab Freeze dd Abort r General Options Buffer nj The various functions are described below File Control Three controls are provided for image file transfers e New Clears the current image frame buffer e Load Retrieves images in BMP TIF CRC JPG and RAW formats e Save Prompts for a file name file save location and image format Acquisition Options Note that unsupported functions are grayed out and not selectable Function support is dependent on the frame grabber hardware in use e General Acquisition Settings Allows for PC2 Vision external trigger mode enabling e 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 e Line Scan Camera Control This dialog is not applicable to the PC2 Vision e Composite Conditioning Offers Brightness and Contrast controls e Load CAM VIC Opens the dialog window Acquisition Parameters allowing the
45. is the time difference between clamp_start and clamp_end See below for diagram DC Restoration Front Back Comp Porch Porch a mn Figure 28 DC restoration PC2 Vision User s Manual Theory ofOperation e 53 Note With Internal Sync mode the horizontal reference is the edge of HD as shown in Figure 13 HD relation to HS on page 35 With this synchronization scheme clamp start and clamp end values refer to first edge of HD not to HS coming from composite video Sapera 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 OFFj CORACQ PRM DC REST START Start of clamp pulse relative to HS or HD CORACQ PRM DC REST WIDTH Clamp pulse duration In CamExpert DC restoration parameters are located under the Advanced Control Parameters tab under the Analog Signal Conditioning entry IFC IFC parameters for ADC Converter P PIXEL CLK FREQ Pixel clock frequency P PIXEL SIZE 8 P CLAMP MODE IFC ENABLE P2V CLAMP START Start of clamp pulse relative to HS or HD P2V CLAMP END End of clamp pulse relative to HS or HD Lookup Table A different LUT is assigned to each of the six monochrome inputs for a total of six independent LUTs It operates at the resolution of 8 bits in and 8 bi
46. output to the camera as HD VD signals called Master Mode It is also possible to deactivate the VD output so it does not reach the camera In Master Mode the PC2 Vision generates VD and or HD to the camera if the source of synchronization used for digitization is Internal Sync Note that a PC2 Vision in Master Mode that is driving VD HD is independent from the selected source of synchronization It is therefore possible for PC2 Vision to drive VD HD to the camera but still synchronize to the VS HS present in the composite video signal PC2 Vision allows the same VD HD to be sent to all six cameras simultaneously This is useful to genlocked cameras together HD is used on some cameras to minimize jitter with respect to the frame reset signal Note that for this to work successfully the HD edge must be aligned with frame reset refer to camera user s manual One HD signal is output per active camera Pixels Valid Pixels _ pe gt Cam Analog Composite AID LUT Cropper Video A A HD Pixel Clock vo Clock Generator vs HS PLL NA Figure 12 Internal Sync 34 e Theory of Operation PC2 Vision User s Manual When using Internal Sync the horizontal reference for acquisition 1s HD This is equivalent to a horizontal front porch of 0 pixels The horizontal reference is used as a time reference to configure the clamping pulse delay and duration parameters Ti
47. parameters are located under the Advanced Control Parameters tab IFC Under IFC VS shares the frame reset parameters to create a double pulse A control is offered to add Frame Reset to VS In this case both pulses will be sent to the VS pin Then it is only a matter of providing the appropriate offset and duration for VS and Frame Reset Figure 19 Double pulse VS for IFC IFC parameters for VSync P2V VS PULSE ENABLE P2V VSYNC TIME WIDTH P VSYNC FREQ Frequency of VSync pulse P VSYNC WIDTH Width of VSync pulse P VSYNC POLARITY IFC ACTIVE LOW IFC ACTIVE HIGH P2V ADD VSYNC TO FRAME RESET IFC DISABLE IFC ENABLE P2V VSYNC ALIGN ON HS IFC DISABLE IFC ENABLE P2V VSYNC OUT ENABLE IFC DISABLE IFC ENABLE Ext Double Pulse n i e a amm FR size vs vs offset duration 42 e Theory of Operation PC2 Vision User s Manual External Trigger and Strobe External Trigger 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 Vision receives a trigger signal Acquisition begins with the next valid frame after the trigger One external trigger signal is available per MDR 36 pin connector The external trigger is protected by an opto coupler The external trigger can be driven by any voltage source from 3 3V low voltage TTL up to 24V as long as it can
48. pcv2hw c 152 PCV2L DLL V2 FEFPGA Load OK D pc2 dev pcv2 Driver User FEfpga c 692 PCV2 SYS CorSerialAddDevice gt CorSerial Interface Version Board Driver 3 CorSerial 3 M PCV2 SYS CorSerialCreatePorts gt Board 1 Client Serial Port 0 Created M pc2 dev pcv2 D PCV2L DLL Power is OK on Power Connector J6 D pc2 dev pcv2 Driver User FEfpga c 711 PCV2 LL Loaded 1 status 0 D pc2 dev pcv2 Driver User pcv2api c 981 PCV2L DLL Unloaded 1 D pc2 dev pcv2 Driver User pcv2api c 986 PCV2L DLL ProcessID 0 D pc2 dev pcv2 Driver User pcv2api c 367 PCV2 L Board 0 Found 1 PC2 Vision Boards D pc2 dev pcv2 Driver User pcv2api c 453 L Loaded 1 status 0 D pc2 dev pcv2 Driver User pcv2api c 981 e Open Windows Explorer to ensure that the pev2 sys file is copied to your Winnt system32 drivers or Win system32 drivers folder If it is not this points to a software installation problem You may try to uninstall and reinstall the software Make certain that you have administrator privileges when you perform installation Follow all directives given by the installation program e 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 CurrentControlSeteService Pcv2 folder You should see the following key
49. pera CORXFER VAL EVENT TYPE END OF FRAME CORXFER VAL EVENT TYPE END OF FIELD CORXFER VAL EVENT TYPE END OF TRANSFER On IFC a different PCI transfer interrupt is available for each of the three AD channels I FC Cameras IFC Designation Cameras 1 and 4 blue channel P2V INTR BMDONE Cameras 2 and 5 green channel P2V INTR BMDONE2 Cameras 3 and 6 red channel P2V INTR BMDONE3 Note In IFC most applications use the GrabWaitFrameEx member function of the CICamera class in order to wait for the end of transfer to host memory When performing a planar transfer an application receives a different interrupt for each of the three color planes red green and blue For a progressive scan cameras only one bus master done interrupt is received For an interlaced scan camera each field has its own bus master done interrupt Timing Diagrams The following diagram illustrates the exact location in time for each of the interrupts previously described An interlaced scan camera is shown since it can generate all acquisition interrupts PC2 Vision User s Manual Theory of Operation e 65 Vertica l Ext external Vertical Vertical Vertical i bus master i bus master Interrup start vertical men start of of start of odd start of vertical start of start of start of vertical start of even start of odd start of even start of odd even vertical end of Figure 3
50. provide at least 2mA The incoming trigger pulse is debounced to ensure that no glitch would be detected as a valid trigger pulse This debouncer can be programmed from Ops to 255ys Any pulse smaller than the programmed value will be blocked and therefore not be seen by the acquisition circuitry External Oot Deboun Validated gt Coupl m 0 255 r t e t o t d t vt tet t oc Figure 20 External Trigger Let t et time of external trigger in us t vt time of validated trigger in us t oc time opto coupler takes to change state t d debouncing duration from 0 to 255us For an active high external trigger t oc 10us t vt t et 10us t d For an active low external trigger t oc 50us t vt t et 50us t d Note DALSA recommends using a rising edge external trigger in order to minimize the time it takes for the opto coupler to change state That is the opto coupler response time is 10us for rising edge compared to 50us for falling edge DALSA also recommends putting a debouncing duration of at least lus to guaranty that opto coupler transitions cannot be falsely detected by the TTL logic If t vt gt 0 then a valid trigger is detected and acquisition is fired Therefore the external pulse with rising edge polarity must be at least 10us if debouncer is set to 0 in order to be acknowledged Any pulse larger than 265s is always considered valid It is possible to
51. so may result in erratic grab or stop the grab altogether Best switching performance is achieved with genlocked cameras In this case the PC2 Vision can switch within the vertical blanking to reach maximal frame rate all cameras have their vertical blanking aligned This is not the case for asynchronous cameras in this case after switching to the next camera PC2 Vision must wait for the VS before capturing the next frame I F C Note IFC requires the use of a single ring of buffers in order to achieve frame rate switching Genlocked Cameras Genlocking cameras is generally achieved using the Master Mode capabilities of the PC2 Vision In this scenario the frame grabber drives the HD and VD line to all cameras The output timing of all cameras is thus aligned enabling PC2 Vision to go from one camera to the next within the vertical blanking and therefore not skipping any frames Refer to the Internal Sync section page 34 fora complete description of Master Mode setup v PC2 Vision User s Manual Theory of Operation e 67 The following diagram illustrates a group of two genlocked cameras Because cameras are genlocked their synchronization pulses are aligned The internal synchronization capability of PC2 Vision prevents the PLL from unlocking ensuring a stable image with minimal pixel jitter CAM 1 CAM 2 CAM 1 a HD onn UUUL From PC2 vision Cam 1 ra ND From PC2 Vision
52. strobe pins CamExpert does not provide direct access to the I O It must be activated programmatically from your Sapera application using the SapGio class IFC Support for Parallel I O I F C Access to Parallel I O is achieved using members of the CICapMod class CICapMod InportInterruptPolarity CICapMod InportMode CICapMod InportVal CICapMod OutportStrobeVal CICapMod OutportVal Under IFC each input pin of the parallel I O has an associated interrupt event P2V INTR DATAPINO P2V INTR DATAPIN P2V INTR DATAPIN P2V INTR DATAPIN P2V INTR DATAPIN P2V INTR DATAPIN P2V INTR DATAPIN P2V INTR DATAPIN N D tn A t N Acquisition Interrupts The PC2 Vision frame grabber provides acquisition interrupts that allow an application to accurately monitor acquisition status one of the many elements that make up the trigger to image reliability PC2 Vision User s Manual Theory of Operation e 61 model supported by PC2 Vision and its Acquisition and Control Unit ACU See Trigger To Image Reliability section on page 71 These interrupts are grouped into four families representing each acquisition stage Trigger Interrupt Start of Image from Camera End of Image Capture End of PCI Transfer The following block diagram illustrates the acquisition process and indicates at which stage each interrupt occurs e Trigger End of image capture Onboard Memory
53. that changing the brightness only affects the offset of the digitization line not its slope This latter attribute is controlled through contrast By increasing contrast the slope of the digitization line is decreased which lowers the voltage difference between two consecutive pixel values Default values of brightness and contrast use the full resolution of the ADC for a standard RS 170 source PC2 Vision User s Manual Theory of Operation e 51 Video Voltage Level White level E 714 mV 350 MV Pr Brightness range default 40 8 Black level 53 mV Contrast range default 36 4 36 4 100 Default Brightness Contrast Line Example 350 mV video signal leads to pixel value of 115 gt Pixel 100 255 Figure 26 Video voltage level Sapera Sapera parameters for Contrast and Brightness CORACQ PRM CONTRAST Contrast percentage CORACQ PRM BRIGHTNESS Brightness percentage CORACQ PRM VIDEO LEVEL MIN Minimum value in uV of the video signal CORACQ PRM VIDEO LEVEL MAX Maximum value in nV of the video signal Note Under Sapera contrast percentage ranges from 60 to 170 with 100 being the default value Brightness percentage ranges from 20 to 29 with 0 being the default value Typically you do not need to adjust the default contrast and brightness if the video level min and video level max parameters matches your camera In CamExpert these parameters are located under
54. the Advanced Control Parameters tab under the Analog Signal Conditioning entry IFC IFC parameters for Contrast and Brightness P CONTRAST Contrast percentage P BRIGHTNESS Brightness percentage Note Under IFC contrast percentage and brightness percentage are normalized from 0 to 100 52 e Theory of Operation PC2 Vision User s Manual AD Converter The PC2 Vision uses a 40MHz triple ADC Analog to Digital Converter The triple ADC outputs three 8 bit unsigned binary values from 0x0 to OxFF based on the sampled analog input signal level the ADC sampling window of each input channel and by the clamping voltage level independent for each channel The Pixel Clock used by the ADC comes from one of three sources the PLL clock PLL mode the Clock Generator XTAL mode or the externally input Variable Scan Clock Vscan mode ADC Analog Video Digital Video JUVE Pixel Clock Figure 27 AD Converter The Pixel Clock is used to sample incoming video signal at the specified frequency The result is a series of 8 bit digital values representing the analog video signal DC Restoration DC Restoration uses a programmable clamp pulse It uses the horizontal back porch to establish the reference black video level Two parameters are required to indicate the location of the region used as the reference The clamp_start and clamp_end parameters refer to the HS edge The clamp_width
55. the last pixel from the image has been acquired and transferred to onboard memory In IFC this is represented by P2V INTR EOFRM In Sapera this is represented by CORACQ VAL EVENT TYPE END OF FRAME End of Field The End of Field is only activated for interlaced scan cameras You get an End of Field interrupt when the last field has been acquired and transferred into onboard memory In IFC this is represented by P2V INTR VB In Sapera this is represented by CORACQ VAL EVENT TYPE END OF FIELD End of Odd Field The End of Odd Field is only activated for interlaced scan cameras You get an End of Odd Field interrupt when the odd field has been acquired and transferred to onboard memory In IFC this 1s represented by P2V INTR ODD VB In Sapera this is represented by CORACQ VAL EVENT TYPE END OF ODD End of Even Field The End of Even Field is only activated for interlaced scan cameras You get an End of Even Field interrupt when the even field has been acquired and transferred to onboard memory In IFC this is 64 e Theory of Operation PC2 Vision User s Manual represented by P2V INTR EVEN VB In Sapera this is represented by CORACQ VAL EVENT TYPE END OF EVEN End of PCI transfer The End of PCI transfer interrupt is generated when each frame field has been transferred to host memory In Sapera CORXFER PRM EVENT TYPE provides the various transfer events The following are available on PC2 Vision Sa
56. trigger characteristics Image Buffer and AOI Parameters Control of the host buffer dimension and format Multi Camera Control Parameters Provides camera selection Includes planar transfer Camera Files Distributed with Sapera The Sapera distribution CD ROM includes camera files that are compatible to PC2 Vision supported cameras When using the Sapera CamExpert program you may use the camera files CCA provided to generate a camera configuration file CCF that describes the desired camera and frame grabber configuration 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 Camera files are ASCII text and can be read with Windows Notepad on any computer without having Sapera installed Overview of Sapera Acquisition Parameter Files ccf or cca cvi Concepts and Differences between the Parameter Files There are two components to the legacy Sapera acquisition parameter file set CCA files also called cam files and CVI files also called VIC files that is video input conditioning The files store video signal parameters CCA and video conditioning parameters CVI which in turn simplifies programming the frame grabber acquisition hardware for the camera in use Sapera LT 5
57. typical limitations are one third of the total system memory with a maximum limit of approximately 100MB Click on Buffer under Grab Demo Main Window see page 115 to select from a list of host buffer memory allocation types IINE ou m Count and Size Type Count n C Contiguous Scatter Gather Offscreen Video Height 480 PO C Virtual Width 640 Format MONOCHROME 8 BIT Pixel Depth significant bits E Contiguous Memory for Sapera Messaging The current value for Sapera messaging determines the total amount of contiguous memory reserved at boot time for message allocation This memory space is used to store arguments when a Sapera function is called Increase this value if you are using functions with large arguments such as arrays and when experiencing any memory errors 18 Installing the PC2 Vision PC2 Vision User s Manual IFC Development Software Overview IFC SDK The IFC Imaging Foundation Classes library offers a C Application Program Interface API intended for use with the DALSA PC2 Vision board requires IFC version 5 8 or higher IFC is packaged within the Imaging Studio CD ROM See the JFC SDK Software Manual for information concerning IFC Information in this manual matches IFC 5 8 service pack 1 IFC Software Installation Make certain that you are logged into your machine with administrator privileges Insert the Imaging Studio
58. user to load a new set of camera files This is the same window displayed when the Sapera Acquisition Demo is first started Acquisition Control 116 e Sapera LT PC2 Vision User s Manual e Grab Displays live digitized video from your video source If your source is a camera focus and adjust the lens aperture for the best exposure Use a video generator as a video source to acquire reference images e Freeze Stops live grab mode The grabbed image can be saved to disk via the File Control Save control e Snap A single video frame is grabbed e Abort Exits the current grab process immediately If any video signal problem prevents the freeze function from ending the grab click Abort General Options Note functions grayed out are not supported by acquisition hardware e Buffer Select from supported frame buffer counts size and types CT x Count and Size Type Count i Contiguous Scatter Gather C Offscreen Video Height 480 C Overlay C Virtual Width 640 Pixel Depth significant bits E cea e Count and Size Select the number of frame buffers and the image size here e Type Contiguous Frame buffers are allocated in contiguous system memory single memory block no segmentation e 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
59. will dictate the rate of acquisition 68 e Theory of Operation PC2 Vision User s Manual Asynchronous Cameras Each camera of an asynchronous group has its own timing They are out of phase with respect to each other This means after switching to the next camera the PC2 Vision must resynchronized PLL must lock in phase with the new camera and then wait for the VS to capture the next valid image This overhead leads to a lower frame rate when compared to the genlocked case As such it is always better to use genlocked cameras when acquisition rate is an issue To better illustrate the difference between genlocked cameras and PLL mode camera switching consider two free running asynchronous camera typically two RS 170 Since the cameras are not genlocked their frames are not in phase This means that after grabbing from the first camera and switching to the second the PLL must relock and then wait for the next VS next valid frame The same phenomenon applies when switching back to the first camera In theory if the PLL relocks instantly the average frame rate would be 2 3 of the nominal frame rate that is a total of 20 frames per second for two 30fps cameras 10fps per camera This is illustrated in the figure below Camera Switching Cycle Time Acquired Acquired Cam 1 Video xX xX Video ene m Wait A Cam2 X X X x Figure 37 Asynchronous cameras fast
60. 0 Wire 30 12V 2 Wire 31 12V GND 1 Wire Pin MDR 36 Pin Male Frame Pin Hirose 6 pin Female Grabber 3 Camera Triggerl 5 Coax 4 Wire 29 Digital GND 4 Coax 4 Shield 34 RXI 1 Twisted pair conductor 1 35 TXI 2 Twisted pair conductor 1 BNC Pin MDR 36 Pin Male Frame BNC Male Connector Label Trigger In Grabber 18 Ext Trigl Coax Wire 17 Ext Trigl Coax Shield 11 Strobel Coax Wire 12 Digital GND Coax Shield Cable 9 Standard interface for Jai cameras PC2 Vision User s Manual Theory of Operation e 93 Part Number OC PC2C V3H02 72 Coax cable Shield 12 pin Hirose Female Label Camera 1 Twisted pair for serial Use sleeving to tie this 6 pin Hirose Female twisted 12 pin Hirose Female Label Camera 2 6 pinHirose Female 12 pin Hirose Female Label Camera 3 H 6 pin Hirose Female 72 Coax cable MDR 36 Pin Front side BNC Female Label Strobe Out BNC Female Label Trigger In O Pin 36 Pin 19 Figure 50 Three camera Hirose 12 Hirose 6 for Jai Note A coax appellation following by a number for example coax 1 identifies which coax cable within the Hirose cable is used for a specific connection A twisted pair appellation refers to a separate cable used to supplement the twelve conductors on the Hirose cable This cable must use sleeving to attach it to the corresponding Hi
61. 0x1 CORACQ PRM HUE Not available CORACQ PRM INT FRAME TRIGGER ENABLE TRUE FALSE CORACQ PRM INT FRAME TRIGGER FREQ min 1 milli Hz max 1000000000 milli Hz step 1 milli Hz CORACQ PRM LUT ENABLE TRUE FALSE CORACQ PRM LUT FORMAT Default CORACQ VAL OUTPUT FORMAT MONOS CORACQ PRM LUT MAX 1 CORACQ PRM LUT_NENTRIES 256 entries CORACQ PRM LUT NUMBER Default 0 CORACQ PRM MASTER MODE CORACQ VAL MASTER MODE DISABLE 0x0 CORACQ VAL MASTER MODE HSYNC VSYNC 0x1 CORACQ VAL MASTER MODE HSYNC 0x2 CORACQ VAL MASTER MODE VSYNC 0x4 CORACQ PRM MASTER MODE HSYNC POLARITY CORACQ VAL ACTIVE LOW 0x1 CORACQ VAL ACTIVE HIGH 0x2 CORACQ PRM MASTER MODE VSYNC POLARITY CORACQ VAL ACTIVE LOW 0x1 CORACQ VAL ACTIVE HIGH 0x2 CORACQ PRM OUTPUT FORMAT CORACQ VAL OUTPUT FORMAT MONO8 CORACQ VAL OUTPUT FORMAT RGB8888 CORACQ PRM PIXEL MASK Not available CORACQ PRM PLANAR INPUT SOURCES Bitflag where each bit from to 5 represent the corresponding camera index 0x00 disabled 0x03 CAMI and CAM2 0x07 CAMI CAM2 and CAM3 0x18 CAM4 and CAMS 108 e Sapera LT PC2 Vision User s Manual 0x38 CAMA CAMS and CAM6 CORACQ PRM PROG FILTER ENABLE Not available CORACQ PRM PROG FILTER FREQ Not available CORACQ PRM SATURATION Not available CORACQ PRM SCALE HORZ min 4 pixel
62. 2 Vision IFC_PC2V_FrameDelay IFC_PC2V_FrameDelayPlanarVertical Title Description Features Setup Project location Frame Delay Readout using Vertical Planar Transfer Up to 6 cameras capture an image at the same moment and are subsequently acquired three at a time They are stored in the host memory in a planar manner and displayed in a vertical planar manner Dialog based application 2 vertical planar displays Selection of trigger source Frame count and frame rate indicators Trigger presence indicator From 1 to 6 cameras supporting frame delay readout 1 or 2 camera cables 1 PC2 Vision Installation Directory examples PC2 Vision IFC_PC2V_FrameDelayPlanarVertical PC2 Vision User s Manual IFC e 129 IFC PC2V Boards Title Description Features Setup Project location Acquisition with up to four PC2 Vision boards Shows how to acquire from up to 4 PC2 Vision boards within the same system In this demo each PC2 Vision requires one camera Use serial numbers to identify which PC2 Vision board corresponds to which PCI slot Dialog box based application Camera and port selection Grab or snap SW trigger Statistics indicators Serial number indicator for each card From 1 to 4 RS 170 or CCIR cameras From 1 to 4 camera cables From 1 to 4 PC2 Vision Installation Directory examples PC2 Vision IFC_PC2V_4Boards Interrupt Title I
63. 46 66 68 147 149 AUTORUN 13 average bandwidth 153 B bandwidth 3 171 BIOS 154 164 BoardInfo txt 161 buffer descriptor list 60 BUS MASTER 167 bus master done 65 66 bus mastering 3 bus transfer 3 C C 19 cables 80 166 camera application library 136 camera configuration file 118 Camera Configurator 20 48 135 136 137 141 144 145 146 153 166 167 Camera Reset 39 PC2 Vision User s Manual camera search utility 119 136 Camera Trigger 39 CamExpert 48 55 115 118 119 120 166 167 CCA 115 118 119 120 CCD 39 68 149 CCF 115 118 119 120 CCIR 28 CCIR 3 4 CCIR 50 CCIR 72 CCIR 166 channels 14 clamping 54 145 146 167 clamping pulse delay 35 clamping voltage level 53 CLK cycles 154 clock frequency 34 Clock Generator 34 53 COM port 15 21 composite sync 31 141 171 composite video 27 28 29 34 37 141 145 166 171 contiguous memory 17 18 117 Contrast and Brightness Adjustment 51 Cropper 55 66 71 138 custom cable 102 CVI 115 118 119 120 D DALSA Device Manager 161 DALSA FTP site 119 DALSA Log Viewer 162 DALSA web site 2 20 79 119 DC Restoration 53 167 debouncer 43 44 63 Decimator 57 66 differential input 146 DMA engine 73 double buffering 58 double serration vertical sync 144 driver upgrade 11 D Sub connector 60 76 dual channel camera 30 50 58 dynamic resources 18 E
64. 5 Acquisition Interrupts Note The Bus Master Done interrupt location is dependant upon PCI bus traffic as well as the size of the vertical front porch It therefore may occur after the vertical sync of the next field frame Error Support Interrupts PC2 Vision 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 Field The skipped field condition is signaled when onboard memory is full resulting in the currently acquired frame being discarded A typical cause of this problem is an insufficient PCI bandwidth Maximal theoretical bandwidth of the PCI bus is 132MB second If many bus master PCI devices are active simultaneously it is possible that not enough bandwidth is left for PC2 Vision s PCI controller Another possible cause could be a high bandwidth RGB camera PC2 Vision supports pixel clocks up to 40MHz When using 32 bit padded data from an RGB camera the maximal acquisition rate can reach 160MB second 40MHz x 4 bytes Using asynchronous reset this acquisition rate can be buffered by onboard memory as long as the rate of the external trigger allows an average PCI bandwidth of about 80M B second In free running mode however PC2 Vision will not be able to sink the 160MB second into the PCI bus Note that this
65. 60 Pulse Width Control The following parameters are located under the TrigStrb tab Frame Reset Mode IFC ENABLE Frame Reset Polarity IFC ACTIVE LOW or IFC ACTIVE HIGH Frame Reset Offset Offset in us after external trigger pulse before asserting frame reset Frame Reset Size Duration in us of frame reset pulse Add Frame Reset to VSync IFC DISABLE Frame Reset Aligned on Horz Sync IFC ENABLE Refer to Configuring the External Trigger on page 146 section to set external trigger parameters PC2 Vision User s Manual IFC e 149 Edge Pre Select Mode Edge Pre Select is equivalent to pulse width control except for one characteristic the exposure period is governed by a camera setting and not by the duration of the frame reset pulse The first edge of the frame reset pulse triggers the camera Restart Reset Long Time Exposure Mode in Free Running The integration time is controlled by the interval between two VD pulses Vertical sync and horizontal sync are input to the camera The VSync is implemented using a timer This timer can generate pulse duration up to 65 seconds di ven Pulse Duration VD I Vsync Pulse UE HD A TNT DECENTIA LETT HT A een Sync Width Video Out Figure 61 Restart Reset Long Time Exposure Free Running Integrated Video Invalid Video The VSync pulse parameters are located under the Timing tab They control the VD pulse VSync Pulse Enable P2V VSY
66. 63 E Donpisha Start Stop Trigger Frame reset parameters are located under the TrigStrb tab They control the frame reset pulse Frame Reset Mode IFC_ENABLE Frame Reset Polarity IFC ACTIVE LOW or IFC ACTIVE HIGH Frame Reset Offset Offset in us after external trigger before asserting frame reset Frame Reset Size Size of the frame reset pulse in us Add Frame Reset to VSync IFC DISABLE Frame Reset Aligned on Horz Sync IFC ENABLE VSync pulse parameters are located under the Timing tab They control the VD pulse VSync Pulse Enable P2V VSYNC TIME WIDTH VSync Pulse Offset Offset in us after external trigger before asserting VD pulse VSync Pulse Duration Size of the VD pulse in us Add VSync to Frame Reset IFC DISABLE Vertical Sync Polarity IFC ACTIVE LOW or IFC ACTIVE HIGH VSync Aligned on Horz Sync IFC ENABLE Horizontal timing parameters are located under the Timing tab They control HD pulses Master HSync Enable IFC ENABLE Horizontal Sync Frequency Line frequency of the camera in kHz Horizontal Sync Width Size of the HD pulse in number of pixels Horizontal Sync Polarity IFC ACTIVE LOW or IFC ACTIVE HIGH Refer to Configuring the External Trigger on page 146 section to set external trigger parameters 152 e IFC PC2 Vision User s Manual Serial Port Serial Port Selection The serial port must be mapped to the appropriate MDR 36 connector in order to control the camera Under the Gene
67. 91 31 12V GND 1 Wire BNC Pin MDR 36 Pin Male Frame Grabber BNC Female Connector Trigger In 18 Ext Trigl Coax Wire 17 Ext Trigl Coax Shield 11 Strobel Coax Wire 12 Digital GND Coax Shield Cable 8 Standard interface for one Jai camera Part Number OC PC2C V1H02 i 12 pin Hirose Female Label Camera 1 Shield from both sides has to be connected together Tw isted pair for serial port Use sleeving to tie this twisted pair to Hirose cable e Si 6 pinHirose Female ale MDR36 PinFront side View BNC Male Label Trigger In Pin1 BNC Male Label Strobe Out Pin36 Pin19 Figure 49 Single camera Hirose 12 Hirose 6 for Jai Note A coax appellation following by a number for example coax 1 identifies which coax cable within the Hirose cable is used for a specific connection 92 e Theory of Operation PC2 Vision User s Manual A twisted pair appellation refers to a separate cable used to supplement the twelve conductors on the Hirose cable This cable must use sleeving to attach it to the corresponding Hirose cable Camera 1 Pin MDR 36 Pin Male Frame Pin Hirose 12 pin Female Grabber 1 Videol 4 Coax 1 Wire 19 Videol AGND 3 Coax 1 Shield 2 HS1 6 Coax 2 Wire 4 Digital GND 5 Coax 2 Shield 20 VSI 7 Coax 3 Wire 22 Digital GND 12 Coax 3 Shield 21 WENI 1
68. ACQ VAL DC REST MODE ON 0x2 CORACQ VAL DC REST MODE OFF 0x4 CORACQ PRM DC REST START min 0 pixel max 2047 pixels step 1 pixel CORACQ PRM DC REST WIDTH min 0 pixel max 2047 pixels step 1 pixel CORACQ PRM DECIMATE COUNT Default 0 CORACQ PRM DECIMATE METHOD CORACQ VAL DECIMATE DISABLE 0x1 CORACQ VAL DECIMATE ODD 0x8 CORACQ VAL DECIMATE EVEN 0x10 CORACQ PRM EXT TRIGGER DETECTION CORACQ VAL ACTIVE LOW 0x1 CORACQ VAL ACTIVE HIGH 0x2 CORACQ VAL RISING EDGE 0x4 CORACQ VAL FALLING EDGE 0x8 CORACQ PRM EXT TRIGGER DURATION min 0 us max 255 us step 1 us CORACQ PRM EXT TRIGGER ENABLE CORACQ VAL EXT TRIGGER OFF 0x1 CORACQ VAL EXT TRIGGER ON 0x8 PC2 Vision User s Manual Sapera LT e 107 CORACQ PRM EXT TRIGGER FRAME COUNT Default 1 frame CORACQ PRM EXT TRIGGER LEVEL CORACQ VAL LEVEL TTL 0x1 CORACQ VAL LEVEL 422 0x2 CORACQ PRM EXT TRIGGER SOURCE 0 automatic selection 1 first MDR 36 J1 2 second MDR 36 J2 CORACQ PRM FIX FILTER ENABLE TRUE FALSE CORACQ PRM FIX FILTER SELECTOR 0 6 MHz 1 12 MHz 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 PRM HSYNC REF CORACQ VAL SYNC REF BEGIN
69. ACTIVE LOW CORACQ VAL ACTIVE HIGH CORACQ PRM EXT TRIGGER DURATION Debouncing duration CORACQ PRM EXT TRIGGER FRAME COUNT Number of frame to acquire per trigger Note CORACQ PRM EXT TRIGGER LEVEL always represents the opto coupler trigger input independent of its actual value CORACQ VAL LEVEL TTL or CORACQ VAL LEVEL 422 This means this parameter does not matter for the PC2 Vision driver In CamExpert these parameters are located under the External Trigger Parameters tab IFC IFC parameters for External Trigger P TRIGGER ENABLE IFC ENABLE P TRIGGER SRC IFC SOFT TRIG IFC EXTO TRIG IFC EXTI TRIG IFC EXT AUTO TRIG P GEN SW TRIGGER 0 1 P TRIGGER POLARITY IFC FALLING EDGE IFC RISING EDGE P FRAMES PER TRIGGER Number of frames to acquire per trigger P TRIGGER DEBOUNCE Debouncing duration P2V VSYNC WAIT COUNT Number of VS to count before acquiring after a trigger PC2 Vision User s Manual Theory of Operation e 45 Strobe One strobe signal is output per MDR 36 pin connector The pulse duration and polarity are programmable up to 65 seconds The strobe signal is achieved using a LVT244 driver with the following electrical characteristics Electrical Description Value parameters Vou typ Typical high level output voltage 3 1V 100LA Tou max Maximum high level output current 32mA sourcing lor max Maximum low level output current 64mA sink
70. CD ROM Click on Install Software after auto start initiates Select OS system and software to install in the pull down menu and click Start Install Make certain that all window applications are closed before clicking Next in the Welcome window Click Yes after reading the Software License Agreement Enter your name and company in the User Information window and click Next Click Next in the Choose Destination Location window if you want the software to install in the default folder Click Browse to select another folder if desired If Browse is selected click OK in the Choose Folder window after path directory and driver selections are made The Setup window opens and asks if it can create the destination folder displayed Click Yes The Choose Destination Location window reopens Click Next The Setup Type window is displayed It is recommended to select the typical installation Click Next PC2 Vision User s Manual Installing the PC2 Vision e 19 Select Components x Please select your boards from the list and then click Next Online documentation and examples will be installed only for the selected boards PCDIG PCRGB PCVision PCLineScan PCVisionplus PC CamLink Cancel e The Select Components window is displayed see above screen shot Check PC2 Vision and click Next Note that only the support configuration files and examples for the
71. CQ PRM COUPLING CORACQ VAL CHANNELS ORDER NORMAL 0x1 CORACQ VAL COUPLING AC 0x1 CORACQ PRM DETECT HACTIVE Not available CORACQ PRM DETECT PIXEL CLK Not available CORACQ PRM DETECT VACTIVE Not available CORACQ PRM FIELD ORDER CORACQ VAL FIELD ORDER ODD EVEN 0x1 CORACQ VAL FIELD ORDER EVEN ODD 0x2 CORACQ VAL FIELD ORDER NEXT FIELD 0x4 CORACQ PRM FRAME CORACQ VAL FRAME INTERLACE 0x1 CORACQ VAL FRAME PROGRESSIVE 0x2 CORACQ PRM FRAME INTEGRATE METHOD Not available CORACQ PRM FRAME INTEGRATE POLARITY Not available CORACQ PRM HACTIVE min 4 pixels max 2048 pixels step 4 pixels CORACQ PRM HBACK PORCH min 0 pixel max 2044 pixels step 1 pixel CORACQ PRM HFRONT PORCH min 0 pixel max 2044 pixel step 1 pixel CORACQ PRM HSYNC min 1 pixel max 2044 pixels step 1 pixel CORACQ PRM HSYNC POLARITY CORACQ VAL ACTIVE LOW 0x1 CORACQ VAL ACTIVE HIGH 0x2 CORACQ PRM INTERFACE CORACQ VAL INTERFACE ANALOG 0x1 CORACQ PRM PIXEL CLK 11 12270000 Hz CORACQ PRM PIXEL CLK DETECTION CORACQ VAL RISING EDGE 0x4 CORACQ PRM PIXEL CLK EXT min 7000000 Hz max 40000000 Hz step 1 Hz CORACQ PRM PIXEL CLK INT min 7000000 Hz max 40000000 Hz step 1 Hz CORACQ PRM PIXEL CLK SRC CORACQ VAL PIXEL CLK SRC INT 0x1 CORACQ VAL PIXEL CLK SRC EXT 0x2 C
72. Clamp needs to be defined in the back porch to obtain the proper intensity Note With Internal Sync mode the horizontal reference is the edge of HD as shown in Figure 13 HD relation to HS on page 35 With this synchronization scheme clamp start and clamp end values refer to the first edge of HD not to HS coming from composite video Anti aliasing Filter This low pass filter is used to prevent aliasing during the digitization process The Nyquist theorem states that to prevent aliasing the maximal frequency of an analog signal must be less than twice the digitization rate For example if your pixel clock is 12MHz you should enable a 6MHz filter to prevent aliasing PC2 Vision supports a 6MHz 12MHz and a filter bypass option Low Pass Filter Control Select appropriate filter for your Pixel Clock External Trigger and Strobe PC2 Vision supports two external triggers and two strobe signals one on each of the two MDR 36 camera connectors In the Camera Configurator go to the TrigStrb tab Configuring the External Trigger External Trigger Support The external trigger is an input signal to the frame grabber indicating when to initiate an acquisition PC2 Vision supports differential or TTL inputs Pinout MDR 36 pin 17 Ext Trigger MDR 36 pin 18 Ext Trigger Enabling Trigger You first need to activate the external trigger Trigger Enable IFC ENABLE Trigger Pulse Next define the physical attribut
73. Edge Pre Select mode 39 150 E Donpisha 39 152 Index e 175 End of Even Field 64 End of Field 64 End of Frame 64 End of Image 64 End of Odd Field 64 End of PCI transfer 65 exclusion area 46 exclusion region 148 External Sync 141 external trigger 39 43 44 63 68 70 71 146 147 148 149 151 152 166 External Trigger 4 73 F Fairchild HMHA281 44 fast camera switching 67 Fast Strobe 46 147 148 firmware 161 floppy power cable 15 49 78 166 floppy power connector 6 15 164 flow diagram 23 Found New Hardware Wizard 13 frame buffer 17 Frame Delay Readout 69 70 frame reset 15 26 34 36 39 40 41 42 68 70 71 72 80 142 149 151 152 frame reset signal 34 free running cameras 46 63 68 125 137 148 free running mode 66 137 G galvanic isolation 44 genlock 34 49 58 59 60 67 68 69 global scope function 62 Grab Demo 18 114 granularity 39 H hardware specifications 72 HCT244 driver 60 Hirose 15 40 80 84 86 87 89 90 92 93 94 100 horizontal back porch 53 145 horizontal decimation 57 horizontal front porch 35 host memory 3 73 host system memory 173 176 e Index host system memory 171 HSYNC 72 HyperTerminal 48 I I O controls 73 IFC 3 19 20 21 48 50 62 63 64 65 67 121 135 136 137 155 164 IFC software examples 121 IFC Software Examples 3Cam1Grab Example 134 6Cam2Grab Example 127 G
74. GH P NUM EQ PULSES FPORCH Size of vertical front porch P NUM EQ PULSES BPORCH Size of vertical back porch Sync on Separate Sync In this mode the VS and HS signals are each input to the PC2 Vision The Sync Extractor is bypassed The PLL compares the separate horizontal sync input to the internal feedback and generates the PLL clock The ADC uses the PLL clock to digitize the video input The polarity of the sync inputs is programmable allowing positive or negative polarity inputs active high or active low signals The incoming signals must be referenced to ground 32 e Theory of Operation PC2 Vision User s Manual Pixels Valid Pixels ADC LUT Cropper Cam Analog Composite Video Pixel Clock PLL NEMO ME VS UU 000 9g Figure 11 Separate Sync Each camera has its own VS and HS pin They are TTL level and are typically implemented using a LVT245 device Sapera parameters for Sync on Separate Sync CORACQ PRM SYNC CORACQ VAL SYNC SEP SYNC Sa pe ra CORACQ PRM HSYNC Size of horizontal sync pulse CORACQ PRM HSYNC POLARITY CORACQ VAL ACTIVE LOW CORACQ VAL ACTIVE HIGH CORACQ PRM HBACK PORCH Size of horizontal back porch CORACQ PRM HACTIVE Number of valid pixels per line CORACQ PRM HFRONT PORCH Size of horizontal front porch CORACQ PRM VSYNC Size of vertical sync pulse CORACQ PRM VSYNC POLARITY CORACQ VAL ACTIVE LOW CORACQ VAL ACTIVE
75. HIGH 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 In CamExpert these parameters are located under the Basic Timing Parameters tab IFC parameters for Sync on Separate Sync i F C P2V SYNC SOURCE P2V SYNC SEPARATE SYNC P HSYNC FREQ Horizontal sync frequency P HSYNC WIDTH Size of Horizontal sync pulse P HSYNC POLARITY IFC ACTIVE LOW IFC ACTIVE HIGH P2V HORZ FRONT PORCH Size of horizontal front porch PC2 Vision User s Manual Theory of Operation e 33 P2V HORZ BACK PORCH Size of horizontal back porch P VSYNC FREQ Vertical sync frequency P VSYNC POLARITY IFC ACTIVE LOW IFC ACTIVE HIGH P NUM EQ PULSES FPORCH Size of vertical front porch P NUM EQ PULSES BPORCH Size of vertical back porch Internal Sync In Internal Sync XTAL mode a clock generator is programmed to generate the desired pixel clock and time base signals The Clock Generator produces separate horizontal and vertical sync signals that match the desired video format These signals are then output to the camera The frequency synthesizer can be programmed to generate any clock frequency up to 40MHz with less than 1ns jitter In XTAL mode the Clock Generator can be programmed to standard and non standard camera timing The horizontal and vertical timing created by the Clock Generator is
76. IFC http www dalsa com Text that must be entered using the keyboard will be in typewriter style text for example c temp Menu and dialog actions will be indicated in bold text in the order of the instructions to be executed with each instruction separated by bullets For example going to the File menu and choosing Save would be written as FilesSave 2 e Introduction PC2 Vision User s Manual PC2 Vision Board The PC2 Vision Overview Two versions of the PC2 Vision are available as a PCI version 2 1 or PCI Express compatible plug in board Both versions provides image capture for cost sensitive machine vision applications This manual applies to both versions The acquisition circuitry interfaces with standard RS 170 and CCIR and non standard progressive scan analog cameras RGB and dual channel analog cameras PC2 Vision makes interfacing with cameras easy by offering fully programmable timing coupled with efficient cabling and a variety of trigger strobe and asynchronous reset options To further simplify the integration task PC2 Vision provides general purpose parallel I O capabilities for controlling or monitoring the status of external events PC2 Vision provides a very efficient 32 bit PCI or PCI Express interface which is capable of bus mastering image data directly to a memory destination within the system that is system memory or another PCI or PCI Express target such as VGA Transfer rates up to 100 MB second
77. Implementing these suggestions require a thorough understanding of your computer system setup and its BIOS controls Allocate a separate IRQ for the frame grabber BIOS settings can be used to manually assign the IRQ number to a particular PCI slot As an alternative the Window Device Manager can be used to force a specific IRQ to a specific PCI slot Minimize the PCI latency timer in the BIOS setting the value is given in CLK cycles Use a high performance AGP VGA board to decrease the image display system overhead when live acquisition 1s required Avoid any hard drive write read operations and network access through PCI LAN interfaces during intensive image transfers by the frame grabber Important Some computer systems do not provide the BIOS controls described Review your system manual 154 e IFC PC2 Vision User s Manual PCVision IFC Parameter Comparison Overview The following tables compare IFC parameters between PCVision and PC2 Vision They are intended to help someone familiar with PCVision to create config files for PC2 Vision Parameters on the same line control equivalent functionality on their respective board For a complete description of each parameter please refer to the IFC SDK Software manual Timing Parameters PCVision Param Values PC2 Vision Param Values P TIMING SRC IFC PLL STRIPPED SYNC IFC XT AL SEPARATE SYNC OUT IFC XTAL COMPOSITE SYNC OUT IFC VARIABLE SCAN P2V SYNC
78. M TIME INTEGRATE PULSEl DURATION min 0 us max 65535000 us step 1 us CORACQ PRM TIME INTEGRATE PULSE POLARITY CORACQ VAL ACTIVE LOW 0x1 CORACQ VAL ACTIVE HIGH 0x2 CORACQ PRM VACTIVE min line max 2048 lines step 1 line CORACQ PRM VBACK INVALID min 0 line max 100 lines step line PC2 Vision User s Manual Sapera LT e 105 CORACQ PRM VBACK PORCH min 0 line max 2047 lines step line CORACQ PRM VFRONT PORCH CORACQ PRM VIDEO min 0 line max 2047 lines step 1 line CORACQ VAL VIDEO MONO 0x1 CORACQ VAL VIDEO RGB 0x8 CORACQ PRM VIDEO LEVEL MAX Default 0 uV CORACQ PRM VIDEO LEVEL MIN Default 0 uV CORACQ PRM VIDEO STD CORACQ VAL VIDEO STD NON STD 0x1 CORACQ VAL VIDEO STD RS170 NTSC 0x2 CORACQ VAL VIDEO STD CCIR PAL 0x4 CORACQ PRM VSYNC min 1 line max 2047 lines step line CORACQ PRM VSYNC POLARITY CORACQ PRM WEN POLARITY CORACQ VAL ACTIVE LOW 0x1 CORACQ VAL ACTIVE HIGH 0x2 CORACQ VAL ACTIVE LOW 0x1 CORACQ VAL ACTIVE HIGH 0x2 VIC PARAMETERS Values CORACQ PRM BIT ORDERING CORACQ VAL BIT ORDERING STD 0x1 CORACQ PRM BRIGHTNESS min 20000 1 1000 max 29000 1 1000 step 196 1 1000 CORACQ PRM BRIGHTNESS BLUE min 20000 1 1000 max 29000 1 1000 step 196 1 1000 CORACQ PRM BRIGHTNE
79. Monochrome Camera CAM 1 CAM 2 CAM 3 CAM 4 CAM 5 CAM 6 RGB Camera CAMI blue CAMI green CAMI red CAM2 blue CAM green CAM2 red Dual Channel Camera CAMI even field CAMI odd field Not used CAM even field CAN2 odd field Not used For RGB or dual channel cameras use IFC port 0 for JI MDR 36 or port 3 for J2 MDR 36 to control the camera in the application source code Anti aliasing Filter Following the MUX stage the video passes through a selectable low pass filter optimized for standard video frequencies The filter values are 6MHz and 12MHz with the possibility to bypass filters All three channels are selected together independent low pass selection not available The low pass filter strips high frequency signal content from the incoming video signal to avoid sampling aliasing artifacts in the signal Standard video RS 170 CCIR has useful frequency content up to approximately 6MHz Frequencies above this can be eliminated using the low pass filters Sampling rates for standard video are 10MHz up to 14MHz If frequencies at or above the sampling rate are present they represent noise rather than useful video These frequencies can alias into the real video signals causing corruption The low pass filters can eliminate any high frequency signal content before digitization 6MHz 50 e Theory of Operation MUX 12MHz N filter bypass MUX
80. NC TIME WIDTH VSync Pulse Offset Delay between VD pulses sent to camera This corresponds to the frame rate for non interlaced cameras VSync Pulse Duration Size of the VD pulse in us Add VSync to Frame Reset IFC DISABLE Vertical Sync Polarity IFC ACTIVE LOW or IFC ACTIVE HIGH VSync Aligned on Horz Sync IFC ENABLE The horizontal timing parameters are located under the Timing tab They control HD pulses Master HSync Enable IFC ENABLE Horizontal Sync Frequency Line frequency of the camera in kHz Horizontal Sync Width Size of the HD pulse in number of pixels Horizontal Sync Polarity IFC ACTIVE LOW or IFC ACTIVE HIGH 150 e IFC PC2 Vision User s Manual Restart Reset Long Time Exposure Mode with External Trigger An external trigger fires the acquisition process Two timers VS and Frame Reset must be combined onto the VS signal to define the exposure Each timer is independent and is fired by the external trigger Ext Trigger Pulse Mi Reset Offset Vsync Pulse us Frame Reset Vsync Pulse Size Duration VD HD tt Horizontal Sync Width Video Out Invalid Video Integrated Video Figure 62 Restart Reset Long Time Exposure Mode External Trigger Frame reset parameters are located under the TrigStrb tab They control the first VD pulse Frame Reset Mode IFC ENABLE Frame Reset Polarity IFC ACTIVE LOW or IFC ACTIVE HIGH same as VS polarity Frame Reset Offset Offset in us aft
81. ORACQ PRM PIXEL DEPTH 8 bits CORACQ PRM SCAN CORACQ VAL SCAN AREA 0x1 CORACQ PRM SIGNAL CORACQ VAL SIGNAL SINGLE ENDED 0x1 104 e Sapera LT PC2 Vision User s Manual CORACQ PRM SYNC CORACQ VAL SYNC COMP VIDEO 0x1 CORACQ VAL SYNC COMP SYNC 0x2 CORACQ VAL SYNC SEP SYNC 0x4 CORACQ VAL SYNC INT SYNC 0x8 CORACQ VAL SYNC RED 0x10 CORACQ VAL SYNC GREEN 0x20 CORACQ VAL SYNC BLUE 0x40 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 OUTPUT CORACQ VAL TAP OUTPUT SEGMENTED 0x2 CORACQ PRM TAPS min tap max tap step 1 tap CORACQ PRM TIME INTEGRATE METHOD CORACQ VAL TIME INTEGRATE METHOD 1 0x1 CORACQ VAL TIME INTEGRATE METHOD 2 0x2 CORACQ VAL TIME INTEGRATE METHOD 3 0x4 CORACQ VAL TIME INTEGRATE METHOD 4 0x8 CORACQ VAL TIME INTEGRATE METHOD 5 0x10 CORACQ VAL TIME INTEGRATE METHOD 6 0x20 CORACQ VAL TIME INTEGRATE METHOD 7 0x40 CORACQ PRM TIME INTEGRATE PULSE0 DELAY min 0 us max 65535000 us step 1 us CORACQ PRM TIME INTEGRATE PULSEO DURATION min 0 us max 65535000 us step 1 us CORACQ PRM TIME INTEGRATE PULSEO POLARITY CORACQ VAL ACTIVE LOW 0x1 CORACQ VAL ACTIVE HIGH 0x2 CORACQ PRM TIME INTEGRATE PULSEI DELAY min 0 us max 65535000 us step 1 us CORACQ PR
82. POLARITY IFC ACTIVE LOW IFC ACTIVE HIGH P NUM EQ PULSES FPORCH Size of vertical front porch P NUM EQ PULSES BPORCH Size of vertical back porch Camera Control Pulse Generator PC2 Vision has three independent timers that control pulse generation This is necessary for camera control This allows to position pulses precisely to a resolution of l us relative to the triggering event This flexibility proves very handy considering the wide range of camera control modes edge pre select pulse width control E Donpisha etc An independent timer is available for each of the following signals e VS e Frame Reset e Strobe VS and Frame Reset timers can be combined to generate a double pulse on the same camera pin This is required for some camera modes like long time exposure Each timer has the following capabilities e Programmable polarity active high or active low e Programmable delay from trigger event up to 65 seconds e Programmable duration up to 65 seconds Timer granularity is Ius when the delay and duration values are below 65ms Granularity falls to 1ms for delay or duration above 65ms Delay and duration always have the same granularity level Each timer can be started by any of the following events e VS e External trigger e Software trigger VS is the default Frame Reset Frame reset also known as camera reset or camera trigger is a signal sent by the PC2 Vision to the camera to tri
83. Parameters and the Advanced Control Parameters tabs IFC IFC parameters for Sync on Internal Sync P2V SYNC SOURCE P2V SYNC INTERNAL SYNC P2V MASTER HSYNC IFC ENABLE P HSYNC FREQ Horizontal sync pulse frequency P HSYNC WIDTH Horizontal sync pulse width P HSYNC POLARITY Horizontal sync pulse polarity P2V VS PULSE ENABLE IFC VSYNC LINE WIDTH P VSYNC FREQ Vertical sync pulse frequency P VSYNC WIDTH Vertical sync pulse width P VSYNC POLARITY Vertical sync pulse width P2V VSYNC OUT ENABLE IFC DISABLE IFC ENABLE P2V SYNC OUT ALL CONN IFC DISABLE IFC ENABLE Note With Asynchronous Reset mode and synchronization on Internal Sync use P2V VS PULSE ENABLE IFC VSYNC DISABLE in order for the frame reset and internal VS pulse to be synchronized together Otherwise your image will shift vertically while grabbing since the Master Mode VS is not synchronized to frame reset 36 e Theory of Operation PC2 Vision User s Manual WEN Some cameras indicate when valid data is being delivered by generating WEN or Write ENable The function of WEN is similar to a vertical sync pulse When enabled the PC2 Vision uses WEN as the vertical timing reference instead of VS Some cameras generate WEN but with no VS pulse embedded inside the composite video signal Frame Reset HD LAT AK WEN a Video Out Integrated Video Figure 14 WEN One WEN signal is available per connected
84. SS GREEN min 20000 1 1000 max 29000 1 1000 step 196 1 1000 CORACQ PRM BRIGHTNESS_RED min 20000 1 1000 max 29000 1 1000 step 196 1 1000 CORACQ PRM CAM RESET DELAY min 0 us max 65535000 us step 1 us CORACQ PRM CAM RESET ENABLE TRUE FALSE CORACQ PRM CAM TRIGGER DELAY min 0 us max 65535000 us step 1 us CORACQ PRM CAM TRIGGER ENABLE TRUE FALSE CORACQ PRM CAMSEL CAMSEL MONO from 0 to 5 106 e Sapera LT PC2 Vision User s Manual CAMSEL COLOR not available CAMSEL YC not available CAMSEL RGB from O to 1 CORACQ PRM CONTRAST min 60000 1 1000 94 max 170000 1 1000 step 1000 1 1000 CORACQ PRM CONTRAST BLUE CORACQ PRM CONTRAST GREEN min 60000 1 1000 94 max 170000 1 1000 step 1000 1 1000 96 min 60000 1 1000 94 max 170000 1 1000 step 1000 1 1000 96 CORACQ PRM CONTRAST RED min 60000 1 1000 94 max 170000 1 1000 step 1000 1 1000 96 CORACQ PRM CROP HEIGHT min 1 line max 2048 lines step 1 line CORACQ PRM CROP LEFT min 0 pixel max 2044 pixels step 1 pixel CORACQ PRM CROP TOP min 0 line max 2047 lines step 1 line CORACQ PRM CROP WIDTH min 4 pixels max 2048 pixels step 4 pixels CORACQ PRM DC REST MODE CORACQ VAL DC REST MODE AUTO 0x1 COR
85. Vision 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 PaneleSystem PropertieseDevice Manager because it is a logical serial port mapping PC2 Vision User s Manual Installing the PC2 Vision e 15 P Sapera Configuration xj r Server List System 1 PC2 Vision_1 Refresh r Contiguous Memory Used for allocating buffers Used for allocating messages Requested Requested 3 MBytes 3 MBytes Allocated Allocated 3 MBytes 3 MBytes r Serial Ports Physical Port Maps to Serial 0 on PC2 Vision 1 coms Selected physical port is present Camera Link API port index is not available Save Settings Now Configuring Sapera Viewing Installed Sapera Servers The Sapera Configuration program StarteProgramse DALSA Sapera LT Sapera Configuration allows the user to see all available Sapera servers for the installed Sapera compatible boards The System entry represents the system server It corresponds to the host machine your computer and is the only server that should be present at all times As shown in the following screen image server index 1 is the PC2 Vision board installed If required update the server list by clicking the Refresh button 16 Installing the PC2 Vision PC2 Vision User s Manual mf Sapera Configur
86. a server available and describes the Sapera parameters and values supported by PC2 Vision PC2 Vision Specific Sapera Examples Illustrates three Sapera examples specific to PC2 Vision Sapera Software Example Describes in detail the Sapera Grab Demo example and how use it Using Sapera CamExpert with PC2 Vision Describes CamExpert and how to use it with PC2 Vision IFC Software Examples Twenty four IFC example programs illustrating PC2 Vision features Applying IFC Camera Configurator to PC2 Vision Illustrates how to setup an imaging system using the DALSA Camera Configurator PCVision IFC Parameter Comparison PCVision parameters are compared with the corresponding PC2 Vision parameters Troubleshooting Offers suggestions for resolving installation or usage problems DALSA Contact Information Phone numbers web site and important email addresses PC2 Vision User s Manual Introduction e 1 About the Manual This manual exists in Adobe Acrobat PDF and chm help formats These formats make full use of hypertext cross references and include links to the DALSA home page on the Internet located at http www dalsa com accessed using any web browser For PC2 Vision specific information visit the DALSA web site at http www dalsa com This manual applies to both the PCI and PCIe versions of the board Using the Manual File names directories and Internet sites will be in bold text for example image2 bmp c
87. abber Pin BNC Male Connector Label PCLK PC2 Vision User s Manual Theory ofOperation e 81 36 PCLKI Coax Wire 29 Digital GND Coax Shield Pin MDR 36 Pin Male Frame Grabber Pin BNC Male Connector Label Ext Trigger 18 Ext Trigl Coax Wire 17 Ext Trigl Coax Shield Pin MDR 36 Pin Male Frame Grabber Pin BNC Male Connector Label Strobe 11 Strobel Coax Wire 12 Digital GND Coax Shield Cable 2 Standard RGB input cable for one camera using BNC connectors Part Number OC PC2C V1B01 BNC connector Red BNC connector Green BNC connector Blue Cable Length 6 sleeve BNC connector HS BNC connector Ext Trigger MDR 36 Pin Shrink Tubing 1 2 Male Shrink Tubing 1 4 BNC connector Cam Trigger BNC connector CS MDR 36 Pin Front side View BNC connector VS Figure 43 Single RGB camera BNC cable Pin MDR 36 Pin Male Frame Pin BNC Male Connector Label Blue Grabber 1 Blue Coax Wire 19 Blue AGND Coax Shield Pin MDR 36 Pin Male Frame Pin BNC Male Connector Label Green Grabber 5 Green Coax Wire 23 Green AGND Coax Shield Pin MDR 36 Pin Male Frame Pin BNC Male Connector Label Red 82 e Theory of Operation PC2 Vision User s Manual Grabber 8 Red Coax Wire 26 Red AGND Coax Sh
88. able See below for diagram Basically the strobe pulse is asserted from the first VS following the trigger This mode is often used with free running cameras Slow Ext 1 V Strob TST L Strobe Strobe delay duration Figure 23 IFC Slow strobe IFC parameters for Strobe P STROBE ENABLE IFC ENABLE P STROBE MODE IFC FAST STROBE IFC SLOW STROBEj P STROBE POLARITY IFC ACTIVE HIGH IFC ACTIVE LOW P STROBE DELAY Pulse offset from trigger event P STROBE DURATION Pulse duration P STROBE ALIGN ON HS fIFC DISABLE IFC ENABLE Serial Port PC2 Vision hosts a serial port UART that can be dynamically mapped to the first or second MDR 36 connector Therefore you have two Rx Tx pairs available from PC2 Vision even though they both are driven from the same physical UART This serial port is intended for camera control Default name for this serial port is PC2 Vision X Serial 0 where X represents the PC2 Vision board number from 1 to 8 Note A typical configuration would use 9600 baud 8 bit no parity 1 stop bit 9600 8 N 1 PC2 Vision User s Manual Theory of Operation e 47 Note After booting your computer you must run an IFC or a Sapera application such as the Configurator amp or CamExpert to make the serial port accessible This is required to initialize resources on the PC2 Vision Ports can be used with their default names for example PC2 Vision 1 Serial 0 by many camera control appl
89. ame reset VS HS WEN Pixel clock composite sync Onboard Processing Input lookup tables following A D Area of Interest transfers YCrCb converter Power Camera power onboard 12 V 500mA fused protected Parallel I O power 2 pins at 5V 500mA fused protected PC2 Vision User s Manual Theory of Operation e 73 PC2 Vision Connector and Jumper Locations PC2 Vision component view The PCI Express and PCI board versions have the same component layout except the PCI Express version does not have LED 3 jayi J11 J3 J10 i J12 e J13 LED PCLonly LED 377 J8 J2 JL PCI Express Bus Figure 39 Component View Connector Bracket Figure 40 Connector Bracket 74 e Theory of Operation PC2 Vision User s Manual J1 MDR 36 Pin Female Group 1 Camera Connector Pin 2 Pin 18 Pin 1 Pin Pin Name Type Pin Pin Name Type 1 Videol Input 19 Videol AGND 2 HS1 Input Output 20 VSI Input Output 3 Camera Trigger 1 Output 21 WENI Input 4 Digital GND 22 Digital GND 3 Video2 Input 23 Video2 AGND Input 6 HS2 Input Output 24 VS2 Input Output 7 Camera_ Trigger 2 Output 25 WEN2 Input 8 Video3 Input 26 Video3 AGND 9 HS3 Input Output 27 VS3 Input Output 10 Camera Trigger 3 Output 28 WEN3 Input 11 Strobel O
90. arameter is always 8 bits read only For RGB video each color plane has 8 bits Note You can connect a maximum of two RGB cameras to one PC2 Vision The first RGB camera uses ports 0 1 and 2 the second camera uses ports 3 4 and 5 The camera configuration file must be applied to port 0 or 3 respectively Port 0 is blue port 1 is green and port 2 is red for the first RGB camera Port 3 1s blue port 4 is green and port 5 is red for the second RGB camera Interlaced or Non interlaced Select the scan method used by your camera interlaced or non interlaced scan For interlaced cameras Scan mode IFC ILACED First Field in Frame IFC ODD FIELD For non interlaced progressive scan cameras Scan mode IFC NILACED First Field in Frame IFC NEXT FIELD Other parameters must be set to the default value Fields Processed P2V FIELD PROCESS ALL Multi tap mode P2V SINGLE TAP Cropper The Cropper is used to define the region of interest ROI to capture within the active video region This excludes the back and front porch The ROI can be the whole frame size or a smaller area The Cropper applies to the horizontal and vertical active period Therefore the ROI refers to the image portion transferred to the host by the PC2 Vision The cropped image area in the figure below illustrates this 138 e IFC PC2 Vision User s Manual S 5 Oo 9 o c LE o 9 o O ajs E di So co S EM c O gt I lt
91. as operating system computer CPU system memory PCI configuration space as well as PC2 Vision firmware information can be written to a text file default file name BoardInfo txt Execute the program using the Windows Start Menu shortcut Start All Programs e DALSA PC2 Vision Device Driver Device Manager If the DALSA Device Manager program does not run it will exit with a message that the board was not found Since the PC2 Vision board must have been in the system to install the board driver possible reasons for an error are e Board was removed e Board driver did not start or was terminated e PCI conflict after some other device was installed PC2 Vision User s Manual Troubleshooting e 161 Sapera comes with the following tools to help resolve PC2 Vision problems DALSA Log Viewer StarteProgram eDALSA Sapera LT ToolssDALSA Log Viewer Lists various information and warning and error messages reported by DALSA boards including the PC2 Vision driver PCI Diagnostics StartsPrograme DALSA Sapera LT Tools PCI Diagnostics Lists all PCI configuration space registers of the computer IFC comes with the following tools to help resolve PC2 Vision problems F C DALSA Log Viewer Start Programs IFC Version 5 8 Tools DALSA Log Viewer Lists various information and warning and error messages reported by DALSA boards including the PC2 Vision driver PCI Diagnostics StartePrograms IFC Version 5 8 Tools PCI D
92. ation a X r Server List System 1 PC2 Vision 1 Refresh r Contiguous Memory Used for allocating buffers r Used for allocating messages Requested Requested g ES MBytes 3 MBytes Allocated Allocated E MBytes 3 MBytes r Serial Ports Physical Port Maps to Serial 0 on PC2 Vision 1 vi coms vi Selected physical port is present Camera Link API port index is not available Save Settings Now 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 The default values will generally satisfy the needs of most applications The Sapera buffer values determine the total amount of contiguous memory reserved at boot time for the allocation of dynamic resources used for host frame buffer management such as DMA descriptor tables as well as other kernel needs Adjust this value higher if your application generates any out of memory error while allocating host frame buffers You can approximate the amount of contiguous memory required as follows e Calculate
93. ation by 2 4 or 8 horizontally and vertically pixel dropping 8MB Maximum frame size of 2k x 2k mono or 1k x 1k RGB Ensures 2 frames in onboard memory for double buffering All cameras must have the same frame size when starting an acquisition Figure 4 Pre Memory Stage of Flow Diagram Theory of Operation e 25 Post Memory Operations From Onboard Memor YCrC Enain Optionally converts to 16 bit padded YCrCb for 9 Chrominance padding does not eat onboard Plana a Converte Converts packed channel into 3 x 8 bit channels Useful color plane PCI or Scatter gather engine to grab into host logical memory Controlle minimize CPU e 32 bit 33MHz high speed PCI interface 5V and 3 3V or PCI Express interface To PCI or PCI Express Bus Figure 5 Post Memory Stage of Flow Diagram Camera Control and Synchronization Source of Synchronization PC2 Vision offers a selection of synchronization sources allowing it to interface with various cameras All six cameras have their own HS VS frame reset and WEN signal The Acquisition and Control Unit ACU is the main controller responsible for supervising the acquisition process It manages all the signals coming from the cameras and recovers the timing information to accurately digitize the video signal into pixels 26 e Theory of Operation PC2 Vision User s Manual Input Video Pixels ADC
94. ble supporting three cameras Jai M series camera cable supporting three cameras Part Number OC PC2C V1B00 OC PC2C V1B01 OC PC2C V3A00 OC PC2C V1H00 OC PC2C V3H00 OC PC2C V1HOI OC PC2C V3H01 OC PC2C V1H02 OC PC2C V3H02 OC PC2C V1D00 OC PC2C V3H03 OC PC2C V3H04 Warning Some cameras have frame reset on their Hirose 12 pin 9 while other have it on pin 11 It is imperative to use the appropriate camera cable that matches the frame reset pinout Failure to do so could result in board damage 80 e Theory of Operation PC2 Vision User s Manual Male Cable 1 Standard input cable for one camera using BNC connector Part Number OC PC2C Cable Length Shrink Tubing MDR 36 Pin Front side Pin Pin Shrink Tubing BNC connector BNC connector BNC connector Figure 42 Single camera BNC cable Pin MDR 36 Pin Male Frame Grabber Pin BNC Male Connector Label Video 1 Video1 Coax Wire 19 Videol AGND Coax Shield Pin MDR 36 Pin Male Frame Grabber Pin BNC Male Connector Label HS 2 HS1 Coax Wire 4 Digital GND Coax Shield Pin MDR 36 Pin Male Frame Grabber Pin BNC Male Connector Label VS 20 VSI Coax Wire 22 Digital GND Coax Shield Pin MDR 36 Pin Male Frame Grabber Pin BNC Male Connector Label Cam Trigger 3 Camera Trigger Coax Wire 29 Digital GND Coax Shield Pin MDR 36 Pin Male Frame Gr
95. ble performing the installation please consult a qualified computer technician Never remove or install any hardware component with the computer power on Disconnect the power cord from the computer to disable the power standby mode This prevents the case where some computers unexpectedly power up when a board is installed 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 Board Driver Upgrade Only Minor upgrades to acquisition board drivers are typically distributed as ZIP files available in the DALSA web site http www dalsa com Board driver revisions are also available on the next release of the Sapera CD ROM Often minor board driver upgrades do not require a new revision of Sapera To confirm that the current Sapera version will work with the new board driver e Check the new board driver ReadMe file before installing for information on the minimum Sapera version required e Ifthe ReadMe file does not specify the Sapera version contact DALSA Technical Support see Technical Support on page 170 PC2 Vision User s Manual Installing the PC2 Vision e 11 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
96. boards are able to provide up to 500mA of power to the camera from the PCI or PCI Express connector fused protected Nonetheless DALSA recommends connecting the floppy power connector to ensure sufficient current is driven to the cameras from the PC power supply Caution Sinking more than 500mA from the PC2 Vision PCI or PCI Express connector may result in the auto reset fuse blowing or in erratic behavior with the camera if it requires more than 500mA Check your camera datasheet for the required camera current while other cameras have it on pin 11 It is imperative to use the appropriate camera Warning Some cameras have frame reset located on pin 9 of the Hirose 12 connector cable that matches the frame reset pinout Failure to do so could result in board damage COM Port Assignment The lower section of the Sapera Configuration program screen contains the serial port configuration menu Configure as follows e Open the Sapera Configuration program by selecting StarteProgramseDALSA Sapera LT Sapera Configuration e Use the Physical Port drop menu to select the Sapera board device from all available Sapera boards using serial ports when more then one board is in your system e Use the Maps to drop menu to assign an available COM number to the Sapera board serial port e Click on the Save Settings Now button and then the Close button You are prompted to reboot your computer to enable serial port mapping e The PC2
97. camera WEN has programmable polarity it can be selected to be active high or active low WEN input signal is TTL level and is typically implemented using a LVT244 device Sapera parameters for WEN CORACQ PRM WEN ENABLE TRUE FALSE Sa pe ra CORACQ PRM WEN POLARITY CORACQ VAL ACTIVE LOW CORACQ VAL ACTIVE HIGH CORACQ PRM VBACK INVALID Number of lines to skip for valid video after WEN pulse In CamExpert these parameters are located under the Advanced Control Parameters tab IFC parameters for WEN P F C P WEN ENABLE IFC ENABLE P WEN POLARITY IFC ACTIVE LOW IFC ACTIVE HIGH P WEN VERTICAL OFFSET Number line to skip for valid video after WEN pulse Variable Scan Mode Variable Scan mode is similar to Separate Sync with the addition of a pixel clock signal Variable Scan mode allows the camera to completely generate the timing information HS VS and pixel clock The incoming signals must be referenced to ground PC2 Vision User s Manual Theory of Operation e 37 The Pixel Clock rising edge TTL is used by the ADC to sample the video signal One pixel clock signal is available per MDR 36 pin connector The minimum frequency rate is 7MHz and the maximum is 40MHz Pixel clock signal supports a TTL voltage range from 0 to 5V CAM Analog Composite Video Pixel Clock Pixels Valid Pixels ADC LUT Cropper l py
98. carefully lift to unlock mechanism latch and gently pull Figure 41 Removing floppy power cable J10 Camera Power from PCI Connector When this jumper is set 12V power for the camera comes from the PCI connector When this jumper is removed the J6 power connector must be connected to a computer floppy disk power cable to provide 12V to the camera alternatively you can supply your own power supply to the J6 connector J11 J12 J13 Video Signal These test points provide access to the video signal just before conversion by the ADC J11 CAM1 or CAM4 J12 CAM2 or CAM5 J13 CAM3 or CAM6 78 e Theory of Operation PC2 Vision User s Manual LEDs LEDI indicates a 3 3V PCI bus LED2 indicates the fail safe boot mode when jumper J5 is removed It is not to be turned ON during the normal operation of the board LED3 indicates a 5V PCI bus PCI board version only LEDA PCI 12V Note LEDI and LED3 are mutually exclusive Computer Requirements for the PC2 Vision The PC2 Vision requires at minimum an Intel Pentium III or compatible computer system with a free PCI or PCI Express local bus slot depending on your board version Operating System Support Windows XP Windows Vista and Windows 7 PC2 Vision Physical Dimensions Approximately 6 675 Wx4 2 H 16 95 cm Wx10 67 cm H Power Requirements Typical Maximum 5 Volts 12 Volts 12 Volts Environment Ambient Tempera
99. ck the Save button The dump of PCI configuration file is saved under PCIDUMP TXT 3 Send PCIDUMP TXT to DALSA Technical Support 4 Note DALSA PCI Vendor ID is Ox11EC The PC2 Vision board PCI Device ID is 0x0200 NR Below is a typical PCI configuration for a PC2 Vision PCI device ion from Coreco Imaging bus 0 slot 10 function 0 Device enabled c 1337 2003 Coreco inc VendorID fOs11EC Rev ID 0x00 Latency o bo nius add 0 Device ID Ine Min Grant f B bit Ox00 gt OxEC 0x11 0x00 0x02 a os0200 oxoc oxi C qepe 02 2x08 0 00 0 00 0402 l Ox08 0x00 0x00 0x00 0x04 SubVendID nnno InPin or Max Lat x00 Aaa 006 2x00 0x00 0400 0 00 SubsystlD 0 0000 Line size 0x00 Class Code 0040000 Bit davans nan nwan nwan NNF Command Header type 3 vox FBB SERR wak PE veaj Mw Spc BM Mem ao oo Mulifunc Status BIST com PE SE Maj TA SA med DPE B28 user amp amp MHz 0 00 BIST capable Base address registers rm Expansion ROM Enabled 0 OxDE800000 to OxDEBFFFFF Mem Pre 32 bit Enabled 1 WO Pel m PCFC bridge 3 Diagnostic 2 vo Pel Primary Bus B nh Second Bus Save 4 TT CO ref Subord Bus L Help 5 1 0 Pre Bridge Ctrl He ddl PC2 Vision User s Manual Troubleshooting e 163 Symptoms PC2 Vision board not detected The board is n
100. contain all operating parameters related to the frame grabber board that is what the frame grabber can actually do with camera controls or incoming video The Sapera parameter groups located within the file Activates and sets any supported camera control mode or control variable Defines the integration mode and duration Defines the strobe output control Allocates the frame grabber transfer ROI the host video buffer size and buffer type RGB888 RGB101010 MONO8 MONO 16 Configuration of line frame trigger parameters such as source internal via the frame grabber external via some outside event electrical format TTL LVDS OPTO isolated and signal active edge or level characterization Camera Interfacing Check List Before undertaking the task of interfacing a camera from scratch using CamExpert Confirm that DALSA has not already published an application note with camera files http www dalsa com mv Confirm that Sapera does not already have a cca file for your camera installed on your hard disk If there is a cca file supplied with Sapera then use CamExpert to automatically generate the ccf file with default parameter values matching the frame grabber capabilities Check if the Sapera installation has a similar type of camera file A similar cca file can be loaded into CamExpert where it is modified to match timing and operating parameters for your camera and then save them as Camera Configuration files ccf or as a
101. ction Pin MDR 36 Pin Male Frame Grabber Pin Hirose 12 pin Female Camera 1 1 Videol 4 Coax 1 Wire 19 Videol AGND 3 Coax 1 Shield 2 HS1 6 Coax 2 Wire 4 Digital GND 5 Coax 2 Shield 20 VSI 7 Coax 3 Wire 22 Digital GND 12 Coax 3 Shield 3 Camera Triggerl 9 Coax 4 Wire 29 Digital GND 8 Coax 4 Shield 30 12V 2 Wire 31 12V GND 1 Wire 18 Ext_Trigl Coax Wire 17 Ext_Trigl Coax Shield 11 Strobel Coax Wire 12 Digital GND Coax Shield Cable 5 Standard interface to three Hirose 12 pin connectors with trigger pulse on pin 9 86 e Theory of Operation PC2 Vision User s Manual Part Number OC PC2C V3H00 i 12 pin Hirose Female Label Camera 1 12 pin Hirose Female Label Camera2 Shield from both sides has to be connected together 12 pin Hirose Female Label Camera3 MDR 36 Pin Male BNC Female Label Trigger In MDR36 PinFront side View Pin1 Pin36 Pin19 Figure 46 Three camera Hirose 12 cable trigger on pin 9 Note A coax appellation following by a number for example coax 1 identifies which coax cable within the Hirose cable is used for a specific connection Camera Pin MDR 36 Pin Male Frame Pin Hirose 12 Pin Female Camera 1 Grabber l Videol 4 Coax 1 Wire 19 Videol AGND 3 Coax 1 Shield 2 HS1 6 Coax 2 Wire 4 Digital GND 5 Coax
102. d Field 64 Start of Trigger 63 Static electricity 11 static resources 18 strobe 39 46 60 71 146 147 148 158 Sync Extractor 27 31 32 Sync on Composite Sync 31 Sync on Composite Video 27 Sync on R G or B 29 Sync on Separate Sync 32 synchronization sources 26 system memory 3 171 173 T technical support 11 161 162 163 170 thresholding 54 Timing Diagrams 65 transfer rates 3 Trigger input 73 Trigger To Image Reliability 61 66 71 troubleshooting 161 TTL 38 TTL 73 TTL 73 TTL inputs 146 TTL level 33 35 44 TTL output 45 60 U UART 47 V Variable Scan Mode 37 53 141 vertical blanking 67 vertical decimation 57 vertical front porch 66 vertical sync pulse 37 63 Vertical Timing 144 VGA 3 VScan Mode 142 VSync 41 PC2 Vision User s Manual VSYNC 72 W WEN 26 37 145 166 Window Device Manager 154 Window XP 18 Windows 2000 2 Windows 2000 4 Windows 2000 165 Windows COMXx port 48 Windows Event Viewer 161 Windows Logo testing 13 Windows NT 2 Windows NT 4 0 4 164 166 Windows OS memory 18 Windows XP 2 Windows XP 4 Windows XP 165 Windows XP 79 workstation 12 13 X XTAL 34 41 53 141 142 153 166 Y YCrCb Engine 58 PC2 Vision User s Manual Index e 179
103. 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 CCF File Selection The Acquisition Configuration window is also used to select the camera configuration file required for the connected camera Sapera camera files contain timing parameters and video conditioning parameters The default folder used for camera configuration files is also used by the CamExpert utility to save user generated or modified camera files Use Sapera CamExpert to generate the camera configuration file based on the timing and control parameters entered The CamExpert live acquisition window allows immediate verification of the parameters CamExpert reads both Sapera cca and cvi files for backwards compatibility with the original Sapera camera files Acquisition Configuration i xi rm Location Acquisition Server Acquisition Device PC2 vision 1 Analog Interface m r Configuration File ESCoreco15 apera CamFiles User Browse If no Configuration file exists for your board camera you must run the CamExpert utility to generate your Configuration file Grab Demo Main Window The main window provides control buttons and a central region where the grabbed image
104. e This process continues up to the last camera Exposure gt All CAM FR CAM 1 VD CAM 1 Video CAM 2 VD CAM 2 Video Trigger Event Select CAM 1 Select CAM 2 Figure 38 Frame Delay Readout When building a system with Frame Delay Readout consult your camera manufacturer s datasheet for any restrictions concerning this mode of operation Setting up the Frame Delay Readout is as simple as creating a list of cameras associated with an external trigger All cameras must have the same camera configuration file The list is first registered before being triggered for acquisition A different list can be separately created for both external triggers and a third list for the software trigger Note In Frame Delay Readout IFC camera configuration files must use Master HSync F C Enable IFC ENABLE and Source of Input Sync P2V SYNC INTERNAL SYNC IFC Support for Frame Delay Readout IFC support frame delay readout through the following CPCVision2 member functions SetFrameDelaySequence Define the sequence of cameras for a frame delay acquisition FrameDelaySnap Perform a frame delay snap on a set of cameras FrameDelayWait Wait for a frame delay snap to complete 70 e Theory of Operation PC2 Vision User s Manual Trigger To Image Reliability Trigger to image reliability incorporates all stages of image acquisition inside an integrated controller to increase reliability and simplify error recover
105. e 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 1s stored or transferred in 32 bits pixel where the upper 8 bits of each pixel are unused Scatter Gather Host system memory allocated for frame buffers is virtually contiguous but physically scattered throughout all available memory TTL Transistor Transistor Logic Acceptable TTL gate input signal voltage levels are LOW lower than 0 8V HIGH higher than 2 0V Any voltage between 0 8V and 2 0V is uncertain and will not be reliably interpreted by the TTL device Trigger A mechanism that initiates an action when an event occurs such as synchronizing an image acquisition to an external event A trigger generally causes a program routine to be executed such as the resetting of camera exposure and or the firing of a strobe light PC2 Vision User s Manual Glossary of Terms e 173 174 e Glossary of Terms PC2 Vision User s Manual Index 3 3M 10336 52F0 008 MDR36 shell 102 3M 10336 A200 00 MDR36 metal shell 102 3M web page 102 A AC coupled 4 72 ACU 26 62 71 ADC converter 27 31 32 38 51 53 78 142 administrator 12 13 analog cameras 3 Analog Stage 23 24 analog to digital converter 4 72 73 anti aliasing 50 anti aliasing filter 146 167 API 19 164 asynchronous inputs 29 49 asynchronous reset 3 36
106. e 6 Pin Female Grabber PC2 Vision User s Manual Theory of Operation e 95 10 Camera Trigger3 5 Coax 4 Wire 29 Digital GND 4 Coax 4 Shield BNC Pin MDR 36 Pin Male Frame BNC Male Connector Trigger In Grabber 18 Ext_Trigl Coax Wire 17 Ext Trigl Coax Shield 11 Strobel Coax Wire 12 Digital GND Coax Shield Cable 10 Jai CV M77 RGB cable Part Number OC PC2C V1D00 E 3 12 pin Female 6 pin Female MDR 36 Male BNC BNC MDR 36 Pin Front side A Label Strobe TITTI TITTI TITO Pin 36 Pin 19 Figure 51 Jai CV M77 RGB camera cable 96 e Theory of Operation PC2 Vision User s Manual Hirose Cable 1 Pin MDR 36 Pin Male Frame Pin Hirose 12 pin Connector Grabber Female 2 HS1 6 Coax 1 Wire 4 Digital GND 5 Coax 1 Shield 20 VSI 7 Coax 2 Wire 22 Digital GND 12 Coax 2 Shield 21 WENI 10 Coax 3 Wire 22 Digital GND 8 Coax 3 Shield 30 12V 2 Wire 31 12V GND 1 Wire Pin MDR 36 Pin Male Frame Pin Hirose 6 pin Connector Grabber Female 34 RXI 1 Wire 35 TXI 2 Wire 3 Camera Trigger 1 5 Coax 4 Wire 4 Digital GND 3 Coax 4 Shield Hirose Cable 2 Pin MDR 36 Pin Male Frame Pin DB9 Connector Male Grabber 1 Videol Blue 3 Coax 1 Wire 19 Videol AGND Blue AGND 2 Coax 1 Shield 5 Video2 Green 4 Coax 2 Wire 23 Video2
107. e of federal regulations CFR 47 part 15 for a class A product Montreal Canada 2008 05 22 Alda Nm Location Date Ghislain Beaupr Vice President Research amp Development 8 e PC2 Vision Board PC2 Vision User s Manual Development Software Overview Sapera LT Library Sapera LT is a powerful development library for image acquisition and control Sapera LT provides a single API across all current and future DALSA hardware Sapera LT delivers a comprehensive feature set including program portability versatile camera controls flexible display functionality and management plus easy to use application development wizards Sapera LT comes bundled with CamExpert an easy to use camera configuration utility to create new or modify existing camera configuration files Sapera Processing Library Sapera Processing is a comprehensive set of C classes for image processing and analysis Sapera Processing offers highly optimized tools for image processing blob analysis search pattern recognition OCR and barcode decoding PC2 Vision User s Manual PC2 Vision Board e 9 10 e PC2 Vision Board PC2 Vision User s Manual Installing the PC2 Vision 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 comforta
108. e to do so could result in board damage PC2 Vision provides an additional protection circuit that inhibits an erroneous connection of the frame reset pin preventing a 12V power level damaging the frame reset output Nevertheless it is not recommended to put a 12V level on the frame reset pin Sapera parameters for Frame Reset Refer to Time Integration method of Sapera documentation Sa pe ra CORACQ PRM TIME INTEGRATE METHOD Method to use for time integration CORACQ PRM TIME INTEGRATE PULSEO DELAY Pulse offset from trigger event CORACQ PRM TIME INTEGRATE PULSEO DURATION Size of pulse CORACQ PRM TIME INTEGRATE PULSEO POLARITY CORACQ VAL ACTIVE LOW CORACQ VAL ACTIVE HIGH Note Frame reset pulse is always aligned on HS in Sapera CamExpert parameters are located under the Advanced Control Parameters tab 40 e Theory of Operation PC2 Vision User s Manual Under IFC Frame Reset shares the VS parameters to create a double pulse A control is I F C offered to add VS to frame reset In this case both pulses will be sent to the frame reset pin Then it is only a matter of providing the appropriate offset and size for Frame Reset and VS The distance between the first and second pulse controls the exposure period on some cameras Double Pulse Frame Reset Ext m _ _ i Frame fF OT L FR FR lore aze vs MERE VS offset s duration Figure 17 Double pulse frame reset for
109. eatures Dialog box based application Camera and port selection Grab or snap SW trigger Frame rate indicator Setup Any RS 170 or CCIR camera Camera cable PC2 Vision Project location Installation Directory examples PC2 Vision IFC_PC2V_BasicGrab 122 e IFC PC2 Vision User s Manual IFC_PC2Y_BasicGrab OG en yen as Frame Rate Current Port Test 411 Camera and Port Select IFC PC2V BasicSoftOverlay Title Description Features Setup Project location Basic software overlay Basic acquisition and display with text drawing in a software overlay The software overlay allows you to draw over your live image using the Windows GDI It is not in the video memory and it is not as fast as a hardware overlay Dialog box based application Camera and port selection Grab or snap SW trigger Frame rate indicator Any RS 170 or CCIR camera Camera cable PC2 Vision Installation Directory examples PC2 VisionMFC PC2V BasicSoftOverlay PC2 Vision User s Manual IFC e 123 IFC PC2V BasicHardOverlay Title Description Features Setup Project location Basic hardware overlay Basic acquisition and display in a hardware overlay with text drawing in the standard graphic surface The hardware overlay is physically in the video memory of your display controller and converts in real time pixels in Y Cr Cb color format to the R G B format
110. ebec Canada HAM 2Z2 Tel 514 333 1301 Fax 514 333 1388 Asia Sales 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 PC2 Vision User s Manual USA Sales DALSA Billerica office 700 Technology Park Drive Billerica Ma 01821 Tel 978 670 2000 Fax 978 670 2010 European Sales DALSA Europe Breslauer Str 34 D 82194 Gr benzell Munich Germany Tel 49 8142 46770 Fax 49 8142 467746 DALSA Contact Information e 169 Technical Support Technical support requests for imaging product installations and help with imaging applications can be made at Any support question or request can be submitted via http www dalsa com mv support our web site 170 e DAISA Contact Information PC2 Vision User s Manual 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 Besides the computer s internal bus to memory and system components peripheral buses such as PCI and AGP allow adding or changing devices that make up the computer system Composite sync Synchronization signals that combines t
111. ed to the PC2 Vision at the same time But only one MDR 36 connector is MUXed to the ADC 48 e Theory of Operation PC2 Vision User s Manual MDR 36 Pin J1 X cz ADC MDR 36 Pin J2 Figure 24 Six monochrome connections The PC2 Vision can also genlock monochrome cameras attached to the same MDR 36 pin connector and digitize data simultaneously A 12V power pin 500mA is supported for each camera fuse protected Note that the J6 connector on the PC2 Vision must be connected to a floppy power cable to provide 12V to the cameras Refer to the PC2 Vision component view on page 74 section for connector locations The input is selected by the software control The timing is common to all three inputs Independent timing is not available Asynchronous inputs are not supported by the PC2 Vision The timing and synchronization settings apply to all three channels synchronously Multiple monochrome cameras must be externally genlocked or driven by the PC2 Vision timing see Internal Sync on page 34 video 1 video 2 video 3 video 4 video 5 video 6 PC2 Vision Input Monochrome Camera RGB Camera Sapera CAMI CAM 2 CAM 3 CAM 4 CAM 5 CAM 6 CAMI blue CAMI green CAMI red CAM2 blue CAM2 green CAM2 red PC2 Vision User s Manual Theory of Operation e 49 IFC Port IFC 0 1 2 3 4 5
112. emulate an external trigger using the software trigger The latter is generated by a function call from the application PC2 Vision User s Manual Theory of Operation e 43 External trigger is supported using two pins Ext Trigger and Ext Trigger RS 422 level can be directly connected to those pins When using TTL level connect the Ext Trigger to ground and drive Ext Trigger with the TTL trigger The PC2 Vision external trigger interfaces to the external world through the use of an opto coupled device Formed by an LED emitter combined with a photodetector in close proximity an opto coupler or opto isolator connects the PC2 Vision external trigger and the user circuit together while using separate grounds This galvanic isolation approach prevents ground loops and protects both circuits A serial resistor of 6500 is connected in serial to the opto coupler to limit the current 3 3V 6500 Ext_Trig E Opto Coupler Trigger Ext_Trig L1 Figure 21 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 being emitted the transistor can be turned ON just like a switch Data in the form of a voltage 1s transmitted on one side to the other like a transistor being ON or OFF The opto coupler input is an inverting circuit but the PC2 Vision software compensates for this when specifying the polarity The surrounding circuit that
113. er external trigger before asserting first VD pulse Frame Reset Size Size of the first VD pulse in ys Add Frame Reset to VSync IFC ENABLE Frame Reset Aligned on Horz Sync IFC ENABLE VSync pulse parameters are located under the Timing tab They control the second VD pulse VSync Pulse Enable P2V VSYNC TIME WIDTH VSync Pulse Offset Offset in us after external trigger before asserting second VD pulse VSync Pulse Duration Size of the second VD pulse in us Add VSync to Frame Reset IFC DISABLE Vertical Sync Polarity IFC ACTIVE LOW or IFC ACTIVE HIGH same as frame reset polarity VSync Aligned on Horz Sync IFC ENABLE Horizontal timing parameters are located under the Timing tab They control HD pulses Master HSync Enable IFC ENABLE Horizontal Sync Frequency Line frequency of the camera in kHz Horizontal Sync Width Size of the HD pulse in number of pixels Horizontal Sync Polarity IFC ACTIVE LOW or IFC ACTIVE HIGH Refer to Configuring the External Trigger on page 146 to set external trigger parameters PC2 Vision User s Manual IFC e 151 E Donpisha Start Stop Trigeer Mode Exposure time starts on the frame reset signal and ends on VD The frame grabber drives both of these signals gt peres Reset Offset Frame Reset Pulse a pane Reset Size ui Vsync Pulse Offset VD Vsync Pulse Be ki w nn Mii Sync Width Integrated Video Ext Trigger Pulse Video Out Figure
114. es of the trigger 146 e IFC PC2 Vision User s Manual Trigger Source Source of the external trigger Can be from first MDR 36 IFC EXTO TRIG second MDR 36 IFC EXTI TRIG connector holding the camera IFC EXT AUTO TRIG or a software generated trigger IFC SOFT TRIG Trigger Polarity Trigger can be detected on the rising edge P2V RISING EDGE or on the falling edge P2V FALLING EDGE Trigger Debounce This value indicates the minimal valid trigger pulse duration in ps Any trigger pulse shorter than this value is rejected Frame Timing Related to Trigger The remaining two trigger parameters are used to indicate trigger relation to the frames being acquired Frames per Trigger Number of frames to capture when a valid external trigger is detected This is normally set to 1 frame each trigger fires the acquisition of one frame VSync to Wait before Grab Indicates the number of VSync pulses to wait after a trigger before starting the acquisition Normally set to 1 to start grabbing at the next VSync grab the next valid frame Configuring the Strobe Strobe Support The strobe is an output signal from the frame grabber that is normally used to control a strobe light to illuminate the object while it 1s acquired Pinout MDR 36 pin 11 Strobe The strobe is implemented using a timer This timer can generate pulse duration up to 65 seconds Fast Strobe Mode In Fast Strobe mode the strobe pulse is sent i
115. est theoretical switching In practice the PLL needs to relocked before capturing the next valid frame This further reduces the frame rate below 2 3 of its nominal value IFC Support for Fast Camera Switching I F C IFC support fast camera switching through the following CPCVision2 member functions SwitchCameraDefineStart Start definition of a sequence of camera switching grab SwitchCameraDefineEnd End definition of a sequence of camera switching grab SwitchCameraGrab Start a defined switching camera grab SwitchCameraFreeze Freeze a switching camera grab Frame Delay Readout Support Frame Delay Readout is a special mode of operation available on certain cameras that allows simultaneous acquisition from multiple cameras using a single channel ADC This is an easy way to concurrently capture from up to six cameras using the PC2 Vision PC2 Vision User s Manual Theory of Operation e 69 Note Frame Delay Readout is not supported in Sapera LT 5 10 Sapera Operation of Frame Delay Readout is straightforward The frame reset pulse is sent to all cameras at the same time thus triggering simultaneous acquisition Once the exposure period is over PC2 Vision selects the first camera and fires a VD pulse The first camera outputs its analog video signal Once the first camera signal has been digitized PC2 Vision switches to the next camera and sends it a VD puls
116. fer Simultaneous acquisition and display of three genlocked cameras in planar mode in a single ring of acquisition buffers Planar mode means that the three images are at three different locations in memory In this demo IFC assumes that it is grabbing from a single RGB camera but the three colors signals could be in fact three monochrome signals coming from three cameras Dialog box based application Grab statistics frame count frame rate frame lost frame not acquired frame not displayed Trigger to image reliability indicators 134 e IFC PC2 Vision User s Manual Setup Project location Camera selection 3 genlockable monochrome cameras must accept external VD and HD signals Camera cable supporting 3 monochrome cameras PC2 Vision Installation Directory examples PC2 Vision IFC PC2V 3CamiRing Grab3 Title Acquisition from three genlocked cameras Description Simultaneous acquisition from three genlocked monochrome cameras with live display Features Uses P2VTEST TXT for configuration Setup 3 genlockable monochrome cameras must accept external VD and HD signals Project location Camera cable supporting three monochrome cameras PC2 Vision Installation Directory examples PC2 Vision Grab3 Applying IFC Camera Configurator to PC2 Vision Interfacing Cameras with IFC Camera Configurator The IFC Camera Configurator program is the camera interfacing tool for
117. for the pinout of this connector A bracket assembly part number 4816 is available to cable the Parallel I O pins to a female DB25 The Parallel I O is backward compatible with PCVision and it has the ability to provide power to an external box 2 dedicated 5V 500mA power pins with fuse protection are available The Parallel I O is achieved using HCT244 drivers with the following electrical characteristics Note that this is a 5V TTL device Electrical Description Value parameters Vin min Minimum high level input voltage 2V VIL max Maximum low level input voltage 0 8V Vimax Maximum input voltage 55V Tou max Maximum high level output current 6mA sourcing Tor max Maximum low level output current 6mA sinking 60 e Theory of Operation PC2 Vision User s Manual Sapera support for Parallel I O Access to Parallel I O is achieved using members of the SapGio class Refer to S a p e ra Sapera Programmer s manual for a complete description of the SapGio functions The resource indexes for the Parallel I O are 0 8 bit output resource 1 8 bit input resource 2 1 bit interrupt resource Example Assert output pin 0 of Parallel I O m pGioOutput new SapGio SapLocation PC2 Vision 1 0 m_pGioOutput gt Create m_pGioOutput gt SetPinConfig dwBitScan SapGio PinOutput m_pGioOutput gt SetPinState 0 SapGio PinHigh Note Sapera LT 5 10 does not support the input strobe and output
118. gger an acquisition One frame reset signal is available per camera The pulse duration and polarity are programmable Frame reset can be triggered either by an external trigger signal a software trigger or a VS After the trigger 1s initiated an internal frame reset counter counts up to 65 seconds This pulse is normally used to control the exposure of the camera CCD Edge Pre Select mode or Pulse Width Control mode The frame reset output signal is 3 3V low voltage TTL It is typically implemented using a LVT244 device with the following electrical characteristics PC2 Vision User s Manual Theory of Operation e 39 Electrical Description Value parameters Von typ Typical high level output voltage 3 1V 100uA Tou max Maximum high level output current 32mA sourcing lor max Maximum low level output current 64mA sinking Two parameters control the frame reset pulse First the offset indicates the delay from the trigger before asserting frame reset Then the size specifies the time the frame reset pulse is asserted The duration of the pulse controls the exposure period on some cameras Single Pulse Frame Ext FR FR offset d size d Figure 16 Single pulse frame reset Frame while other cameras have it on pin 11 It is imperative to use the appropriate camera o Warning Some cameras have frame reset located on pin 9 of the Hirose 12 connector cable that matches the frame reset pinout Failur
119. h Switcher Fast camera switching from up to six synchronized cameras Frame Delay Readout Examples FrameDelay Demonstrates how to acquire six cameras maximum simultaneously FrameDelayDlg Dialog box based application demonstrating frame delay readout FrameDelay Shows how to acquire from 6 cameras in frame delay mode using the planar vertical Planar Verticalmode PC2 Vision User s Manual IFC e 121 Miscellaneous Examples 4Boards Demonstrates how to acquire from up to 4 PC2 Vision boards Interrupt Demonstrates how to use interrupts available on PC2 Vision PulseGen Use Vixn to generate high precision pulses on the Parallel I O output SeqSnap Snaps a small number of images into host memory and replays them Vixn Shows how to use Vixn and explains why the response is fast and steady Planar Transfer Examples 3Cameras Simultaneous acquisition and display of three synchronized cameras dialog box application 3Cam Planar Shows how to acquire from 3 cameras with a single ring and a single buffer Vertical 3Cams 1Grab Acquisition from 3 synchronized cameras MDI application 3Cams 1Ring Simultaneous acquisition and display of three genlocked cameras in planar mode in a single ring of acquisition buffers Grab3 Simultaneous acquisition from 3 monochrome cameras with live display IFC_PC2V_BasicGrab Title Basic grabbing Description Basic acquisition and display with an Image Server Memory allocation not required F
120. hat the PC2 Vision is visible on the PCI bus To do this you can use the PCI diagnostic tools described above Make certain that the PC2 Vision is displayed within the PCI device list The DALSA PCI vendor ID 1s Ox11EC The PC2 Vision PCI device ID is 0x0200 Ensure that a Base address register is assigned to PC2 Vision lower left section of PCI Diagnostics Ensure that the Device Enable button is activated 1n the upper right section of PCI Diagnostics If the board is not correctly mapped or activated this may indicate a problem with the BIOS settings You can go to your BIOS settings and check for PCI settings The PCI slot number for PC2 Vision is reported by PCI Diagnostics You can also try moving the board to a different PCI slot Potential Plug and Play or Driver Related Failure After you have checked all the items in the preceding section you can proceed by validating that the board is correctly registered in Windows and that the associated kernel driver has started Note that Windows NT does not support plug and play e Start the DALSA Log Viewer tool Check for 1 PC2 Vision device found in the list of messages as shown in bold below If you do not see this look for error messages identified by lt ERR gt at the start of the line Make certain that the memory is mapped successfully and that an interrupt line is assigned to the board Ensure that the VE FEFPGA Load OK message is present PC2 Vision driver related messages
121. have the pev2 sys string inserted before the actual message If the DALSA Log indicates that the device is found proceed to next section 164 e Troubleshooting PC2 Vision User s Manual PCV2 SYS DRIVERENTRY gt Windows version 5 0 Build 2195 M pc2 dev pcv2 Driver Kernel Winnt PCV2 SYS DRIVERENTRY gt Entering v 1 32 M pc2 dev pcv2 Driver Kernel Winnt ms board c GETCMOSCPUSPEED gt cpuSpeed 1752 MHz M pc2 dev pcv2 Driver Kernel Winnt ms cortime c 85 PCV2 SYS DRIVERENTRY gt Last installation is for Sapera M pc2 dev pcv2 Driver Ke PCV2 SYS BOARDFINDDEVICE gt Looking for PC2 Vision M pc2 dev pcv2 Driver Kernel Winnt ms PCV2 SYS INITBOARDEXTENSION gt bus 0 slot 10 M pc2 dev pcv2 Driver Kernel Winnt ms board PCV2 SYS BOARDPARSERESOURCES gt Memory bank 1 Address 0xde000000 Size 0x00400000 M PCV2 SYS BOARDPARSERESOURCES gt Interrupt line 1 Vector 0x00000009 Level 0x00000009 PCV2 SYS BOARDPARSERESOURCES gt Memory mapped successfully M pc2 dev pcv2 Driver Kernel W PCV2 SYS INITDEVICES gt 1 PC2 Vision device found M pc2 dev pcv2 Driver Kernel Winnt ms b PCV2L DLL ProcessID 0 D pc2 dev pcv2 Driver User pcv2api c 367 PCV2L DLL Board 0 Found 1 PC2 Vision Boards D pc2 dev pcv2 Driver User pcv2api c 453 PCV2L DLL V2 FEFPGA LoadFromCbnFile file C Ifc58 config p2v exo pcv2 cbn D pc2 dev pc V2 HW FPGALoad issue 0 rev 2 M pc2 dev pcv2 Driver Kernel Winnt ms
122. he board in PCI Diagnostics IntLine field holds a value different from 0 166 e Troubleshooting PC2 Vision User s Manual Board grabs black You are able to use Sapera CamExpert or IFC Camera Configurator the frame rate is as expected but the display stays black Try changing anti aliasing filter selection 6MHz 12MHz or bypass Try changing Contrast Brightness settings Try changing the clamping setting DC restoration Make certain that the input LUT is not filled with 0 s Make certain that the iris of the lens on your camera is opened This problem is sometimes caused by a PCI transfer issue No PCI transfer takes place so the frame rate is above 0 but nevertheless no image is displayed in Camera Configurator Under IFC use IntrEx demo to see if you receive a PZ2V INTR BMDONE interrupt Camera must be connected to port 0 and you need to have an appropriate PAVTEST TXT file from Configurator Make certain that BUS MASTER bit in the PCI configuration space is activated Look in PCI Diagnostics for BM button under Command group Make certain that the BM button is activated PC2 Vision User s Manual Troubleshooting e 167 168 e Troubleshooting PC2 Vision User s Manual DALSA Contact Information Sales Information Visit our web site Email http www dalsa com mv mailto info dalsa com Canada DALSA Montreal office 7075 Place Robert Joncas Suite 142 St Laurent Qu
123. he vertical component video field or frame sync with the horizontal component video line sync Often RGB cameras besides the three color signals have a fourth composite sync CS signal Composite Video A video signal that is composed of the luminance and color information plus the synchronization signals together Common composite video formats are NTSC and PAL Driver Also called a device driver a program routine that links a peripheral device to the operating system Specific to the Bandit II its VGA driver is required for its display adapter functionality and a device driver is required for its frame grabber capabilities Frame One complete image data set or its equivalent storage space 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 PC2 Vision User s Manual Glossary of Terms e 171 Grayscale In image processing the range of available brightness levels displayed in shades of gray In an 8 bit system the gray scale contains values from 0 to 255 Host Refers to the computer system that supports the installed frame grabber Interlaced Describing the standard television method of raster scanning in which the image is the product of two fields each of which is made up of the image s alternate lines
124. hield 24 VS2 7 Coax 3 Wire 22 Digital GND 12 Coax 3 Shield 32 12V 2 Wire 33 12V GND 1 Wire 7 Camera trigger 5 Coax 4 Wire 22 Digital GND 3 Coax 4 Shield 25 WEN2 Write enable Out 6 Wire Camera 3 Pin MDR 36 Pin Male Frame Pin Hirose 12 Pin Female Grabber PC2 Vision User s Manual Theory of Operation e 101 8 Video3 4 Coax 1 Wire 26 Video3 AGND 3 Coax 1 Shield 9 HS3 6 Coax 2 Wire 29 Digital GND 5 Coax 2 Shield 27 VS3 7 Coax 3 Wire 29 Digital GND 12 Coax 3 Shield 30 12V 2 Wire 31 12V GND 1 Wire 10 Camera trigger3 5 Coax 4 Wire 29 Digital GND 3 Coax 4 Shield 28 WEN3 Write Enable Out 6 Wire BNC Pin MDR 36 Pin Male Frame Grabber Pin BNC Male Connector Trigger In 18 Ext_Trigl Coax Wire 17 Ext Trigl Coax Shield Pin MDR 36 Pin Male Frame Grabber Pin BNC Male Connector Strobe Out 11 Strobel Coax Wire 12 Digital GND Coax Shield Recommendation It is recommended to use a 3M 10336 52F0 008 MDR36 shell or a 3M 10336 A200 00 MDR36 metal shell when constructing a cable connecting the PC2 Vision and camera These shells use a quick release latch mechanism Contact the 3M web page http www 3m com for further information 102 e Theory of Operation PC2 Vision User s Manual Sapera LT Sapera Server and Parameters The following table lists the Sapera Server available for PC2 Vision Note that a single server supports both mon
125. iagnostics Lists all PCI configuration space registers of the computer When you contact DALSA Technical Support by e mail make certain that you attached two pieces of information the log file and the pci dump file They provide valuable information about your PC2 Vision to rapidly find the root cause of the problem Saving the Log 1 Start DALSA Log Viewer 2 Select menu File Save Messages 3 Select a filename for example log txt 4 Sendlog to DALSA Technical support Below is a typical log 11x File Edit Options Help Windows version 5 0 Build 2195 PC 2 SYS PNP DRIVERENTRY gt Entering v 1 02 GETCMOSCPUSPEED gt cpuSpeed 752 MHz PCV2 5Y5 MAPDEVICE gt Memory bank 1 Address 0xde800000 Size PCV2 SYS MAPDEVICE gt Interrupt line 1 Vector 0x00000039 Lev CORBDII SYS DRIVERENTRY gt Entering v 1 70 GETCMOSCPUSPEED gt cpuSpeed 752 MHz CORBDII SYS INITDEVICES gt BanditII no device found CORBDII SYS DRIVERENTRY Unable to start 0xc000009a PCV2L DIL ProcessID 0 PCV2L DLL Board 0 Found 1 PCVision II Boards PCV2L DLL V2 FEFPG LoadFromCbnFile file c NIfcS6NconfigNp2wi V2 HW FPGALoad issue 0 rev 1 PCV2L DLL V2 FEFPG Load OK PCY2 SYS InitializeSerialPorts gt Board l Client Serial Port 0 PCV2L DLL Loaded 1 status 0 LA Z 162 e Troubleshooting PC2 Vision User s Manual Saving the PCI Diagnostics Start PCI Diagnostics Cli
126. ications Additionally the serial port can be mapped as a standard Windows COMx port for convenience or compatibility with any communication program such as HyperTerminal Sapera parameters for Serial Port Sa pe ra In Sapera the serial port is mapped as a regular COM Port It can be configured through WIN32 API Note In Sapera the serial port selection always follows the current video source IFC parameters for Serial Port I F C P2V SELECT UART PORT P2V UART PORT AUTO P2V UART PORT CONI P2V UART PORT CON2 P COM PORT NAME String that specifies serial port name P COM PORT BYTESIZE IFC COM 7BITS IFC COM 8BITS P COM PORT BAUDRATE IFC BAUD 4800 IFC BAUD 9600 IFC BAUD 14400 IFC BAUD 19200 IFC BAUD 38400 IFC BAUD 56000 IFC BAUD 57600 IFC BAUD 115200 IFC BAUD 128000 P COM PORT PARITY IFC NOPARITY IFC ODDPARITY IFC EVEN PARITY P COM PORT STOPBITS IFC ONE STOPBIT IFC uses those parameters to communicate with the serial port in the following two cases when the application calls CICamera WriteUartCommand when IFC uses the rule evaluation from the config file Camera Selection MUX The PC2 Vision communicates with the camera through two MDR 36 pin connectors located on the bracket Each connector can support up to three monochrome one RGB or one dual channel camera s Up to six monochrome two RGB or two dual channel cameras therefore can be connect
127. ield Pin MDR 36 Pin Male Frame Pin BNC Male Connector Label HS Grabber 2 HS1 Coax Wire 4 Digital GND Coax Shield Pin MDR 36 Pin Male Frame Pin BNC Male Connector Label VS Grabber 20 VSI Coax Wire 22 Digital GND Coax Shield Pin MDR 36 Pin Male Frame Pin BNC Male Connector Label Trigger In Grabber 18 Ext_Trigl Coax Wire 17 Ext Trigl Coax Shield Pin MDR 36 Pin Male Frame Pin BNC Male Connector Label Cam Grabber Trigger 3 Camera Trigger Coax Wire 29 Digital GND Coax Shield Pin MDR 36 Pin Male Frame Pin BNC Male Connector Label CS Grabber 13 CS Coax Wire 12 Digital GND Coax Shield Cable 3 PC2 Vision to PCVision adapter cable PC2 Vision User s Manual Theory of Operation e 83 Part Number OC PC2C V3A00 12 1 Hirose cable 2 coax cables used for Video 1 and 2 separately DB15 Female MDR 36 Pin Male Combine both cables in sheathing MDR 36 Pin Front side View 1 Hirose cable DB26 Female Figure 44 PCVision Series adapter cable Note A coax appellation following by a number for example coax 1 identifies which coax cable within the Hirose cable is used for a specific connection Pin MDR 36 Pin Male Frame Grabber Pin DB15 Female Wire Type 1 Videol 2 Coax Cable 19 Videol AGND 7 Coax Cable 2 HS1 13 Coax Wire 4 Digital GND 5 Coax 1 Shield 20 VSI 14 Coax 2
128. ility ias us ade ose deco ea EIC Ced pasa Ub bn Chess Ead 79 Interfacing Cables eii eleo on e s n apa QI Ha E ail 80 SAPERALT E A alain 103 SAPERA SERVER AND PARAMETERS eene eere ener trennen nnne 103 PC2 VisION SPECIFIC SAPERA EXAMPLES cniin kn ad pee t XE tnr 111 SAPERA SOFTWARE EXAMPLE vv akisgnse aeter ped ava pos Vinti alti ra Ye dans eH ERIE ERE ERR thea ponsasossnsis 114 Grab Demo Overview ii 114 Using the Grab Demo e ira dalia 115 USING SAPERA CAMEXPERT WITH PC2 VISION cesse eene 118 Overview of Sapera Acquisition Parameter Files ccf or cca cvi 119 Camera Interfacing Check List iii 120 IFC121 TPG SOFTWARE EMI 121 IFC Examples for PC2 Vision iii 121 APPLYING IFC CAMERA CONFIGURATOR TO PC2 VISION 135 Interfacing Cameras with IFC Camera Configurator sss 135 Interfacing Free Running Cameras 137 External Trigger and Strobe sese eene 146 Asynchronous Reset Mode essent 149 Serial Port sand tie fe e i Ee lele nali 153 ii e Contents PC2 Vision User s Manual Additional Information sees eee 153 PCVISION IFC PARAMETER COMPARISON sssssssssessssssssssscsssesesssecesssccesssccesssccesseceessecs 155 Za n 155 Timing Parameter M M 155 General Parameters eee oo NR TE tee
129. image pass through that is no special region of interest is defined This means the horizontal and vertical offset are left to their default value of 0 Partial Scan Mode Partial Scan mode reduces the number of lines output by a camera in order to increase the frame rate PC2 Vision sees the output of a partial scan camera as an image with reduced height One simply needs to adjust the frame rate vertical sync frequency and image height in order to acquire from a partial scan mode camera Sapera 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 In CamExpert these parameters are located under the Image Buffer and AOI Parameters tab IFC IFC Parameters for Cropper P HORZ OFF Horizontal offset P WIDTH PIXELS Horizontal width of area of interest 56 e Theory of Operation PC2 Vision User s Manual P VERT OFF Vertical offset P HEIGHT PIXELS Vertical height of area of interest Decimator Decimation is performed horizontally and vertically by a factor of two four or eight Decimation is useful in reducing memory consumption lowering PCI bandwidth usage as well as being an easy way to scale an image Note that horizontal and vertical decimation work independently of each other Horizontal decimation
130. imitations Bandwidth is defined in two different ways Peak bandwidth is the highest data rate occurring at any time during the data transfer The average bandwidth is the amount of data per unit of time being transferred Each is calculated as follows e Peak Bandwidth MBps Pixel Clock Frequency Bpp nb channels e Average Bandwidth MBps Frame Width Frame Height Frame Rate Bpp e where e MBps MegaBytes per second PC2 Vision User s Manual IFC e 153 Bpp Bytes per pixel nb number of When the bandwidth required by the frame grabber exceeds the capacity of the PCI 32 bit bus the following techniques can reduce and optimize the average bandwidth Bandwidth Reduction Techniques A linear relationship exists between the average bandwidth required and the acquisition image height For example if four cameras of 1K x 1K at some frame rate need to transfer 160MB per second of data those four cameras at a 512 x 1K resolution will only need a bandwidth of 80MB per second which is now within the capability of the PCI 32 bus For RGB cameras pixel information is normally padded to 32 bits for the PC2 Vision Using the Planar Transfer mode where each color plane is sent to its own host buffer can reduce PCI traffic by 25 3 bytes to transfer RGB instead of 4 ORGB Bandwidth Optimization Techniques The following techniques are suggestions for applications that require all possible optimizations from the host system
131. in 11 Note A coax appellation following by a number for example coax 1 identifies which coax cable within the Hirose cable is used for a specific connection 90 e Theory of Operation PC2 Vision User s Manual Camera 1 Pin MDR 36 Pin Male Frame Grabber Pin Hirose 12 Pin Female Camera 1 1 Video1 4 Coax 1 Wire 19 Videol AGND 3 Coax 1 Shield 2 HS1 6 Coax 2 Wire 4 Digital GND 5 Coax 2 Shield 20 VSI 7 Coax 3 Wire 4 Digital GND 12 Coax 3 Shield 3 Camera Trigger 11 Coax 4 Wire 4 Digital GND 8 Coax 4 Shield 21 WENI 10 Wire 30 12V 2 Wire 31 12V GND 1 Wire Camera 2 Pin MDR 36 Pin Male Frame Grabber Pin Hirose 12 Pin Female Camera 2 5 Video2 4 Coax 1 Wire 23 Video2 AGND 3 Coax 1 Shield 6 HS2 6 Coax 2 Wire 22 Digital GND 5 Coax 2 Shield 24 VS2 7 Coax 3 Wire 22 Digital GND 12 Coax 3 Shield 7 Camera Trigger2 11 Coax 4 Wire 22 Digital GND 8 Coax 4 Shield 25 WEN2 10 Wire 32 12V 2 Wire 33 12V GND 1 Wire Camera 3 Pin MDR 36 Pin Male Frame Grabber Pin Hirose 12 Pin Female Camera 3 8 Video3 4 Coax 1 Wire 26 Video3 AGND 3 Coax 1 Shield 9 HS3 6 Coax 2 Wire 29 Digital GND 5 Coax 2 Shield 27 VS3 7 Coax 3 Wire 29 Digital GND 12 Coax 3 Shield 10 Camera Trigger3 11 Coax 4 Wire 29 Digital GND 8 Coax 4 Shield 28 WEN3 10 Wire 30 12V 2 Wire PC2 Vision User s Manual Theory of Operation e
132. indicator From 1 to 6 cameras 1 or 2 camera cables 1 PC2 Vision Installation Directory examples PC2 Vision IFC_PC2V_ManualCamSwitch Switcher Title Switcher using fast camera switching Description Fast camera switching using up to 6 synchronized cameras Features MDI based application Selection of switching sequence Optional use of a single ring buffer Setup From 1 to 6 genlocked cameras Project location 1 or 2 camera cables 1 PC2 Vision Installation Directory examples PC2 Vision Switcher FrameDly Title Frame Delay Readout MDI Description Demonstrates how to acquire 6 cameras maximum simultaneously Features SDI based application Camera presence selection 128 e IFC PC2 Vision User s Manual Setup Project location Save sequence to AVI format From 1 to 6 cameras supporting frame delay readout 1 or 2 camera cables 1 PC2 Vision Installation Directory examples PC2 Vision FrameDly IFC PC2V FrameDelay Title Description Features Setup Project location Frame Delay Readout Dialog box based Shows how to acquire from up to 6 cameras simultaneously in frame delay readout mode Dialog box based application Grab or snap SW trigger Statistics indicators Trigger to image indicator From 1 to 6 cameras supporting frame delay readout 1 or 2 camera cables 1 PC2 Vision Installation Directory examples PC
133. ines Vap in diagram above WEN Signal Write Enable WEN is a signal available on some cameras to indicate the presence of valid data on the video signal If it is available on your camera WEN can be activated to replace the VS as the triggering condition to start digitizing a new frame WEN Input Enable IFC Enable WEN Input Polarity IFC ACTIVE HIGH or IFC ACTIVE LOW WEN Vertical Offset number of lines to skip after WEN Note When WEN is activated it is used internally by PC2 Vision to trigger the presence of a valid image This is true for all sources of synchronization available composite video separate sync and internal sync Analog Parameters Group Select the Analog tab in Camera Configurator Clamping A programmable clamp pulse is used to establish the reference black video level A region is defined on the horizontal back porch This is required in order to assure proper image intensity DC Restoration Front Comp Porch Back Porch Clamp stan Clamp end Figure 57 DC Restoration Clamping PC2 Vision User s Manual IFC e 145 Enable Clamping IFC ENABLE Back Porch Clamp Start Delay Clamp start value on figure above Back Porch Clamp End Delay Clamp end value on figure above Note If the clamp pulse region is defined in the HS sync pulse the image will be too bright If the clamp pulse region is defined in the active video the image will generally be too dark
134. ing Sapera parameters for Strobe Refer to Strobe Method in Sapera documentation Sa pe ra CORACQ PRM STROBE ENABLE TRUE CORACQ PRM STROBE LEVEL CORACQ VAL LEVEL TTL CORACQ PRM STROBE METHOD CORACQ VAL STROBE METHOD 1 CORACQ VAL STROBE METHOD 2 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 In CamExpert these parameters are located under the Advanced Control Parameters tab IFC Under IFC PC2 Vision offers two types of strobes Fast Strobe equivalent to Strobe Method 1 of Sapera and Slow Strobe Fast strobe occurs immediately after the trigger See below for diagram The first falling edge of the trigger immediately generates a strobe pulse The strobe pulse duration is programmable This mode is often used with asynchronous reset cameras Fast Ext i Strob UL Strobe Strobe delay duration 46 e Theory of Operation PC2 Vision User s Manual Figure 22 IFC Fast Strobe Note PC2 Vision does not support an exclusion region in Fast Strobe mode Strobe 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 VS and the trigger respectively Strobe duration is programm
135. ion and VS vertical synchronization information can be either e Embedded in the video signal composite video A single signal carries both sync and video e Provided on the same signal composite sync Two signals are required csync and video e Provided on its own signal separate sync Three signals are required hsync vsync and video e Fora RGB camera you can also define on which color channel the timing information is embedded red green or blue In XTAL crystal mode the frame grabber provides this timing to the camera XTAL mode is also called Master Mode since the frame grabber is the timing master for the acquisition process In VScan variable scan mode the camera provides the HS VS and pixel clock information to the frame grabber Note It is possible with PC2 Vision to use a combination of Master Mode and External Sync For example the frame grabber can drive HD VD to the camera but nonetheless use the composite video to extract the HS VS used for digitization DALSA recommends using synchronization from the composite video if the camera provides it PC2 Vision User s Manual IFC e 141 For PLL mode Source of Input Sync P2V SYNC COMPOSITE VIDEO or P2V SYNC COMPOSITE SYNC or P2V SYNC SEPARATE SYNC Master HSync Enable IFC DISABLE VSync Pulse Enable P2V VSYNC DISABLE Pixel Clock Source P2V PIXEL CLOCK INTERNAL For XTAL mode Source of Input Sync P2V SYNC INTERNAL SYNC Master HSync Enable
136. is accomplished by dropping pixels See below for diagram Only the first pixel of each pair is kept for a horizontal decimation factor of 2 Input Output Horizontal T E 7 gt Decimator E 77 Pixel 12 3 4 by 2 Pixel 1 2 Figure 31 Horizontal decimator Note Horizontal decimation can be used to lower the effective pixel clock sampling rate below 7MHz To perform this double the pixel clock rate and activate horizontal decimation This allows an application to grab with a pixel clock as low as 3 5 MHz Vertical decimation is performed by dropping lines See below for diagram Only the first line of each pair is kept for a vertical decimation factor of 2 Input Line 1 Output Line 2 Vertical H Line 1 Tan gt Decimator T by 2 Line 4 Figure 32 Vertical decimator IFC Support for Decimator I F C Use CICamera SetZoom PC2 Vision User s Manual Theory of Operation e 57 Onboard Memory The onboard memory behaves as a temporary buffer between the camera interface and the host PCI bus system The total onboard memory capacity is 8MB There is a maximum frame size of 2K x 2K for monochrome data or 1K x 1K for RGB Two frames can be securely stored within onboard memory for double buffering Total bandwidth to onboard memory is 320MB second 40MHz x 4 bytes x 2 directions IN OUT Onboard memory allows the ca
137. l analog camera The vertical synchronization shown in this example is called double serration vertical sync because the horizontal sync frequency is doubled during nine line periods The double pulses are ignored by the frame grabber therefore the vertical sync parameter in the Camera Configurator is always the number of true horizontal lines HS SUI UYU VS MMM MITI veo AAA MMM i x b V re Ve Frame Timings x lui Vs vertical sync pulse lines Vgp vertical back porch lines Ve vertical front porch lines V vertical active lines vertical Blanking 144 e IFC Figure 56 Vertical Timing PC2 Vision User s Manual For interlaced video cameras the HS to VS phase relationship changes from one field to the next ODD EVEN fields This example represents the ODD field PC2 Vision has the corresponding vertical timing parameters Vertical Sync Frequency Vertical sync frequency For interlaced scan cameras this is the field rate twice the frame rate For progressive scan this is the frame rate Vertical Sync Pulse Width Vertical sync pulse width in lines Vs in diagram above Vertical Sync Polarity Vertical sync pulse may be active high or active low Active low is the most common Vertical Front Porch Vertical front porch duration in lines Vrp in diagram above Vertical Back Porch Vertical back porch duration in l
138. l trigger if the camera config file requires one You can try generating a software trigger if you do not have a trigger source Does your camera provide a WEN signal that you need to use Adapt your config file and camera cable accordingly Make certain that the pinout of your camera cable matches your camera and that the camera is properly connected to the cable Make certain that the camera cable is plugged into JI upper MDR 36 for camera 1 2 and 3 or in J2 lower MDR 36 for camera 4 5 and 6 Make certain that the camera is configured for the proper mode of operation Composite Video Separate Sync Master Mode This must match the camera config file Refer to your camera datasheet Try using a standard camera RS 170 or CCIR and select P V_DEF_RS512x480P for RS 170 or P V_DEF_CC512x512P for CCIR This validates that PC2 Vision is able to grab and may point to a problem with your camera config file In config file make certain that you have the proper source of synchronization Source of input sync parameter in Configurator for your camera In the Configurator crop the image to 320 x 200 to make certain that enough pixels are sent by the camera to fill each line Try creating a XTAL config file for your camera This ensures that PC2 Vision boards see synchronization signals Try to snap one frame from the Configurator instead of continuous grab Try using the SeqSnap demo to grab Make certain an interrupt is assigned to t
139. ld frame ATA Line Width H First line of Post Equalizing Pulse as HS Width Interval I Last line of Post Equalizing Pulse A ED Horizontal Blank Width Interval J MT AM G G First line of Valid Video provided by Field Frame Height Width the camera K First grabbed line of Field Frame n VS Height Width usually K J _ Last grabbed line of Field Frame GLAS Vertical Blank Height Height Width usually L M 1 Note During camera configuration file development it is better to use a window much smaller than the camera nominal size the frame grabber needs to see at least the number of pixels defined by the window generator in order to correctly capture the image By defining a smaller ROI you ensure enough pixels are captured to fill the frame buffer Examplel Your camera has a nominal frame size of 1024 pixels by 768 lines and you want to capture the entire frame 140 e IFC PC2 Vision User s Manual Horizontal Offset 0 Width 1024 Vertical Offset 0 Height 768 Example 2 You want to extract a ROI of 128 x 64 located 100 pixels to the right and 50 lines below the upper left corner of the image Horizontal Offset 100 Width 128 Vertical Offset 50 Height 64 Timing Parameter Group Select the Timing tab in Camera Configurator PLL XTAL or VScan In PLL phase lock loop mode the frame grabber uses the timing information provided by the camera to digitize pixels The HS horizontal synchronizat
140. le 72 Coax cable 1 BNC Female Li Label Trigger In BNC Female MDR 36 Pin Front side 4 Pint Li Label Strobe Out COE Th Pin 36 N Pin 19 Figure 53 JAI CV M camera cable Note A coax appellation following by a number for example coax 1 identifies which coax cable within the Hirose cable is used for a specific connection 100 e Theory of Operation PC2 Vision User s Manual A twisted pair appellation refers to a separate cable used to supplement the twelve conductors on the Hirose cable This cable must use sleeving to attach it to the corresponding Hirose cable Camera 1 Pin MDR 36 Pin Male Frame Pin Hirose 12 Pin Female Grabber 1 Videol 4 Coax 1 Wire 19 Videol AGND 3 Coax 1 Shield 2 HS1 6 Coax 2 Wire 4 Digital GND 5 Coax 2 Shield 20 VSI 7 Coax 3 Wire 4 Digital GND 12 Coax 3 Shield 36 Pixel Clock 9 Coax 4 Wire 29 Digital GND 8 Coax 4 Shield 30 12V 2 Wire 31 12V GND 1 Wire Pin MDR 36 Pin Male Frame Pin Hirose 6 Pin Female Grabber 3 Camera trigger 1 5 Wire 34 RXI 1 Twisted pair conductor 1 35 TX1 2 Twisted pair conductor 2 21 WENI Write Enable Out 6 Wire Camera 2 Pin MDR 36 Pin Male Frame Pin Hirose 12 Pin Female Grabber 5 Video2 4 Coax 1 Wire 23 Video2 AGND 3 Coax 1 Shield 6 HS2 6 Coax 2 Wire 22 Digital GND 5 Coax 2 S
141. le PCVision Series adapter cable Single camera Hirose 12 cable trigger on pin 9 Three camera Hirose 12 cable trigger on pin 9 Single camera Hirose 12 cable trigger on pin 11 Three camera Hirose 12 cable trigger on pin 11 Single camera Hirose 12 Hirose 6 for Jai A series camera Three camera Hirose 12 Hirose 6 for Jai A series camera Jai CV M77 RGB camera cable Pulnix camera cable supporting three cameras Jai M series camera cable supporting three cameras Parallel I O connector to female DB25 bracket assembly OC COMC POWO3 OC PC2C VIBOO OC PC2C V1B01 OC PC2C V3A00 OC PC2C V 1H00 OC PC2C V3H00 OC PC2C V1H01 OC PC2C V3H01 OC PC2C V1H02 OC PC2C V3H02 OC PC2C V1D00 OC PC2C V3H03 OC PC2C V3H04 4816 Documentation PC2 Vision User s manual 6 e PC2 Vision Board OC PC2M VUMO00 PC2 Vision User s Manual EC amp FCC Certificate of Conformity PC2 Vision Board JATS EC amp FCC DECLARATION OF CONFORMITY We DALSA Montreal Inc 7075 Place Robert Joncas Suite 142 St Laurent Quebec Canada HAM 272 Declare under sole legal responsibility that the following products conform to the protection requirements of council directive 89 336 EEC on the approximation of the laws of member states relating to electromagnetic compatibility as amended by directive 93 68 EEC FRAME GRABBER BOARD PC2 Vision The products to which this declaration relates are in conformity with the following relevant harm
142. lly indicating the start of the acquisition process In IFC this is represented by P2V INTR SOT In Sapera this is represented by CORACQ VAL EVENT TYPE EXTERNAL TRIGGER On PC2 Vision the external trigger is protected by an opto coupler therefore a minimum pulse width of 10ys is necessary to detect an active high trigger pulse while a minimum pulse width of 50ps is required for an active low trigger pulse The PC2 Vision is also equipped with debouncer circuitry that allows the user to define the minimum acceptable pulse width programmatically Note There is no Start of Trigger interrupt for a software trigger This particular interrupt is only asserted for a pulse on the external trigger pin Start of Image from Camera The Start of Image interrupt family indicates a vertical sync has been detected Note that this does not necessarily mean the image will be captured For instance if you have a free running camera at 30fps with external trigger enabled you will get 30 interrupts per second even though the PC2 Vision waits for an external trigger to actually capture the next image This allows the application program to count frames coming from the camera Start of Frame The Start of Frame interrupt represents the beginning of a full frame output by the camera It is asserted on the VS pulse at the beginning of the frame For interlaced cameras you get one Start of Frame interrupt for each pair of fields In IFC this is represe
143. me Delta HD vs HS HD Video Out Horizontal Horizontal Front Porch Horizontal Back Porch Sync Figure 13 HD relation to HS Each camera has its own VS and HS pin They are 3 3V low voltage TTL level and are typically implemented using a LVT245 device with the following electrical characteristics Electrical Description Value parameters Vou typ Typical high level output voltage 3 1V 100uA lou max Maximum high level output current 32mA sourcing lor max Maximum low level output current 64mA sinking Sapera parameters for Sync on Internal Sync CORACQ PRM SYNC CORACQ VAL SYNC INT SYNC Sa pe ra CORACQ PRM MASTER MODE CORACQ VAL MASTER MODE HSYNC VSYNC CORACQ PRM MASTER MODE HSYNC POLARITY CORACQ VAL ACTIVE LOW CORACQ VAL ACTIVE HIGH CORACQ PRM MASTER MODE VSYNC POLARITY CORACQ VAL ACTIVE LOW CORACQ VAL ACTIVE HIGH CORACQ PRM HSYNC Size of horizontal sync pulse CORACQ PRM HBACK PORCH Size of horizontal back porch CORACQ PRM HACTIVE Number of valid pixels per line CORACQ PRM HFRONT PORCH Size of horizontal front porch PC2 Vision User s Manual Theory of Operation e 35 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 In CamExpert these parameters are located under the Basic Timing
144. mmediately when the external trigger is detected This is shown in following diagram This mode is generally used for asynchronous reset cameras Fast Ext l Strob E L Strobe Strobe Fa delay duration Figure 58 Fast Strobe PC2 Vision User s Manual IFC e 147 Strobe Output Enable IFC ENABLE Strobe Mode IFC FAST STROBE Strobe Polarity Active high IFC ACTIVE HIGH or active low IFC ACTIVE LOW Strobe Duration Duration of strobe pulse in us Strobe Delay Defines the delay from Ext Trigger before firing the strobe pulse Strobe Aligned on Horz Sync Enable if you want strobe pulse to be aligned on HS Note PC2 Vision Fast Strobe mode does not support an exclusion region Slow Strobe Mode In Slow Strobe mode the strobe pulse is sent after the first VS following the external trigger In this case the strobe delay represents the amount of time after VS before the strobe is fired as shown in diagram below This mode is generally used for free running cameras Slow Ext l V l Strob o __ e Strobe Strobe delay duration Figure 59 Slow Strobe Strobe Output Enable IFC ENABLE Strobe Mode IFC_SLOW STROBE Strobe Polarity Active high IFC ACTIVE HIGH or active low IFC ACTIVE LOW Strobe Duration Duration of strobe pulse in us Strobe Delay Define the delay from VS before firing the strobe pulse Strobe Aligned on Horz Sync Enable if you want strobe pulse to be aligned on HS Caution the str
145. n Camera and port selection Grab or snap SW trigger Statistics indicators Trigger To Image indicators Camera signal timing external trigger frame reset VSync Strobe edit box Strobe edit box Progressive scan camera supporting asynchronous reset camera must accept external VD and HD signals as well as camera trigger signals Camera cable PC2 Vision Trigger source Installation Directory examples PC2 Vision IFC_PC2V_ThreadTrig f h rC PLZY ThreadTrig 126 e IFC r Acquisition r Statistic r Trigger to Image rz kz 53 10 01 Freeze en z m Trigger 0 ametos Memory ster Parameters r Input Cam Signals Test 11 1 Strobe Signal Camera and Port Select Current Port PC2 Vision User s Manual 6Cam2Grab Title Description Features Setup Project location Fast camera switching from six synchronized cameras Synchronized acquisition from 2 groups of 3 cameras using fast camera switching MDI application with one window associated to each camera MDI based application 6 genlocked cameras 2 camera cables PC2 Vision Installation Directory examples PC2 Vision 6Cam2Grab IFC PC2V CamSwitch Title Description Features Setup Project location Fast camera switching one camera at a time Dynamic switching between and up to six synchronized cameras XTAL Dialog box ba
146. n Demos SAP_PC2V_Parallel_IO PC2 Vision User s Manual Sapera LT e 113 SAP PC2V Parallel 10 m Input Port O85 Read E an an Pi n UU DS en Value Bit 7 Bit 6 Bit 5 Bit4 Bit 3 Bit2 Bit1 Bit 0 Strobed Dutput Port 0x11 Set a NEED HEE EEE Ee Te Bit7 Bit 6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit High Z Interrupt Input Strobe Mode Output Strobe Mode D Rising Edge Rising Edge Active Low Level Count Falling Edge Falling Edge C Active High Level Sapera Software Example Grab Demo Overview Program StartePrograms Sapera LT DemoseGrab 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 one shot mode while adjusting acquisition parameters The program code can be extracted for use within your own application Remarks Grab Demo was built using Visual C 6 0 by means of the MFC library and is based on the Sapera standard API and Sapera C classes See the Sapera User s and Reference manuals for further information 114 e Sapera LT PC2 Vision User s Manual Using the Grab Demo Server Selection Run Grab Demo from the Start Menu StarteAll ProgramseDALSA Sapera LT DemoseFrame GrabberseGrab Demo When activated Grab Demo first
147. n nae obe to VERS 156 Analog Parameters iii 158 Trigger and Strobe Parameters iii 158 TROUBLESHO QOTING 2 a retro do s papa een ouvrant SPEO erue oui bsskonsoasis Dea na PR eva pna Red 161 OVERVIEW 161 TOOLS 161 Windows Event Viewer 161 DALSA Device Manager Program esee 161 SVMPIOMS cialde Riel lia lei i 164 DALSA CONTACT INFORMATION eererrerreer cere nere senatu sioni ezio reeeio nio niezinioeeo 169 SALES INFORMATION ececiseesteeieteiiee ies iaia 169 Technical Support esee enne nee 170 GLOSSARY OF TERMS 5 teen cttbet bes io odo vba so eU pao dn tbc si pas sasesoe vsossosnaooososevasaasososaod 171 IND EX quc 175 PC2 Vision User s Manual Contents e iii iv e Contents PC2 Vision User s Manual Introduction Overview of the Manual PC2 Vision Board The PC2 Vision Description of the PC2 Vision board package contents and a brief summary of its capabilities as well as installation information Configuring Sapera Describes Sapera servers and contiguous memory Theory of Operation Detailing PC2 Vision features Technical Reference PC2 Vision specifications including connector and pinout diagrams Sapera LT IFC Sapera Server and Parameters Lists the Saper
148. new cca amp cvi camera file pair for applications built with Sapera 4 2 or earlier Finally if your camera type has never been interfaced run CamExpert after installing Sapera and the acquisition board driver select the board acquisition server and enter the camera parameters 120 e Sapera LT PC2 Vision User s Manual IFC IFC Software Examples IFC Examples for PC2 Vision IFC installation package comes with the following example programs for PC2 Vision Full source code is included You need Microsoft Visual C 6 0 or later to recompile the examples Examples are divided into five categories Basic Examples BasicGrab Basic acquisition and display BasicSoftOverlay Basic acquisition and display along with text drawing in a software overlay BasicHardOverlay Basic acquisition and display in a hardware overlay Parallel O Demonstrates how to access the I O pins present on the Parallel I O connector ThreadProc Demonstrates how to do acquisition in host buffer and perform image processing ThreadTrig Triggers camera with an external trigger pulse Camera Switching Examples 6Cam 2Grab Synchronized acquisition from 2 groups of 3 cameras using fast camera switching CamSwitch Dynamic switching between and or up to 6 synchronized cameras CamSwitch Planar Shows how to acquire and switch between 2 groups of 3 cameras with a single ring Vertical a single buffer Manual Manual camera switching based on the Snap function call CamSwitc
149. nioninsenionieienioneee 3 Da 3 OVEIVIEW ici aaa ari 3 PC2 Vision Features and Block Diagram eene 4 EC amp FCC Certificate of Conformilty esee 7 DEVELOPMENT SOFTWARE OVERVIEW esee eren enne nenne nne 9 Saperad LT ALbrary a us occus eit d asi eese illa lana 9 Sapera Processing Library w dan a cse oot bac tpe aci dats ade goes 9 INSTALLING THE PC2 VISION osrerrereree rice enee recco nie eenienienenienienineenieninienioninnene 11 WARNING GROUNDING INSTRUCTIONS ssssscessssesseecsseceeeecsaeceseeecsaeceseeecsseeseeeecaeennees 11 UPGRADING SAPERA OR ANY BOARD DRIVER tette eee 11 Board Driver Upgrade Only 11 Sapera and Board Driver Upgrades eee eee 12 SAPERA LT LIBRARY INSTALLATION eene enn emen nenne nne 13 INSTALLING PC2 VISION HARDWARE AND DRIVER eee eee 13 In a Windows XP Vista 7 System essere 13 Connecting Camera and Devices esee eene rene 14 COM Port Assignment iii 15 CONFIGURING SAPERA A A IRR sea n meta W SU MU 16 Viewing Installed Sapera Servers essere ree 16 Increasing Contiguous Memory for Sapera Resources 17 Contiguous Memory for Sapera Messaging 18 IFC DEVELOPMENT SOFTWARE OVERVIEW e 19 Poeno MH D 19 TFC Software Installation esee eren 19 THEORY OF OPERATION erroenon ce toon sa nin on o thon ne theo b ns vonsknsanonsan
150. nted by P2V INTR START OF FRAME In Sapera this is represented by CORACQ VAL EVENT TYPE START OF FRAME Start of Field PC2 Vision User s Manual Theory of Operation e 63 The Start of Field is only activated for interlaced scan cameras You get a Start of Field interrupt for each incoming vertical sync two per frame In IFC this is represented by P2V INTR START OF FIELD In Sapera this is represented by CORACQ VAL EVENT TYPE START OF FIELD Start of Odd Field Start of Odd Field is only activated for interlaced scan cameras You get a Start of Odd Field interrupt at the beginning of each incoming odd field coming from the camera In IFC this 1s represented by P2V INTR START OF ODD In Sapera this is represented by CORACQ VAL EVENT TYPE START OF ODD Start of Even Field Start of Even Field is only activated for interlaced scan cameras You get a Start of Even Field interrupt at the beginning of each incoming even field coming from the camera In IFC this 1s represented by P2V INTR START OF EVEN In Sapera this is represented by CORACQ VAL EVENT TYPE START OF EVEN Note For reasons of performance each Start of Image interrupt is only enabled if a user function has been registered to process them End of Image Capture The End of Image interrupt family is asserted when image capture is completed and data is available in onboard memory End of Frame An End of Frame interrupt is generated when
151. nterrupt Description Shows how to register to the interrupts available on the PC2 Vision board Camera trigger setup can be changed from within this application Features Uses PAVTEST TXT for configuration Support for all acquisition interrupts External trigger configuration dialog SW trigger generation Setup Any RS 170 or CCIR camera on port 0 Project location Camera cable PC2 Vision Source of external trigger Installation Directory examples PC2 VisionMntrEx 130 e IFC PC2 Vision User s Manual PulseGen Title Description Features Setup Project location Pulse Generator using Vixn Use the Vixn timer to generate high precision pulses on the Parallel I O output Selection of pulse frequency Selection of pulse width PC2 Vision Installation Directory examples PC2 Vision PulseGen Project location SeqSnap Title Sequential Snap Description Snaps a small number of images into host memory and replays them Features Uses PAVTEST TXT for configuration Snaps a short sequence of frames to host memory and replays this sequence Camera and port selection Camera control for external trigger frame reset and strobe Overlay demonstration LUT demonstration Window generator dialog Saves AVI sequence Setup Any camera Camera cable 1 PC2 Vision Installation Directory examples PC2 Vision SeqSnap PC2 Vision User s Manual IFC e 131
152. obe pulse is aligned to the VS used by the PC2 Vision board Source of Sync of P2V SYNC COMPOSITE VIDEO means that the VS is coming from the camera Source of Sync of P2V SYNC INTERNAL SYNC means that the VS is generated by PC2 Vision When VSync Pulse Enable is set to P V_VSYNC_ LINE WIDTH the master mode engine generating VS is asynchronous to the external trigger Your strobe pulse might therefore shift in time 148 e IFC PC2 Vision User s Manual Asynchronous Reset Mode Theory of Operation for PC2 Vision Asynchronous Reset mode uses one or more pulse sent to the camera to control the exposure and acquisition Note In Asynchronous Reset mode with synchronization on Internal Sync activated use P2V VS PULSE ENABLE IFC VSYNC DISABLE in order for the frame reset and internal VS pulse to be synchronized together Otherwise your image will shift vertically while grabbing since the Master Mode VS is not synchronized to frame reset Pulse Width Control Mode In Pulse Width Control the integration time of the CCD is controlled by the duration of the frame reset pulse sent to the camera This pulse can be optionally aligned to HS The frame reset is implemented using a timer This timer can generate pulse duration up to 65 seconds r Trigger Rate T Ext Trigger Pulse Frame Reset Offset Frame Reset Pulse came Reset Video Out Integrated Video Figure
153. ochrome and RGB cameras Resources Name Deserpton Type Name index Desi PC2 Vision_1 PC2 Vision Acquisition o Fis monochrome video channel EUNT monochrome video channel FERE EN Third monochrome video channel Moo4 3 Fourth monochrome video channel Fifth monochrome video channel Sixth monochrome video channel First RGB video channel J1 Second RGB video channel J2 The following tables describe the Sapera parameters and values supported by PC2 Vision Refer to Sapera Acquisition Parameters Reference manual for a thorough description of each parameter CAMERA PARAMETERS Values CORACQ PRM CAM NAME Default Area Scan CORACQ PRM CAM RESET DURATION min l ps max 65535000 us step 1 us CORACQ PRM CAM RESET METHOD CORACQ VAL CAM RESET METHOD 1 0x1 CORACQ PRM CAM RESET POLARITY CORACQ VAL ACTIVE LOW 0x1 CORACQ VAL ACTIVE HIGH 0x2 CORACQ PRM CAM TIME INTEGRATE DURATION MAX 65535000 us CORACQ PRM CAM TIME INTEGRATE DURATION MIN lus CORACQ PRM CAM TRIGGER DURATION min l ps max 65535000 us step 1 us PC2 Vision User s Manual Sapera LT e 103 CORACQ PRM CAM TRIGGER METHOD CORACQ VAL CAM TRIGGER METHOD 1 0x1 CORACQ PRM CAM TRIGGER POLARITY CORACQ VAL ACTIVE LOW 0x1 CORACQ VAL ACTIVE HIGH 0x2 CORACQ PRM CHANNEL CORACQ VAL CHANNEL SINGLE 0x1 CORACQ PRM CHANNELS ORDER CORA
154. of your monitor It also takes care of the scaling in real time zoom The benefit of using a hardware overlay is an extremely fast live display because the host CPU does not have to do the pixel conversion and the image scaling Keep in mind that the live image is in the overlay and the drawn text is in the standard graphic surface The overlay and hence the live image is visible only if you draw the keying color in the standard graphic surface over the overlay Dialog box based application Camera and port selection Grab or snap SW trigger Frame rate indicator Any RS 170 or CCIR camera Camera cable PC2 Vision Display Controller with a hardware overlay Installation Directory examples PC2 VisionUdFC PC2V BasicHardOverlay IFC PC2V Parallel IO Title Description Features Setup Project location Parallel Input Output Connector Access to all I O pins of the Parallel I O connector Dialog box based application 8 general inputs 8 general outputs Control of strobe pins Interrupt pin 1 PC2 Vision Connector on the Parallel I O 26 pin header Installation Directory examples PC2 Vision IFC_PC2V_Parallel IO IFC_PC2V_ThreadProc 124 e IFC PC2 Vision User s Manual Title Processing using a thread Description Shows how to do acquisition in the host buffer and the display as well as applying processing on every frame using a thread The processing time is com
155. on P TRIGGER DEBOUNCE Range 1 to 255 us step size 0 1 us No equivalent on PCVision P2V VSYNC WAIT COUNT Range 0 to 255 step size 1 AMV_SKIP_FIELD_MODE IFC_DISABLE IFC ENABLE No equivalent on PC2 Vision P FRAME RESET MODE IFC DISABLE IFC ENABLE P FRAME RESET MODE IFC DISABLE IFC ENABLE 158 e IFC PC2 Vision User s Manual P FRAME RESET POLARITY IFC ACTIVE HIGH IFC ACTIVE LOW P FRAME RESET POLARITY IFC ACTIVE LOW IFC ACTIVE HIGH P FRAME RESET OFFSET Range 1 to 256 lines step size of 1 line P FRAME RESET OFFSET Range 0 to 65535000 us step size of 1 us P FRAME RESET SIZE IFC FRAME RESET OFFSET PERIOD IFC FRAME RESET ONE LINE P FRAME RESET SIZE Range 1 us to 65535000 us step size of 1 us Always enabled on PCVision P2V FRAME RESET ALIGN ON HS IFC DISABLE IFC ENABLE AMV FRAME RESET ON VSYNC OUTPUT IFC DISABLE IFC ENABLE P2V ADD FRAME RESET TO VSYNC IFC DISABLE IFC ENABLE P STROBE MODE IFC FAST STROBE IFC SLOW STROBE P STROBE MODE IFC FAST STROBE IFC SLOW STROBE P STROBE POLARITY IFC ACTIVE HIGH IFC ACTIVE LOW P STROBE POLARITY IFC ACTIVE HIGH IFC ACTIVE LOW P STROBE DELAY Range 1 to 64 lines step size of 1 line P STROBE DELAY Range 0 us to 65535000 us step size of 1 us P STROBE ENABLE IFC DISABLE IFC ENABLE P STROBE ENABLE IFC DISABLE IFC ENABLE
156. onized standards the reference numbers of which have been published in the Official Journal of the European Communities EN55022 1998 Residential Commercial and Light Industry ENV50204 1995 EN61000 4 1995 1996 Further declare under our sole legal responsibility that the product listed conforms to the code of federal regulations CFR 47 part 15 for a class B product St Laurent Canada 2010 11 04 Ga s G Location Date as is Director Research amp Development PC2 Vision User s Manual PC2 Vision Board e 7 PC2 Vision Express Board ATSA EC amp FCC DECLARATION OF CONFORMITY We DALSA Montreal Inc 7075 Place Robert Joncas Suite 142 St Laurent Quebec Canada HAM 222 Declare under sole legal responsibility that the following products conform to the protection requirements of council directive 89 336 EEC on the approximation of the laws of member states relating to electromagnetic compatibility as amended by directive 93 68 EEC FRAME GRABBER BOARD PC2 Vision Express The products to which this declaration relates are in conformity with the following relevant harmonized standards the reference numbers of which have been published in the Official Journal of the European Communities ENS5022 1998 Residential Commercial and Light Industry ENV50204 1995 EN61000 4 1995 1996 1998 2001 EN60255 22 2002 Further declare under our sole legal responsibility that the product listed conforms to the cod
157. ormats External Trigger input synchronizes acquisition to external events Resolution up to 2048 x 2048 interlaced or non interlaced Video controls allow brightness and contrast Windows XP Windows Vista and Windows 7 40MHz digitization rate 8 bit Anti aliasing filters 6 MHz 12 MHz or bypass software selectable See PC2 Vision Specifications on page 72 for detailed information on PC2 Vision specifications 4 e PC2 Vision Board PC2 Vision User s Manual Functional Block Diagram In 8 I O Strobe In Strobe Out Out Jan Controller Pe di M1 8MB M2 Frame M3 3x21 Anti Aliasing Buffer MS MU Filter M5 LUT 2 x 3 x 8 bit T 111 3xAD a Image 8 5 Data Acquisition 8 1 MUX Control Unit PCI Serial Ports or PCle Ro Controller Bara Control Ext Trigger J 2 Strobe 4 cs1 gt cs2 DI Sync Source Frame Reset WEN Pixel Clock ww Host Computer PCI or PCle Bus Figure 1 PC2 Vision Block Diagram PC2 Vision User s Manual PC2 Vision Board e 5 Components amp Part Numbers The following table lists the components and part numbers for the PC2 Vision Item Part Number Board PC2 Vision PCI Contact Sales PC2 Vision PCI Express Contact Sales Cables amp Accessories Floppy power connector Single camera BNC cable Single RGB camera BNC cab
158. ot seen when an application is started This is due to a module creation error under IFC or because the Sapera Server 1s not present under Sapera Note PC2 Vision is supported by two different APIs Sapera LT and IFC You must install one or the other It is not possible for PC2 Vision to work under both APIs on the same machine PC2 Vision will only work correctly with the last API installed on the machine This ensures that the PC2 Vision driver matches the version of the API you are currently using This could stem from a hardware failure a PCI problem a plug and play problem a kernel driver problem or a software installation problem You need to have administrator privileges to install PC2 Vision software and to follow the troubleshooting guidelines given in this section Potential Hardware or PCI Failure e Make certain that the PC2 Vision 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 e Make certain that the 3 3 V LED1 or 5V LED3 LED is lit at the back of the board below the floppy power connector If not this indicates a problem with the PCI interface controller Try a different PCI slot This could also indicate a problem with the power supply provided by the PCI bus to the board e Make certain t
159. pplication note with camera configuration files see IFC Camera Application Library on page 136 e Check to see if the IFC installation has a similar type of camera file A similar txt file can be loaded into the Camera Configurator amp where it would then be modified to match the timing and operating parameters for your camera and then saved as a new txt camera configuration file Note It is easier to find camera timing in free running mode Make certain that your camera operates correctly in free running mode before attempting to use asynchronous reset mode Interfacing Free Running Cameras Interfacing Camera to PC2 Vision with Camera Configurator amp To interface a new camera to your PC2 Vision select a default camera such as P2V DEF RS640x480P and follow these steps General Acquisition Parameter Group In Camera Configurator select the General tab in the parameter view on the left Since you are configuring a non standard camera standard cameras already have configuration files set the following parameter Video Standard IFC VIDEO STANDARD NONE Monochrome or RGB Next indicate if your camera is monochrome or RGB In the Parameter section of the Camera Configurator select the General tab and go to Color parameter For monochrome Color IFC MONO 8 bit monochrome For RGB Color IFC RGB 32 bit zero padded RGB PC2 Vision User s Manual IFC e 137 Note On PC2 Vision the Pixel Size p
160. pture from cameras requiring a bandwidth exceeding the PCI theoretical maximum of 132MB second The following pixel formats are supported in onboard memory 1 32 bit packed for single monochrome camera pixel 4 pixel 3 pixel 2 pixel 1 31 24 23 16 15 8 7 0 2 32 bit zero padded for three genlocked cameras as well as RGB This pixel format allows planar transfer see Planar Converter section on page 59 0 CAM3 CAM 2 CAMI orR or G or B 31 24 23 16 15 8 7 0 YCrCb Engine The YCrCb Engine converts an 8 bit monochrome image into a 16 bit padded YCrCb image to display in overlay Windows secondary surface The engine places the value 0x80 in chrominance This value is added during the PCI transfer to free onboard memory from chrominance data Furthermore the YCrCb Engine eliminates CPU involvement when copying host buffers into display by transferring directly into overlay bypassing the CPU Y CrCb Engine is only available for monochrome cameras Sapera Support for YCrCb Engine Sa pe ra YCrCb engine is not supported in current version of PC2 Vision Sapera driver IFC Support for YCrCb Engine F C Create an image connection using I xCreateImgConn with the flag IFC YCRCB SINK or use IfxCreateImgSink with the YCRCB SINK flag 58 e Theory of Operation PC2 Vision User s Manual Planar Converter The Planar Converter extracts RGB color components into th
161. puted and shown Processing function for this demo is simple thresholding Features Dialog box based application Camera and port selection Grab or snap SW trigger Statistics indicators Processing time indicator Setup Any RS 170 or CCIR camera Camera cable PC2 Vision Project location Installation Directory examples PC2 Vision IFC_PC2V_ThreadProc IFC_PC2Y_ThreadProc Acquisition Freeze Trigger oss e fo a i uv Frame Rate cq Frame Lost Frame NL ee P x PI rv i i 1 Processing Time 4 27 ms Port Test 411 Camera and Port Select IFC_PC2V_ThreadTrig Title Acquisition and display with external camera triggering Description The goal of this demo is to trigger the camera with an external trigger pulse instead of a free running camera This mode is useful to synchronize the images to an event and or to capture fast moving objects Using a progressive scan camera is recommended for fast moving objects Study carefully the different trigger modes offered by your camera edge pre select PC2 Vision User s Manual IFC e 125 Features Setup Project location pulse width control etc Note that your config file must be in External Trigger mode Demo uses visual indicators to represent the Trigger To Image reliability model An indicator is available for each acquisition interrupt Dialog box based applicatio
162. r s Manual Sapera LT e 109 max 65535000 us step 1 us CORACQ PRM TIME INTEGRATE ENABLE TRUE FALSE CORACQ PRM VIC NAME Default Area Scan CORACQ PRM VSYNC REF CORACQ VAL SYNC REF BEGIN 0x1 CORACQ PRM VSYNC TIMEOUT Not available CORACQ PRM WEN ENABLE TRUE FALSE ACQUISITION PARAMETERS Values CORACQ PRM EVENT TYPE CORACQ VAL EVENT TYPE START OF FIELD 0x10000 CORACQ VAL EVENT TYPE START OF ODD 0x20000 CORACQ VAL EVENT TYPE START OF EVEN 0x40000 CORACQ VAL EVENT TYPE START OF FRAME 0x80000 CORACQ VAL EVENT TYPE END OF FIELD 0x100000 CORACQ VAL EVENT TYPE END OF ODD 0x200000 CORACQ VAL EVENT TYPE END OF EVEN 0x400000 CORACQ VAL EVENT TYPE END OF FRAME 0x800000 CORACQ VAL EVENT TYPE EXTERNAL TRIGGER 0x1000000 CORACQ VAL EVENT TYPE VERTICAL SYNC 0x2000000 CORACQ PRM LABEL Analog Interface CORACQ PRM SIGNAL STATUS CORACQ VAL SIGNAL HSYNC PRESENT 0x1 CORACQ VAL SIGNAL HSYNC LOCK 0x10 TRANSFER PARAMETERS Values CORXFER PRM EVENT TYPE CORXFER VAL EVENT TYPE END OF FRAME i i 0x00800000 CORXFER VAL EVENT TYPE END OF FIELD 0x00100000 CORXFER VAL EVENT TYPE END OF TRANSFER 0x04000000 110 e Sapera LT PC2 Vision User s Manual PC2 Vision Specific Sapera Examples PC2 Vision Sapera driver installation package comes with the following example programs for PC2
163. rab3 Example 135 IFC PC2V 3Cam Example 133 IFC PC2V 3CamlRing Example 134 IFC PC2V 3CamPlanarVertical Example 134 IFC PC2V 4Boards Example 130 IFC PC2V BasicGrab Example 122 IFC PC2V BasicHardOverlay Example 124 IFC PC2V BasicSoftOverlay Example 123 IFC PC2V CamsSwitch Example 127 IFC PC2V CamSwitchPlanarVertical Example 127 IFC PC2V FrameDelay Example 129 IFC PC2V FrameDelayPlanarVertical Example 129 IFC PC2V FrameDly Example 128 IFC PC2V ManualCamSwitch Example 128 IFC PC2V Parallel IO 124 IFC PC2V Switcher Example 128 IFC PC2V ThreadProc Example 125 IFC PC2V ThreadTrig Example 125 IFC PC2V Vixn Example 132 Interrupt Example 130 PulseGen Example 131 SeqSnap Example 131 IFC SDK Software Manual 19 62 155 image acquisition 3 173 Imaging Studio 19 119 Input gain 72 Intel Pentium II 79 interfacing cables 80 interlaced 55 63 64 65 138 145 interlaced 4 interlaced 72 interlaced 172 Internal Sync 34 35 36 54 145 146 149 Internet 2 Interrupt Example 167 PC2 Vision User s Manual interrupt service routine ISR 63 interrupt sources 3 interrupts 61 62 63 64 65 66 71 166 167 IRQ 154 J jitter 34 68 L launch exe 13 LED 44 79 library 114 118 135 license agreement 19 long time exposure 39 Lookup Table LUT 54 167 Lookup tables 73 Loss of Sync 67 low pass filter 50 172 Low pass filter 72 LVT244 driver 46 M Master Mode 34 36 41 67
164. ral tab Select Active Uart Port P2V UART PORT AUTO to use same connector as the active camera first MDR 36 for camera 1 2 and 3 second MDR 36 for port 4 5 and 6 P2V UART PORT CON1 for first MDR 36 J1 P2V UART PORT CON2 for second MDR 36 22 Additional Information Note on Analog Camera Timing Relationships For analog cameras the following formulas show the relationship between the PCLK parameter and the Horizontal and Vertical total These values must be accurate if the acquisition board drives the synchronization signals to the camera board is in XTAL Master Mode e The HS and VS signal frequencies are 1 1 1 1 H total l Viii HS PCLK VS HS freq freq freq freq To interface a video camera the video timing concepts presented are now matched to the camera specifications and that data is entered into Camera Configurator e The pixel clock frequency is critical for a 1 1 aspect ratio capture from analog cameras But sub sampling and over sampling is easily achieved by changing the pixel clock frequency Overview of Video Bandwidth and System Limitations Some high resolution high frame rate cameras can output more data than can be transferred through the host computer s PCI bus A successful imaging application must account for the camera data bandwidth and possibly control frame rate or image resolution to bring the bandwidth requirements to within the system s l
165. ree different buffers during PCI transfer to facilitate image processing see the diagram below It can also be used with three genlocked monochrome cameras 32 bit zero padded input 0 R1 G1 B1 0 R2 G2 B2 0 R3 G3 B3 0 RA G4 B4 Pixel 1 Pixel 2 Pixel 3 Pixel 4 Planar Converter Green plane E e R1 R2 R3 R4 G1 G2 G3 G4 B1 B2 B3 B4 Figure 33 Planar converter Sapera parameters for Planar Converter CORACQ PRM_CAMSEL Index of camera selector to take timing from CORACQ PRM PLANAR INPUT SOURCES Flag indicating input sources to simultaneously acquire from Bit 0 represents videol bit 1 represents video 2 and so on Note In Sapera the planar converter is used to acquire from up to 3 genlocked monochrome cameras In CamExpert these parameters are located under the Multi Camera Control Parameters tab IFC parameters for Planar Converter I F C P PIXEL COLOR IFC RGB PLANAR P2V PLANAR MODE P2V PLANAR DISABLED P2V PLANAR HORZ P2V PLANAR VERT When using the grab option IFC GOPT PLANAR INIT CICamera Grab must be called to start three concurrent grabs on all three channels offered by one connector The acquisition does not actually start until the third CICamera Grab call is made PC2 Vision User
166. rizontal sync pulse CORACQ PRM HBACK PORCH Size of horizontal back porch CORACQ PRM HACTIVE Number of valid pixels per line CORACQ PRM HFRONT PORCH Size of horizontal front porch 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 In CamExpert these parameters are located under the Basic Timing Parameters tab IFC IFC parameters for Sync on Composite Video P2V SYNC SOURCE P2V SYNC COMPOSITE VIDEO P HSYNC FREQ Horizontal sync frequency P HSYNC WIDTH Size of horizontal sync pulse P HSYNC POLARITY IFC ACTIVE LOW IFC ACTIVE HIGH P2V HORZ FRONT PORCH Size of horizontal front porch P2V HORZ BACK PORCH Size of horizontal back porch P VSYNC FREQ Vertical sync frequency 28 e Theory of Operation PC2 Vision User s Manual P VSYNC POLARITY IFC ACTIVE LOW IFC ACTIVE HIGH P NUM EQ PULSES FPORCH Size of vertical front porch P NUM EQ PULSES BPORCH Size of vertical back porch Sync on R G or B Sync on R G or B behaves like sync on composite video with the exception that only one color channel is used to synchronize the three color inputs Timing information is extracted from the selected composite video signal and is common to all three inputs Asynchronous inputs are not supported by the PC2 Vision The timing
167. ront Porch in Lines 3 Vertical Sync in Lines 3 x Basi amp dva Exter Imag Multi E Coreco Camera Library a H E COHU H E JAI ER Panasonic 15 57 55 PC2 Vision 1 Analog Interface E E Pulnix A 8H Sentech HER Sony E E TELI H E Television Standard vi Ready Video status HSync Present HSyne Lock Z An important component of CamExpert is its live acquisition display window which allows immediate verification of timing or control parameters without the need to run a separate acquisition program 9 For context sensitive help click on the x button then click on a camera configuration parameter A short description of the configuration parameter will be shown in a popup Click on the button to open the help file for more descriptive information on CamExpert The central section of CamExpert provides access to the various Sapera parameters of PC2 Vision It is divided into five tabs 118 e Sapera LT PC2 Vision User s Manual Basic Timing Parameters Basic parameters used to define the timing of the camera This includes the vertical horizontal and pixel clock frequency This tab is sufficient to configure a free running camera Advanced Control Parameters Advanced parameters used to configure camera control mode and strobe output Also provides analog signal conditioning brightness contrast DC restoration etc External Trigger Parameters Parameters to configure the external
168. rose cable Camera 1 Pin MDR 36 Pin Male Frame Pin Hirose 12 Pin Female Grabber 1 Videol 4 Coax 1 Wire 19 Videol AGND 3 Coax 1 Shield 2 HS1 6 Coax 2 Wire 4 Digital GND 5 Coax 2 Shield 20 VSI 7 Coax 3 Wire 94 e Theory of Operation PC2 Vision User s Manual 4 Digital GND 12 Coax 3 Shield 21 WENI 10 Wire 30 12V 2 Wire 31 12V GND 1 Wire Pin MDR 36 Pin Male Frame Pin Hirose 6 Pin Female Grabber 3 Camera Trigger Coax 4 Wire 4 Digital GND 4 Coax 4 Shield 34 RXI l Twisted pair conductor 1 35 TXI 2 Twisted pair conductor 2 Camera 2 Pin MDR 36 Pin Male Frame Pin Hirose 12 Pin Female Grabber 5 Video2 4 Coax 1 Wire 23 Video2 AGND 3 Coax 1 Shield 6 HS2 6 Coax 2 Wire 22 Digital GND 5 Coax 2 Shield 24 VS2 T Coax 3 Wire 22 Digital GND 12 Coax 3 Shield 25 WEN2 10 Wire 32 12V 2 Wire 33 12V GND 1 Wire Pin MDR 36 Pin Male Frame Pin Hirose 6 Pin Female Grabber 7 Camera Trigger 5 Coax 4 Wire 22 Digital GND 4 Coax 4 Shield Camera 3 Pin MDR 36 Pin Male Frame Pin Hirose 12 Pin Female Grabber 8 Video3 4 Coax 1 Wire 26 Video3 AGND 3 Coax 1 Shield 9 HS3 6 Coax 2 Wire 29 Digital GND 5 Coax 2 Shield 27 VS3 7 Coax 3 Wire 29 Digital GND 12 Coax 3 Shield 28 WEN3 10 Wire 30 12V 2 Wire 31 12V GND 1 Wire Pin MDR 36 Pin Male Frame Pin Hiros
169. s Manual Theory of Operation e 59 PCI Controller The PCI controller has scatter gather support to reduce CPU usage to a minimum It retrieves a buffer descriptor list from host memory It also supports packed data and planar data Each color component can have a different scatter gather list in RGB This is also true for three genlocked cameras The PCI controller can sustain an average transfer rate up to 100 MB second with bursts of 132 MB second Parallel I O PC2 Vision provides digital I O capability for controlling or monitoring external events The digital input and output lines which are available on a 26 pin header 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 e IN 7 0 Eight digital TTL input lines provide capability to read these as either raw or latched by STROBE I inputs Each input pin can generate a dedicated interrupt programmable edge e OUT 7 0 Eight digital TTL output lines driven by a programmable register e STROBE I Input strobe signal can be used to latch the 8 bit input data if this mode is selected The polarity of STROBE I is programmable e STROBE O Output strobe signal is an output line under software control e I O INT An interrupt input line that can be used to generate an interrupt programmable edge Refer to J3 Parallel I O 26 Pin Dual Row Connector section on page 76
170. s line max 2048 pixels line step 4 pixels line CORACQ PRM SCALE HORZ METHOD CORACQ VAL SCALE METHOD DISABLE 0x1 CORACQ VAL SCALE METHOD POW2 0x8 CORACQ PRM SCALE VERT min 1 lines frame max 2048 lines frame step 1 lines frame CORACQ PRM SCALE VERT METHOD CORACQ VAL SCALE METHOD DISABLE 0x1 CORACQ VAL SCALE METHOD POW2 0x8 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 CORACQ PRM SHARPNESS min 0 max 0 step 1 CORACQ PRM SNAP COUNT Default 1 frame CORACQ PRM STROBE DELAY min 0 us max 65535000 us step 1 us CORACQ PRM STROBE DELAY 2 min 0 us max 65535000 us step 1 us CORACQ PRM STROBE DURATION min 0 us max 65535000 us step 1 us CORACQ PRM STROBE ENABLE TRUE FALSE CORACQ PRM STROBE LEVEL CORACQ VAL LEVEL TTL 0x1 CORACQ PRM STROBE METHOD CORACQ VAL STROBE METHOD 1 0x1 CORACQ VAL STROBE METHOD 2 0x2 CORACQ VAL STROBE METHOD 4 0x8 CORACQ PRM STROBE POLARITY CORACQ VAL ACTIVE LOW 0x1 CORACQ VAL ACTIVE HIGH 0x2 CORACQ PRM TIME INTEGRATE DELAY min 0 us max 65535000 us step 1 us CORACQ PRM TIME INTEGRATE DURATION min 0 us PC2 Vision Use
171. s sent for the following e a Field skip This happens when PCI bandwidth is limited or onboard memory is full BMB of onboard memory on PC2 Vision Frame being acquired is discarded b Loss of Sync This event represents a mismatch between the expected camera configuration and what is sent by the camera This means the image received by the frame grabber is smaller than expected or no horizontal synchronization is received from the camera Note that an image larger than expected is compensated by the Cropper so you will not get a bad synchro interrupt Refer to the Error Support Interrupts on page 66 for more information on this topic The rest of trigger to image is handled internally by the ACU to correctly synchronize acquisition among the different inputs This is done automatically and does not require user application involvement This covers HS VS WEN frame reset external trigger strobe signal and transfers over the PCI bus PC2 Vision User s Manual Theory of Operation e 71 Technical Reference Hardware Specifications The following provides specific information related to PC2 Vision hardware specifications PC2 Vision Specifications Function Description Acquisition Standard RS 170 and CCIR RGB dual channel and non standard progressive scan providing composite video non standard progressive scan can be driven with external TTL timing HSYNC VSYNC and Frame Reset Six analog video inputs AC coupled
172. sed application Camera and port selection Grab or snap SW trigger Statistics indicators Trigger to image indicator From 1 to 6 genlocked cameras 1 or 2 camera cables 1 PC2 Vision Installation Directory examples PC2 Vision IFC_PC2V_CamSwitch IFC PC2V CamswitchPlanarVertical Title Description Features Setup Fast camera switching combined with vertical planar transfer Two blocks of three genlocked cameras acquiring in planar vertical mode using a single ring of buffers Each buffer contains three images and is displayed in a single window where each camera image is on top of each other The two blocks of three cameras are dynamically switched Dialog box based application Frame rate indicator Trigger presence indicator From 1 to 6 genlocked cameras PC2 Vision User s Manual IFC e 127 Project location 1 or 2 camera cables 1 PC2 Vision Installation Directory examples PC2 Vision IFC PC2V CamSwitchPlanarVertical IFC PC2V ManualCamSwitch Title Description Features Setup Project location Manual camera switching Up to 6 asynchronous cameras are acquired sequentially using SNAPs This is typically used with PLL mode cameras when cameras are not synchronized Dialog box based application Independent config file selection for each of the 6 cameras Frame rate indicator Switching sequence selection Trigger presence
173. sisonsinoaninnansavinnknsns 23 PC2 Vision Flow Diagram idee ete e fee o edente erede 23 Camera Control and Synchronization eese 26 PC2 Vision User s Manual Contents e i Camera Control eese entente crei 39 External Trigger and Strobe eese entente nennen enne 43 Serial SU E 47 Camera Selection MUX sssini e eare 48 Anti aliasing Filer sisii aUe BR iei e t NEEE SEE CAREERS 50 Contrast and Brightness Adjustment 51 AD CONVEKLO C dan ven a edi enl a go ay sake ak ao pa Ona ob pd kes yopa n Bek 53 Lookup Table xs cnt ruens an eki a t da ata oka da ke Son dM eric uer ei aaa err ask ban 54 CP PPON wo dak eL 55 DD arm an enan GER 57 Onboard M mOary i iet the ko paste an oke pakay ano Sa bad pab kk pa kep ko Rel e eo Ra 58 YCrCb Engine 58 Planar Converter eee eet etae der entres vli etie lo 59 PCI Controller pi lE aaa 60 CIRROSI 60 Acquisition Interr pts ese ba ela alri 61 Error Support Interrupts iii 66 Fast Camera Switching 67 Frame Delay Readout Support iii 69 Trigger To Image Reliability unsure laser 71 TECHNICAL REFERENCE S each pna tie Caine io b bee Ru handed co MAS 72 Hardware Specifications eese 72 PC2 Vision Connector and Jumper Locations eee 74 Computer Requirements for the PC2 Vision iii 79 Camera Compatib
174. tch Title Description Features Manual camera switching one camera at a time Camera switching between and up to six cameras Camera can be in PLL mode or genlocked 6 independent displays Camera and switching sequence selection Grab or snap SW trigger Statistics indicators Frame Trash count for host buffer memory management Frame Lost count for PCI bandwidth problems PLL Lock wait time parameter to compensate for PLL lock delay Trigger to image indicators PC2 Vision User s Manual 112 e Sapera LT Setup From 1 to 6 genlocked cameras 1 or 2 camera cables 1 PC2 Vision Project location Installation Directory PC2 Vision Demos SAP_PC2V_ManualCamSwitch Z SAP_PC2V_ManualCamSwitch m Camera tt 1 Camera 2 Camera 3 Acquisition presi gessi Soft Trigger Freeze Camera 4 Camera 5 Camera 6 Statistics 1 08 0 fps per cam Frame Trash 4 32 0 fps total Frame Lost Trigger To Image Camera Switch Sequence m JAI CV ATI XTAL ExtTrig TRAI IUD Camera Type o PLL Lock Wait Time ms SAP PC2V Parallel IO Title Parallel I O port access Description Shows how to use the PC2 Vision s Parallel I O port Features States indicator for each input and output pin Parallel I O interrupt support Setup Cable for Parallel I O port 1 PC2 Vision Project location Installation Directory PC2 Visio
175. that is one field is comprised of lines 1 3 5 etc and the other is comprised of lines 2 4 6 etc Low Pass Filter A filter that blocks high frequencies and allows lower frequencies to pass through Used to limit undesirable analog information such as high frequency video noise before converting to digital data MDR Mini Delta Ribbon cable NTSC National Television Systems Committee Color TV standard used in North America and other countries The interlaced video signal is composed of a total of 525 video lines at a frame rate of 30 Hz PAL Phase Alteration by Line Color TV standard used in most of Europe and other countries The interlaced video signal is composed of a total of 625 video lines at a frame rate of 25 Hz PCI Peripheral Component Interconnect The PCI local bus is a 32 bit high performance expansion bus intended for interconnecting add in boards controllers and processor memory systems Pixel A contraction of picture element The number of pixels describes the number of digital samples taken of the analog video signal The number of pixels per video line by the number of active video lines describes the acquisition image resolution The binary size of each pixel for example 8 bits 15 bits 24 bits defines the number of gray levels or colors possible for each pixel 172 e Glossary of Terms PC2 Vision User s Manual RGB A representation of color using the three primary colors red green blu
176. the total amount of host memory used for frame buffers number of frame buffers number of pixels per line number of lines 2 1f buffer is 10 or 12 bits e Provide 1MB for every 256MB of host frame buffer memory required e Add an additional 1 MB if the frame buffers have a short line length for example 1k or less increased number of individual frame buffers requires more resources PC2 Vision User s Manual Installing the PC2 Vision e 17 Add an additional 2MB for various static and dynamic e Sapera resources e Test for any memory error when allocating host buffers Simply use the General Options in the Grab Demo Main Window see page 115 menu of the Sapera Grab Demo program see Using the Grab Demo on page 115 to allocate the number of host buffers required for your acquisition source 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 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 When using frame buffers allocated as a single contiguous memory block
177. this was a first time installation For installation procedures see Sapera LT Library Installation on page 13 and Installing PC2 Vision Hardware and Driver on page 13 for installation procedures 12 e Installing the PC2 Vision PC2 Vision User s Manual Sapera LT Library Installation Note to install Sapera LT and the PC2 Vision device driver logon to the workstation as administrator or with an account that has administrator privileges The Sapera LT Development Library or runtime library if application execution without development is preferred must be installed before the PC2 Vision device driver Insert the DALSA Sapera CD ROM If AUTORUN is enabled on your computer the installation menu is presented If AUTORUN is not enabled use Windows Explorer and browse to the root directory of the CD ROM Execute launch exe to start the installation menu and install the required Sapera components The installation program will prompt you to reboot the computer Refer to Sapera LT User s Manual for additional details about Sapera LT Installing PC2 Vision Hardware and Driver In a Windows XP Vista 7 System Turn the computer off disconnect the power cord disables power standby mode and open the computer chassis to allow access to the expansion slot area Install the PC2 Vision into a PCI slot or the PCI Express in a x1 expansion slot The PC2 Express can also be installed in a PCI Express x4 x8 slot or x16 slots Close the
178. to 1024 pixels step size of 1 P2V HORZ BACK PORCH zn HORZ OFF Range 0 to 400 pixels in steps of 1 pixel Range 0 to 2044 pixels step size 1 pixel No equivalent on PCVision 2V HORZ FRONT PORCH Range 0 to 400 pixels in steps of 1 pixel P WIDTH PIXELS Range 8 to 16384 pixels step size of 8 pixels P WIDTH PIXELS Range 4 to 2048 pixels step size 4 pixels P VERT OFF Range 1 to 1024 lines step size of 1 line P VERT OFF Range 0 to 2047 lines step size 1 line P HEIGHT PIXELS Range 1 to 4096 lines step size of 1 line P HEIGHT PIXELS Range 1 to 2048 lines step size 1 line No equivalent on PCVision VIDEO STANDARD IFC VIDEO STD NTSC IFC VIDEO STD PAL IFC VIDEO STD NONE No equivalent on PCVision P2V FIELD PROCESS P2V FIELD PROCESS ALL P2V FIELD PROCESS ODD ONLY P2V FIELD PROCESS EVEN ONLY No equivalent on PCVision 2V SELECT UART PORT P2V UART PORT AUTO P2V UART PORT CONI P2V UART PORT CON2 PC2 Vision User s Manual IFC e 157 Analog Parameters PCVision Param Values PC2 Vision Param Values P ANALOG GAIN Valid gain settings are 1 0 and 1 5 No analog gain on PC2 Vision use brightness contrast AMV LOW PASS FILTER EN IFC DISABLE IFC ENABLE P2V LOW PASS FILTER P2V LPF 6 5 MHZ P2V LPF 12 MHZ P2V LPF BYPASS AMV NREF CONTROL n AMV PREF CONTROL Range 0 to 1 2 volts
179. to ComX Port x Select Board Select Com Port Number e g 3 gt COM3 PANT E Range 1 15 P2V2 Close You must reboot your computer to complete any port name changel m r Uart Port Naming Convention By default image capture board Uart ports assume names of the form XYZ XX is the 3 char board type identifier e g PCD PCDig LNK PC CamLink PCL PC LineScan Y is the sequence number of the board for the specific type 0 for the first board of XXX type Z is the instance of UART port offered by the board 0 for the first port 1 for the 2nd and so on Example PCD10 is the default name of the first port on the 2nd PCDig board in the system This dialog allows changing the UART port to name COMx To assign a standard COMx name to PC2 Vision e Under Select Board choose the PC2 Vision board you want to map P2VO is the first PC2 Vision board P2VI is the second e Under Select COM port Number assign an unused COM port number to the PC2 Vision board and click Set e Click Close e Reboot PC for the new settings to take effect PC2 Vision User s Manual Installing the PC2 Vision e 21 22 e Installing the PC2 Vision PC2 Vision User s Manual Theory of Operation PC2 Vision Flow Diagram The following three diagrams represent the sequence and components in which the data acquired from the camera is piloted and processed through the PC2 Vision The process is broken down into three stages e
180. ts out The Lookup Table can be used for point transfer as well as for thresholding 54 e Theory of Operation PC2 Vision User s Manual 0 1 Inpu 2 Outpu AD Croppe gt 1 3 255 252 0 253 0 254 0 255 0 Figure 29 Lookup Table Example Sapera parameters for Lookup Table CORACQ PRM LUT ENABLE TRUE FALSE CORACQ PRM LUT FORMAT CORACQ VAL OUTPUT FORMAT MONOS8 CORACQ PRM LUT MAX 1 CORACQ PRM LUT NENTRIES 256 CORACQ PRM LUT NUMBER 0 Use CorAcqSetLut to load a LUT into PC2 Vision CamExpert does not provide direct access to these parameters They must be activated programmatically from your Sapera application via the SapLut class IFC parameters for Lookup Table i F C P INPUT LUTI FILE filename for LUT Cropper The Cropper extracts a window from the incoming image This window is represented by a rectangle where the upper left corner is given by horizontal and vertical offset from the start of valid video and the rectangle size by width and height parameters See below for diagram Note that image widths must be a multiple of four bytes For interlaced scan camera image heights must be a multiple of two lines PC2 Vision User s Manual Theory of Operation e 55 Horizontal offset Window Complete frame Vertical offset Figure 30 Window generator Most of the time the Cropper 1s configured to let the whole
181. ture 0 to 55 C operation 40 to 125 C storage Relative Humidity 5 to 95 non condensing operating 0 to 95 storage Camera Compatibility Review the DALSA web page for the latest compatible camera information for the PC2 Vision at http dalsa com mv products PC2 Vision User s Manual Theory of Operation e 79 Interfacing Cables MDR 36 Connector DALSA offers a variety of camera cables for PC2 Vision listed in the following section To build your own camera cable you can select MDR 36 components from 3M http www 3m com Part Description 3M part number 3M ld MDR 36 shielded solder plug 10136 3000VE JE 1501 8028 7 MDR 36 plastic solder plug junction shell 10336 52F0 008 JE 1501 8040 2 DALSA Interfacing Cable Diagrams and Specifications The following ten cables are available from DALSA to interface between the specific camera used and the PC2 Vision For purchasing information see Sales Information on page 169 Cables Single camera BNC cable Single RGB camera BNC cable PCVision Series adapter cable Single camera Hirose 12 cable trigger on pin 9 Three camera Hirose 12 cable trigger on pin 9 Single camera Hirose 12 cable trigger on pin 11 Three camera Hirose 12 cable trigger on pin 11 Single camera Hirose 12 Hirose 6 for Jai A series Three camera Hirose 12 Hirose 6 for Jai A series Jai CV M77 RGB camera cable Pulnix camera ca
182. utput 29 Digital GND 12 Digital GND 30 12V 13 CSyncl Input 31 12V GND 14 Reserved 32 12V 15 Reserved 33 12V GND 16 Digital GND 34 RXI Input 17 Ext Trigl Input 35 TXI Output 18 Ext Trigl Input 36 Pixel Clk1 Input PC2 Vision User s Manual Theory of Operation e 75 J2 MDR 36 Pin Female Group 2 Camera Connector Pin 18 PIN pina Pin Pin Name Type Pin Pin Name Type 1 Video4 Input 19 Video4 AGND 2 HS4 Input Output 20 VS4 Input Output 3 Camera Trigger 4 Output 21 WEN4 Input 4 Digital GND 22 Digital GND 5 Video5 Input 23 Video5 AGND Input 6 HS5 Input Output 24 VSS Input Output 7 Camera Trigger 5 Output 25 WENS Input 8 Video6 Input 26 Video6 AGND 9 HS6 Input Output 27 VS6 Input Output 10 Camera Trigger6 Output 28 WEN6 Input 11 Strobe2 Output 29 Digital GND 12 Digital GND 30 12V 13 CSync2 Input 31 12V GND 14 Reserved 32 12V 15 Reserved 33 12V GND 16 Digital GND 34 RX2 Input 17 Ext_Trig2 Input 35 TX2 Output 18 Ext_Trig2 Input 36 Pixel CIK2 Input J3 Parallel I O 26 Pin Dual Row Connector PC2 Vision provides a digital I O capability for controlling or monitoring external events The digital input and output lines available on a 26 pin header at the top of the PC card can be cabled to a 25 pin female D Sub connector that occupies an open slot in the chassis using a bracket assembly part number 4816 76 e Theory of Operation PC2 Vision User s Manual
183. y The trigger to image reliability model fuses together all the elements required to acquire images so that a central unit manages them coherently These elements include among others I O to control timing to the camera onboard memory to compensate for PCI bus latency and error notification Whenever PC2 Vision detects a problem the user application is immediately informed and can take appropriate action to return to normal operation PC2 Vision offers this robustness through its ACU Acquisition and Control Unit which manages all six frame grabber inputs and monitors in real time the acquisition state of each input As such it is transparent to user applications for the most part On PC2 Vision user application can interact with trigger to image through the following e Glitches on the external trigger line are debounced by the ACU A parameter is available to indicate the minimal pulse duration to consider an external trigger pulse valid Refer to External Trigger on page 43 for more information e For each frame field a number of interrupts are generated to indicate the following events e a Trigger interrupt b Start for frame field interrupt c End of frame field interrupt d End of transfer interrupt e By monitoring these events it is possible to know the flow of acquisition of the system as demonstrated in Acquisition Interrupts section on page 61 e Ifsomething goes wrong during the acquisition process a notification i

Download Pdf Manuals

image

Related Search

Related Contents

Severin WK 3364  A1100 Installation Instructions  Manual for USB mode - RCW electronic co.,Limited  Silent Power Evo 2 / 2L / 4L / 4L-K / Miniature / Miniature K  ポイント券・ギフト券1~2枚で  Samsung WB WB1000, Black  "取扱説明書"    日本語 - Orient  PYLE Audio PLVSR7IR User's Manual  

Copyright © All rights reserved.
Failed to retrieve file