Home
PC2-Comp Express User's Manual
Contents
1. Bridge Ctrl Clicking on Diagnostic button opens a new window with the diagnostic report From the PCI Number drop down menu select the bus number that the PC2 Comp Express is installed in In this example the computer PCI expansion slots are identified as bus 2 PC2 Comp Express Installing the PC2 Comp Express e 23 The window now displays the I O and memory ranges used by each device on the selected PCI bus The information display box will detail any PCI conflicts If there is a problem click on the Save button A file named pcidiag txt is created in the Sapera bin directory with a full dump of the PCI configuration registers Email this file when requested by the Teledyne DALSA Technical Support group along with a full description of your computer Diagnostic PCI bus 1 0 range Number Range 1 0 000000000 0800000000 Mem OxdbOO0000 Oxdb ttf Memonitange Pref 0x0000000000000000 0x000000 0000000045000000 00000000db3fffff Teledyne DALSA 10 Information No conflict in PCI configuration for bus 10 lt Display warnings Sapera and Hardware Windows Drivers The next step is to make certain that the appropriate Teledyne DALSA drivers have started successfully during the boot sequence For example click Start Programs Accessories System Tools System Information Software Environment Click on System Drivers Make certain
2. 47 Increasing Contiguous Memory for Sapera Resources 47 Host Computer Frame Buffer Memory Limitations 99 999909 0 48 Contiguous Memory for Sapera Messaging SAPERA SERVER AND PARAMETERS USING CAMEXPERT WITH PC2 COMP EXPRESS CamExpert Example with a PAL Camera Saving a Camera Configuration File Overview of Sapera Acquisition Parameter Files ccf or cca cvi 57 Camera Interfacing Check 58 Note on Analog Camera Timing Relationships 58 Overview of Video Bandwidth and System Limitations eene 59 SAPERA 00 7 Overview Using the Grab Grab Demo Main Window EMI TELEDYNE DALSA CONTACT INFORMATION 67 SALES INFORMATION etes ceto eee ce eee tate ie tate o koe 67 TECHNICAL SUPPORT M 68 GLOSSARY OF TERMS 69 INDEX 73 PC2 Comp Express Contents iii iv e Contents PC2 Comp Express Introduction Overview of the Manual PC2 Comp Express Board e The PC2 Comp Express Description of the PC2 Comp Express board package contents block diagrams and a brief summary of its capabili
3. PC2 Comp Express Sapera LT 65 EMI Certifications Class A both FCC and EC 66 Sapera LT Mw TELEDYNE DALSA Everywhereyoulook EC amp FCC DECLARATION OF CONFORMITY We Teledyne DALSA inc 7075 Place Robert Joncas Suite 142 St Laurent Quebec Canada H4M 272 Declare under sole legal responsibility that the following products conform to the of council directive 2004 108 EC on the approximation of the protection requirements laws of member states relating to electromagnetic compatibility PC2 Comp 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 EN55022 2006 A1 2007 EN55024 1998 A1 2001 A2 2003 ENV50204 1995 Further declare under our sole legal responsibility that the product listed conforms to the code of federal regulations CFR 47 part 15 2008 subpart B for a class A product St Laurent Canada 2012 04 09 Location Date Eric Director Research and Development PC2 Comp Express Teledyne DALSA Contact Information Sales Information Visit our web site Email http www teledynedalsa com mv mailto info teledynedalsa com International Canada Teledyne DALSA 7075 Place Robert Joncas Suite 142 St Laurent Quebec H4M 272 Canada Tel 514 333 1301 Fax 51
4. Executing the Firmware Loader from the Start Menu If required the PC2 Comp Express Firmware Loader program is executed via the Windows Start Menu shortcut Start Programs Teledyne DALSA PC2 Comp Express Driver Firmware Update PC2 Comp Express Installing the PC2 Comp Express e 11 Requirements for a Silent Install Both Sapera LT and the PC2 Comp Express driver installations share the same installer technology When the installations of Teledyne DALSA products are embedded within a third party s product installation the mode can either have user interaction or be completely silent The following installation mode descriptions apply to both Sapera and the hardware driver process Sapera LT can be installed without rebooting before installing the board hardware device Note You must reboot after the installation of Sapera LT However to streamline the installation drivers The installations then complete with a single final system reboot Perform Teledyne DALSA embedded installations in either of these two ways e Normal Mode The default mode is interactive This is identical to running the setup exe program manually from Windows either run from Windows Explorer or the Windows command line e Silent Mode This mode requires no user interaction A preconfigured response file provides the user input The installer displays nothing Silent Mode Installation A Silent Mode installation is recommended w
5. Network adapters Other devices 7 Ports COM amp LPT 3 Processors Sound video and game controllers System devices Universal Serial Bus controllers Symptoms CamExpert Detects No Boards e Using Sapera version 5 20 or later When starting CamExpert if no Teledyne DALSA board is detected CamExpert will start in offline mode There is no error message produced and CamExpert remains functional for creating or modifying camera configuration files If CamExpert should have but did not detect the installed board troubleshoot the installation problem as described below PC2 Comp Express Installing the PC2 Comp Express e 27 Troubleshooting Procedure When CamExpert detects no installed Teledyne DALSA board there could be a hardware problem a PnP problem a PCI problem a kernel driver problem or a software installation problem Make certain that the board is properly seated in the PCIe slot Perform all installation checks described in this section before contacting Technical Support Try the board in a different PCIe slot if possible Symptoms Board does not grab You are able to start Sapera CamExpert but you do not see an image and the frame rate displayed is 0 Verify the camera s external power supply Make certain that you provide an external trigger if the camera configuration file requires one You can try generating a software trigger if you do not have a trigger source Make c
6. End of Field on page 34 e End of Odd Field on page 34 e End of Even Field on page 34 e End of Transfer on page 34 Supported Transfer Cycling Methods The PC2 Comp Express supports the following transfer cycle modes which are either synchronous or asynchronous These definitions are from the Sapera Basic Reference manual CORXFER_VAL_CYCLE_MODE_SYNCHRONOUS_WITH_TRASH Before cycling to the next buffer in the list the transfer device will check the next buffer s state If its state is full the transfer will be done in the trash buffer which is defined as the last buffer in the list otherwise it will occur in the next buffer After a transfer to the trash buffer is done the transfer device will check again the state of the next buffer If it is empty it will transfer to this buffer otherwise it will transfer again to the trash buffer CORXFER VAL CYCLE MODE SYNCHRONOUS NEXT EMPTY WITH TRASH Before cycling to the next buffer in the list the transfer device will check the next buffer s state If its state 15 full the next buffer will be skipped and the transfer will be done in the trash buffer which is defined as the last buffer in the list otherwise it will occur in the next buffer After a transfer to the trash is done the transfer device will check the next buffer in the list if its state 1s empty it will transfer to this buffer otherwise it will skip it and transfer again to the trash buffer CORXFER VAL CYCLE MO
7. 8 MB 8 bit monochrome MONO8 16 bit YUV YUY2 Up to 200MB second for PCIe x1 PCI bracket DB9 cameras DIN 8 trigger input DIN 4 Y C input Supported by Sapera LT and Sapera Multi board support Microsoft Windows XP Windows Vista and Windows 7 compatible Application development using Microsoft Visual C C DLLs or Visual Basic ActiveX controls PC class computer with a free PCIe x1 slot and 80MB free hard drive space for Sapera LT and drivers Technical Reference e 39 PC2 Comp Express Connector and Jumper Locations This section describes the PC2 Comp Express connectors jumpers and configuration switches Any item defined as Reserved must not be connected to or in the case of a shorting jumper or switch must not be changed from the default factory position PC2 Comp Express Board Component View The following figure shows locations and identification numbers Reserved pin connectors typically are not installed See Connector Jumper amp Status LED Summary on page 41 for a short overview 013 15 D12 J20 J1 ee J10 J2 D15 0 ET 018 J3 EE J19 1234 PCle BUS PC2 Comp Express PCIe Board Component View 40 e Technical Reference PC2 Comp Express Connector Jumper amp Status LED Summary Details for connectors status LEDs and jumpers follow the summary table Connecto
8. TELEDYNE DALSA Everywhereyoulook 7 Teledyne DALSA gt 7075 Place Robert Joncas Suite 142 St Laurent Quebec 272 e Canada www teledynedalsa com mv PC2 Comp Express User s Manual Part number OC P2EM COMP0 Edition 2 10 NOTICE 2006 2012 Teledyne DALSA Inc All rights reserved This document may not be reproduced nor transmitted in any form or by any means either electronic or mechanical without the express written permission of Teledyne DALSA Inc Every effort is made to ensure the information in this manual is accurate and reliable Use of the products described herein is understood to be at the user s risk Teledyne DALSA Inc 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 other trademarks or intellectual property mentioned herein belong to their respective owners Released on April 11 2012 Document Number OC P2EM COMPO Printed in Canada Contents INTRODUCTION Rem RA 1 OVERVIEW OF THE MANUAL 1 ABOUT THE 4 4 44 4 4 4 4 4 4 44141 2 24 01 1 1 trennen nnn 2 Bes 2 PC2 COMP EXPRESS 9 3 COMPONENTS PART
9. 17 software 7 troubleshooting 20 installer response file 12 13 International Canada Sales Office 69 K kernel 33 50 LED 46 Library runtime library 7 Index e 73 Sapera Development library 6 7 56 Sapera Image Processing library 4 M master mode 28 Master Mode 60 onboard memory 32 out of memory errors 50 P PC2 Comp Express Device Driver 46 PCI Bus Number 23 PCI configuration registers 23 PCI configuration space 21 23 PCI conflict 21 24 PDF 3 pixel format converter 31 planar transfer 61 PLL 35 progressive scan 4 RGB 4 51 61 RS 170 4 41 S Sapera Acquisition Parameters Reference manual 51 Sapera buffers 49 Sapera Configuration program 49 Sapera LT CD ROM 7 8 16 58 Sapera LT User s Manual 7 Sapera messaging 49 50 Sapera Processing 6 Sapera server 51 Sapera servers 49 scatter gather 32 50 separate sync 28 static resources 50 status LED 43 74 Index T technical support 16 20 22 24 25 28 Teledyne DALSA device driver 8 16 24 33 Teledyne DALSA Device Manager 21 22 Teledyne DALSA driver 24 25 Teledyne DALSA Log Viewer 25 Teledyne DALSA PCI Diagnostic 23 transfer events end of even field 36 end of field 36 end of frame 36 end of odd field 36 end of transfer 36 transfer events 36 TRIG 46 trigger electrical specification 37 trigger to image reliability 32 38 U US Sales Office 69 W
10. 8 PC2 COMP EXPRESS PC2 COMP EXPRESS PC2 COMP EXPRESS FUNCTIONAL BLOCK DIAGRAM SAPERA LT DEVELOPMENT SOFTWARE OVERVIEW INSTALLING THE PC2 COMP EXPRESS WARNING GROUNDING INSTRUCTIONS SAPERA LT LIBRARY INSTALLATION 0 ye INSTALLING THE PC2 COMP EXPRESS HARDWARE AND DRIVER REQUIREMENTS FOR A SILENT INSTALL Silent Mode Installation PC2 Comp Express Contents e i TRIGGER TO IMAGE RELIABILITY 36 Trigger Signal Validity eese 36 Acquisition or Transfer 36 ii Contents PC2 Comp Express TECHNICAL HARDWARE SPECIFICATIONS PC2 COMP EXPRESS CONNECTOR AND JUMPER LOCATIONS eene 40 PC2 Comp Express Board Component View eee meme 40 Connector Jumper amp Status LED Summa J10 J11 115 J18 120 SWI Hm 45 COMPUTER REQUIREMENTS FOR THE PC2 COMP EXPRESS eee 45 47 CONFIGURING SAPERA 47 Viewing Installed Sapera Servers
11. Camera brand is not important only the video standard needs to be known Standard video formats are RS170 monochrome or NTSC color and CCIR monochrome or PAL color cameras See Using CamExpert with PC2 Comp Express on page 54 for a CamExpert quick start procedure Troubleshooting Installation Problems PC2 Comp Express has been tested by Teledyne DALSA with a variety of computers Although unlikely installation problems may occur due to the constant and changing nature of computer equipment and operating systems This section describes what the user can verify to determine the problem or the inspection checks to do prior to contacting the Teledyne DALSA Technical Support department If you require help and need to contact Teledyne DALSA Technical Support make detailed notes of your installation and or test results for Technical Support to review See Technical Support on page 68 for contact information Recovering from a Firmware Update Error This procedure is required if any failure occurred while updating the PC2 Comp Express firmware on installation or during a manual firmware upgrade On the rare occasion the board has corrupted firmware any Sapera application such as CamExpert or the grab demo program will not find an installed board to control Possible reasons for firmware loading errors or corruption are Computer system mains power failure or deep brown out e PCI bus or checksum errors bus timeout con
12. HostFirmwareOpen gt OK lexternals 2012 03 14 11 07 07 503 CORPC2COMPL DLL Loaded 1 status 0 2012 03 14 11 07 07 284 5 5 CORMEMMAPPOOL gt Physical 0x0a9c0000 Linear 0x8abc0000 Sapera Log Server is online Search 26 Installing the PC2 Comp Express PC2 Comp Express Windows Device Manager Use the Start Menu shortcut Start Control Panel System Hardware Device Manager As shown in the following screen images look for the PC2 Comp Express board under Imaging Devices Double click and look at the device status You should see This device is working properly Go to the Resources tab and make certain that the device is mapped and has an interrupt assigned to it without any conflicts a Computer Management B File Action View Window 8 9 Computer Management Local System Tools Event Viewer Shared Folders Local Users and Groups Performance Logs and Alerts Device Manager El amp Storage Removable Storage Disk Defragmenter Z Disk Management E T Services and Applications CORECO WINXP Computer Disk drives 9 Display adapters 2 DVD CD ROM drives Floppy disk controllers Floppy disk drives 42 IDE controllers Imaging devices soar Keyboards 9 75 Mice and other pointing devices Monitors
13. 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 thirty events per second even though the PC2 Comp Express waits for an external trigger to actually capture the next image This allows the application program to independently count frames coming from the camera The Sapera event value is CORACQ VAL EVENT TYPE VERTICAL SYNC PC2 Comp Express Theory of Operation 31 Frame Lost The Frame Lost event indicates that an acquired image could not be transferred to onboard memory An example would be if there were no free onboard buffers available for the new image This will usually be the case if the image transfer from onboard buffers to host PC memory cannot be sustained due to PCI bus bandwidth If multiple PCI bus master devices are active simultaneously it is possible that the PC2 Comp Express PCI controller cannot transfer onboard buffers in time for the next acquired frame The Sapera event value is CORACQ VAL EVENT TYPE FRAME LOST Start of Frame The Start of Frame event represents the beginning of a full frame transfer from front end to onboard memory For interlaced video there is one Start of Frame event for each pair of fields The Sapera event value is CORACQ VAL EVENT TYPE START OF FRAME Start of Field The Start of Field event is only available for interlaced scan cameras There is a Start of
14. CV4 if required Refer to J2 DB9 General Video Input on page 42 for a list of inputs possible J2 18 Installing the PC2 Comp Express PC2 Comp Express DB9 female Cable Length 6 AG sleeve Shrink Tubing 1 2 J3 External Trigger Input BNC connector MALE Label M3 CV3 B BNC connector MALE Label M2 CV2 G C2 BNC connector MALE Label M1 CV1 R Y2 BNC connector MALE Label CS BNC connector MALE Label M4 CV4 BNC connector MALE Label VS BNC connector MALE Label HS a Shrink Tubing 1 4 PC2 Comp Express Cable Assembly OR B20C 4RGBO When an external trigger is required connect cable assembly OR B20C 84400 to J3 and to your external trigger Note only the BNC connector labeled Trig In is used other BNC and the 4 pin DIN connectors can be removed from the cable assembly 8 pin DIN Male 72 sleeve PC2 Comp Express B 4 pin DIN Male BNC connectors BNC connector Male Label Trig In Installing the PC2 Comp Express e 19 Testing Acquisitions The simplest way to test a PC2 Comp Express installation is to connect a standard composite video source and run Sapera CamExpert
15. Comp Express is designed with a robust ACU Acquisition and Control Unit which manages all six inputs The ACU monitors in real time the acquisition state of each input In general these management processes are transparent to end user applications With the PC2 Comp Express applications ensure trigger to image reliability by following the rules defined below Trigger Signal Validity External trigger signal noise or glitches are easily ignored by the ACU with its programmable debouncing control A parameter is programmed for the minimum pulse duration considered as a valid external trigger pulse For further information refer to External Trigger Used or Ignored on page 31 Acquisition or Transfer Status For each frame or field a number of events are generated An application can monitor these events to track the image acquisition or to take appropriate action if there is a problem The following events are described in Acquisition Events D e External Trigger Used or Ignored on page 31 e Vertical Sync from Camera on page 31 e Frame Lost on page 32 e Start of Frame on page 32 e Start of Odd Field on page 32 e Start of Odd Field on page 32 e Start of Even Field on page 2 End of Frame on page 32 End of Field on page 32 e Start of Odd Field on page 32 End of Even Field on page 33 36 Theory of Operation PC2 Comp Express Transfer Events e End of Frame on page 34
16. Express Installing the PC2 Comp Express e 13 Silent Mode Installation Return Code A silent mode installation creates a file corinstall ini in the Windows directory A section called SetupResult contains the status of the installation A value of 1 indicates that the installation has started and a value of 2 indicates that the installation has terminated A silent mode installation also creates a log file setup log which by default is created in the same directory and with the same name except for the extension as the response file The f2 option enables you to specify an alternative log file location and file name as in Setup exe s f2 C Setup log The setup log file contains three sections The first section InstallShield Silent identifies the version of InstallShield used in the silent installation It also identifies the file as a log file The second section Application identifies the installed application name version and the company name The third section ResponseResult contains the ResultCode indicating whether the silent installation succeeded A value of 0 means the installation was successful Installation Setup with CorAppLauncher exe The installation setup can be run with the CorAppLauncher exe tool provided with the driver e Install the board driver and get CorAppLauncher exe from the bin directory of the installation gt When running the installation CorAppLauncher exe will retur
17. ROI the host video buffer size and buffer type RGB888 RGB101010 MONO8 16 PC2 Comp Express Sapera LT e 57 e Configuration of line frame trigger parameters such as source internal via the frame grabber external via some outside event electrical format TTL LVDS OPTO isolated and signal active edge or level characterization Camera Interfacing Check List Before undertaking the task of interfacing a camera from scratch using CamExpert Confirm that Sapera does not already have cca file for your camera installed on your hard disk If there is a cca file supplied with Sapera then use CamExpert to automatically generate the ccf file with default parameter values matching the frame grabber capabilities e Check if the Sapera installation has a similar type of camera file A 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 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 device driver select the board acquisition server and enter the camera parameters 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 A Not
18. as maximum resolution and refresh rate to the associated video adapter Driver Also called a device driver a program routine that links a peripheral device to the operating system 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 Front Porch This is the area of the video waveform that sits between the start of horizontal blanking and the start of horizontal sync Genlock When two cameras are genlocked their internal sync circuits are driven by a common external source These cameras output video frames synchronous to each other Grab Acquiring an image frame by means of a frame grabber Grayscale In image processing the range of available brightness levels displayed in shades of gray In an 8 bit system the gray scale contains values from 0 to 255 Host Refers to the computer system that supports the installed frame grabber Interlaced Describing the standard television method of raster scanning in which the image is the product of two fields each of which is made up of the image s alternate lines that is one field is comprised of lines 1 3 5 and so forth and the other is comprised of lines 2 4 6 and so forth Look up Table A table that is used to convert values into related value
19. camfiles Standard_h 2 11 Image Width fin Pixels value was chanaed from 540 to 768 gt Output Messages x Output Messages Video status Signal Chroma Present Lock Present 5 Lock Present 2 54 Sapera LT PC2 Comp Express The CamExpert sections are e Device Select which acquisition device to control and configure a camera file for Required in cases where there are multiple boards in a system and also when one board supports multiple acquisition types e Configuration Select the timing for a specific camera model included with the Sapera installation or a standard video standard In this example the selection is PAL standard Standard monochrome video would be either CCIR or RS170 The User s subsection is where created camera files are stored e Parameters The central section of CamExpert provides access to the various Sapera parameters supported by PC2 Comp Express It is divided into five tabs 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 and so forth External Trigger Parameters Parameters t
20. the start of active video 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 Blanking The part of the video signal where the CRT scanning beam is blanked so that it can track back to the starting point without drawing diagonal lines across the screen Horizontal blanking occurs when the signal is blanked to track back horizontally from right to left Vertical blanking retraces the beam from the bottom to the starting point top 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 Clamper Circuit A circuit that establishes a fixed level for the video signal at the beginning of each scanning line Also know as DC restoration Composite Video A video signal that is composed of the luminance and color information plus the synchronization signals together Common composite video formats are NTSC and PAL Contiguous Memory A block of physical memory occupying consecutive addresses PC2 Comp Express Glossary of Terms e 69 DDC Display Data Channel A data channel used by newer monitor which communicates monitor properties such
21. web site 8 16 Window Device Manager 61 Windows Event Viewer 21 Windows Logo testing 8 Windows memory 50 Windows versions 8 47 Windows XP 24 PC2 Comp Express
22. where Never remove or install any hardware component with the computer power on Disconnect the some computers unexpectedly power up when a board is installed Sapera LT Library Installation Note to install Sapera LT and the PC2 Comp Express device driver log onto the workstation as an administrator or with an account that has administrator privileges The Sapera LT Development library or runtime library if application development is not being performed must be installed prior to the PC2 Comp Express device driver e Insert the Teledyne DALSA Sapera LT CD ROM into the CD ROM drive The Teledyne DALSA installation window appears if AUTORUN is enabled e If AUTORUN is not enabled open Windows Explorer and browse to the root directory of the CD ROM Execute launch exe to open the Teledyne DALSA installation window and install the required Sapera LT components e installation program will prompt you to reboot the computer Refer to Sapera LT User s Manual for additional information concerning Sapera LT PC2 Comp Express Installing the PC2 Comp Express e 7 Installing the 2 Express Hardware and Driver The PC2 Comp Express can be installed on any computer that meets the minimum requirements for operating Windows XP Windows Vista or Windows 7 32 or 64 bit and that is equipped with a PCIe expansion slot Note To install the PC2 Comp Express device driver logon to the workstation as an administrat
23. 15 Hz Acquisition State PC2 Comp Express firmware is not loaded Cannot synchronize to input that is no video or an unstable HS Board ready HS and VS are present and stable Acquisition 15 in progress D13 LED State OFF Blinking Green Static Green Blinking or Static Red Trigger State No trigger detected Triggers operating at a slow rate detected one blink per trigger Triggers at a fast rate detected Error detected by PC2 Comp Express driver D15 Firmware State This LED provides visual feedback as to which firmware is selected to execute on the PC2 Comp Express Normally firmware is loaded or updated by the driver installation procedure If there is an error condition with a driver installation a safe mode firmware can be forced to execute so as to re attempt the driver installation See 119 Boot Recovery Mode Indicator LED D15 Indicator State OFF default using driver uploaded firmware ON Using safe mode firmware 44 e Technical Reference PC2 Comp Express J19 Boot Recovery Mode e Default Mode Shunt jumper is installed PC2 Comp Express boots normally on system power up and is ready to execute image capture applications Boot Recovery Mode Shunt jumper is removed if any problems occur while updating the PC2 Comp Express firmware With the jumper off reboot the computer and update the firmware again When the update is complete install the jumper and reboot the com
24. 4 333 1388 USA Teledyne DALSA 700 Technology Park Drive Billerica Ma 01821 Tel 978 670 2000 Fax 978 670 2010 Asia Sales Office Teledyne 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 Comp Express Teledyne DALSA Contact Information 67 Technical Support Any support question or request can be submitted via our web site Technical support form via our web http www teledynedalsa com mv support page Support requests for imaging product installations Support requests for imaging applications Driver updates http www teledynedalsa com mv support driverSDKlist aspx When encountering hardware or software problems please have the following documents included in your support request e The Teledyne DALSA Log Viewer txt file The PCI Diagnostic PciDump txt file e Teledyne DALSA Device Manager BoardInfo txt file Note all these tools are available from the Windows start menu shortcut Start All Programs Teledyne DALSA LT Tools 68 Teledyne DALSA Contact Information PC2 Comp Express Glossary of Terms ADC Analog to Digital conversion is an electronic process in which a continuously variable analog signal is changed without altering its essential content into digital data Back Porch The portion of the video waveform between the end of horizontal sync and
25. ART OF FRAME CORACQ VAL EVENT TYPE END OF FIELD CORACQ VAL EVENT TYPE END OF ODD CORACQ VAL EVENT TYPE END OF EVEN CORACQ VAL EVENT TYPE END OF FRAME CORACQ PRM SIGNAL STATUS CORACQ VAL SIGNAL HSYNC PRESENT D 5 CORACQ VAL SIGNAL VSYNC LOCK CORACQ VAL SIGNAL PRESENT TRANSFER PARAMETERS Values CORXFER PRM EVENT TYPE CORXFER VAL EVENT TYPE END OF FIELD 7 CORXFER VAL EVENT TYPE END OF ODD CORXFER VAL EVENT END OF EVEN CORXFER VAL EVENT TYPE END OF FRAME CORXFER VAL EVENT TYPE END OF TRANSFER PC2 Comp Express Sapera LT e 53 Using CamExpert with 2 Express CamExpert is the camera interfacing tool for frame grabber boards supported by the Sapera library CamExpert generates Sapera camera configuration file your camera 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 Every Sapera demo program starts by a dialog window to select a camera configuration file Even when using the PC2 Comp Express with standard video signals a camera file is required Therefore is typically the first Sapera application run after an installation Obviously existing ccf files can be copied to the new installation when similar cameras are used CamExpert Example with a PAL Camera The image below shows CamExpert with the PC2 C
26. Comp Express Theory of Operation e 33 Transfer Events Transfer events are the events related to the transfer module Transfer events provide feedback on image transfer from onboard memory frame buffers to PC memory frame buffers End of Frame The End of Frame event is generated when the last image pixel is transferred from onboard memory into PC memory The Sapera event value is CORXFER VAL EVENT TYPE END OF FRAME End of Field The End of Field event is only available for interlaced scan cameras There is an End of Field event when the last field has been transferred from onboard memory into PC memory The Sapera event value is VAL EVENT TYPE END OF FIELD End of Odd Field The End of Odd Field event is only available for interlaced scan cameras There is an End of Odd Field event when the odd field has been transferred from onboard into PC memory The Sapera event value is CORXFER VAL EVENT TYPE END OF ODD End of Even Field The End of Even Field event is only available for interlaced scan cameras There is an End of Even Field event when the even field has been transferred from onboard memory into PCI memory The Sapera event value is VAL EVENT TYPE END OF EVEN End of Transfer The End of Transfer event is generated at the completion of the last image being transferred from onboard memory into PC memory To complete a transfer a stop must be issued to the transfer module
27. DE SYNCHRONOUS If next buffer is empty then transfer to next buffer otherwise transfer to current buffer CORXFER VAL CYCLE MODE NEXT EMPTY If next buffer is empty then transfer to next buffer otherwise transfer to next empty buffer in the list If all buffers are full then transfer to current buffer CORXFER VAL CYCLE MODE ASYNCHRONOUS The transfer device cycles through all buffers in the list without concern about the buffer state CORXFER VAL CYCLE MODE OFF Always transfer to the current buffer PC2 Comp Express Theory of Operation e 37 38 Theory of Operation PC2 Comp Express Technical Reference Hardware Specifications Board Acquisition Noise and Pixel Jitter Controls Data Formatting Image Buffer Pixel Format Transfer Connectors Software Requirements PC2 Comp Express PCIe x1 half length rev 1 0a compliant Connect up to 6 monochrome or 2 Y C 4 CV and 1 YC or 2 CV and 2 YC cameras Standard RS 170 NTSC CCIR and PAL formats Composite video 75Q terminated Image mirroring and vertical flip Adaptive 2 4 line comb filter for high accuracy chrominance and luminance separation Brightness contrast hue saturation and sharpness controls 1 LSB with 1 nsec jitter One TTL trigger input feeding through a programmable debouncing circuit One 8 bit in 8 bit out LUT Acquisition cropper to define region of interest ROI Horizontal and Vertical image flip
28. Field event at the beginning of each field transferred from front end to onboard memory two per frame The Sapera event value is CORACQ VAL EVENT TYPE START OF FIELD Start of Odd Field The Start of Odd Field event is only available for interlaced scan cameras There is a Start of Odd Field event at the beginning of each incoming odd field transferred from front end to onboard memory The Sapera event value is CORACQ VAL EVENT TYPE START OF ODD Start of Even Field The Start of Even Field event is only available for interlaced scan cameras There is a Start of Even Field event at the beginning of each incoming even field transferred from front end to onboard memory The Sapera event value is CORACQ VAL EVENT TYPE START OF EVEN End of Frame The End of Frame event is generated when the last image pixel is transferred from front end to onboard memory The Sapera event value 15 CORACQ VAL EVENT TYPE END OF FRAME End of Field The End of Field event is only available for interlaced scan cameras There is an End of Field event when the last field has been transferred from front end to onboard memory The Sapera event value is CORACQ VAL EVENT TYPE END OF FIELD 32 Theory of Operation PC2 Comp Express End of Odd Field The End of Odd Field event is only available for interlaced scan cameras There is an End of Odd Field event when the odd field has been transferred from front end to onboard memory The Sap
29. GER SOURCE STR 0 External Trigger 1 CORACQ PRM FLIP CORACQ VAL FLIP HORZ CORACQ PRM Min 180000 Max 178600 Step 1 CORACQ INT FRAME TRIGGER ENABLE TRUE FALSE CORACQ PRM INT FRAME TRIGGER FREQ Min 1 Max 1000000000 Step 1 CORACQ ENABLE TRUE CORACQ PRM LUT FORMAT CORLUT VAL FORMAT CORACQ PRM LUT MAX 1 CORACQ PRM LUT NENTRIES 256 CORACQ PRM LUT NUMBER 0 CORACQ PRM OUTPUT FORMAT CORACQ VAL OUTPUT FORMAT CORACQ VAL OUTPUT FORMAT YUY2 CORACQ PRM SATURATION Min 0 Max 198400 Step 1 CORACQ PRM SCALE HORZ CORACQ PRM SCALE HORZ METHOD Min 0 Max 4095 Step 2 CORACQ VAL SCALE METHOD DISABLE CORACQ VAL SCALE METHOD INTERPOLAT ION CORACQ PRM SCALE VERT Min 0 Max 4095 Step 1 CORACQ PRM SCALE VERT METHOD CORACQ VAL SCALE METHOD DISABLE CORACQ VAL SCALE METHOD INTERPOLAT ION CORACQ SHARPNESS Min 7 Max 8 Step 1 ACQUISITION PARAMETERS Values 52 Sapera LT PC2 Comp Express CORACQ PRM EVENT TYPE CORACQ VAL EVENT TYPE EXTERNAL TRIGGER 2 008400 VAL EVENT EXTERNAL TRIGGER IGNORED CORACQ VAL EVENT TYPE FRAME LOST CORACQ VAL EVENT TYPE VERTICAL SYNC CORACQ VAL EVENT TYPE START OF FIELD CORACQ VAL EVENT TYPE START OF ODD CORACQ VAL EVENT TYPE START OF EVEN CORACQ VAL EVENT TYPE ST
30. Manager v 3 34 File Tools Help Firmware Update Manage Start Update Save Config file Config File Device PC2 CompEspress 1 Serial Number 53298005 Update Firmware Device Version Al PCle Interface 1 20 01 0202 Front End 1 20 01 0202 z Information Firmware State Update Not Required Device Info Firmware Update Output Create an install ini File Run the Installation using install ini Copy the install ini file into the same directory as the setup installation file Run the setup installation as normal The installation will automatically check for an install ini file and if found use the configuration defined in it PC2 Comp Express Installing the PC2 Comp Express e 15 Upgrading Sapera LT or any Teledyne DALSA Device Driver When installing a new version of Sapera LT or a Teledyne DALSA device driver into a computer with a previous installation the current version must be first uninstalled Upgrade scenarios are described below Device Driver Upgrade Only Minor device driver upgrades may be distributed as ZIP files available on the Teledyne DALSA web site http www teledynedalsa com mv support driverSDKlist aspx Device driver upgrades are also available on the next Sapera LT CD ROM release Minor device driver upgrades often do not require a successive Sapera LT upgrade To confirm that the current Sapera LT version you are using will work correc
31. OUPLING AC CORACQ PRM FIELD ORDER CORACQ VAL FIELD ORDER NEXT FIELD 7 7 E CORACQ VAL FIELD ORDER EVEN ODD CORACQ VAL FIELD ORDER ODD EVEN CORACQ PRM FRAME CORACQ VAL FRAME INTERLACED CORACQ PRM HACTIVE Min 16 Max 4096 Step 4 CORACQ PRM PORCH Min 0 Max 4092 Step CORACQ PRM HFRONT PORCH Min 0 Max 4092 Step CORACQ PRM HSYNC Min 1 Max 4092 Step CORACQ PRM HSYNC POLARITY CORACQ VAL ACTIVE LOW CORACQ INTERFACE CORACQ VAL INTERFACE ANALOG CORACQ PRM PIXEL INT Min 1000000 Max 40000000 Step 1 CORACQ PRM PIXEL CLK SRC CORACQ VAL PIXEL SRC INT PC2 Comp Express Sapera LT e 49 CORACQ PRM PIXEL DEPTH 8 bits LUT 1 LUT Format CORDATA FORMAT CORACQ PRM SCAN CORACQ VAL SCAN AREA CORACQ PRM SIGNAL CORACQ VAL SIGNAL SINGLE ENDED CORACQ PRM SYNC CORACQ VAL SYNC COMP VIDEO CORACQ PRM TAP 1 DIRECTION CORACQ VAL TAP DIRECTION FROM TOP CORACQ VAL TAP DIRECTION UD CORACQ VAL TAP DIRECTION LR CORACQ PRM TAP OUTPUT CORACQ PRM TAPS CORACQ PRM VACTIVE CORACQ VAL TAP OUTPUT SEGMENTED 1 Min 16 Max 4096 Step 1 CORACQ PRM VBACK PORCH Min 0 Max 4095 Step 1 CORACQ PRM VFRONT PORCH Min 0 Max 4095 Step 1 CORACQ PRM VIDEO CORACQ VAL VIDEO MONO CORACQ VAL VIDEO COLOR CORACQ VAL VIDEO YC CORACQ PRM VIDEO STD CORACQ VAL VIDEO STD 5170 NTSC CORACQ VAL VIDEO STD CCIR PAL CORACQ VAL VIDEO S
32. TD SECAM CORACQ PRM VSYNC CORACQ PRM VSYNC POLARITY 50 Sapera LT Min 1 Max 4095 Step 1 CORACQ VAL ACTIVE LOW PC2 Comp Express VIC PARAMETERS Values CORACQ PRM BRIGHTNESS Min 47360 47 Max 46990 4696 Step 370 0 3796 CORACQ PRM CAMSEL Monochrome Min 0 Max 5 Step 1 Color Min 0 Max 5 Step 1 YC Min 0 Max 1 Step 1 CORACQ PRM CONTRAST Min 78112 7896 Max 114688 114 Step 288 0 288 CORACQ PRM CROP HEIGHT Min 16 Max 4095 Step 1 CORACQ PRM CROP LEFT Min 0 Max 4080 Step 1 CORACQ PRM CROP TOP Min 0 Max 4080 Step 1 CORACQ PRM CROP WIDTH Min 16 Max 4095 Step 4 CORACQ PRM DC REST MODE CORACQ VAL DC REST MODE AUTO CORACQ PRM DECIMATE METHOD CORACQ VAL DECIMATE DISABLE CORACQ VAL DECIMATE ODD CORACQ VAL DECIMATE EVEN CORACQ EXT TRIGGER DETECTION CORACQ VAL RISING EDGE CORACQ VAL FALLING EDGE CORACQ VAL ACTIVE HIGH CORACQ VAL ACTIVE LOW CORACQ PRM EXT TRIGGER DURATION Min 0 Max 255 Step 1 CORACQ PRM EXT TRIGGER ENABLE CORACQ VAL EXT TRIGGER OFF CORACQ VAL EXT TRIGGER ON CORACQ PRM EXT TRIGGER FRAME COUNT Min 1 Max 65535 Step 1 CORACQ PRM EXT TRIGGER LEVEL CORACQ VAL LEVEL TTL PC2 Comp Express Sapera LT e 51 EXT TRIGGER SOURCE 0 External Trigger 1 CORACQ EXT TRIG
33. administrator privileges From the Windows start menu select Start Control Panel Add or Remove Programs Select the Teledyne DALSA PC2 Comp 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 Sapera LT click Remove and then in the InstallShield dialog click on Remove to uninstall the board driver Reboot the computer and log on to the computer as an administrator once again Install the new versions of both Sapera LT and the device driver as if it is a first time installation PC2 Comp Express Installing the PC2 Comp Express e 17 Connecting Cameras 9827 PC2 Comp Express Connector Bracket JA Y C Input Connect cable assembly OR B20C 42000 to J1 and to your Y C video source Refer to J1 DIN 4 Pin Y C Video Input on page 41 for a description of J1 X 5 sleeve 4 pin DIN Male connector Male Label Y1 CV5 M5 BNC connector Male Li Label C1 CV6 M6 Shrink Tubing 3 8 Shrink Tubing 1 2 PC2 Comp Express Cable Assembly OR B20C 42000 J2 Composite Video Input Connect cable assembly OR B20C ARGBO to J2 Connect the BNC connector labeled CV1 to your color or monochrome video source Connect additional cameras to CV2 and
34. d Teledyne DALSA acquisition hardware using Sapera drivers The second drop down menu allows you to select the available input devices present on the selected server 60 Sapera LT PC2 Comp Express 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 Grab Demo Main Window The main window provides control buttons and a central region where the grabbed image is displayed Developers can use the source code supplied with the demo as a foundation to quickly create and test the desired imaging application The various functions are described below Sapera Grab Demo Pixel data not available Acquisition Control Snap Grab Free File Control Acquisition Control 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 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 PC2 Comp Express Sapera LT 61 File Control Three c
35. ditions due to other devices e User forcing a partial firmware upload using an invalid firmware source file When the PC2 Comp Express firmware is corrupted executing a manual firmware upload will not work because the firmware loader can not communicate with the board In an extreme case corrupted firmware may even prevent Windows from booting Solution The user manually forces the board to initialize from write protected firmware designed only to allow driver firmware uploads When the firmware upload is complete the board is then rebooted to initialize in its normal operational mode Note that this procedure may require removing the PC2 Comp Express board several times from the computer 20 e Installing the PC2 Comp Express PC2 Comp Express e Important Referring to the board s user manual in the connectors and jumpers reference section identify the configuration switch location The Boot Recovery Mode jumper for the PC2 Comp Express is J19 see 719 Boot Recovery Mode on page 45 e Shut down Windows and power OFF the computer Remove jumper 119 for the boot recovery mode position Power on the computer Windows will boot normally e When Windows has started do a manual firmware update procedure to update the firmware again see Executing the Firmware Loader from the Start Menu on page 11 When update is complete shut down Windows and power off the computer Replace the jumper J19 i e default posit
36. e area scan frame grabber PC2 Comp Express Sapera LT 63 General Options Note functions grayed out are not supported by acquisition hardware e Buffer Provides buffer count and size type and format controls Count and Size Type Count 2 Contiguous Scatter Gather width Offscreen Video Height 575 C Overlay C Virtual r Format vuv2 71 Pixel Depth significant bits Cancel e Count and Size Select the number of frame buffers of the configured image size Type Contiguous Frame buffers are allocated in contiguous system memory single memory block no segmentation Scatter Gather Frame buffers are allocated throughout system memory in noncontiguous memory paged pool Pages are locked in physical memory so a scatter gather list can be constructed This type allows for the allocation of very large size buffers or large buffer counts Type Off screen Video The buffer is allocated in off screen video memory and uses the display adapter hardware to perform a fast copy from video memory to video memory Type Overlay The frame buffer is allocated in video memory where the display adapter overlay hardware uses color keying to view the overlay buffer e Format Shows frame buffer pixel formats as supported by the hardware and camera files used e View Provides image scaling and range controls 64 Sapera LT PC2 Comp Express
37. e 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 PLL Short for phase locked loop A PLL ensures that a signal is locked on a specific frequency Progressive Scan Camera The progressive scan format outputs data from the camera the signal in sequential order as it is scanned The scan format produces a full frame of video in a continuous stream rather than half the image per output sequence in standard interlaced cameras PC2 Comp Express Glossary of Terms e 71 RS 232 A standard serial communication port RS 422 RS 422 is a serial communications standard that provides a much longer transmission distance but fewer signal lines than to RS 232 Scatter Gather Host system memory allocated for frame buffers is virtually contiguous but physically scattered throughout all available memory Trigger A mechanism that initiates an action when an event occurs such as synchronizing an image acquisition to an external event trigger generally causes a program routine to be executed such as the resetting of camera exposure and or the firing of a strobe light TTL Transistor Transistor Logic Acceptable TTL gate input signal voltage levels a
38. e 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 Master Mode e HS VS signal frequencies are 1 Em HS HS total H total PCLK VS freq freq 58 Sapera LT PC2 Comp Express 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 PCI bus A successful imaging application must account for the camera data bandwidth and possibly control frame rate or image resolution to bring the bandwidth requirements to within the system s limitations Bandwidth is defined in two different ways Peak bandwidth is the highest data rate occurring at any time during the data transfer The average bandwidth is the amount of data per unit of time being transferred Each is calculated as follows Peak Bandwidth MBps Pixel Clock Frequency Bpp channels e Average Bandwidth MBps Frame Width Frame Height Frame Rate Bpp where e MBps Megabytes per second Bytes per pixel nb number of When the bandwidth required by the frame grabber exceeds the capacity of the PCIe bus the following techniques can reduce and optimize
39. era event value is CORACQ VAL EVENT TYPE END OF ODD End of Even Field The End of Even Field event is only available for interlaced scan cameras There is an End of Even Field event when the even field has been transferred from front end to onboard memory The Sapera event value 15 CORACQ VAL EVENT TYPE END OF EVEN Acquisition Status Chroma Present The Chroma Present status indicates the presence of the color component in the input video signal When connecting a monochrome video source this status will be FALSE The Sapera status value is CORACQ VAL SIGNAL CHROMA PRESENT Horizontal Sync Lock The Horizontal Sync HS Lock status indicates the state of the ADC sphase locked loop PLL with respect to the incoming horizontal sync In order to digitize accurately the PLL must be synchronized that is be locked to the incoming video HS Typically the application first verifies the HS lock condition before starting an acquisition sequence The Sapera status value is CORACQ VAL SIGNAL HSYNC Vertical Sync Lock The Vertical Sync VS Lock status indicates the state of the ADC s PLL with respect to the incoming vertical sync In order to digitize accurately the PLL must be synchronized that is be locked to the incoming video VS Typically the application first verifies the VS lock condition before starting an acquisition sequence The Sapera status value is CORACQ VAL SIGNAL VSYNC PC2
40. ertain that the camera cable input is the input selected in CamExpert Make certain that the camera is configured for the proper mode of operation RS170 CCIR NTSC PAL This must match the camera configuration file Refer to your camera datasheet Try to snap one frame from the CamExpert instead of continuous grab Verify the board properties in Windows Device Manager on page 27 as described Symptoms Board Grabs Black You are able to use Sapera CamExpert and the displayed frame rate is as expected but the display remains black 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 PCIe transfer issue No PCIe transfer takes place so the frame rate is above 0 but nevertheless an image is not displayed in CamExpert Make certain that the BUS MASTER bit in the PCI configuration space is activated Run the Sapera PCI Diagnostics tool select the PC2 Comp Express PCI device and check that the BM button under Command group is depressed 28 Installing the PC2 Comp Express PC2 Comp Express Theory of Operation Acquisition Process The PC2 Comp Express supports dual destination transfers enabling the transfer of acquired images to both the video display buffer and the host buffer simultaneously The acquisition process data flo
41. fication Electrical Description Value parameters max Maximum voltage for low 0 8 V Vint min Minimum voltage for high 2 Sapera parameters for External Trigger CORACQ PRM EXT TRIGGER ENABLE CORACQ VAL EXT TRIGGER ON CORACQ PRM EXT TRIGGER SOURCE Sets the external trigger source Currently only 0 External Trigger 1 is supported CORACQ PRM EXT TRIGGER SOURCE STR string representing the external trigger source CORACQ PRM EXT TRIGGER DETECTION CORACQ VAL RISING EDGE CORACQ VAL FALLING EDGE CORACQ VAL ACTIVE HIGH CORACQ VAL ACTIVE LOW CORACQ EXT TRIGGER DURATION Debouncing duration CORACQ PRM EXT TRIGGER FRAME COUNT Number of frames to acquire per trigger In CamExpert these parameters are located under the External Trigger Parameters tab PC2 Comp Express Theory of Operation e 35 Trigger To Image Reliability Trigger to image reliability incorporates all stages of image acquisition inside an integrated controller to increase reliability and simplify error recovery The trigger to image reliability model brings together all the requirements for image acquisition to a central management unit These include onboard frame buffer memory to compensate for PCI bus latency and comprehensive error notification Whenever PC2 Comp Express detects a problem the user application is immediately informed and can take appropriate action to return to normal operation The PC2
42. hen integrating Teledyne DALSA products into your software installation The silent installation mode allows the device driver installation to proceed without the need for mouse clicks or other input from a user Preparing a Silent Mode Installation requires two steps Prepare the response file which emulates a user Invoke the device driver installer with command options to use the prepared response file Creating a Response File Create the installer response file by performing a device driver installation with a command line switch r The response file is automatically named setup iss and is saved in the Windows folder If a specific directory is desired the switch f1 is used As an example to save a response file in the same directory as the installation executable of the PC2 Comp Express the command line would be PC2 Comp ex fl Nsetup iss 12 Installing the PC2 Comp Express PC2 Comp Express Running a Silent Mode Installation A device driver silent installation whether done alone or within a larger software installation requires the device driver executable and the generated response file setup iss Execute the device driver installer with the following command line PC2 Comp ex S fl Nsetup iss Where the s switch specifies the silent mode and the f1 switch specifies the location of the response file In this example the switch f1 Asetup iss specifies that the setup iss file be in
43. if transfers are already in progress If a transfer of a fixed number of frames was requested the transfer module will stop transfers automatically The Sapera event value is CORXFER VAL EVENT TYPE END OF TRANSFER 34 Theory of Operation PC2 Comp Express External Trigger An external trigger allows image acquisitions to be synchronized to external events With this mode enabled when the PC2 Comp Express receives a trigger signal the acquisition begins with the next valid frame PC2 Comp Express provides one TTL external trigger input It is possible to emulate an external trigger using a software trigger generated by a function call from an application The incoming trigger pulse passes through a debouncing circuit to ensure that no voltage glitch would be detected as a valid trigger pulse The time constant can be programmed from Ous off to 255 5 Any pulse smaller than the programmed value is blocked and therefore not seen by the acquisition circuitry A minimum pulse of 100 nsec is recommended for proper operation Note Teledyne DALSA recommends that a debouncing value always be used even a minimal 11 delay to avoid the effects of any undefined electrical state when passing from TTL low voltage 0 8V to TTL high voltage 2 0V TTL external trigger is available on J3 pin 2 see DIN 8 Pin Trigger Input on page 43 and can be directly connected to a TTL voltage source The following table defines the electrical speci
44. installed PC2 Comp Express board itself If required update the server list by clicking the Refresh button t Sapera Configuration Server List Index Name Serial Number System 1 PC2 Comp 1 53298005 Contiguous Memory Used for allocating buffers Used for allocating messages Requested Requested H MBytes 6 MBytes Allocated Allocated 3 MBytes 5 MBytes Serial Port Configuration Physical port port mapping Enable camera optional detectie E 4 Enable DirectShow support 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 required for Sapera buffers allocation and Sapera messaging For both items the Requested value dialog box shows the PC2 Comp Express Sapera LT e 47 driver default memory setting while the Allocated value displays the amount of contiguous memory that has been allocated successfully The default values will generally satisfy the needs of most applications The Sapera buffers value determines the total amount of contiguous memory reserved at boot time for the allocation of dynamic resources used for host frame buffer management such as DMA descriptor tables as well as other kernel needs Adjust this value to a higher level if your application genera
45. ion ccF m Current Select Custom Directory Cancel Camera Files Distributed with Sapera The Sapera distribution CD ROM includes camera files that are compatible to PC2 Comp Express 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 Camera files are ASCII text and can be read with Windows Notepad on any computer without having Sapera installed 56 Sapera LT PC2 Comp Express 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 0 introduces a new camera configuration file CCF that combines the CCA and CVI files into one file Typically a camera application will use a CCF file per camera operating mode or one CCA file in conjunction with several CVI files where each CVI file defines a specific camera operating mode An application can also have multiple CCF files so as to support different image format modes sup
46. ion and power on the computer once again e Verify that the frame grabber is functioning by running a Sapera application such as CamExpert The Sapera application will now be able to communicate with the PC2 Comp Express board 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 Teledyne DALSA Device Manager Program The Teledyne DALSA Device Manager program provides a convenient method of collecting information about the installed PC2 Comp Express System information such as operating system computer CPU system memory PCI configuration space as well as PC2 Comp Express 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 Teledyne DALSA PC2 Comp Express Device Driver Device Manager If the Teledyne DALSA Device Manager program does not run it will exit with a message that the board was not found Since the PC2 Comp Express 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
47. ites will be in bold text for example image2 bmp c Sapera http www imaging 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 FileeSave 2 Introduction PC2 Comp Express PC2 Comp Express Board Components amp Part Numbers PC2 Comp Express Board Product Number Contact Sales PC2 Comp Express PC2 Comp Express Software Item Product Number Sapera LT version 5 20 or later required but sold separately OC SL00 0000000 1 Sapera LT Provides everything you will need to build your imaging application 2 Current Sapera compliant board hardware drivers 3 Board and Sapera documentation compiled HTML help and Adobe Acrobat PDF formats optional Contact Sales at Sapera Processing Imaging Development Library includes over 600 optimized image Teledyne DALSA processing routines PC2 Comp Express Cables amp Accessories Product Number PC2 Comp Express input cable OR B20C 4RGBO 4 Pin DIN to 2 BNC fan out cable Y C video input OR B20C 42000 8 Pin DIN to 4 pin DIN Y C out plus 4 BNC fan out cable CV out amp Trigger input OR B20C 84400 PC2 Comp Express PC2 Comp Express Board e 3 PC2 Comp E
48. k c windows syste Driver Yes Boot Running Loaded Modules dmload dmload c windows syste KemelDriver Yes Boot Running Norr Services dpti2o dpti2o Not Available Driver No Disabled Stopped 1000 Intel R 10 c windows syste Driver Yes Manual Running Startup Programs fastfat Fastfat c windows syste File System Yes Disabled Running fde Floppy Disk Con c windows syste Driver Yes Manual Running OLE Registration Fips c windows syste Driver Yes System Running Windows Error Reporting flpydisk Floppy Disk Driver c windowsNsyste Driver Yes Manual Running Internet Settings fltmar FltMar c windows syste File System Yes Boot Running Norr ftdisk Volume Manage c windows syste Yes Boot Running lt gt Find what Search selected category only Search category names only Signed Drivers Environment Variables Program Groups Teledyne DALSA Technical Support may request that you check the status of these Teledyne DALSA drivers as part of the troubleshooting process Log Viewer This step in the verification process saves a text file with the report obtained when the Teledyne DALSA Log Viewer is run Run the program via the Windows Start menu shortcut Start AII Programs Teledyne DALSA Sapera LT Too
49. ls Log Viewer The Teledyne DALSA Log Viewer lists information about installed Teledyne DALSA drivers Click File Save You will be prompted for a text file name in which to save the Log Viewer contents Email this text file to Teledyne DALSA Technical Support when requested or as part of your initial contact email Although the information collected by the Log Viewer seems complicated you can make some initial diagnostics by checking the status of the Teledyne DALSA driver In the screen shot below note the highlighted lines Found 1 PC2 Comp Board This confirms that the driver can communicate with the PC2 Comp Express PC2 Comp Express Installing the PC2 Comp Express e 25 EN Sapera Log Viewer Program Files Teledyne DALSA Sapera Bin default ini Ele Edit Options Help 2012 03 14 11 21 22 068 5 5 CORMEMMAPPOOL gt Physical 0 0 9 0000 Linear 0088060000 e ldev sapera 2012 03 14 11 21 22 068 5 5 CORMEMMAPPOOL gt CMemSize Messaging 0 00600000 e dev_sapera_l 2012 03 14 11 21 22 068 CORMEM SYS CORMEMMAPPOOL gt CMemSize Object 0 00300000 sapera 2012 03 14 11 21 22 068 CORMEM SYS CORMEMMAPPOOL gt CMemPhysical 0 0 9 0000 edev sapera 2012 03 14 11 21 22 CORMEM SYS CORMEMMAPPOOL gt CMemLinear 0x8abc0000 sapera C2COMPX CXM INITSHAREDRESSOURCES gt Found 1 boards nmm 2024 2012 03 14 11 07 07 503 CORPC2COMPS DLL
50. n only when the installation is finished e When run from within a batch file obtain the installation exit code from the ERRORLEVEL value e The arguments to CorAppLauncher exe 1 Launch application f Application to launch Specify a fully qualified path As an example CorAppLauncher l f c driver_install PC2 Comp exe IF ERRORLEVEL 0 goto launch error Note There is a 32 bit and 64 bit version of CorAppLauncher exe When installing the driver only the version related to the OS is installed However the 32 bit version is usable on either 32 bit or 64 bit Windows Custom Driver Installation using install ini Customize the driver installation by parameters defined in the file install ini By using this file the user can e Select the user default configuration Select different configurations for systems with multiple boards e Assign a standard Serial COM port to the board 14 Installing the PC2 Comp Express PC2 Comp Express Creating the install ini File e Install the driver in the target computer PC2 Comp Express boards required in the system must be installed e Configure each board s acquisition firmware using the Teledyne DALSA Device Manager tool see Firmware Update Manual Mode When each board setup is complete using the Teledyne DALSA Device Manager tool click on the Save Config File button This will create the install ini file Teledyne DALSA Device
51. o configure the external 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 e Display 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 Grab starts continuous acquisition button then toggles to Freeze to stop Snap is a single frame grab Trigger is a software trigger to emulate an external source e Output Messages Events and errors are logged for review For context sensitive help click on the button then click on a camera configuration parameter 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 PC2 Comp Express Sapera LT e 55 Saving a Camera Configuration File Click on File Save to create the camera configuration file The following image shows the save menu with the PAL camera default timing from the previous example Save Camera file Camera Configuration Description Company Name Television Standard Model Name PAL 14 75 MHz Generic Camera Made Composite Video Free running Configuration Default File Information File name T PAL 14 75 MHz Generic Composite Default Save as Camera configurat
52. oard e 5 Sapera LT 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 Teledyne 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 Information and screen shots in this manual correspond to Sapera LT 5 2 Sapera Processing Library Supplied optionally 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 matching OCR and barcode decoding 6 PC2 Comp Express Board PC2 Comp Express Installing the 2 Express Warning Grounding Instructions Static electricity can damage electronic components Please discharge any static electrical charge by touching a grounded surface such as the metal computer chassis before performing any hardware installation If you do not feel comfortable performing the installation please consult a qualified computer technician power cord from the computer to disable the power standby mode This prevents the case
53. ocated as a single contiguous memory block typical limitations are one third of the total system memory with a maximum limit of approximately 100MB Click the Buffer button in the General Options section within the Grab Demo program for information concerning selecting the type of host buffer memory allocation 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 48 e Sapera LT PC2 Comp Express Sapera Server and Parameters The following table lists the Sapera server available for PC2 Comp Express Note that a single server supports both monochrome color and Y C cameras PC2 Comp PC2 Comp Acquisition Standard Composite Video Express Composite color mono and Y C video Video amp Y C channel The following table describes the Sapera parameters and values supported by PC2 Comp Express Refer to Sapera Acquisition Parameters Reference manual for a thorough description of each parameter CAMERA PARAMETERS Values CORACQ PRM CHANNEL CORACQ VAL CHANNEL SINGLE CORACQ CHANNELS ORDER CORACQ VAL CHANNELS ORDER NORMAL CORACQ COUPLING CORACQ VAL C
54. ograms Teledyne DALSA Sapera LT Demos Grab Demo Program file Teledyne DALSA Sapera Demos Classes vc GrabDemo Release GrabDemo exe Workspace Teledyne DALSA Sapera Demos Classes vc SapDemos dsw NET Teledyne DALSA Sapera Demos Classes vc SapDemos_2003 sIn Solution 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 Using the Grab Demo Server Selection Run Grab Demo Start AIl Programse Teledyne DALSA LT Demos Grab Demo Acquisition Configuration Location Acquisition Server Acquisition Device 2 _1 7 Standard Composite Video amp Y C v Cancel C Program Files T eledyne DALSA S apera CamFiles U ser Browse If no Configuration file exists for your board camera you must run the CamE xpert utility to generate your Configuration file When executed Grab Demo first displays the Acquisition Configuration window The first drop down menu allows you to select any installed Sapera acquisition server that is installe
55. omp Express The camera outputs standard PAL composite video After selecting the camera or video standard the timing parameters are displayed and the user can test by clicking on Grab Descriptions of the CamExpert windows follows the image CamExpert Standard_Pal cca Pre Processing Advanced CameralinkPort Help Device Selector X Display Device 8 2 1 gF Standard Composite Video Y C m Configuration amp Camera Library Television Standard PAL 14 75 MHz Generic Comp Parameters x Parameter Value Basic Timing Video Standard Advanced Control Color Color Field Order Odd Even field Horizontal Active in Pixels 768 Horizontal Front Porch in Pixels 22 External Trigger Image Buffer and ROI Multi Camera Control Horizontal Sync in Pixels 69 Horizontal Back Porch in Pixels 85 Vertical Active in Lines Vertical Front Porch in Lines Vertical Sync in Lines Vertical Back Porch in Lines Pixel Clock Digitization Frequenc 14 75 15 31 52 2 1 Standard Composite Video amp Y C 15 31 52 PC2 Comp 1 Warning Horizontal Active in Pixels value was corrected from 642 to 636 mu 15 33 20 PC2 Comp 1 Warming Horizontal Active in Pixels value was corrected from 642 to 636 mu 15 33 20 PC2 Comp 1 Camera file C Program Files T eledyne DALSA S apera
56. ontrol 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 Comp Express software has not passed Windows Logo testing is displayed click on Continue Anyway to finish the PC2 Comp Express driver installation Reboot the computer when prompted When using Windows Vista or Windows 7 a message asking to install the Teledyne DALSA device software is displayed Click Install 8 Installing the PC2 Comp Express PC2 Comp Express r 157 Windows Security me Would you like to install this device software 2 Express Device Driver Publisher DALSA Corp V Always trust software from DALSA Corp Don t Install You should only install driver software from publishers you trust How can decide which device software is safe to install e During the installation the PC2 Comp Express Device Manager firmware loader application starts Click Update For more information on the Device Manager application see Device Manager Firmware Loader on page 9 When the installation is complete the following dialog box is displayed D PC2 Comp Express Device Driver Setup 0 Installa
57. ontrols are provided for image file transfers e New Clears the current image frame buffer Load Retrieves images BMP CRC JPG and RAW formats e Save Prompts for a file name file save location and image format Acquisition Options Note Unsupported functions are grayed out and not selectable Function support is dependent on the acquisition hardware in use e Load Config Opens the dialog window Acquisition Parameters allowing the user to load a new set of camera files This is the same window displayed when the Sapera Acquisition Demo is first started e General Allows for PC2 Comp Express camera input selection and external trigger mode enabling Acquisition Settings xi Camera Selector gue M Digital Input Connector Bit Ordering Standard 10 bit camera bit 9 1 inverted with 04 10 bit connector External Trigger Detection 6 Rising Edge Falling Edge Enable 119290 Active High Active Low e Composite Conditioning Offers Brightness Saturation and Sharpness controls 62 Sapera LT PC2 Comp Express Composite Conditioning 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 Area Scan Camera Control e Line Scan Camera Control This dialog is not applicable to th
58. or or with an account that has administrator privileges The PC2 Comp Express device driver is distributed on the Sapera LT CD ROM and is also available through the Teledyne DALSA web site from the Service amp Support menu In a Windows XP Vista 7 System Turn the computer off and open the computer chassis to allow access to the expansion slot area Install the PC2 Comp Express into a free PCI Express x4 expansion slot The PC2 Comp Express could also be installed in a PCI Express x8 Note that some computer s x16 slot may support the PC2 Comp Express The user needs to test each computer to verify support of a x4 product Close the computer chassis and turn the computer on Driver installation requires administrator rights for the current user of the computer Windows will find the PC2 Comp Express and start its Found New Hardware Wizard Click on the Cancel button to close the Wizard Insert the Teledyne DALSA Sapera CD ROM If AUTORUN is enabled on your computer the installation menu is presented Install the PC2 Comp Express 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 Comp Express board and install the PC2 Comp Express driver Note if you are using Windows Vista or Windows 7 with the User Account C
59. ported by the camera or sensor such as image binning or variable ROI CCF File Details Files using the CCF extension CORECO Camera Configuration file are essentially the camera and frame grabber CVI parameters grouped into one file for easier configuration file management This is the default Camera Configuration file used with Sapera LT 5 0 and later and the CamExpert utility File Details Teledyne DALSA distributes camera files using the CCA extension CORECO 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 e Video format and pixel definitions e Video resolution pixel rate pixels per line and lines per frame e Synchronization source and timings e Channels Taps configuration e Supported camera modes and related parameters O hardware signal assignment CVI File Details Legacy files using the CVI extension CORECO VIDEO files contain all operating parameters related to the frame grabber board that is what the frame grabber can actually do with camera controls or incoming video The Sapera parameter groups located within the file Activates and sets any supported camera control mode or control variable e Defines the integration mode and duration Defines the strobe output control Allocates the frame grabber transfer
60. puter once again 10 J11 J15 J18 J20 SW1 Reserved Computer Requirements for the PC2 Comp Express The host computer requirement for using PC2 Comp Express is an Intel or compatible computer system with a free PCI Express x1 bus slot Using an unused PCI Express x4 x8 or x16 slot is allowed by the PCI Express specification Operating System Support Windows XP Windows Vista and Windows 7 PC2 Comp Express Physical Dimensions Approximately 6 675 Wx4 2 H 16 95 cm Wx10 67 cm H Power Requirements The PC2 Comp Express is compliant with the PCI Express specification power requirements Typical Maximum 3 3 Volts 1 72A 1 8 12 Volts 160 170 Environment Ambient Temperature 0 to 55 C operation 40 to 125 C storage Relative Humidity 596 to 95 non condensing operating 0 to 9596 storage PC2 Comp Express Technical Reference e 45 46 Technical Reference PC2 Comp Express Sapera LT Configuring Sapera Viewing Installed Sapera Servers The Sapera Configuration program Start Programs Teledyne 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 15 the
61. r Description Connector Description 1 DIN 4 Pin Y C Video Input 012 D13 Acquisition status LEDs J2 General 4 Video Input 015 Board firmware status LED J3 Video Output Trig In J19 Boot Recovery Mode J1 DIN 4 Pin Y C Video Input View looking at J1 female on the PC2 Comp Express Pin Number Description 1 Gnd 2 Gnd 3 5 CV5 4 06 1 PC2 Comp Express Technical Reference e 41 2 DB9 General Video Input View looking at J2 male on the PC2 Comp Express Pin Number Description Gnd M2 CV2 C2 Gnd MI CV1 Y2 CS 4 4 Reserved 00 10 FW Reserved 42 Technical Reference PC2 Comp Express J3 DIN 8 Pin Trigger Input View looking at J3 male on the PC2 Comp Express 1 10 tA Pin Number Description Reserved Trigger Gnd Reserved Reserved Reserved Reserved Reserved PC2 Comp Express Technical Reference e 43 012 D13 Acquisition and Trigger Status LEDs Two LEDs located on the top edge of the PC2 Comp Express board provide visual feedback for the acquisition and trigger status It is necessary to open the host system case to see the LED states this is typical when doing system setup and verification D12 LED State OFF Static Red Static Green Blinking Green Slow 2 Hz Blinking Green Fast
62. re 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 UART A UART Universal Asynchronous Receiver Transmitter is the microchip with programming that controls an interface to its attached serial devices 72 Glossary of Terms PC2 Comp Express Index ACU 32 38 Asia Sales Office 69 BIOS 61 BoardInfo txt 21 boot recovery mode 21 Boot Recovery Mode 47 BUS MASTER 28 C cables 3 Camera Config Files CCA 56 59 CCF 27 56 59 CVI 56 59 camera timing 60 CamExpert 6 27 28 37 56 59 60 63 offline mode 27 CCF file selection 63 CCIR 4 41 composite video 18 28 contiguous memory 49 50 D DC restoration 28 Default Mode 47 Device Manager 9 display driver 8 DMA controller 32 DMA descriptor table 50 dynamic resources 50 E events end of even field 35 PC2 Comp Express end of field 34 end of frame 34 end of odd field 35 frame lost 34 start of even field 34 start of field 34 start of frame 34 start of odd field 34 external trigger 28 33 37 External Trigger TTL 37 F failure firmware upgrade 20 firmware 21 Firmware Loader 9 Found New Hardware Wizard 8 G genlock 4 Grab Demo 50 62 H hardware requirement 47 Hardware Specifications 41 HTML help 3 image processing 3 Installation device driver 8 16 17 device driver upgrades
63. riptor list from host memory Generally host system memory allocated for frame buffers is virtually contiguous but physically scattered throughout all available memory The DMA controller is also responsible for other image manipulation functions as described below Image Flip Operations The PC2 Comp Express DMA controller performs image flip operations vertically 1 2 3 4 L 3 4 1 2 Vertical Image Flip Events and Status The PC2 Comp Express frame grabber provides acquisition and transfer events that allow an application to accurately monitor acquisition transfer status one of the many elements that make up the trigger to image reliability model supported by the Acquisition and Control Unit ACU See Event Related Definitions on page 31 The events are grouped into two families l Acquisition Events 2 Transfer Events Acquisition events are related to the acquisition module They provide feedback on the image digitization phase The following block diagram illustrates the acquisition process 30 Theory of Operation PC2 Comp Express Trigger Onboard PCle Host Camera Memory Controller Memory Start of End of image End of PCle image capture transfer Acquisition Transfer Interrupts Event Related Definitions Interrupt An interrupt is a signal sent by the PC2 Comp Express board to the computer CPU that indicates an even
64. rogram via the Windows Start Menu shortcut Start Programs Teledyne DALSA Sapera LT Tools PCI Diagnostics As shown in the following screen image use the first drop down menu to select the PCI device to examine Select the device PC2 Comp Express from Teledyne DALSA Note the bus and slot number of the installed board this will be unique for each system unless systems are setup identically Click on the Diagnostic button to view an analysis of the system PCI configuration space EN PCI Diagnostic 2 1 PCI device Host bridge from Intel bus 0 slot 0 function 0 Device disabled Rescan devices Refresh Hex dump Vendor ID 08086 Rev ID 9 81 Latency add 0 Sbit 5 00 0485 08800908 005 Device ID 62508 Intbne 000 Grant nno C 16 bit 0504 0844 001 0810 0800 saves SubsystID 08080 Line size 0 08 Class Code 0060000 _ Inan nannennnan Y Command Header type 050144 SERR Wait PE Mw SpC BM 10 Multifunc sE fas DPE 828 use _66MHz ma BIST capable Base address registers Expansion ROM 1 of Enabled 1 bridge Diagnostic 2 Pe View Primary Bus 3 2 960488 4 view Subord Bus Help m 5
65. s from the table 70 Glossary of Terms PC2 Comp Express Low Pass Filter A filter that blocks high frequencies and allows lower frequencies to pass through Used to limit undesirable analog information such as high frequency video noise before converting to digital data NTSC National Television Systems Committee Color TV standard used in North America and other countries The interlaced video signal is composed of a total of 525 video lines at a frame rate of 30 Hz Opto Coupler An electronics device that couples an electrical connection by a light beam It prevents damage caused from inherent electrical signal problems like power surges 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 PCIe PCI Express PCI Express provides a high speed switched architecture Each PCI Express link is a serial communications channel made up of two differential wire pairs that provide 2 5 Gbits sec in each direction Up to 32 of these lanes may be combined in x2 x4 x8 x16 and x32 configurations creating a parallel interface of independently controlled serial links Pixel A contraction of picture element Th
66. t on the frame grabber The PC2 Comp Express device driver has excellent event reaction time 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 Acquisition Events External Trigger Used or Ignored The External Trigger event is generated when the external trigger pin is asserted usually indicating the start of the acquisition process There are two types of external trigger events Used or Ignored Following an external trigger if the event generates a captured image an External Trigger Used event will be generated CORACQ VAL EVENT TYPE EXTERNAL TRIGGER If there is no image captured an External Trigger Ignored event will be generated CORACQ VAL EVENT TYPE EXTERNAL TRIGGER IGNORED An external trigger event will be ignored if the rate at which the events are received are higher than the possible frame rates of the camera For more information see External Trigger on page 35 Vertical Sync from Camera The Vertical Sync event indicates a vertical sync has been detected
67. terminated PCI conflict after some other device was installed PC2 Comp Express Installing the PC2 Comp Express e 21 Information Window The following figure shows the Teledyne DALSA Device Manager information screen Click to highlight one of the board components and the information for that item will be displayed on the right hand window as shown below Teledyne DALSA Device Manager v 3 34 Eile Tools Help Device Info Manager Reset Device PC2 Comp Express_1 Information Eee ba PCle Interface Front End Devicelnfo Firmware Update Description PC2 Comp DM Engine Version 1 20 01 0202 Created 2006 08 06 14 02 Modified 2011 12 22 10 41 Firmware ID 0214 Option 0 Firmware Size 0x0002C014 PC2 Comp Front End Version 1 20 01 0202 Created 2008 05 15 13 41 Ad Hn 4 0 4 Dutput Click on File Save Device Info to save all information to a text file Email this file when requested by Teledyne DALSA Technical Support 22 Installing the PC2 Comp Express PC2 Comp Express PCI Configuration One of the first items to check when there is a problem with any PCI board is to examine the system PCI configuration and ensure that there are no conflicts with other PCI or system devices The Teledyne DALSA PCI Diagnostic program cpcidiag exe allows for examination of the PCI configuration registers and can save this information to a text file Run the p
68. tes any out of memory errors while allocating host frame buffers You can approximate the amount of contiguous memory required as follows e Calculate the total amount of host memory used for frame buffers number of frame buffers number of pixels per line number of lines 2 if buffer is 10 or 12 bits Provide for every 256MB of host frame buffer memory required e Add additional 1MB if the frame buffers have a short line length for example or less increased number of individual frame buffers requires more resources Add an additional 2MB for various static and dynamic resources e Sapera resources Test for any memory errors when allocating host buffers Click the Buffer button in the General Options section in the Grab Demo program to allocate the number of host buffers required for your acquisition source Feel free to test the maximum host buffer limit possible on your host system the Sapera 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 number of host frame buffers to use as well as other Sapera memory resources be aware of Windows OS memory needs Window XP for example should always have a minimum of 128MB for its own needs A Sapera application using scatter gather buffers could consume most of the remaining system memory When using frame buffers all
69. that the following device drivers have started to support the PC2 Comp Express driver Device Drivers Description corpc2comp PC2 Comp Express messaging corlog Sapera Log viewer cormem Sapera Memory manager corpci Sapera PCI configuration corserial Sapera Serial Port manager 24 Installing the PC2 Comp Express PC2 Comp Express The Drivers dialog box should be similar to the following screenshot All other drivers may differ depending on individual systems System Information Eile Edit View Tools Help System Summary Name Description File Type Started Stat Mode State Status Ero Hardware Resources corlog CorLog c windows syste KemelDriver Yes Boot Running Components cormem c windows syste Driver Yes Boot Running Software Environment 2 2 c windows syste Driver Yes Manual Running Ignor corpci c windows syste Kemel Driver Yes Boot Running 7 corserial c windows syste Kernel Driver Yes System Running Not Available Kernel Driver Disabled Stopped dac960nt dac960nt Not Available Kernel Driver Disabled Stopped Print Jobs disk Disk Driver c windows syste KemelDriver Yes Boot Running Network Connections dmboot dmboot c windows syste KemelDriver Disabled Stopped Running Tasks dmio Logical Dis
70. the average bandwidth Bandwidth Reduction Techniques 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 resolution will only need a bandwidth 01 80MB per second e Using the Planar Transfer mode where each color plane is sent to its own host buffer can reduce PCI traffic by 25 2 3bytes to transfer RGB instead of 4 xRGB Bandwidth Optimization Techniques The following techniques are suggestions for applications that require all possible optimizations from the host system Implementing these suggestions require a thorough understanding of your computer system setup and its BIOS controls e Allocate a separate IRQ for the frame grabber BIOS settings can be used to manually assign the IRQ number to a particular PCI slot As an alternative the Window Device Manager can be used to force a specific IRQ to a specific PCI slot e Minimize the PCI latency timer in the BIOS setting the value is given in CLK cycles e Avoid any hard drive write read operations and network access through PCI LAN interfaces during intensive image transfers by the frame grabber Important Some computer systems do not provide the BIOS controls described Review your system manual PC2 Comp Express Sapera LT e 59 Sapera Grab Demo Overview Program Start All Pr
71. the same folder as the device driver installer notified Windows to Always trust software from DALSA Corp during a previous installation of a Note On Windows Vista and 7 the Windows Security dialog box will appear unless one has already driver Silent Mode Uninstall Similar to a silent installation a response file must be prepared first as follows Creating a Response File The installer response file is created by performing a device driver un installation with a command line switch r The response file is automatically named setup uninstall iss which is saved in the Windows folder If a specific directory is desired the switch f1 is used As an example to save a response file in the same directory as the installation executable of the PC2 Comp Express the command line would be PC2 Comp ex fl Nsetup uninstall iss Running a Silent Mode Uninstall Similar to the device driver silent mode installation the un installation requires the device driver executable and the generated response file setup iss Execute the device driver installer with the following command line PC2 Comp ex S fl Nsetup uninstall iss Where the s switch specifies the silent mode and the 11 switch specifies the location of the response file In this example the switch f1 setup uninstall iss specifies that the setup uninstall iss file be in the same folder as the device driver installer PC2 Comp
72. ties Installing the PC2 Comp Express PC2 Comp Express Describes how to install PC2 Comp Express Sapera LT library and Sapera configuration information e Troubleshooting Offers suggestions for resolving PC2 Comp Express installation or usage problems Using the PC2 Comp Express e Theory of Operation Detailing PC2 Comp Express features Technical Reference e Hardware PC2 Comp Express specifications including connector pinout diagrams jumper and LED descriptions Sapera LT Sapera LT Server and Parameters Lists the Sapera LT servers available plus describes the Sapera LT parameters and values supported by PC2 Comp Express board Sapera Software Example Describes in detail the Sapera Grab Demo example and how to use it e Using Sapera CamExpert with PC2 Comp Express Describes the Sapera CamExpert tool and how to use it with PC2 Comp Express Support e Teledyne DALSA Contact Information Phone numbers important web site links and email addresses PC2 Comp Express Introduction e 1 About the Manual This manual exists in Adobe Acrobat PDF format The PDF format makes full use of hypertext cross references and includes links to the Teledyne DALSA home page on the Internet located at http www teledynedalsa com accessed using any web browser For PC2 Comp Express specific information visit the Teledyne DALSA web site at http www teledynedalsa com mv Using the Manual File names directories and Internet s
73. tion completed successfully Device Manager Firmware Loader The Device Manager Firmware Loader program determines if the PC2 Comp Express requires a firmware update If firmware is required the dialog displays and it also allows the user to load specific firmware for the PC2 Comp Express Important In the vary rare case of firmware loader errors please see Recovering from a Firmware Update Error on page 20 PC2 Comp Express Installing the PC2 Comp Express 9 Firmware Update Automatic Mode Click Automatic to update the PC2 Comp Express firmware If there are multiple PC2 Comp Express boards in the system all will be updated with new firmware If any installed PC2 Comp Express board installed in a system already has the correct firmware version an update is not required In the following screen shot a single PC2 Comp Express Full board is installed in the system and the default configuration is ready to be programmed Teledyne DALSA Device Manager Teledyne DALSA Device Manager Version 3 34 Select Automatic to update with the Default Configuration Select Manual to update with a Specific Configuration Device Serial Number Configuration Status PC2 Comp Express 1 53238005 Standard Update Required Firmware Update Manual Mode Select Manual mode to load firmware other then the default version or when in the case of multiple PC2 Comp Express boards in the same system each requires different firm
74. tly with a new device driver Open and review the new device driver s ReadMe file before installing to verify the minimum Sapera LT version required ReadMe file does not specify a Sapera LT version contact Teledyne DALSA Technical Support see Technical Support on page 68 To upgrade the device driver only e Log on to the computer as an administrator or with an account that has administrator privileges From Windows start menu select Start Control Panel Add or Remove Programs e Select the Teledyne DALSA PC2 Comp Device Driver click Remove and then in the InstallShield dialog click on Remove to uninstall the board driver e When the driver uninstall is complete reboot the computer e Logonto the computer as an administrator once again Install the new device driver e Run Setup exe if installing manually from a driver file you download from the Teledyne DALSA web site e Ifthe new driver is on a Sapera CD ROM follow the installation procedure described in the section Installaing PC2 Comp Express Hardware and Driver Important Sapera LT must be installed on your computer in order to install a Teledyne DALSA device driver 16 Installing the PC2 Comp Express PC2 Comp Express Sapera LT and Device Driver Upgrades Follow the procedure described below when both Sapera LT and the Teledyne DALSA device driver are upgraded Log on to the computer as an administrator or with an account that has
75. w is illustrated below Display Buffer YUY2 Video Vertical Flip Mono Color Output Cropper Horizontal Flip YUY2 Mono8 Converter Host Buffers YUY2 or Mono8 Yuv2 Vertical Flip Analog Front End The Analog Front End handles all details related to pixel format conversion It can output data using 2 pixel formats It can also flip the image horizontally Monochrome 8 bit for monochrome or color video input pixel 4 pixel 3 pixel 2 pixel 1 31 24 23 16 15 8 7 0 YUY2 4 2 2 for monochrome or color video input Y U Y 31 24 23 16 15 8 7 0 1 2 2 1 3 4 4 3 Horizontal Image Flip PC2 Comp Express Theory of Operation e 29 On board Memory On board memory behaves as a temporary buffer between the camera interface and the host PCIe system The onboard memory for image frame buffers is 8 Maximum captured frame size is limited by on board memory one incoming frame must fit into onboard memory On board memory allows capture from cameras requiring a bandwidth exceeding the PCIe x1 practical maximum of 200MB second It also compensates for latencies introduced by any other PCI bus master within the host system DMA Controller The DMA controller reads data from on board memory and sends this data to the PCIe bus It uses scatter gather support to reduce CPU usage to a minimum and retrieves the buffer desc
76. ware The figure below shows the Device Manager manual firmware screen Information on all installed PC2 Comp Express boards their serial numbers and their firmware components are shown A manual firmware update is made as follows Select the PC2 Comp Express to update via the board selection box if there are multiple boards in the system e From the Configuration field drop menu select the firmware version required Click on the Start Update button e Observe the firmware update progress in the message output window e Close the Device Manager program when the device reset complete message is shown 10 Installing the PC2 Comp Express PC2 Comp Express Teledyne DALSA Device Manager 3 34 DER File Tools Help Firmware Update Manager Start Update Save Config Load Config File Field Value PC2 CompEspress 1 Serial Number 53298005 Update Firmware Device Version Al PCle Interface 1 20 01 0202 Front End 1 20 01 0202 Information Firmware State Update Not Required Device Info Firmware Update Output 17 00 01 PC2 Comp Express_1 Update of PCle Interface in progress 17 00 03 PC2 Comp Express_1 Firmware is up to date 17 00 03 PC2 Comp Express 1 Update of Front End in progress 17 00 03 PC2 Comp Express 1 Firmware is up to date 17 00 03 PC2 Comp Express 1 Device s firmware has been udpated successfully
77. xpress Overview PC2 Comp Express is a PCIe x1 format board that provides image capture and transfer to host The acquisition circuitry interfaces with standard NTSC RS 170 and PAL CCIR analog cameras PC2 Comp Express is supported by Sapera LT 5 20 or later It is also fully supported by the Sapera Image Processing library PC2 Comp Express Features Half size single slot PCIe x1 form factor Six monochrome or composite video CV or 2 S video inputs AC coupled and 750 terminated Acquires from color or monochrome cameras Supports standard NTSC RS 170 PAL and CCIR camera formats Video controls allow brightness contrast hue and saturation adjustments Supports YUV 4 2 2 YUY2 and Mono 8 output pixel formats Supports dual destination transfers allowing transfers to both the video and host memory simultaneously 8MB onboard frame buffer memory e External TTL trigger e Support for Windows XP Vista amp 7 32 64 bit 4 PC2 Comp Express Board PC2 Comp Express PC2 Comp Express Functional Block Diagram Image M1 CV1 Y1 Buffer M2 CV2 C1 M3 CV3 Y2 Input B maicvaic2 MUX Se M5 CV5 Decoder PCI M6 CV6 3 controller P gt N Local PCI bus 32 bit 66 MHz uS N PCI to PCle Bridge a N 2 mE PCle x1 bus PC2 Comp Express PC2 Comp Express Block Diagram PC2 Comp Express B
Download Pdf Manuals
Related Search
Related Contents
Page 1 Page 2 製品概要 近年, 医薬業界では, 迅速な製品開発のために Maintenance Service Manual For MRX800/MRG800/MRG800B/MD800 石綿飛散防止対策マニュアル2013(PDF:3025KB) Planar Systems 997-7030-00 flat panel desk mount Hampton Bay 14198 Installation Guide Expanded Bed - Department of Molecular and Cellular Biology Korg N364 User's Manual Copyright © All rights reserved.
Failed to retrieve file