Home

X64 Xcelera-CL PX4 User`s Manual

image

Contents

1. 9 Sapera LT Library Installation 10 X64 Xcelera CL PX4 Driver 66 10 X64 Xcelera CL PX4 Firmware 0 60 10 Firmware Update Automatic Mode 10 Firmware Update Manual Mode 2 2 0 11 Executing the Firmware Loader from the Start Menu 11 REQUIREMENTS FOR A SILENT 5 nnn 12 Silent Mode 1 lt amp 12 Creating a Response 08 12 Running a Silent Mode Installation esses 12 Silent Mode Uninstall 13 Creating a Response File rtr et in AR Ext aa FERRE VE Ye 13 Running a Silent Mode 0 1 13 Silent Mode Installation Return 66 66066 nnn nnn 13 Installation Setup with 4 13 Custom Driver Installation using 14 Creating the install ini File
2. EN IT 35 Using the Grab dead bau 35 FLAT FIECD DEMO OVERVIEW dextera tane ERR R EVE 36 Using the Flat Field 36 X64 XCELERA CL PX4 REFERENCE 37 FULL 600188 die wens canted ee ORE ursa d aV mE 37 MEL ED acaba aee 38 LINE TRIGGER SOURCE SELECTION FOR LINESCAN APPLICATIONS 39 CORACQ PRM EXT LINE TRIGGER 5 39 SHAFT ENCODER INTERFACE lt nennen nemen aeneae na ren nns 40 VIRTUAL FRAME TRIGGER FOR LINES SCAN CAMERAS 42 Synchronization Signals for a Virtual Frame of 10 Lines 42 ACQUISITION METHODS Cond Oa ken ect E Red 43 TRIGGER TO IMAGE RELIABILITY 1 nemen heme nnns 43 Supported Events and Transfer 5 eene 44 Trigger S adt Du IB ER REL 45 Supported Transfer Cycling Methods 2 00 45 OUTPUT LUT AVAILABILITY ei sisse stein anre xe ex EX EY ERE EVREUX VA RE CUT
3. 20 Possible Installation 20 Possible Functional Problems deen EAHA EEE 21 TROUBLESHOOTING PROCEDURES esser esa ka VAR EVE EEE ANY VERAX YEA RV VEU ER YA 21 Checking for PCI Bus COMPICES iura ira rita FE Ri ERREUR RE ERR 21 Windows Device MANAGED ii aua sa Piin EREDA NEEN ENARE PERSEE EREEREER PESA 22 GEN2 PCI Slot Computer 1 55 6 hen hana 23 BSOD blue screen Following a Board 23 Sapera and Hardware Windows 23 Recovering from a Firmware Update 23 Driver Information via the Device Manager 24 Information WINdOW 24 Teledyne DALSA Log Viewer 25 On board Image Memory Requirements for Acquisitions 25 Symptoms CamExpert Detects no 25 Troubleshooting Procedure x Rea ax a 25 Symptoms X64 Xcelera CL PX4 Does Not 26 Symptoms Card grabs black isa basins EAR ARR E vias 26 Symptoms Card acquisition bandwidth is less than expected
4. 8 8 4 3 MONO 8 8 in 8 out 8 8 4 3 MONO 16 Not Supported 8 10 MONO 8 8 in 8 out 10 4 2 2 MONO 8 10 in 8 out 10 4 2 2 MONO 16 10 in 10 bits in 10 LSBs 10 out of 16 bit 12 4 2 2 MONO 8 12 in 8 MSB 8 out 12 4 2 2 MONO 16 12 in 12 bits in 12 LSBs 12 out of 16 bit 8 x 3 RGB 2 1 1 RGB8888 8 in 8 out 10 x 3 RGB 1 1 RGB8888 10 in Medium or Full RGB101010 8 out RGB16161616 10 in 10 out 10 in 10 out 12 x 3 RGB 1 1 5 RGB8888 12 in Medium or Full RGB101010 8 out RGB16161616 12 in 10 out 12 in 12 out 46 e X64 Xcelera CL PX4 Reference X64 Xcelera CL PX4 User s Manual Supporting Non Standard Camera Link Cameras Firmware Full with Bayer Decoder Method 6 This firmware has been designed to support the Bayer Decoder Method 6 This method is required to decode the output of the Basler Sprint SPL8192 in enhanced mode Since this is a line scan camera the frame valid signal is used to indicate which 2 consecutive lines go together to convert the Bayer pixels into RGB pixels Further more the parameter CORACQ PRM FIELD ORDER is used to determine which line will be considered the 1 one out of the 2 lines within a frame valid In the specific case of the Basler Sprint SPL8192 camera the 2 lines within a frame valid must be considered the 1 one therefore the parameter PRM FIELD ORDER must take the value CORACQ VAL FIELD ORDER FVAL 11 2 0 10 The provided B Sprint 8192x3600 8 lt
5. 8 88 Output Dialog CGioOutputDlg class see Sapera Gui class 88 Input Dialog CGioInputDlg class see Sapera Gui class 89 I O Event Handling giat Uridvasiqu 89 CONTACT INFORMATION 90 SALES INEORMATIONG FERRE TREE Y FEM 90 TECHNICAL 91 GLOSSARY OF TERMS 92 INDEX 94 iv Contents X64 Xcelera CL PX4 User s Manual Overview Product Part Numbers X64 Xcelera CL PX4 Board Item Product Number X64 Xcelera CL PX4 Full with 128 MB of memory X64 Xcelera CL PX4 Dual with 128 MB of memory OR X4CO XPF00 4 0 00 X I O Module optional provides an additional 8 input amp 8 output general I Os see Appendix X I O Module Option on page 80 1001 5 00 For OEM clients this manual in printed form is available on request OC X4CM USERO X64 Xcelera CL PX4 Software Item Product Number Sapera LT version 6 00 or later 7 40 for Windows Vista Windows 7 or Windows 8 required but sold separately 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
6. 22 e Troubleshooting Problems X64 Xcelera CL PX4 User s Manual GEN2 PCI Slot Computer Issue At boot time the PX4 status LED 2 keeps on flashing red If you run the PCI Diagnostics tool the 4 is not in the PCI device list If the board is installed in a computer which supports PCIe GEN2 expansion slots see section SW3 2 GEN2 Slot Workaround Details on page 64 BSOD blue screen Following a Board Reset Teledyne DALSA engineering has identified cases where a PC will falsely report a hardware malfunction when the X64 Xcelera CL PX4 board is reset The symptoms will be a Windows blue screen or PC that freezes following a board reset The solution to this problem is to install the driver using the switch cr indicating to the driver that a reset of the board must not be allowed and that a reboot of the computer is needed instead Example X64_Xcelera CL_PX4_1 00 00 0000 exe cr Sapera and Hardware Windows Drivers The next step is to make certain the appropriate Teledyne DALSA drivers have started successfully during the boot sequence Example click on the Start e Programs e Accessories e System Tools e System Information e Software Environment Click on System Drivers Make certain the following drivers have started for the X64 Xcelera CL PX4 Device Description Type Started CorX64Expredx X64 Xcelera CL PX4 messaging Kernel Driver Yes CorLog Sapera Log viewer Kernel Driver Yes CorMem Sapera Memory manager Kerne
7. 1 5527 35 Output 3 Sy n t4 28 5 36 bu Si Output 6 FON Output 7 37 1327 49 Output 8 Module gt Device Input gt Device Input GND e Each output can sink 700 mA e Over current thermal protection will automatically shut down the output device Outputs in PNP Mode Electrical Details When the TTL outputs are configured for PNP mode source driver an external power supply is required to provide the buffer output supply voltage USER_PWR A simplified schematic and important output specifications follow gt Device Power Supply gt Device Input PNP Source Driver Output Mode DB37 Connector Simplified Buffer Vcc S USER PWR Output Buffer 1222 Driver Output 1 typical 8 places 3 23 24 C GND NA 16 20 30 7 SND f m utput 2 EN ss 5 Output 3 gt 47 Output 4 lt Output 5 225 36 275 Output 6 ays 3 37 Output 7 2 2 EN Output 8 4 Module I gt Device Input GND e User provides the output power supply voltage 7 volts to 35 volts e Maximum source driver output current is 350 mA X64 Xcelera CL PX4 User s Manual Appendix X I O Module Option e 83 e Source driver with over current protection all outputs will shut down simultaneously The over curren
8. Configuration Information 1 30 01 0514 ull CameraLink Flat Field Correction Firmware State Device Info Firmware Update Figure 2 Create 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 14 e Installing X64 Xcelera CL PX4 X64 Xcelera CL PX4 User s Manual Upgrading Sapera any Board Driver When installing a new version of Sapera or a Teledyne DALSA acquisition board driver in a computer with a previous installation the current version must be un installed first Described below are two upgrade situations Note that if the board is installed in a different slot the new hardware wizard opens Answer as instructed in section Installation on page 9 Board Driver Upgrade Only Minor upgrades to acquisition board drivers are typically distributed as ZIP files available in the Teledyne DALSA web site http www teledynedalsa com imaging support Board driver revisions are also available on the next release of the Sapera CD ROM Often minor board driver upgrades do not require a new revision of Sapera To confirm that the current Sapera version will work with the new board driver e Check the new board driver ReadMe f
9. min O ps max 4294967294 us step 1 us CORACQ_PRM_CAM_IO_CONTROL CORACQ_PRM_TIME_INTEGRATE_PULSEO_POLARITY CORACQ_VA CORACQ_VA L_ACTIVE_LOW 0x1 L_ACTIVE_HIGH 0x2 CORACQ PRM TIME INTEGRATE PULSEO DELAY min Ous max 4294967294 us step 1 us CORACQ PRM TIME INTEGRATE PULSEO DURATION min 1 s max 4294967294 us step 1 us CORACQ_PRM_LINE_INTEGRATE_PULSE1_POLARITY CORACQ_VA CORACQ_VA L_ACTIVE_LOW 0x1 L_ACTIVE_HIGH 0x2 CORACQ_PRM_LINE_INTEGRATE_PULSE1_DELAY min Ous max 4294967294 us step 1 us 50 e X64 Xcelera CL PX4 Reference X64 Xcelera CL PX4 User s Manual CORACQ_PRM_LINE_INTEGRATE_PULSE1_DURATION min 1us max 4294967294 us step 1 us CORACQ PRM LINE INTEGRATE PULSEO POLARITY CORACQ VAL ACTIVE LOW 0x1 VAL ACTIVE HIGH 0x2 CORACQ PRM LINE INTEGRATE PULSEO DELAY min 0 max 65535 us step 1 us CORACQ_PRM_LINE_INTEGRATE_PULSEO_DURATION min 1us max 4294967294 us step 1 us CORACQ_PRM_CAMLINK_CONFIGURATION Full Mono Full Bayer Medium Mono medium color CORACQ_VAL_CAMLINK_CONFIGURATION_BASE 0x1 CORACQ_VAL_CAMLINK_CONFIGURATION_MEDIUM 0x2 CORACQ_VAL_CAMLINK_CONFIGURATION_FULL 0x4 CORACQ_VAL_CAMLINK_CONFIGURATION_BASE 0x1 CORACQ_VAL_CAMLINK_CONFIGURATION_MEDIUM 0x2 CORACQ_VAL_CAMLINK_CONFIGURATION_2BASE 0x8 RGB medium CORACQ_VA
10. see Supported Events and Transfer Methods The following table describes the line trigger source types supported by the X64 Xcelera CL PX4 Refer to the Sapera Acquisition Parameters Reference Manual OC SAPM APROO for descriptions of the Sapera parameters CORACQ PRM EXT LINE TRIGGER SOURCE Full description relative to trigger type and X64 Xcelera CL PX4 configuration used PRM Configuration amp input External Line Trigger Signal External Shaft Encoder Signal Value used used used if if CORACQ PRM EXT LINE CORACQ PRM SHAFT TRIGGER ENABLE true ENCODER ENABLE true 0 1 Shaft Encoder Phase Shaft Encoder Phase A Dual Camera 2 Shaft Encoder Phase B Shaft Encoder Phase B Full Camera 1 Shaft Encoder Phase A Shaft Encoder Phase amp 1 Dual Camera 1 Shaft Encoder Phase A Shaft Encoder Phase A Dual Camera 2 Shaft Encoder Phase A Shaft Encoder Phase A Full Camera 1 Shaft Encoder Phase A Shaft Encoder Phase A 2 Dual Camera 1 Shaft Encoder Phase B Shaft Encoder Phase B Dual Camera 2 Shaft Encoder Phase B Shaft Encoder Phase B Full Camera 1 Shaft Encoder Phase B Shaft Encoder Phase B 3 5 6 7 Dual Camera 1 n a Shaft Encoder Phase amp Dual Camera 2 n a Shaft Encoder Phase amp Full Camera 1 n a Shaft Encoder Phase amp 4 Dual Camera 1 From Board Sync From Board Sync Dual Camera 2 Full Camera 1 From Board Sync From Board Sync From Board S
11. isses ua secacdssssascnes dawns darnasnyansdarasearese 14 Run the Installation using install ini esee 14 UPGRADING SAPERA OR ANY BOARD DRIVER 2 remeare nnn 15 Board Driver Upgrade 2 2 15 Sapera and Board Driver Upgrades nnne nnn nnn nn 15 USING THE CAMERA LINK SERIAL CONTROL PORT nemen nnn 16 Part 55 16 Setup Example with Windows XP 11 nnne 17 DISPLAYING X64 XCELERA CL PX4 BOARD 8 17 Device Manager Board 17 CONFIGURING SAPERA NE RAE VE 18 Viewing Installed Sapera 5 6 60 00 18 Increasing Contiguous Memory for Sapera 18 Contiguous Memory for Sapera 19 TROUBLESHOOTING PROBLEMS 20 2 ata ta e ai E RP DN e DAS sU REUS M Lac UAM IRA 20 X64 Xcelera CL PX4 User s Manual Contents e i PROBLEM TYPE SUMMARY 20 First Step Check the Status
12. see note 5 Ground 29 30 Strobe Output 2 Ground 31 32 Ground Power Output 5 Volts 1 5A 33 34 Power Output 5 Volts 1 5A max max see note 6 Power Output 12 Volts 1 5A 35 36 Power Output 12 Volts 1 5A max max Ground 37 38 Ground Ground 39 40 Ground Note 1 General Inputs Specifications Each of the four General Inputs are opto coupled and able to connect to differential signals RS 422 or single ended source signals These inputs generate individual interrupts and are read by the Sapera application The following figure is typical for each Genera Input X64 Xcelera CL PX4 User s Manual Technical Specifications 69 Gin nGin Gin Input Details e For single ended signals the Gin pin is connected to ground The switch point is 10V by default and can be changed to 2V with SW1 e Each input has a ferrite bead plus a 650 ohm series resistor on the opto coupler anode e The resistor and 0 01uF capacitor provide high frequency noise filtering e Maximum input voltage that can be applied is 26V e Maximum input signal frequency is 25 KHz e Opto coupler response time is 10us for the rising edge signal e Opto coupler response time is 27us for the falling edge signal Note 2 General Outputs Specifications Each of the four General Outputs are opto coupled Each output is an isolated open collector NPN transistor switch The following figure is typical for each General Output 680
13. 89 89 54 57 3 80 Fax 978 670 2010 Fax 49 89 89 54 57 3 46 Asian Sales Teledyne DALSA Asia Pacific Shanghai Industrial Investment Building Ikebukuro East 13F Room G 20F 18 North Cao Xi Road 3 4 3 Higashi Ikebukuro Shanghai China 200030 Tel 86 21 64279081 Tel 81 3 5960 6353 Fax 86 21 64699430 Fax 81 3 5960 6354 90 e Contact Information X64 Xcelera CL PX4 User s Manual Technical Support Any support question or request can be submitted via our web site Technical support form via our web page Support requests for imaging product installations Support requests for imaging applications http www teledynedalsa com imaging support Camera support information Product literature and driver updates X64 Xcelera CL PX4 User s Manual Contact Information e 91 Glossary of Terms Bandwidth Describes the measure of data transfer capacity PCI devices must share the maximum PCI bus bandwidth when transferring data to and from system memory or other devices CAM Sapera camera file that uses the file extension CCA by default Files using the CCA extension also called CAM files CAMERA files contain all parameters which describe the camera video signal characteristics and operation modes i e what the camera outputs Channel Camera data path that includes all parts of a video line Checksum A value used to ensure data is stored without error It is created
14. TrigIn 2 Trigger Input 2 TTL trigger GND 8 Phase Shaft Encoder Phase 5s Phase A Shaft Encoder Phase A Gye Phase B Shaft Encoder Phase B 28 Phase B Shaft Encoder Phase B 10 Strobe 2 TTL Strobe 2 output 11 Strobe 1 TTL Strobe 1 output 16 29 30 Gnd 12 Power PC 5V 1A max 31 Power PC 12V 1A max 13 IN_TTL_3 Input 3 TTL 32 IN_TTL_4 Input 4 TTL 14 IN_TTL_5 Input 5 TTL 33 IN_TTL_6 Input 6 TTL 15 IN_TTL_7 Input 7 TTL 34 IN_TTL_8 Input 8 TTL 35 OUT_TTL_3 Output 3 17 OUT_TTL_4 Output 4 36 OUT_TTL_5 Output 5 18 OUT_TTL_6 Output 6 37 OUT_TTL_7 Output 7 19 OUT_TTL_8 Output 8 Note these signals are not available with the X64 Xcelera CL PX4 Outputs in NPN Mode Electrical Details When the TTL outputs are configured for NPN mode open collector sink mode the user is required to provide an external input pull up resistor on the signal being controlled by the X I O output A simplified schematic and important output specifications follow 82 Appendix X I O Module Option X64 Xcelera CL PX4 User s Manual External Pull up Resistor 220 ohm 5V typical NPN Open Collector Output Mode 5V or 24V typical DB37 _ Connector 2 Simplified 22 Outputs Output Driver 7 gt L 3 23 24 y GND NDS typical 8 places 16 29 30 GND a Output 2 ve
15. non standard 8 taps 8 bit mono 10 taps 8 bit mono non standard 3 taps 8 10 12 bit RGB Area scan and Line scan Progressive Multi Tap Multi Channel Tap reversal Segmented Tap Configuration Alternate Tap Configuration Left to Right Right to Left Up Down Down Up From Top From Middle From Bottom Horizontal Minimum 8 Pixels per tap 8 bits pixel Horizontal Maximum 8 bits pixel x 256K Pixels line 16 bits pixel x 128K Pixels line 32 bits pixel x 64K Pixels line 64 bits pixel x 32K Pixels line Vertical Minimum 1 line Vertical Maximum up to 16 000 000 lines for area scan sensors infinite line count for linescan sensors 20 MHz to 85 MHz as follows 8 bit 8 taps 85 MHz any tap configuration 10 12 14 16 bit 4 taps 85 MHz any tap configuration Horizontal Sync minimum 1 pixel Vertical Sync minimum 1 line Available with 128 MB Approximately 750MB s without frame lost X64 Xcelera CL PX4 User s Manual Technical Specifications e 58 Compliant with Teledyne DALSA Trigger to Image Reliability framework Comprehensive event notifications see Trigger to Image Reliability on page 43 Timing control logic for EXSYNC PRIN and strobe signals Dual independent opto coupled external trigger inputs programmable as active high or low edge or level trigger where pulse width minimum is 100ns External trigger latency less than 1 usec Supports multi board multi camera synchronization Dual i
16. 1 Pos Camera Control 2 Neg Camera Control 2 Neg Camera Control 3 Pos Camera Control 3 Pos Camera Control 4 Neg Camera Control 4 12 V see note following this table Ground 66 Technical Specifications X64 Xcelera CL PX4 User s Manual Notes on PoCL support Refer to Sapera s parameter PRM POCL ENABLE to enable and CORACQ PRM SIGNAL STATUS CORACQ VAL SIGNAL POCL ACTIVE to verify if the POCL is active See also Sapera reference parameter SapAcquisition SignalPoCLActive for the current state For board driver 1 30 or later the PoCL state is maintained after a board reset For driver 1 10 or 1 20 is disabled after every board reset Minimum board ECO levels Full 1387 1 Dual 1420 state is maintained after a board reset Requires a PC Floppy drive power connector inserted onto 17 for cameras 13 Camera Link Connector 2 For X64 Xcelera CL PX4 Medium and Full Camera Link sources require cables connected to both J2 and 33 For X64 Xcelera CL PX4 Dual boards J3 pinout is identical to J2 Name Pin Type Description MEDIUM XO0 25 Input Neg Medium Data 0 MEDIUM X04 12 Input Pos Medium Data 0 MEDIUM _ X1 24 Input Neg Medium Data 1 MEDIUM 1 11 Input Pos Medium Data 1 MEDIUM 2 23 Input Neg Medium Data 2 MEDIUM _X2 10 Input Pos Medium Data 2 MEDIUM X3 21 Input Neg Medium Data 3 MEDIUM _X3 8 Input Pos Medium Data
17. 28888 0 18 160 192 24 25 Histogram Selector No image available Generation of Calibration files Step 1 Acquire a dark image We recommend an average gray level pixel value below 64 Acquire Dark Image Step 2 Acquire a bright image must not be saturated We recommend an average gray level pixel value above 64 Step 3 Save Calibration offset and gain files Optional Advanced calibration settings Optional Advanced Settings Ready for calibration e Setup the camera to capture a uniform black image Black paper with no illumination and the camera lens iris closed to minimum can provide such a black image e Click on Acquire Black Image The flat field demo will grab a video frame analyze the pixel gray level spread and present the statistics The desired black reference image should have pixel values less then 20 If acceptable accept the image as the black reference e Setup the camera to acquire a uniform white image but not saturated white Even illumination on white paper can be used with a gray level of 128 minimum It is preferable to prepare for the white level calibration before the calibration procedure e Click on Acquire White Image The flat field demo will grab a video frame analyze the pixel gray level spread and present the statistics The captured gray level for all pixels should be greater than 128 If acceptable accept the image as the whit
18. 3 MEDIUM XCLK 22 Input Neg Medium Clock MEDIUM _XCLK 9 Input Pos Medium Clock TERM 20 Term Resistor TERM 7 Term Resistor FULL 19 Input Neg Full Data 0 FULL 6 Input Pos Full Data 0 FULL X1 18 Input Neg Full Data 1 FULL 1 5 Input Pos Full Data 1 FULL X2 17 Input Neg Full Data 2 FULL X24 4 Input Pos Full Data 2 FULL X3 15 Input Neg Full Data 3 FULL _X3 2 Input Pos Full Data 3 FULL XCLK 16 Input Neg Full Clock FULL _XCLK 3 Input Pos Full Clock GND 1 13 14 26 Ground X64 Xcelera CL PX4 User s Manual Technical Specifications 67 Camera Link Camera Control Signal Overview Four LVDS pairs are for general purpose camera control defined as camera inputs frame grabber outputs by the Camera Link Base camera specification These controls are on J2 and also on J3 for the second Base camera input of the X64 Xcelera CL PX4 in two Base configuration Camera Control 1 CC1 Camera Control 2 CC2 Camera Control 3 CC3 Camera Control 4 CC4 Each camera manufacture is free to define the signals input on any one or all four control signals These control signals are used either as camera control pulses or as a static logic state Control signals not required by the camera are simply assigned as not used Refer to your camera s user manual for information on what control signals are required Note 1 The X64 Xcelera CL PX4 pulse controller has a minimum resolution of 100ns us for l
19. 71 Note 4 Shaft Encoder Input Specifications 72 Note 5 Strobe Output Specifications cesses 73 Note 6 DC Power Details amp J7 sedes ts abaess tutus tbe Edd Yr Weber add 74 External Signals Connector Bracket Assembly Type 1 74 External Signals Connector Bracket Assembly Type 1 Drawing 74 External Signals Connector Bracket Assembly Type 1 Pinout 75 External Signals Connector Bracket Assembly Type 2 76 External Signals Connector Bracket Assembly Type 2 Drawing 76 External Signals Connector Bracket Assembly Type 2 Pinout 76 18 Board 77 CAMERA LINK INTERFACE 78 CAMERA LINK OVERVIEW wis eevee EXER Yi ceded 78 Rights and TAMSIN AIS 78 DATA PORT SUMMARY tr was an 78 CAMERA SIGNAL SUMMARY ii ERR YR SER RI NERA 79 MI EDEBI ZEE 79 Camera Controls 2522 ador debe 79 lel da EN UBER a 79 CAMERA LINK CABLES 79 APPENDIX MODULE OPTION 80 1 MO
20. Control Panel e Add or Remove Programs Select the Teledyne DALSA Xcelera board driver and click Remove Follow by also removing the older version of Sapera LT e In Windows Vista 7 from the start menu select Start e Settings e Control Panel e Programs and Features Double click the Teledyne DALSA Xcelera board driver and click Remove Follow by also removing the older version of Sapera LT e Reboot the computer and logon the computer as an administrator again e Install the new versions of Sapera and the board driver as if this was a first time installation See Sapera LT Library Installation on page 10 and X64 Xcelera CL PX4 Driver on page 10 for installation procedures X64 Xcelera CL PX4 User s Manual Installing X64 Xcelera CL PX4 e 15 Using the Camera Link Serial Control Port The Camera Link cabling specification includes a serial communication port for direct camera control by the frame grabber see 172 Camera Link Connector 1 on page 66 The X64 Xcelera CL PX4 driver supports this serial communication port either directly or by mapping it to a host computer COM port Any serial port communication program such as Windows HyperTerminal can connect to the camera in use and modify its function modes via its serial port controls The X64 Xcelera CL PX4 serial port supports communication speeds from 9600 to 921600 bps Note If your serial communication program can directly select the X64 Xcelera CL PX4 serial port then mapping
21. Drawing v Pin 1 Ne 5 Header 40 Female DB25 Female Label J4 mounted bracket Flat cable 12 Connector is notched for one way insertion External Signals Connector Bracket Assembly Type 2 Pinout The following table defines the signal pinout on the DB25 connector Refer to the table J4 External Signals Connector on page 69 for signal descriptions DB25 Pin Number Signal J4 Connector Pin Number 6 External Trigger Input 1 19 19 External Trigger Input 1 20 7 External Trigger Input 2 21 20 External Trigger Input 2 22 8 Shaft Encoder Phase A 23 21 Shaft Encoder Phase A 24 9 Shaft Encoder Phase B 25 22 Shaft Encoder Phase B 26 11 Strobe Output 1 28 24 Ground 29 10 Strobe Output 2 30 14 Ground 31 15 Ground 38 16 Ground 39 25 Ground 40 76 Technical Specifications X64 Xcelera CL PX4 User s Manual J9 Board Sync Interconnects multiple X64 Xcelera boards to synchronize acquisitions to one trigger or event The trigger source can be either an external signal or internal software trigger The board receiving the trigger is the Master board while the boards receiving the control signal from the Master board are Slaves Setup of the master and slave boards is either by setting parameters via a Sapera application or by using CamExpert to configure two camera files ccf For testing pur
22. FB Gout Gout ZA 0 01uF Gout Output Details e Each output has ferrite beads plus a 680 ohm series resistor on the cathode connection e The diode and capacitor provide reverse voltage protection and noise filter e Maximum output device differential voltage is 25V e Maximum output device sink current is 35mA with 25V output differential e Maximum reverse voltage is 25V e Maximum output switching frequency is limited by driver and register access on the PCIe bus 70 Technical Specifications X64 Xcelera CL PX4 User s Manual Note 3 External Trigger Input Specifications The two Trigger Inputs are opto coupled and compatible to differential signals RS422 or single ended source signals The following figure is typical for each External Trigger Input External FB Trigger nTrig In External Trigger e For single ended signals the External Trigger pin is connected to ground The switch point is 2V by default to support TTL 5V signals and can be changed to 10V with SW2 to support 24V industry standard signals For RS422 differential signals switch point must be selected to 2V e Maximum external signal input voltage is 26V irrelevant of the selected switch point e The incoming trigger pulse is debounced to ensure that no voltage glitch is detected as a valid trigger pulse This debounce circuit time constant can be programmed from ins to 255us Any pulse smaller than the programmed value i
23. INTEGRATE METHOD 7 0x40 CORACQ PRM LINE TRIGGER METHOD CORACQ VAL LINE TRIGGER METHOD 1 0x1 CORACQ PRM LINE TRIGGER POLARITY VAL ACTIVE LOW 0 1 CORACQ VAL ACTIVE HIGH 0x2 CORACQ PRM LINE TRIGGER DELAY min 0 us max 65535 us step 1 us CORACQ_PRM_LINE_TRIGGER_DURATION min 0 max 65535 us step 1 us CORACQ_PRM_TAPS Full mono Bayer 1 tap max 8 taps step 1 tap color RGB 1tap 4 taps step 1 tap Base Bayer Medium RGB 1 tap max 3 taps step 1 tap Medium Bayer 10 taps ll min 1 tap max 6 taps step 1 tap min 10 taps max 10 taps step 1 tap l CORACQ_PRM_TAP_OUTPUT Medium Full mono Bayer color RGB 10 taps CORACQ_VAL_TAP_OUTPUT_ALTERNATE 0x1 CORACQ_VAL_TAP_OUTPUT_SEGMENTED 0x2 CORACQ_VAL_TAP_OUTPUT_PARALLEL 0x4 CORACQ_VAL_TAP_OUTPUT_ALTERNATE 0x1 CORACQ_VAL_TAP_OUTPUT_SEGMENTED 0x2 CORACQ_VAL_TAP_OUTPUT_PARALLEL 0x4 CORACQ_PRM_TAP_1_DIRECTION CORACQ_VAL_TAP_DIRECTION_LR 0x1 CORACQ_VAL_TAP_DIRECTION_RL 0x2 CORACQ_VAL_TAP_DIRECTION_UD 0x4 CORACQ_VAL_TAP_DIRECTION_DU 0x8 CORACQ_VAL_TAP_DIRECTION_FROM_TOP 0x10 CORACQ_VAL_TAP_DIRECTION_FROM_MID 0x20 CORACQ_VAL_TAP_DIRECTION_FROM_BOT 0x40 CORACQ_PRM_TAP_2_DIRECTION CORACQ_VAL_TAP_DIRECTION_LR 0x1 CORACQ_VAL_TAP_DIRECTION_RL 0x2 CORACQ_VAL_TAP_DIRECTION_UD 0x4 CORACQ_
24. J6 X I O Module Interface J3 Camera Link Connector J7 PC DC power to external signals connector and to camera interface for PoCL usage J4 External Signals connector 31 J8 Reserved J10 J2000 J9 Multi Board Sync SW1 SW2 Configuration micro switches SW3 D1 Camera PCIe status LEDs D4 D5 Boot up Status LEDs refer to text 62 e Technical Specifications X64 Xcelera CL PX4 User s Manual Connector and Switch Specifications X64 Xcelera CL PX4 End Bracket Detail X64 Xcelera CL PX4 Camera Link1 Camera Link 2 3M MDR 26 pin female LEDs MDR 26 pin female connector connector The hardware installation process is completed with the connection of a supported camera to the X64 Xcelera CL PX4 board using Camera Link cables see Camera Link Cables on page 79 e The X64 Xcelera CL PX4 board supports a camera with one or two Camera Link MDR 26 connectors two Base or one Medium see Data Port Summary on page 78 for information on Camera Link configurations e Connect the camera to the J1 connector with a Camera Link cable When using a Medium camera connect the second camera connector to J2 Note If the camera is powered by the X64 Xcelera CL PX4 refer to External Signals Connector Bracket Assembly on page 74 for power connections Contact Teledyne DALSA or browse our web site http www teledynedalsa com imaging support for the latest information on X64 Xcelera CL PX4 supported
25. Manager Start Update Save Config file Load Contig File v Same Configuration For All Devices Device Field Value Xcelera CL PX4 1 Serial Number 54785182 Update Firmware Device Version A2 ACU DTE PCle x4 Interface 1 30 01 0514 Configuration JT x FulCameralink Flt Fid Coneco Information Support for one Full CameraLink camera with Flat Field Correction Flat Field Correcti Firmware State Update Not Required Device Info Firmware Update Update of ACU DTE PCle x4 Interface in progress Successfully updated ACU DTE PCle x4 Interface Reset in progress Device reset complete Verifying Firmware State Device s firmware has been updated successfully Executing the Firmware Loader from the Start Menu If required the X64 Xcelera CL PX4 Firmware Loader program is executed via the Windows Start Menu shortcut Start e Programs e Teledyne DALSA e X64 Xcelera CL PX4 Driver e Firmware Update A firmware change after installation would be required to select a different configuration mode See User Programmable Configurations on page 6 X64 Xcelera CL PX4 User s Manual Installing X64 Xcelera CL PX4 e 11 Requirements for a Silent Install Both Sapera LT and the X64 Xcelera CL PX4 driver installations share the same installer technology When the installations of Teledyne DALSA products are embedded within a third party s product installation th
26. Manual J20 DB37 female external signals connector J23 16 pin header connector interconnect to the X64 Xcelera CL PX4 via the supplied ribbon cable OC IOOC ANLVDS J21 222 124 128 Reserved 126 Connect PC power via floppy drive power cable X I O Module Installation 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 Never remove or install any hardware component with the computer power on Board Installation Installing X I O Module to an existing X64 Xcelera CL PX4 installation takes only a few minutes Install the X I O board into the host system as follows e Power off the computer system that has the installed X64 Xcelera CL PX4 board e Insert the X I O module into any free PCI slot no PCI electrical connections are used securing the bracket e Connect a floppy drive power cable to J26 to provide power to the board and the external connector e Connect the X I O module 16 pin ribbon cable labeled OC IOOC ANLVDS from J23 to the X64 Xcelera CL PX4 board J6 e Power on the computer again e For new X64 Xcelera CL PX4 and X I O module installations simply follow the procedure to install the X64
27. Master after the opto coupler and the decision to use or ignore the external trigger signal is 1usec The time between the CC1 output and the Board Sync signal is 25 nsec Slave Board Software Setup The Sapera parameter CORACQ PRM EXT TRIGGER SOURCE is set to From Board Sync Other parameters are ignored such as External Trigger detection and level Test Setup The control application starts the acquisition on all slave boards The acquisition process is now waiting for the control signal from the master board The master board acquisition is triggered and the acquisition start signal is sent to each slave board with 0 8us delay max Contact Technical Support for additional information X64 Xcelera CL PX4 User s Manual Technical Specifications e 77 Camera Link Interface Camera Link Overview Camera Link is a communication interface for vision applications developed as an extension of National Semiconductor s Channel Link technology The advantages of the Camera Link interface are that it provides a standard digital camera connection specification a standard data communication protocol and simpler cabling between camera and frame grabber The Camera Link interface simplifies the usage of increasingly diverse cameras and high signal without complex custom cabling For additional information concerning Camera Link see Rights and Trademarks Note The following text is extracted from the Camera Link Specificatio
28. Output Specifications Dual TTL Strobe outputs are provided The following figure is typical for each strobe out Strobe EN FB Strobe EE QN Strobe e Each strobe output is a tri state driver enabled by software e Each strobe output is 5V TTL level e Each output has a ferrite bead e Maximum source current is 32mA typical e Maximum sink current is 32mA typical e Output switching is lt 4 2ns typical e Refer to Sapera Strobe Methods parameters CORACQ_PRM_STROBE_ENABLE CORACQ_PRM_STROBE_POLARITY CORACQ_PRM_STROBE_LEVEL CORACQ_PRM_STROBE_METHOD CORACQ_PRM_STROBE_DELAY CORACQ_PRM_STROBE_DURATION e See also cvi file entries Strobe Enable Strobe Polarity Strobe Level Strobe Method Strobe Delay Strobe Duration X64 Xcelera CL PX4 User s Manual Technical Specifications 73 Note 6 DC Power Details amp J7 Warning Never remove or install any hardware component with the computer power on Never connect a floppy drive power cable to J7 when the computer is powered on e Connect the PC floppy drive power connector to J7 so as to supply DC power to a camera Both 5Vdc and 12Vdc are available on J4 or on the DB37 External Signals Bracket Assembly e DC power connected to 17 also applies when using PoCL cameras e Both the 5Volt and 12Volt power pins have a 1 5 amp re settable fuse on the board If the fuse is tripped turn off the host computer power When the computer is turned on again the fuse
29. ResourceGio Create all objects see the function following if CreateObjects EndDialog TRUE return FALSE D eu i Loop for all resources for UINT32 iDevice 0 iDevice MAX GIO DEVICE amp amp iDevice lt m gioCount direct read access to low level Sapera library capability to check I O Output module if m pGio iDevice IsCapabilityValid CORGIO CAP DIR OUTPUT status m pGio iDevice GetCapability CORGIO DIR OUTPUT amp capOutput direct read access to low level Sapera C library capability to check I O Input module if m pGio iDevice IsCapabilityValid CORGIO CAP DIR INPUT status m pGio iDevice GetCapability CORGIO CAP DIR INPUT amp capInput 1 Constructor used for I O Output module dialog if capOutput m pDlgOutput iDevice new CGioOutputDlg this iDevice m Constructor used for I O Input module dialog if capInput m pDlgInput iDevice new CGioInputDlg this iDevice m pGio iDevice fend for end if X64 Xcelera CL PX4 User s Manual Appendix X I O Module Option e 87 Function CreateObjectsO BOOL CreateObjects CWaitCursor wait Loop for all I O resources for UINT32 iDevice 0 iDevice lt MAX GIO DEVICE amp amp iDevice m gioCount The SapLocation object specifying the server where the I O resource i
30. Sapera Messaging The current value for Sapera messaging determines the total amount of contiguous memory reserved at boot time for messages 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 experience any memory errors X64 Xcelera CL PX4 User s Manual Installing X64 Xcelera CL PX4 e 19 Troubleshooting Problems Overview The X64 Xcelera CL PX4 and the X64 family of products is tested by Teledyne DALSA in a variety of computers Although unlikely installation problems may occur due to the constant changing nature of computer equipment and operating systems This section describes what the user can verify to determine the problem or the checks to make before contacting Technical Support If you require help and need to contact Technical Support make detailed notes on your installation and or test results for our technical support to review See Technical Support on page 91 for contact information Problem Type Summary X64 Xcelera CL PX4 problems are either installation types where the board hardware is not recognized on the PCle bus i e trained or function errors due to camera connections or bandwidth issues The following links jump to various topics in this troubleshooting section First Step Check the Status LED A RED Status LED 1 indicates a camera problem while various Green states indicate the
31. Sapera Processing Imaging Development Library includes over 600 optimized image processing routines X64 Xcelera CL PX4 Cables amp Accessories Item optional X64 Xcelera CL PX4 can be shipped with an External Signals Connector Bracket Assembly either with a DB37 or DB25 connector see the two product numbers below Either cable if required should be specified at the time of order Note clients requiring more I O connections must add the optional X I O Module DB37 assembly see External Signals Connector Bracket Assembly Type 1 on page 74 This cable assembly connects to J4 DB25 assembly see External Signals Connector Bracket Assembly Type 2 on page 76 Provides direct compatibility with external cables made for products such as the X64 CL iPro This cable assembly connects to J4 X64 Xcelera CL PX4 User s Manual OC SL00 0000000 Contact Sales at Teledyne DALSA Product Number OR X4CC IOCAB 0 2 Overview e 5 optional Power interface cable required when supplying power to cameras OR COMC POW03 optional Camera Link Video Input Cable 1 meter OC COMC CLNKO 2 meter OC COMC CLNK6 optional Power Over Camera Link PoCL Video Input Cable 2 meter HDR to MDR OR COMC POCLD2 1 meter MDR to MDR OR COMC POCLM1 2 meter MDR to MDR OR COMC POCLM2 optional Cable bundle to connect Xcelera CL PX4 to the X I O module OC IOOB ALAMO includes cable OC IO
32. Xcelera CL 4 driver X64 Xcelera CL PX4 and X I O Driver Update e If both Sapera and X64 Xcelera CL PX4 driver need to be installed follow the procedure Sapera and Board Driver Upgrades on page 15 This procedure steps through the upgrade of both Sapera and the board driver typically required when installing the X I O module in the field e If the X64 Xcelera CL PX4 installation already has the required Sapera and board driver version install the X I O module and perform a firmware update as described in Executing the Firmware Loader from the Start Menu on page 11 X I O Module External Connections to the DB37 Users can assemble their interface cable using some or all of the signals available on the X I O module DB37 Use a male DB37 with thumb screws for a secure fit Wiring type should meet the needs of the imaging environment For the external signals Trigger Input Shaft Encoder Input and Strobe output note cannot be used with X64 Xcelera CL PX8 X64 Xcelera CL PX4 User s Manual Appendix X I O Module Option 81 DB37 Pinout Description Pin Signal Description 1 IN_OPTO_1 Input 1 Opto coupled 20 IN_OPTO_1 2 IN_OPTO_2 Input 2 Opto coupled 21 IN_OPTO_2 3 23 24 Gnd 22 OUT TTL 1 Output 1 4 OUT TTL 2 Output 2 5 USER PWR Power for the TTL Outputs in PNP mode 6 TrigIn 1 Trigger Input 1 25 TrigIn 1 Trigger Input 1 TTL trigger GND 7 TrigIn 2 Trigger Input 2 26
33. acquisition mode Status LED 2 if flashing RED indicates a PCIe bus problem If you run the PCI Diagnostics tool the LX1 is not in the PCI device list If the board is installed in a computer which supports PCIe GEN2 expansion slots see section SW3 2 GEN2 Slot Workaround Details on page 64 The complete status LED description is available in the technical reference section see Status LEDs Functional Description on page 65 Possible Installation Problems Hardware PCI bus conflict When a new installation produces PCI bus error messages or the board driver doesn t install it is important to verify that there are no conflicts with other PCI or system devices already installed Use the Teledyne DALSA PCI Diagnostic tool as described in Checking for PCI Bus Conflicts on page 21 Also verify the installation via the Driver Information via the Device Manager Program on page 24 2 slot errors There is a PCI bus error message from the computer bios Follow the instructions GEN2 PCI Slot Computer Issue on page 23 BSOD blue screen following a board reset After programming the board with different firmware the computer displays the BSOD when the board is reset see BSOD blue screen Following a Board Reset on page 23 Verify Sapera and Board drivers If there are errors when running applications confirm that all Sapera and board drivers are running See Sapera and Hardware Windows Drivers on page 23 for detail
34. any delays in transfer of the other frame buffer which contains the previously acquired video frame to system memory Note that an application can change the number of on board frame buffers using the Sapera LT API If allocation for the requested number of buffers fails the driver will reduce the number of on board frame buffers requested until they can all fit When reaching 2 on board buffers if they still cannot fit the driver will reduce the size such that it allocates two partial buffers This mode will write image data to the buffer while wrapping image lines around to the beginning of a buffer when full This mode relies on reading out the image data to the host computer faster than the acquisition Symptoms CamExpert Detects no Boards e If using Sapera version 6 00 or later When starting CamExpert if no Teledyne DALSA board is detected CamExpert will start in offline mode There is no error message and CamExpert is functional for creating or modifying a camera configuration file If CamExpert should have detected the installed board troubleshoot the installation problem as described below Troubleshooting Procedure When CamExpert detects no installed board there could be a hardware problem a PnP problem PCI problem a kernel driver problem or a software installation problem e Make certain that the card is properly seated in PCIe slot e Perform all installation checks described in this section before contacting Technical Su
35. cameras Configuration Micro switches Three sets of 4 switches are used for user configurations not controlled by software The following figure is a typical view of each switch set shown with the individual switch set in the OFF position Following the figure each of the three switch sets is described Refer to the board component layout for their positions ON OFF SW1 SW2 SW3 Component View X64 Xcelera CL PX4 User s Manual Technical Specifications 63 SW1 General Inputs Signal Switch Point For each general input select the threshold voltage detected as a logic high signal See Note 1 General Inputs Specifications on page 69 SW1 Switch Number Assigned to OFF Position ON Position default KR WN general input 1 general input 2 general input 3 general input 4 Logic Transition at 2 volts preferred for differential signals Logic Transition at 10 volts SW2 Trigger Inputs Signal Switch Point For each trigger input select the threshold voltage detected as a logic high signal See Note 3 External Trigger Input Specifications on page 71 SW2 Switch Number Assigned to OFF Position default ON Position k trigger input 4 Logic Transition at 2 trigger input 2 2 volts Logic Transition at 3 NA preferred for 10 volts 4 NA differential signals SW3 Normal Safe Boot Mode amp GEN2 Slot Workaround The X64 Xcelera CL PX4
36. file name BoardInfo txt Note that this is a second function mode of the same program used to manually upload firmware to the X64 Xcelera CL 4 Execute the program via the Windows Start Menu shortcut Start e All Programs e Teledyne DALSA X64 Xcelera CL PX4 Device Driver e Device Manager If the Device Manager program does not run it will exit with a message that the board was not found Since the X64 Xcelera CL PX4 board must have been in the system to install the board driver possible reasons for an error are e Board was removed e Board driver did not start or was terminated e PCI conflict after some other device was installed Information Window The following figure shows the Device Manager information screen Click to highlight one of the board components and the information for that item is shown on the right hand window as described below 1 F DALSA Device Manager v 3 06 Woks File Help Device Info Manager Program Refresh Reset Device Information ii 41 Field Value Revision ACU DTE PCle x4 Interface Vendor iD Last ECO CMI Extension Serial Number Component Version Optional ECO Sub Template Version Board Model Evaluation Board Device Info Firmware Update 1 Output 24 Troubleshooting Problems X64 Xcelera CL PX4 User s Manual e Select Information to display identification and informat
37. firmware with FFC Acquisition Xcelera CL PX4 1 Medium firmware with FFC Acquisition Xcelera CL PX4 1 Bayer Base firmware Acquisition Xcelera CL PX4 1 Bayer Medium firmware Acquisition X64 Xcelera CL PX4 User s Manual Name CameraLink Base Mono 1 CameraLink Base Mono 2 CameraLink Base RGB 1 CameraLink Base RGB 2 CameraLink Medium Monochrome 1 CameraLink Medium Color RGB 1 CameraLink Base Bayer 1 CameraLink Base Bayer 2 CameraLink Medium Bayer 1 Description Base configuration monochrome Camera 1 Base configuration monochrome Camera 2 Base configuration color RGB Camera 1 Base configuration color RGB Camera 2 Medium configuration monochrome Camera 1 Medium configuration RGB Camera 1 Base or Medium configuration Bayer Decoder Camera 1 Base configuration Bayer Decoder Camera 2 Base or Medium configuration Bayer Decoder Camera 1 Sapera Servers amp Resources e 57 Technical Specifications X64 Xcelera CL PX4 Board Specifications Digital Video Input amp Controls Camera Link Specifications Rev 1 2 compliant 1 Full or 1 Medium or 2 Base Supports PoCL cameras CameraLink tap configuration for 8 10 12 14 and 16 bit mono 24 bit RGB and Bayer 30 bit RGB 36 bit RGB 1 Tap 8 10 12 14 16 bit mono 2 Taps 8 10 12 14 16 bit mono 3 Taps 8 bit mono 4 Taps 8 10 12 bit mono 4 Taps 14 16 bit mono
38. host machine your computer and is the only server that should always be present Increasing Contiguous Memory for Sapera Resources The Contiguous Memory section lets the user specify the total amount of contiguous memory a block of physical memory occupying consecutive addresses reserved for the resources needed for Sapera buffers allocation and Sapera messaging For both items the Requested value dialog box shows the 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 plus other kernel needs Adjust this value higher if your application generates any out of memory error while allocating host frame buffers or when connecting the buffers via a transfer object You can approximate the amount of contiguous memory required as follows Calculate the total amount of host memory used for frame buffers number of frame buffers number of pixels per line number of lines e 2 if buffer is 10 or 12 bits 1 Provide 1MB for every 256 MB of host frame buffer memory required Add an additional 1 MB if the frame buffers have a short line length say 1k or less the increased number of indiv
39. is transferred from onboard memory into PC memory The Sapera event value is CORXFER VAL EVENT TYPE END OF FRAME End of Line The End of Line event is generated after a video line is transferred to a PC buffer The Sapera event value is VAL EVENT TYPE END OF LINE End of N Lines The End of N Lines event is generated after a set number of video lines are transferred to a PC buffer The Sapera event value is CORXFER VAL EVENT TYPE END OF NLINES 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 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 VAL EVENT TYPE END TRANSFER Trigger Signal Validity The ACU ignores external trigger signal noise with its programmable debounce control Program the debounce parameter for the minimum pulse duration considered as a valid external trigger pulse Refer to Note 3 External Trigger Input Specifications on page 71 for more information Supported Transfer Cycling Methods The X64 Xcelera CL PX4 supports the following transfer modes which are either synchronous or asynchronous These definitions are from the Sapera Basic Reference manual
40. much higher maximum pixel value due to one or more hot pixels The sensor specification accounts for a small number of hot or stuck pixels pixels that do not react to light over the full dynamic range specified for that sensor Verify a Bright Acquisition Aim the camera at a diffused light source or evenly lit white wall with no shadows falling on it Using CamExpert click on the grab button and then the histogram button Use the lens iris to adjust for a bright gray approximately around a pixel value of 200 for 8 bit pixels The following figure shows a typical histogram for a bright gray image X64 Xcelera CL PX4 User s Manual CamExpert Quick Start 31 Statistics Histogram 83333 4 66666 4 50000 4 333334 15657 4 04 T T T Selected view Histogram Y Number of bins Color selector Minimum should not be black Coordinates Statistics unless there is a dead peu Line Colu Buffer _ S Maximum should not be Minimum value 140 s peak white unless there is a Column Maximum value 242 hot pixel i e 255 for 8 bit Max Min 102 1023 for 10 bit Average value 198 N Standard deviation 274 Average bright pixel value bright gray but not white Important In this example the average pixel value for the frame is bright gray Als
41. powers up either in its normal state or a Safe Boot mode required to load firmware under certain conditions See the notes for SW3 1 following the table for details SW3 Assigned to OFF Position ON Position Switch Number default 1 Boot Mode Normal Safe 2 GEN2 Slot Disable default Active Workaround 3 reserved 4 reserved SW3 1 Boot Mode Details Normal Mode Board powers up in the normal operating mode Safe Mode With the computer off move the switch to the ON position This mode is required if any problems occurred while updating firmware With the switch in the ON position power on the computer and update the firmware again When the update is complete power off the computer and move the switch to the OFF position Power on the computer once again for normal operation See Recovering from a Firmware Update Error on page 23 SW3 2 GEN2 Slot Workaround Details 64 Technical Specifications Normal Mode Normal operation of the Xcelera CL PX4 GEN2 Slot Workaround In computers with GEN2 slots and the Intel 5400 chipset there been circumstances where the board is not detected properly This issue is identified by the status LED 2 that keeps on flashing red at boot time In one example with a Dell T5400 or T7400 computer the following message was displayed by the computer BIOS Alert Error initializing PCI Express slot X64 Xcelera CL PX4 User s Manual e Therefore when using such a computer
42. the Sapera CamExpert utility program to generate the camera configuration file based on timing and control parameters entered The CamExpert live acquisition window allows immediate verification of those parameters CamExpert reads both Sapera cca and cvi for backward compatibility with the original Sapera camera files X64 Xcelera CL PX4 User s Manual Sapera Demo Applications e 35 Grab Demo Main Window The Grab Demo program provides basic acquisition control for the selected frame grabber Frame buffer defaults are defined by the loaded camera file ccf P Sapera Grab Demo X Acquisition Control 8 5 E Refer to the Sapera LT User s Manual OC SAPM USER in section Demos and Examples Acquiring with Grab Demo for more information on the Grab Demo Flat Field Demo Overview Program StarteProgramseTeledyne DALSAeSapera LTeDemoseFrame GrabberseFlat Field Demo Program file Sapera Demos Classes vc FlatFieldDemo Release FlatfieldDemo e xe Workspace Sapera Demos Classes vc SapDemos dsw Description This program demonstrates Flat Field or Flat Line processing either performed by supporting Teledyne DALSA hardware or performed on the host system via the Sapera library The program allows you to acquire a flat field or flat line reference image and then do real time correction either in continuous or single acquisiti
43. triggers The figure below depicts a system where a valid camera trigger is any pulse edge from either shaft encoder signal After a trigger the two following triggers are ignored as defined by the Sapera pulse drop parameter Keep D Drop or Skip x lt 4 x lt Shaft Encoder phase A Shaft Encoder phase B Line acquired Note in this example Number of trigger to drop 2 40 e X64 Xcelera CL PX4 Reference X64 Xcelera CL PX4 User s Manual Example using Sequential Encoder Input Support of a dual phase encoder should consider the direction of motion of one phase signal to the other Such a case might exist where system vibrations and or conveyor backlash can cause the encoder to briefly travel backwards The acquisition device must in those cases count the reverse steps and subtract the forward steps such that only pulses after the reverse count reaches zero are considered By using the event Shaft Encoder Reverse Counter Overflow an application can monitor an overflow of this counter Also if one wants to trigger a camera at its maximum line rate using a high jitter shaft encoder the parameter CORACQ PRM LINE TRIGGER AUTO DELAY can be used to delay automatically line triggers to the camera to avoid over trigge
44. 0504 000100006 4 32i 0 005800001 SubVendlD 050004 IntPin Lat 0x00 it pos 0500000010 SubsystlD fox0001 Line size 10 Class Code 0058000 Ed Tham 000000 Command Header type O06 FBB SERR veaj Mw Spc BM Mem 10 500 Mulifunc Statu is BIST 0 0010 5 sa fas 828 5 00 BIST capable Base address registers Expansion ROM 0 0 000000 to OxFO3FFFFF Mem Pre 6444 1 Mem Pre 6888 PCI PCI bridge DES 2 mujer Primary Bus 3 0 Second Bus s DRESA 4 f 10 Pre View Subord Bus 1 5 0 Pe view Bridge Ctrl OK X64 Xcelera CL PX4 User s Manual Troubleshooting Problems e 21 Clicking on the Diagnostic button opens a new window with the diagnostic report From the PCI Bus Number drop menu select the bus number that the X64 Xcelera CL PX4 is installed in in this example the slot is bus 2 The window now shows 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 dump of the PCI configuration registers Email this file when requested by the Teledyne DALSA Technical Support group alo
45. 26 CAMEXPERT QUICK START 27 INTERFACING CAMERAS WITH CAMEXPERT cesses eene nennen nnn 27 CamExpert Example with a Monochrome 27 CAMEXPERT DEMONSTRATION AND TEST TOOLS 4 6 28 CAMERA TYPES amp FILES APPLICABLE TO THE X64 XCELERA CL 4 0 2 28 Overview of Sapera Acquisition Parameter Files ccf or cca cvi 29 Camera Interfacing Check 116 6060 00 30 USING THE FLAT FIELD CORRECTION nnns 30 X64 Xcelera CL PX4 Flat Field 10000000000 30 Set up Dark and Bright Acquisitions with the Histogram Tool 30 Verify Dark Gud cc anhand aliad incom an 30 Verify a Bright ses xecudstaxeruk dad ncn UE FA te 31 Flat Field Correction Calibration Procedure esee 32 Using Flat Field CON POOL aciei ds seat ev pedido teas vs 33 USING THE BAYER FILTER 1 eese memes sene mere nnne 33 Bayer Filter White Balance Calibration Procedure 34 Using the Bayer ERE ERE ONIE IIR S ANREDE 34 SAPERA DEMO APPLICATIONS 35 GRAB DEMO OVERVIEW
46. CamExpert an easy to use camera configuration utility to create new or modify existing camera configuration files Sapera Processing Library Sapera Processing is a comprehensive set of classes or NET classes for image processing and analysis Sapera Processing offers highly optimized tools for image processing blob analysis search pattern recognition OCR and barcode decoding 8 e Overview X64 Xcelera CL PX4 User s Manual Installing X64 Xcelera CL PX4 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 Important Never remove or install any hardware component with the computer power on Disconnect the power cord from the computer to disable the power standby mode This prevents the case where some computers unexpectedly power up when a board is installed Installation Note To install Sapera LT and the X64 Xcelera CL PX4 device driver logon to the workstation as administrator or with an account that has administrator privileges The Sapera LT Development Library or runtime library if application execution without development is preferred must be installed before the Xcelera CL PX4 device driver T
47. DULE OVERVIEW 1 cerae on orna prae e pne Raus eeient kk n Rd mE RERYSNKA mesa 80 X I O Module Connector List amp Locations nnn 80 X64 Xcelera CL PX4 User s Manual Contents e iii X I O MODULE INSTALLATION scceccccccececcuceeeeeecucuueeeeucuuaueeeeeugueeneeesuuguneeeenauganens 81 Board Installation vies 81 X64 Xcelera CL PX4 X I O Driver 81 X I O MODULE EXTERNAL CONNECTIONS TO THE 7 81 DB37 Pinout DescripLIOn a o SERRE ERR 82 Outputs in NPN Mode Electrical 2 0 2 0 6060 82 Outputs in PNP Mode Electrical Details sss esee nnne 83 Opto coupled Input Electrical Details 6 84 TTL Input Electrical 84 X I O MODULE SAPERA INTERFACE 85 Configuring User Defined Power up I O 85 Using Sapera LT General I O 6 nnn nnn nan 86 Sapera LT General I O Demo Code 87 Main Demo code isse x CE VER RC E YE ER CEPR 87 Function
48. E SE VA Va YER S 46 ii e Contents X64 Xcelera CL PX4 User s Manual SUPPORTING NON STANDARD CAMERA LINK CAMERAS 47 Firmware Full with Bayer Decoder Method 6 0 6 0 47 X64 XCELERA CL PX4 SUPPORTED PARAMETERS nene 47 Camera Related Capabilities enne nnn nnn nnns nna nnns 47 Camera Related 6 66 6 nna 48 Related Parameters 1116 666 66 nua EDA EEDA ADEA EEO HERES EES 51 ACO Related lt 55 WINDOWS EMBEDDED 7 5 rasan nn n 56 SAPERA SERVERS amp RESOURCES 57 SERVERS AND RESOURCES Rcs 57 TECHNICAL SPECIFICATIONS 58 X64 XCELERA CL PX4 BOARD 58 HOST SYSTEM REQUIREMENTS rese n nnn 60 EMI CERTIFICATIONS Un Ca eda su Via DELE ENEE NECRAN ada 61 CONNECTOR AND SWITCH 62 X64 Xcelera CL PX4 Board Layout Drawi
49. Enhance ccf provides a starting point to acquire from this camera with the following parameters e Supports up to 8 tap cameras e Bayer Decoder Method 6 used on cameras such as Basler Sprint SPL8192 e Frame Valid is used to indicate the beginning of a 2 line sequence from a line scan camera X64 Xcelera CL PX4 Supported Parameters The tables below describe the Sapera capabilities supported by the X64 Xcelera CL PX4 Unless specified each capability applies to both boards or all mode configurations and all acquisition modes Note The information here is subject to change Capabilities should be verified by the application because new board driver releases may change product specifications Specifically the X64 Xcelera CL PX4 family is described in Sapera as e Board Server Xcelera CL_PX4_1 e Acquisition Module dependent on firmware used Camera Related Capabilities Capability Values CORACQ_CAP_CONNECTOR_TYPE CORACQ_VAL_CONNECTOR_TYPE_CAMLINK 0x2 CORACQ_CAP_CONNECTOR_CAMLINK CORACQ_VAL_SIGNAL_NAME_NO_CONNECT 0x1 Pin 01 Pin 02 Pin 03 CORACQ_VAL_SIGNAL_NAME_PULSEO 0x8 CORACQ_VAL_SIGNAL_NAME_PULSE1 0x10 CORACQ_VAL_SIGNAL_NAME_GND 0x4000 CORACQ_CAP_CONNECTOR_CAMLINK Pin 04 CORACQ_VAL_SIGNAL_NAME_NO_CONNECT 0x1 Table 1 Camera Related Capabilities X64 Xcelera CL PX4 User s Manual X64 Xcelera CL PX4 Reference e 47 Camera Related Parameters Para
50. GRATE_METHOD CORACQ VAL TIME INTEGRATE METHOD 1 0x1 CORACQ VAL TIME INTEGRATE METHOD 2 0x2 CORACQ VAL TIME INTEGRATE METHOD 3 0x4 CORACQ VAL TIME INTEGRATE METHOD 4 0x8 CORACQ VAL TIME INTEGRATE METHOD 5 0x10 CORACQ VAL TIME INTEGRATE METHOD 6 0x20 CORACQ VAL TIME INTEGRATE METHOD 7 0x40 CORACQ VAL TIME INTEGRATE METHOD 8 0x80 CORACQ VAL TIME INTEGRATE METHOD 9 0x100 CORACQ PRM CAM TRIGGER METHOD CORACQ VAL TRIGGER METHOD 1 0x1 CORACQ VAL TRIGGER METHOD 2 0x2 CORACQ PRM CAM TRIGGER POLARITY VAL ACTIVE LOW 0 1 CORACQ VAL ACTIVE HIGH 0x2 CORACQ PRM CAM TRIGGER DURATION min 1 s max 4294967294 us step 1 us CORACQ_PRM_CAM_RESET_METHOD CORACQ_VAL_CAM_RESET_METHOD_1 0x1 CORACQ_PRM_CAM_RESET_POLARITY CORACQ_VAL_ACTIVE_LOW 0x1 CORACQ_VAL_ACTIVE_HIGH 0x2 CORACQ_PRM_CAM_RESET_DURATION min 1 us max 4294967294 us step 1 us CORACQ_PRM_CAM_NAME mono color RGB Bayer Bayer Method 6 10 taps Default Area Scan 1 tap Mono Default Area Scan 1 tap Color Default Bayer Area Scan 1 tap Color Default Bayer Line Scan 8 taps parallel Color Default Area Scan 10 taps Parallel Mono CORACQ_PRM_LINE_INTEGRATE_METHOD CORACQ VAL LINE INTEGRATE METHOD 1 0x1 CORACQ VAL LINE INTEGRATE METHOD 2 0x2 CORACQ VAL LINE INTEGRATE METHOD 3 0x4 CORACQ VAL LINE INTEGRATE METHOD 4 0x8 CORACQ VAL LINE
51. L_CAMLINK_CONFIGURATION_BASE 0 1 Bayer CORACQ_VAL_CAMLINK_CONFIGURATION_MEDIUM 0x2 Base Bayer 10 taps CORACQ VAL CAMLINK CONFIGURATION BASE 0x1 CORACQ VAL CAMLINK CONFIGURATION 10TAPS FORMAT2 0x40 CORACQ PRM DATA VALID ENABLE Mono TRUE FALSE 10 taps Not available CORACQ_PRM_DATA_VALID_POLARITY CORACQ_VAL_ACTIVE_HIGH 0x2 9 DIRECTION 10 taps only CORACQ_VAL_TAP_DIRECTION_LR 0x1 CORACQ_VAL_TAP_DIRECTION_RL 0x2 CORACQ_VAL_TAP_DIRECTION_UD 0x4 CORACQ_VAL_TAP_DIRECTION_DU 0x8 CORACQ_VAL_TAP_DIRECTION_FROM_TOP 0x10 CORACQ_VAL_TAP_DIRECTION_FROM_MID 0x20 CORACQ_VAL_TAP_DIRECTION_FROM_BOT 0x40 CORACQ_PRM_TAP_10_DIRECTION 10 taps only CORACQ_VAL_TAP_DIRECTION_LR 0x1 CORACQ_VAL_TAP_DIRECTION_RL 0x2 CORACQ_VAL_TAP_DIRECTION_UD 0x4 CORACQ_VAL_TAP_DIRECTION_DU 0x8 CORACQ_VAL_TAP_DIRECTION_FROM_TOP 0x10 CORACQ_VAL_TAP_DIRECTION_FROM_MID 0x20 CORACQ_VAL_TAP_DIRECTION_FROM_BOT 0x40 CORACQ_PRM_TIMESLOT 10 taps Others CORACQ_VAL_TIMESLOT_1 0x1 CORACQ_VAL_TIMESLOT_1 0x1 CORACQ_VAL_TIMESLOT_2 0x2 CORACQ_PRM_BAYER_ALIGNMENT mono color RGB Bayer Bayer Method 6 Not available CORACQ_VAL_BAYER_ALIGNMENT_GB_RG 0x1 CORACQ_VAL_BAYER_ALIGNMENT_BG_GR 0x2 CORACQ_VAL_BAYER_ALIGNMENT_RG_GB 0x4 CORACQ_VAL_BAYER_ALIGNMENT_GR_BG 0x8 CORACQ_VAL_BAYER_ALIGNMENT_GB_RG 0x1 CORACQ_VAL_BAYER_ALIGNMENT_RG_GB 0x4 CORACQ_PRM_CAM_CO
52. L_REPLACEMENT TRUE Pixel replacement is usually done by averaging the 2 neighborhood pixels When one of the neighbors is not available border image pixels and border internal packet pixels the pixel is simply replaced with the available neighbor CORACQ_CAP_SERIAL_PORT_INDEX Supported X64 Xcelera CL PX4 User s Manual X64 Xcelera CL PX4 Reference 55 Windows Embedded 7 Installation Windows Embedded 7 is not officially supported by Teledyne DALSA due to the number of possible configurations However Sapera LT and other Teledyne DALSA products should function properly on the Windows Embedded 7 platform provided that the required components are installed Teledyne DALSA provides answer files xml for use during Windows Embedded 7 installation that install all necessary components for running Sapera LT 32 bit or 64 bit versions SDK or Runtime Sapera Processing 32 bit or 64 bit versions SDK or Runtime and Teledyne DALSA framegrabbers For each platform 32 or 64 bit the answer file provided is SaperaFrameGrabbers xml Configuration for Sapera LT Sapera Processing and Teledyne DALSA framegrabbers The file is located in the following directory dependent on the platform used Install Directory gt Sapera Install Win7_Embedded Win32 Install Directory gt Sapera Install Win7_ EmbeddedNWin64 The OS footprint for these configurations is less than 1 GB Alternatively the Windows Thin Client c
53. NTROL_DURING_READOUT TRUE FALSE Table 2 VIC Related Parameters Camera Related Parameters Parameter Values CORACQ_PRM_CAMSEL Mono Bayer color RGB CAMSEL_MONO from 0 to 0 CAMSEL_RGB from 0 to 0 CORACQ_PRM_CROP_LEFT min pixel max 16777215 pixel step 16 pixel X64 Xcelera CL PX4 User s Manual X64 Xcelera CL PX4 Reference e 51 CORACQ PRM CROP min 0 line max 16777215 line step 1 line step 2 lines Bayer CORACQ PRM CROP WIDTH min 16 pixel max 16777215 pixel step 16 pixel step 2 color RGB CORACQ PRM CROP HEIGHT min 1 line max 16777215 line step 1 line CORACQ PRM DECIMATE METHOD VAL DECIMATE DISABLE 0 1 CORACQ PRM LUT ENABLE TRUE FALSE CORACQ PRM LUT NUMBER Default 0 CORACQ PRM STROBE ENABLE TRUE FALSE CORACQ PRM STROBE METHOD VAL STROBE METHOD 1 0x1 CORACQ VAL 5 METHOD 2 0x2 VAL STROBE METHOD 3 0 4 CORACQ VAL STROBE METHOD 4 0x8 CORACQ PRM STROBE POLARITY CORACQ VAL ACTIVE LOW 0x1 VAL ACTIVE HIGH 0x2 CORACQ PRM STROBE DURATION min O us max 4294967294 us step 1 us CORACQ PRM STROBE DELAY min Ous max 4294967294 us step 1 us CORACQ_PRM_TIME_INTEGRATE_ENABLE TRUE FALSE CORACQ_PRM_TIME_INTEGRATE_DURATION min 1us 4294967294 us 1
54. O Module Option Important e Older computers may not support the maximum data transfer bandwidth defined for PCI Express x4 e The X64 Xcelera CL PX4 board can also be used in an PCI Express x8 slot typically without issue e If the computer only has a PCI Express x16 slot an x4 board must be tested to see if it is supported It has been seen that many computer motherboards only support x16 products in x16 slots commonly used with graphic video boards X64 Xcelera CL PX4 User s Manual Overview e 7 Advanced Controls Overview Visual Indicators X64 Xcelera CL PX4 features LED indicators to facilitate system installation and setup These indicators provide visual feedback on the board status and camera status External Event Synchronization Trigger inputs and strobe signals are provided to precisely synchronize image captures with external events Camera Link Communications ports One Full board or two Dual board PC independent communication ports provide Camera Link camera configurations These ports do not require addition PC resources like free interrupts or I O address space Accessible via the board device driver the communication ports present a seamless interface to Windows based standard communication applications like HyperTerminal etc The communication ports are accessible directly from the Camera Link connectors Quadrature Shaft Encoder An important feature for web scanning applications the Quadrature Shaft E
55. OC ANLVDS About the X64 Xcelera CL PX4 Frame Grabber Series Key Features e Available either as a Full or Dual Base Camera Link board e Acquire from Monochrome Bayer Filter or RGB Cameras both area scan and linescan e Supports multiple tap formats and multiple tap scan directions in multiple pixels depths e On board hardware Flat Field Correction e Output lookup tables e Vertical and Horizontal Flip supported on board e Supports a number of acquisition events in compliance with Trigger to Image Reliability e ROHS compliant e Supports Power Over Camera Link PoCL See Technical Specifications on page 58 for detailed information User Programmable Configurations Use the X64 Xcelera CL PX4 firmware loader function in the Teledyne DALSA Device manager utility to select firmware for one of the supported modes Firmware selection is made either during driver installation or manually later on see X64 Xcelera CL PX4 Firmware Loader on page 10 For the X64 Xcelera CL PX Full board the firmware choices are One Full Camera Link Input with Flat Field Correction installation default selection Support for 1 Base 1 Medium or 1 Full Camera Link camera Flat Field Correction FFC includes Fixed Pattern Noise FPN Pixel Replacement Photo Response Non Uniformity PRNU and Shading Correction e One Full Camera Link Input with Bayer Filter Decoding Sapera Method 1 Support for 1 Base 1 Medium or 1 Full Camera Link
56. R FREQ MAX 500000 Hz CORACQ PRM MASTER MODE Not available CORACQ PRM SHAFT ENCODER DROP min 0 tick max 255 tick step 1 tick CORACQ PRM SHAFT ENCODER ENABLE TRUE FALSE CORACQ PRM EXT TRIGGER FRAME COUNT min 1 frame max 65534 frame step 1 frame CORACQ PRM INT FRAME TRIGGER ENABLE TRUE FALSE CORACQ PRM INT FRAME TRIGGER FREQ min 1 milli Hz max 1073741823 milli Hz step 1 milli Hz CORACQ PRM STROBE DELAY 2 min 0 max 4294967294 us step 1 us CORACQ_PRM_FRAME_LENGTH CORACQ VAL FRAME LENGTH FIX 0x1 CORACQ VAL FRAME LENGTH VARIABLE 0x2 CORACQ PRM FLIP mono CORACQ VAL FLIP OFF 0x00 CORACQ VAL FLIP HORZ 0x01 10 taps Bayer Not Available CORACQ_PRM_EXT_TRIGGER_DURATION min Ous max 255 us step 1 us CORACQ_PRM_TIME_INTEGRATE_DELAY min Ous max 4294967294 us step 1 us CORACQ_PRM_CAM_RESET_DELAY min Ous max Ous step 1 us CORACQ_PRM_CAM_TRIGGER_DELAY min Ous max 4294967294 us step 1 us CORACQ_PRM_SHAFT_ENCODER_LEVEL CORACQ VAL LEVEL 422 0x2 X64 Xcelera CL PX4 User s Manual X64 Xcelera CL PX4 Reference e 53 CORACQ_PRM_EXT_FRAME_TRIGGER_SOURCE min 0 max 6 step 1 CORACQ_PRM_EXT_LINE_TRIGGER_SOURCE min 0 max 7 step 1 CORACQ_PRM_EXT_TRIGGER_SOURCE min 0 max 6 step 1 CORACQ_PRM_SHAFT_ENCODER_MULTIPLY min 1 max 32 step 2 N CORACQ_PRM_PLANAR_INP
57. TAP_DIRECTION_UD 0x4 L_TAP_DIRECTION_DU 0x8 L_TAP_DIRECTION_FROM_TOP 0x10 L_TAP_DIRECTION_FROM_MID 0x20 L_TAP_DIRECTION_FROM_BOT 0x40 CORACQ_PRM_TAP_7_DIRECTION Full mono bayer only CORACQ_VA CORACQ_VA CORACQ_VA CORACQ_VA CORACQ_VA CORACQ_VA CORACQ_VA L_TAP_DIRECTION_LR 0x1 L_TAP_DIRECTION_RL 0x2 L_TAP_DIRECTION_UD 0x4 L_TAP_DIRECTION_DU 0x8 L_TAP_DIRECTION_FROM_TOP 0x10 L_TAP_DIRECTION_FROM_MID 0x20 L_TAP_DIRECTION_FROM_BOT 0x40 CORACQ_PRM_TAP_8_DIRECTION Full mono bayer only CORACQ_VA CORACQ_VA CORACQ_VA CORACQ_VA CORACQ_VA CORACQ_VA CORACQ_VA L_TAP_DIRECTION_LR 0x1 L_TAP_DIRECTION_RL 0x2 L_TAP_DIRECTION_UD 0x4 L_TAP_DIRECTION_DU 0x8 L_TAP_DIRECTION_FROM_TOP 0x10 L_TAP_DIRECTION_FROM_MID 0x20 L_TAP_DIRECTION_FROM_BOT 0x40 CORACQ_PRM_PIXEL_CLK_DETECTION CORACQ_VA L_RISING_EDGE 0x4 CORACQ_PRM_CHANNELS_ORDER CORACQ_VA CORACQ_VA L_CHANNELS_ORDER_NORMAL 0x1 L_CHANNELS_ORDER_REVERSE 0x2 CORACQ_PRM_CAM_LINE_TRIGGER_FREQ_MIN 1 Hz CORACQ_PRM_CAM_LINE_TRIGGER_FREQ_MAX 16777215 Hz CORACQ_PRM_CAM_TIME_INTEGRATE_DURATION_MIN 1 us CORACQ_PRM_CAM_TIME_INTEGRATE_DURATION_MAX 4294967294 us CORACQ_PRM_TIME_INTEGRATE_PULSE1_POLARITY CORACQ_VAL_ACTIVE_LOW 0x1 CORACQ_VAL_ACTIVE_HIGH 0x2 CORACQ_PRM_TIME_INTEGRATE_PULSE1_DELAY min 0 us max 4294967294 us step 1 us CORACQ_PRM_TIME_INTEGRATE_PULSE1_DURATION
58. TRUE FALSE 52 e X64 Xcelera CL PX4 Reference X64 Xcelera CL PX4 User s Manual CORACQ_PRM_LINE_INTEGRATE_DURATION min 1 pixel 16777215 pixel step 1 pixel CORACQ_PRM_LINE_TRIGGER_ENABLE TRUE FALSE CORACQ_PRM_EXT_FRAME_TRIGGER_ENABLE TRUE FALSE CORACQ_PRM_EXT_FRAME_TRIGGER_DETECTION CORACQ_VA CORACQ_VA CORACQ_VA CORACQ_VA CORACQ_VA L_ACTIVE_LOW 0x1 L_ACTIVE_HIGH 0x2 L_RISING_EDGE 0x4 L_FALLING_EDGE 0x8 L_DOUBLE_PULSE_RISING_EDGE 0x20 CORACQ_VA L_DOUBLE_PULSE_FALLING_EDGE 0x40 CORACQ_PRM_EXT_LINE_TRIGGER_ENABLE TRUE FALSE DETECTION CORACQ PRM EXT LINE TRIGGER CORACQ VAL RISING EDGE 0x4 CORACQ PRM SNAP COUNT min 1 frame max 65535 frame step 1 frame CORACQ INT LINE TRIGGER ENABLE TRUE FALSE CORACQ PRM INT LINE TRIGGER FREQ Default 5000 Hz CORACQ PRM BIT ORDERING CORACQ VAL BIT ORDERING STD 0 1 CORACQ PRM EXT TRIGGER LEVEL CORACQ VAL LEVEL TTL 0 1 CORACQ VAL LEVEL 422 0x2 CORACQ PRM STROBE LEVEL CORACQ VAL LEVEL TTL 0 1 CORACQ PRM EXT FRAME TRIGGER LEVEL VAL LEVEL TTL 0 1 CORACQ VAL LEVEL 422 0x2 CORACQ PRM EXT LINE TRIGGER LEVEL CORACQ VAL LEVEL 422 0x2 CORACQ PRM INT LINE TRIGGER FREQ MIN 245 Hz CORACQ PRM INT LINE TRIGGE
59. UT 1 LUT format CORDATA_FORMAT_COLORNI8 8 bits LUT 1 LUT format CORDATA_FORMAT_MONO8 CORACQ_PRM_VIDEO_STD CORACQ_VAL_VIDEO_STD_NON_STD 0x1 CORACQ_PRM_FIELD_ORDER for Bayer Method 6 CORACQ_VAL_FIELD_ORDER_NEXT_FIELD 0x4 CORACQ_VAL_FIELD_ORDER_FVAL_LINE2 0x10 CORACQ_PRM_HACTIVE mono color RGB Bayer min 1 pixel max 16777215 pixel step 1 pixel min 1 pixel max 8192 pixel step 1 pixel CORACQ_PRM_HSYNC min 2 pixel max 4294967295 pixel step 1 pixel CORACQ_PRM_VACTIVE min 1 line max 16777215 line step 1 line CORACQ_PRM_VSYNC min Oline max 4294967295 line step 1 line CORACQ_PRM_HFRONT_INVALID min 0 pixel max 16777215 pixel step 1 pixel CORACQ_PRM_HBACK_INVALID min 0 pixel max 16777215 pixel step 1 pixel CORACQ_PRM_VFRONT_INVALID min Oline max 16777215 line step 1 line CORACQ_PRM_VBACK_INVALID min Oline max 16777215 line step 1 line CORACQ_PRM_PIXEL_CLK_SRC CORACQ_VAL_PIXEL_CLK_SRC_EXT 0x2 CORACQ_PRM_PIXEL_CLK_EXT min 20000000 Hz max 85000000 Hz step 1 Hz CORACQ_PRM_SYNC CORACQ_VAL_SYNC_SEP_SYNC 0x4 48 e X64 Xcelera CL PX4 Reference X64 Xcelera CL PX4 User s Manual CORACQ_PRM_HSYNC_POLARITY CORACQ_VAL_ACTIVE_LOW 0x1 CORACQ_PRM_VSYNC_POLARITY CORACQ_VAL_ACTIVE_LOW 0x1 CORACQ_PRM_TIME_INTE
60. UT_SOURCES Not available CORACQ_PRM_EXT_TRIGGER_DELAY min 0 max 4294967294 step 1 CORACQ_PRM_EXT_TRIGGER_DELAY_TIME_BASE CORACQ_VAL_TIME_BASE_US 0x1 CORACQ_VAL_TIME_BASE_LINE 0x4 CORACQ_VAL_TIME_BASE_LINE_TRIGGER 0x8 CORACQ_PRM_BAYER_DECODER_ENABLE Full Bayer Not available mono or color RGB TRUE FALSE CORACQ_PRM_BAYER_DECODER_METHOD Full Bayer Bayer Method 6 Not available mono or color RGB CORACQ VAL BAYER DECODER METHOD 1 0x1 CORACQ VAL BAYER DECODER METHOD 6 0x20 CORACQ PRM BAYER DECODER WB GAIN Full Bayer Not available mono or color RGB min 100000 max 899609 step 1 Full Bayer CORACQ_PRM_BAYER_DECODER_WB_GAIN_RED Not available mono or color RGB min 100000 max 499609 step 1 CORACQ_PRM_BAYER_DECODER_WB_GAIN_GREEN Full Bayer Not available mono or color RGB min 100000 max 499609 step 1 CORACQ_PRM_BAYER_DECODER_WB_GAIN_BLUE Full Bayer Not available mono or color RGB min 100000 max 899609 step 1 CORACQ_PRM_EXT_TRIGGER_IGNORE_DELAY min 0 max 65535000 step 1 CORACQ_PRM_EXT_TRIGGER_SOURCE_STR 0 Automatic From External Trigger 1 From External Trigger 2 From Board Sync To Board Sync Pulse to Board Sync Software Trigger faire l Won Hog CORACQ PRM EXT LINE TRIGGER SOURCE STR Automatic From Shaft Encoder Phase A From Shaft E
61. 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 is 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 is empty it will transfer to this buffer otherwise it will skip it and transfer again to the trash buffer X64 Xcelera CL PX4 User s Manual X64 Xcelera CL PX4 Reference e 45 e CORXFER_VAL_CYCLE_MODE_ASYNCHRONOUS The transfer device cycles through all buffers in the list without concern about the buffer state Output LUT Availability The following table defines the X64 Xcelera CL PX4 Output LUT look up tables availability Note that unsupported modes are not listed
62. VAL_TAP_DIRECTION_DU 0x8 CORACQ_VAL_TAP_DIRECTION_FROM_TOP 0x10 CORACQ_VAL_TAP_DIRECTION_FROM_MID 0x20 CORACQ_VAL_TAP_DIRECTION_FROM_BOT 0x40 X64 Xcelera CL PX4 User s Manual X64 Xcelera CL PX4 Reference e 49 CORACQ_PRM_TAP_3_DIRECTION CORACQ_VA CORACQ_VA CORACQ_VA CORACQ_VA CORACQ_VA CORACQ_VA CORACQ_VA L_TAP_DIRECTION_LR 0x1 L_TAP_DIRECTION_RL 0x2 L_TAP_DIRECTION_UD 0x4 L_TAP_DIRECTION_DU 0x8 L_TAP_DIRECTION_FROM_TOP 0x10 L_TAP_DIRECTION_FROM_MID 0x20 L_TAP_DIRECTION_FROM_BOT 0x40 CORACQ_PRM_TAP_4_DIRECTION Full mono medium color RGB Full Medium bayer only CORACQ_VA CORACQ_VA CORACQ_VA CORACQ_VA CORACQ_VA CORACQ_VA CORACQ_VA L_TAP_DIRECTION_LR 0x1 L_TAP_DIRECTION_RL 0x2 L_TAP_DIRECTION_UD 0x4 L_TAP_DIRECTION_DU 0x8 L_TAP_DIRECTION_FROM_TOP 0x10 L_TAP_DIRECTION_FROM_MID 0x20 L_TAP_DIRECTION_FROM_BOT 0x40 CORACQ_PRM_TAP_5_DIRECTION Full Medium bayer only Full mono CORACQ_VA CORACQ_VA CORACQ_VA CORACQ_VA CORACQ_VA CORACQ_VA CORACQ_VA L_TAP_DIRECTION_LR 0x1 L_TAP_DIRECTION_RL 0x2 L_TAP_DIRECTION_UD 0x4 L_TAP_DIRECTION_DU 0x8 L_TAP_DIRECTION_FROM_TOP 0x10 L_TAP_DIRECTION_FROM_MID 0x20 L_TAP_DIRECTION_FROM_BOT 0x40 CORACQ_PRM_TAP_6_DIRECTION Full Medium bayer only Full mono CORACQ_VA CORACQ_VA CORACQ_VA CORACQ_VA CORACQ_VA CORACQ_VA CORACQ_VA L_TAP_DIRECTION_LR 0x1 L_TAP_DIRECTION_RL 0x2 L_
63. X64 Xcelera CL PX4 User s Manual Edition 2 20 sensors cameras frame grabbers processors software vision solutions P N OC X4CM PUSRO TELEDYNE DALSA www teledynedalsa com Everywhereyou look 1 2014 Teledyne DALSA Corp All rights reserved This document may not be reproduced nor transmitted in any form or by any means either electronic or mechanical without the express written permission of Teledyne DALSA 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 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 Windows 7 Windows 8 are trademarks of Microsoft Corporation All other trademarks or intellectual property mentioned herein belong to their respective owners Edition 2 20 released on April 16 2014 Document Number OC X4CM PUSRO Printed in Canada About Teledyne DALSA Teledyne DALSA is an international high performance semiconductor and electronics company that designs develops manufactures and markets digital imaging products and solutions in addition to providing wafer foundry services Teledyne DALSA Digital Imaging offers the widest range of m
64. achine vision components in the world From industry leading image sensors through powerful and sophisticated cameras frame grabbers vision processors and software to easy to use vision appliances and custom vision modules Contents OVERVIEW 5 PRODUCT PART NUMBERS esce cis edu EY eve dia Pl br ad re be end YE Feb Pat bur a bears rra UE 5 ABOUT THE X64 XCELERA CL PX4 FRAME GRABBER 6 Seres Key Features 6 User Programmable 6 ACUPlus Acquisition Control 6 6 06000 Z DTE Intelligent Data Transfer Engine 7 Advanced Controls 6 66 0 8 ABOUT THE OPTIONAL X I O MODULE 8 DEVELOPMENT SOFTWARE OVERVIEW ehem ehem 8 Espero qo LT ERE 8 Sapera Processing rne xia ane 8 INSTALLING 64 XCELERA CL PX4 9 WARNING GROUNDING INSTRUCTIONS nnne 9 NSTALLATION
65. al times from the computer X64 Xcelera CL PX4 User s Manual Troubleshooting Problems e 23 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 switch for the X64 Xcelera CL PX4 is SW3 1 see SW3 on page 64 e Shut down Windows and power OFF the computer e Move the switch SW3 1 to ON for the boot recovery mode position The default position is SW3 1 to OFF for normal operation e 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 Firmware Update Manual Mode on page 11 e When the update is complete shut down Windows and power off the computer e Set the SW3 1 switch back to the OFF position i e default position 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 X64 Xcelera CL PX4 board Driver Information via the Device Manager Program The Teledyne DALSA Device Manager program provides a convenient method of collecting information about the installed X64 Xcelera CL PX4 System information such as operating system computer CPU system memory PCI configuration space plus X64 Xcelera CL PX4 firmware information can be displayed or written to a text file default
66. am source code to implement X I O controls within the custom imaging application This section describes configuring the X I O module power up state using the X I O demo program and describes the Sapera Class to program and read the X I O module along with sample code Configuring User Defined Power up I O States The X I O module power up state is stored onboard in flash memory User configuration of this initial state is performed by the Device Manager program Run the program via the windows start menu Start e Programs e Teledyne DALSA e X64 Xcelera CL PX4 Device Driver e Device Manager The Device Manager provides information on the installed X64 Xcelera CL PX4 board and its firmware With an X I O module installed click on XIO Board Information as shown in the following figure meDALSA Coreco Device Manager BE File Help Information Firmware Manager Program Refresh Reset Device iomain Fed 0 Value Device 0 NPN Pin 0 00 Device 0 PNP Pin 0 00 Device 0 Tristate Pin OxOOFF 0 Board Device 0 Default Output Type E Device 0 Default Output Pin State 0x000F E Firmware Device 1 Optocoupled Pin J 0003 Device 1 Input Pin J OOFF Device 1 TTL 5 Volts Pin J DOFF Device 1 TTL 24 Volts Pin 00F Device 1 Default Input Level TTL 5 Volts Device 1 Default Connector DB37 Information Firmware Update Firmware Outp
67. 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 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 Select the user default configuration Select different configurations for systems with multiple boards Assign a standard Serial COM port to board Creating the install ini File Install the driver in the target computer All X64 Xcelera CL PX4 boards required in the system must be installed Configure each board s acquisition firmware using the Teledyne DALSA Device Manager tool see Device Manager Board Viewer on page 17 Ifa standard Serial COM port is required for any board use the Sapera Configuration tool see COM Port Assignment on page 16 When each board setup is complete using the Teledyne DALSA Device Manager tool click the Save Config File button This will create the install ini file Teledyne DALSA Device Manager v 3 34 eig x File Tools Help Firmware Update Manager Start Update Save Config file Load Config File Device Field Same Configuration For All Devices Value Xcelera CL PX4 1 Serial Number Update Firmware Device Version 54785182 A2 ACU DTE PCle 4 Interface
68. by calculating the binary values in a block of data using some algorithm and storing the results with the data CMI Client Modification Instruction A client requested engineering change applied to a Teledyne DALSA board product to support either a non standard function or custom camera Contiguous memory A block of physical memory occupying consecutive addresses CRC Proprietary Sapera raw image data file format that supports any Sapera buffer type and utilizes an informative file header Refer to the Sapera Basic Modules Reference Manual Buffer File Formats section Firmware Software such as a board driver that is stored in nonvolatile memory mounted on that board Frame buffer An area of memory used to hold a frame of image data A frame buffer may exist on the acquisition hardware or be allocated by the acquisition hardware device driver in host system memory Grab Acquiring an image frame by means of a frame grabber Host Refers to the computer system that supports the installed frame grabber Host buffer Refers to a frame buffer allocated in the physical memory of the host computer system LSB Least Significant Bit in a binary data word MSB Most Significant Bit in a binary data word 92 e Glossary of Terms X64 Xcelera CL PX4 User s Manual PCI 32 Peripheral Component Interconnect The PCI local bus is a 32 bit high performance expansion bus intended for interconnecting add in boards controllers and proc
69. camera Camera Link Input with 10 Taps 8 bits with Flat Field Correction Supports camera such as the Basler A504 Full Camera Link Input with Bayer Filter Decoding Sapera Method 6 Support for the Basler Sprint SPL8192 camera in enhanced mode 6 Overview X64 Xcelera CL PX4 User s Manual For the X64 Xcelera CL PX4 Dual board the firmware choices e Two independent Base Camera Link Input with Flat Field Correction installation default selection Support for 1 or 2 Base Camera Link cameras Flat Field Correction FFC includes Fixed Pattern Noise FPN Pixel Replacement Photo Response Non Uniformity PRNU and Shading Correction Two independent Base Camera Link Input with Bayer Filter Decoding Sapera Method 1 Support for 1 or 2 Base Camera Link cameras with Hardware Bayer CFA Color Filter Array Decoder Flat Field Correction is not available in this configuration e One Medium Camera Link Input with Flat field correction Support for 1 Base or 1 Medium Camera Link camera Flat Field Correction FFC includes Fixed Pattern Noise FPN Pixel Replacement Photo Response Non Uniformity PRNU and Shading Correction e One Medium Camera Link Input with Bayer Filter Decoding Sapera Method 1 Support for 1 Base or 1 Medium Camera Link camera with Hardware Bayer CFA Color Filter Array Decoder Flat Field Correction is not available in this configuration ACUPIus Acquisition Control Unit ACUPIu
70. ce the pointer to pin state SapGio PinLow if low and SapGio PinHigh if high status m pGio GetPinState ilO amp state m pGio SetDisplayStatusMode SapManager StatusNotify NULL Pr T O Event Handling void CGioInputDlg GioCallbackInfo SapGioCallbackInfo pInfo CGioInputDlg pInputDlg CString strEventCount We get the application context associated with I O events pInputDlg CGioInputDlg pInfo gt GetContext We get the current count of I O events strEventCount Format d pInfo GetEventCount We get the I O pin number that generated an I O event and apply the changes pInputDlg m GioEventCount pInfo GetPinNumber X64 Xcelera CL PX4 User s Manual Appendix X I O Module Option 89 MY TELEDYNE DALSA Everywhereyoulook Contact Information Sales Information Visit our web site http www teledynedalsa com imaging Email mailto info teledynedalsa com Canadian Sales Teledyne DALSA Head office Teledyne DALSA Montreal office 605 McMurray Road 7075 Place Robert Joncas Suite 142 Waterloo Ontario Canada N2V 2E9 St Laurent Quebec Canada H4M 222 Tel 519 886 6000 Tel 514 333 1301 Fax 519 886 8023 Fax 514 333 1388 USA Sales European Sales Teledyne DALSA Billerica office Teledyne DALSA GMBH 700 Technology Park Drive Felix Wankel Str 1 Billerica Ma 01821 82152 Krailling Germany Tel 978 670 2000 Tel 49
71. ce Calibration Procedure The following procedure uses an X64 Xcelera CL PX4 with hardware Bayer filter support Bayer Decoder firmware loaded and any supported Bayer color camera It is assumed that CamExpert was used to generate a camera file with correct camera timing parameters e On the CamExpert menu bar click on Tools e Bayer Filter The following menu should show Hardware selected by default when the X64 Xcelera CL PX4 has Bayer support e Select Setting to access the color calibration window see following figure Bayer CFA Decoder Setting x Pixel Alignment Ze Conversion Algorithm Method 1 iv Color Calibration Gamma Factor 1 Red Gain 1 Green Gain 1 Blue Gain 1 Auto White Balance Low e Click Grab to start live acquisition e Aim and focus the camera The camera should see an area of white or place white paper in front of the object being imaged e Click on one of the four Bayer pixel alignment patterns to match the camera best color before calibration Typically the CamExpert default is correct for a majority of cameras e Adjust the lens iris to reduce the exposure brightness so that the white image area is now darker Make certain that no pixel in the white area is saturated e Using the mouse left button click and drag a ROI enclosing a portion of the white area e Click on the Auto White Balance button CamExpert will make RGB gain adjustments e Open the camera iris to have a
72. correctly exposed image e Review the image for color balance e Manually make additional adjustments to the RGB gain values Fine tune the color balance to achieve best results Adjust the gamma factor to additionally improve the display e Stop the live acquisition and save camera file which now contains the Bayer RGB calibration information Note that the gamma factor is not save because it is not a Sapera parameter but only a display tool Using the Bayer Filter A Sapera application when loading the camera file parameters will have the RGB gain adjustment values The application can provide the calibration window to make RGB adjustments as required 34 CamExpert Quick Start X64 Xcelera CL PX4 User s Manual Sapera Demo Applications Grab Demo Overview Program StarteProgramseTeledyne DALSA eSapera LTeDemoseFrame GrabberseGrab Demo Program file Sapera Demos Classes vc GrabDemo Release GrabDemo exe Workspace Sapera Demos Classes vc SapDemos dsw Solution Sapera Demos Classes vc SapDemos_2003 sIn Sapera Demos Classes vc SapDemos_2005 sIn Sapera Demos Classes vc SapDemos_2008 sIn 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 the acquisition parameters The program code may be extracted for use within your own application Remarks T
73. e Signal Event drop menu to select which input signal edge to detect The Reset button clears all event counts General 1 0 module 5 General 1 0 0 output General 1 0 1 input Input Interrupt Input Status Enable 1 HIGH 1 Output HIGH D 111133333333 a 2 HIGH HIGH 93 gt o o oo c s LEELEE Hle EEEE Signal Output Tristate Input Level Signal Event Power Status 2 5 Valts Single Ended Y Falling Edge m Exit 86 Appendix X I O Module Option X64 Xcelera CL PX4 User s Manual Sapera LT General I O Demo Code Samples The following source code was extracted from the General I O demo program The comments highlight the areas that an application developer needs for embedding X I O module controls within the imaging application Main I O Demo code BOOL CGioMainDlg OnInitDialog joe some declarations UINT32 m gioCount int m ServerIndex int m ResourceIndex Show the Server Dialog to select the acquisition device CGioServer dlg this if dlg DoModal IDOK m ServerIndex dlg GetServerIndex m ServerName dlg GetServerName if m ServerIndex 1 Get the number of resources from SapManager for ResourceGio type by using the server index chosen in the dialog box the resource type to enquire for Gio m gioCount SapManager GetResourceCount m ServerIndex SapManager
74. e frame rate is above 0 but nevertheless no image is displayed in CamExpert Make certain that BUS MASTER bit in the PCIe configuration space is activated Look in PCI Diagnostics for BM button under Command group Make certain that the BM button is activated Perform all installation checks described in this section before contacting Technical Support Symptoms Card acquisition bandwidth is less than expected The X64 Xcelera CL PX4 acquisition bandwidth is less than expected Review the system for problems or conflicts with other expansion boards or drivers Remove other PCI Express PCI 32 or PCI 64 boards and check acquisition bandwidth again engineering has seen this case where other PCI boards in some systems cause limitations in transfers Each system with its combination of system motherboard and PCI boards will be unique and will need to be tested for bandwidth limitations affecting the imaging application Is the X64 Xcelera CL PX4 installed in a PCI Express x16 slot Note that some computer s x16 slot may only support non x16 boards at x1 or not at all Check the computer documentation or test an X64 Xcelera CL 4 installation Note that the X64 Xcelera CL PX4 board is not designed to function at x1 speeds The speed at which the board is running at is logged in the LogViewer Check for an entry similar to this X64 FPGA GetPciSpeed x8 26 Troubleshooting Problems X64 Xcelera CL PX4 User s Manual CamExpert Qu
75. e mode can either have user interaction or be completely silent The following installation mode descriptions apply to both Sapera and the hardware driver Note You must reboot after the installation of Sapera LT However to streamline the installation process Sapera LT can be installed without rebooting before installing the board hardware device drivers The installations then complete with a single final system reboot Perform Teledyne DALSA embedded installations in either of these two ways 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 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 when 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
76. e reference e Click on Save The flat field correction data is saved as a TIF image with a file name of your choice such as camera name and serial number Using Flat Field Correction From the CamExpert menu bar enable Flat Field correction Tools e Flat Field Correction e Enable Now when doing a live grab or snap the incoming image is corrected by the current flat field calibration data for each pixel Use the menu function Tools e Flat Field Correction e Load to load in a flat field correction image from a previous saved calibration data CamExpert allows saving and loading calibration data for all cameras used with the imaging system Using the Bayer Filter Tool CamExpert supports the use of Bayer Filter cameras by providing a tool to select the Bayer filter mosaic pattern and to perform an auto white balance Color calibration can then be manually fine tuned with RGB gain and gamma adjustments X64 Xcelera CL PX4 User s Manual CamExpert Quick Start 33 The CamExpert Bayer filter tool supports using both software or hardware based decoding With boards that have Bayer filter decoding in hardware such as the X64 Xcelera CL PX4 requires loading the Bayer Decoder firmware CamExpert directly controls the hardware for high performance real time acquisitions from Bayer filter cameras When standard acquisition boards are used CamExpert performs software Bayer filter decoding using the host system processor Bayer Filter White Balan
77. e trigger did not generate a complete video line from the camera Note that due to jitter associated with using shaft encoders the acquisition device can delay a line trigger if a previous line has not yet completed This event is 44 e X64 Xcelera CL PX4 Reference X64 Xcelera CL PX4 User s Manual generated if a second line trigger comes in while the previous one is still pending This event is generated once per virtual frame The Sapera event value is CORACQ VAL EVENT TYPE LINE TRIGGER TOO FAST Shaft Encoder Reverse Count Overflow Event which indicates that the shaft encoder has travelled in the opposite direction expected and that the number of pulses encountered during that travel has exceeded the acquisition device counter The acquisition device will thus not be able to skip the appropriate number of pulses when the expected direction is detected The Sapera event value is CORACQ VAL EVENT TYPE SHAFT ENCODER REVERSE COUNT OVERFLOW Transfer Events Transfer events are the ones related to the transfer module Transfer events provide feedback on image transfer from onboard memory frame buffers to PC memory frame buffers Start of Frame The Start of Frame event is generated when the first image pixel is transferred from onboard memory into PC memory The Sapera event value is VAL EVENT TYPE START OF FRAME End of Frame The End of Frame event is generated when the last image pixel
78. efined HIGH for valid lines e LVAL Line Valid LVAL is defined HIGH for valid pixels e DVAL Data Valid DVAL is defined HIGH when data is valid e Spare A spare has been defined for future use All four enables must be provided by the camera on each Channel Link All unused data bits must be tied to a known value by the camera Camera Controls Four LVDS pairs are reserved for general purpose camera control defined as camera inputs and frame grabber outputs e Camera Control 1 CC1 e Camera Control 2 CC2 e Camera Control 3 CC3 e Camera Control 4 CC4 Note the X64 Xcelera CL PX4 by default implements the control lines as follows using Teledyne DALSA Corporation terminology 1 CC2 PRIN CC3 FORWARD CC4 HIGH Communication Two LVDS pairs have been allocated for asynchronous serial communication to and from the camera and frame grabber Cameras and frame grabbers should support at least 9600 baud e SerTFG Differential pair with serial communications to the frame grabber e SerTC Differential pair with serial communications to the camera The serial interface protocol is one start bit one stop bit no parity and no handshaking Camera Link Cables For additional information on Camera Link cables and their specifications visit the following web sites 3M http www 3m com interconnects enter Camera Link as the search keyword Nortech Systems http www nortechsys com interc
79. elera CL PX4 User s Manual Table 6 LED 1 Status Technical Specifications 65 D1 LED 2 Status Color State Description Red Solid No Camera 2 pixel clock detected Green Solid Camera 2 pixel clock detected No line valid detected Green Slow Flashing Camera 2 pixel clock and line valid signal detected 2 Hz Green Fast Flashing Camera 2 acquisition in progress 16 Hz Red Flashing PCIe Training Issue Board is not be detected by computer Camera pixel clock incorrectly connected to J3 instead of J2 Medium Full configuration Table 7 LED 2 Status J2 Camera Link Connector 1 Name BASE BASE X0 BASE X1 BASE 1 BASE X2 BASE 2 BASE X3 BASE 3 BASE XCLK BASE SERTC SERTC SERTFG SERTFG 1 1 2 2 CC3 CC3 CC4 CC4 PoCL GND Pin 25 12 24 11 23 10 21 22 20 19 18 17 16 15 1 26 13 14 Type Input Input Input Input Input Input Input Input Input Input Output Output Input Input Output Output Output Output Output Output Output Output Description Base Data 0 Pos Base Data 0 Base Data 1 Pos Base Data 1 Base Data 2 Pos Base Data 2 Base Data 3 Pos Base Data 3 Neg Neg Neg Neg Neg Base Clock Pos Base Clock Pos Serial Data to Camera Neg Serial Data to Camera Neg Serial Data to Frame Grabber Pos Serial Data to Frame Grabber Neg Camera Control 1 Pos Camera Control
80. eliability framework Acquisition Events Acquisition events are related to the acquisition module They provide feedback on the image capture phase External Trigger Used Ignored Generated when the external trigger pin is asserted usually indicating the start of the acquisition process There are 2 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 captured image 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 rate of the camera Start of Frame Event generated during acquisition when the connected sensor video frame start is detected by the board acquisition hardware The Sapera event value is CORACQ_VAL_EVENT_TYPE_START_OF_FRAME End of Frame Event generated during acquisition when the connected sensor video frame end is detected by the board acquisition hardware The Sapera event value is CORACQ_VAL_EVENT_TYPE_END_OF_FRAME Data Overflow The Data Overflow event indicates that there is not enough bandwidth for the acquired data to be transferred without loss This is usually caused by limitations of the acquisition module and should never occur The Sapera event val
81. essor memory systems PCI 64 A superset of the PCI specification providing a 64 bit data path and a 66 MHz clock Pixel Picture Element The number of pixels describes the number of digital samples taken of the analog video signal The number of pixels per video line by the number of active video lines describes the acquisition image resolution The binary size of each pixel i e 8 bits 15 bits 24 bits defines the number of gray levels or colors possible for each pixel RAW A Sapera data file format where there is no header information and that supports any Sapera buffer type Refer to the Sapera Basic Modules Reference Manual Buffer File Formats section RISC Reduced Instruction Set Computer A computer architecture that reduces chip complexity by using simpler instructions Scatter Gather Host system memory allocated for frame buffers that is virtually contiguous but physically scattered throughout all available memory Tap Data path from a camera that includes a part of or whole video line When a camera tap outputs a partial video line the multiple camera tap data must be constructed by combining the data in the correct order VIC Sapera camera parameter definition file that uses the file extension CVI by default Files using the CVI extension also know as VIC files contain all operating parameters related to the frame grabber board i e what the frame grabber can actually do with camera controls or incoming vide
82. f the Pixel Clock Pixel Clock must always be present VAL must be active high to acquire camera data Minimum of 1 Horizontal Blanking VB Vertical Blanking Minimum 1 clock cycle Minimum 1 Maximum limits Maximum no limits 7 First Active Pixel unless otherwise specified in the CCA file Horizontal Back invalid x where x defines the number of pixels to be skipped ast Active Pixel defined in the CCA file under Horizontal active y where y is the total number of active pixels per tap Maximum Valid Data 8 bits pixel x 256K Pixels line 16 bits pixel x 128K Pixels line 32 bits pixel x 64K Pixels line LVAL 64 bits pixel x 32K Pixels line LVAL 16 Millions lines FVAL 38 e X64 Xcelera CL PX4 Reference X64 Xcelera CL PX4 User s Manual Line Trigger Source Selection for Linescan Applications Linescan imaging applications require some form of external event trigger to synchronize linescan camera exposures to the moving object This synchronization signal is either an external trigger source one exposure per trigger event or a shaft encoder source composed of a single or dual phase quadrature signal The X64 Xcelera CL PX4 shaft encoder inputs provide additional functionality with pulse drop pulse multiply and pulse direction support along with error trapping event notifications such as External Line Trigger Too Fast
83. g screen shot a single X64 Xcelera CL PX4 Full board is installed in the system the default configuration is ready to be programmed 10 Installing X64 Xcelera CL PX4 X64 Xcelera CL PX4 User s Manual ecce EUN es 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 Xcelera CL 1 54785182 1 Full CameraLink Flat Field Correction Update Required Firmware Update Manual Mode Select Manual mode to load firmware other then the default version or when in the case of multiple X64 Xcelera CL PX4 boards in the same system each requires different firmware The figure below shows the Device Manager manual firmware screen Information on all installed X64 Xcelera CL PX4 boards their serial numbers and their firmware components are shown A manual firmware update is made as follows e Select the X64 Xcelera CL PX4 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 e 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 c Teledyne DALSA Device Manager v 3 34 x File Tools Help Firmware Update
84. his demo is built using Visual C 6 0 It is based on Sapera C classes See the Sapera User s and Reference manuals for more information Using the Grab Demo Server Selection Run the grab demo from the start menu StarteAll ProgramseTeledyne DALSAeSapera LTeDemoseFrame GrabberseGrab Demo The demo program first displays the acquisition configuration menu The first drop menu displayed permits selecting from any installed Sapera acquisition servers installed Teledyne DALSA acquisition hardware using Sapera drivers The second drop menu permits selecting from the available input devices present on the selected server Acquisition Configuration Xo Location Acquisition Server Acquisition Device 1 1 271 CameraLink Full Mono 81 r Dalsa 20 01 1 00 Default Area Scan 1 tap Mono Default Area Sca CADALSA S apera CamFiles User Browse If no Configuration file exists for your board camera you must run the CamE spert utility to generate your Configuration file CCF File Selection The acquisition configuration menu is also used to select the required camera configuration file for the connected camera Sapera camera files contain timing parameters and video conditioning parameters The default folder for camera configuration files is also used by the CamExpert utility to save user generated or modified camera files Use
85. ick Start Interfacing Cameras with CamExpert CamExpert is the camera interfacing tool for frame grabber boards supported by the Sapera library CamExpert generates the Sapera camera configuration file yourcamera ccf based on timing and control parameters entered For backward compatibility with previous versions of Sapera CamExpert also reads and writes the cca and cvi camera parameter files Every Sapera demo program starts by a dialog window to select a camera configuration file Even when using the X64 Xcelera CL PX4 with common video signals a camera file is required Therefore CamExpert 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 Monochrome Camera The image below shows CamExpert with the X64 Xcelera CL PX4 The camera outputs monochrome 8 bit video on a Camera Link interface After selecting the camera model the timing parameters are displayed and the user can test by clicking on Grab Descriptions of the CamExpert windows follows the image Cam xpert Untitled GCE Dai t Device Selector X Display Freeze Device 88 Xcelera CL_PX4_1 a FA20 01M1H 00 R CameraLink F Position x 463 y 370 Value OOCF Frame sec 40 2 f s Resolution 1392 Pixels x 1024 Lines Monochrome Configuration Select a camera file Optional x Category Parameter Value Ci
86. idual frame buffers requires more resources Add an additional 2 MB for various static and dynamic Sapera resources Add the amount of memory needed for DMA tables using the formula Sapera 7 10 and up number of frame buffers e number of lines 16 e line length in bytes 4kB Test for any memory error when allocating host buffers Simply use the Buffer menu of the Sapera Grab demo program see Grab Demo Overview on page 35 to allocate the number of host buffers required for your acquisition source Feel free to test the maximum limit of host buffers possible on your host system the Sapera Grab demo will not crash when the requested number of host frame buffers cannot be allocated 18 Installing X64 Xcelera CL PX4 X64 Xcelera CL PX4 User s Manual Host Computer Frame Buffer Memory Limitations When planning a Sapera application and its host frame buffers used plus other Sapera memory resources do not forget the Windows operating system memory needs A Sapera application using the preferred scatter gather buffers could consume most of the remaining system memory with a large allocation of frame buffers If using frame buffers allocated as a single contiguous memory block Windows will limit the allocation dependent on the installed system memory Use the Buffer menu of the Sapera Grab demo program to allocate host buffer memory until an error message signals the limit allowed by the operating system used Contiguous Memory for
87. ignals are active at all times These continually trigger the camera acquisition in order to avoid corrupted video lines at the beginning of a virtual frame e The camera control signals are either based on timing controls input on one or both X64 Xcelera CL PX4 shaft encoder inputs see J4 External Signals Connector on page 69 pinout or line triggers generated internally by the X64 Xcelera CL PX4 e The number of lines captured is specified by the Sapera vertical cropping parameter Synchronization Signals for a Virtual Frame of 10 Lines The following timing diagram shows the relationship between external Frame_Reset input external Shaft Encoder input one phase used with the second terminated and EXSYNC out to the camera Virtual Frame Trigger Shaft Encoder m m o Video 10 Lines n Lines Acquired Ignored Notes this example 10 lines are acquired The Maximum frame rate Max Line Rate nb lines Hz Out signal reference is relative to frame grabber CVI File VIC Parameters Used The VIC parameters listed below provide the control functionality for virtual frame reset Applications either load pre configured cvi files or change VIC parameters directly during ru
88. ile before installing for information on the minimum Sapera version required e If the ReadMe file does not specify the Sapera version contact Teledyne DALSA Technical Support see Technical Support on page 91 To upgrade the board driver only e Logon the computer as an administrator or with an account that has administrator privileges e In Windows XP from the start menu select Start e Settings e Control Panel e Add or Remove Programs Select the Teledyne DALSA Xcelera board driver and click Remove e Windows XP only e When the driver un install is complete reboot the computer e Logon the computer as an administrator again e In Windows Vista Windows 7 from the start menu select Start e Settings e Control Panel e Programs and Features Double click the Teledyne DALSA Xcelera board driver and click Remove e Install the new board driver Run Setup exe if installing manually from a downloaded driver file e If the new driver is on a Sapera CD ROM follow the installation procedure described in X64 Xcelera CL PX4 Driver on page 10 e Note that you can not install a Teledyne DALSA board driver without Sapera LT installed on the computer Sapera and Board Driver Upgrades When upgrading both Sapera and the acquisition board driver follow the procedure described below e Logon the computer as an administrator or with an account that has administrator privileges e In Windows XP from the start menu select Start e Settings e
89. ile 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 lastly save them as Camera Configuration file ccf e Finally if your camera type has never been interfaced run CamExpert after installing Sapera and the acquisition board driver select the board acquisition server and manually enter the camera parameters Using the Flat Field Correction Tool Flat Field Correction is the process of eliminating small gain differences between pixels in a sensor array That sensor when exposed to a uniformly lit field will have no gray level differences between pixels when calibrated flat field correction is applied to the image The CamExpert Flat Field tool functions with hardware supporting flat field processing X64 Xcelera CL PX4 Flat Field Support The X64 Xcelera CL PX4 supports hardware based real time Flat Field Correction when used with its dual Base or one Medium configuration Important Flat field and flat line correction impose limitations to the maximum acquisition frame rate Please contact the Teledyne DALSA support group for more details on camera specific maximum supported acquisition rates Loading the Required Camera File Select the required camera configuration file for the connected camera Verify the acquis
90. ine trigger signals and resolution of ius for all other signal When configuring the Camera Link control signals such as exposure control etc use values in increments of 1 us Note 2 The internal line trigger frequency has a 1ys resolution The X64 Xcelera CL PX4 can assign any camera control signal to the appropriate Camera Link control The following screen shot shows the Sapera CamExpert dialog where Camera Link controls are assigned Configuration Select a camera file Optional Parameters x Category Parameter Value Basic Timing Disabled anni Comal Internal Frame Trigger 30 Camera Control meth Time Integration External Trigger Time Integration Meth Image Buffer and ROI Camera Reset Method Method 1 None None Not Supported None Pulse 0 Not Used Not Used Not Used Camera Trigger Metho Camera Control Durin Strobe Method Setting ca cc Cc 4 Output Messages essages Grab button was clicked Descripti Enable Disable the acquisition device s intemal frame trigger feature area scan cameras only Freeze button was clicked Purpose With n for Time Int thi isition board controls the a camera configured for Time Integration acquisition controls Er buen camera exposure and frame read out The acquisition board must generate a frame trigger signal to control the camera s overa
91. ion stored in the X64 Xcelera CL PX4 firmware e Select Firmware to display version information for the firmware components e Select one of the firmware components to load custom firmware when supplied by Teledyne DALSA engineering for a future feature e Click on File e Save Device Info to save all information to a text file Email this file when requested by Technical Support Teledyne DALSA Log Viewer A step in the verification process is to save in a text file the information collected by the Log Viewer program Run the program via the Windows Start Menu shortcut Start e Programs e Teledyne DALSA e Sapera LT e Tools e Log Viewer The Log Viewer lists information about the installed board drivers Click on File e Save and you will be prompted for a text file name 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 On board Image Memory Requirements for Acquisitions The X64 Xcelera CL PX4 allocates by default two frame buffers in on board memory each equal in size to the acquisition frame buffer This double buffering memory allocation is automatic at the driver level Two buffers will ensure that the acquired video frame is complete and not corrupted in cases where the image transfer to host system memory may be interrupted and delayed by other host system processes That is the image acquisition to one frame buffer is not interrupted by
92. ion 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 1 is used As an example to save a response file in the same directory as the installation executable of the X64 Xcelera CL PX4 the command line would be X64 Xcelera CL 4 1 40 exe 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 X64 Xcelera CL 4 1 40 exe s fl Nsetup uninstall 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 Nsetup uninstall iss specifies that the setup uninstall iss file be in the same folder as the device driver installer 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 exte
93. is automatically reset External Signals Connector Bracket Assembly Type 1 The External Signals bracket OC X4CC IOCAB provides a simple way to bring out the signals from the External Signals Connector J4 to a bracket mounted DB37 Install the bracket assembly into an adjacent PC expansion slot and connect the free cable end to the board s J4 header When connecting to 24 make sure that the cable pin 1 goes to J4 pin 1 see the layout drawing X64 Xcelera CL PX4 Board Layout Drawing on page 62 Note For additional independent I O signals use the optional 1 module See Appendix X I O Module Option on page 80 External Signals Connector Bracket Assembly Type 1 Drawing DB37 5 Header 40 Pin mounted Flat cable 8 Female on bracket Label J4 Connector is notched for one way insertion 74 Technical Specifications X64 Xcelera CL PX4 User s Manual External Signals Connector Bracket Assembly Type 1 Pinout The following table defines the signal pinout on the DB37 connector Refer to the table J4 External Signals Connector on page 69 for signal descriptions DB37 Pin Number Signal J Connector Pin Number 1 Ground 1 20 Ground 2 2 General Input 1 3 21 General Input 1 4 3 General Input 2 5 22 General Input 2 6 4 General Input 3 7 23 General Input 3 8 5 General Input 4 9 24 General Input 4 10 6 General Ou
94. ition with the live grab function Make camera adjustments to get good images Set up Dark and Bright Acquisitions with the Histogram Tool Before performing calibration verify the acquisition with a live grab Also at this time make preparations to grab a flat light gray level image required for the calibration such as a clean evenly lighted white wall or non glossy paper with the lens slightly out of focus Ideally a controlled diffused light source aimed directly at the lens should be used Note the lens iris position for a bright but not saturated image Additionally check that the lens iris closes well or have a lens cover to grab the dark calibration image Verify a Dark Acquisition Close the camera lens iris and cover the lens with a lens cap Using CamExpert click on the grab button and then the histogram button The following figure shows a typical histogram for a very dark image 30 e CamExpert Quick Start X64 Xcelera CL PX4 User s Manual Statistics Histogram 1102026 881621 661216 440810 220405 T 255 Selected vibw Histogram Statistics Minimum value Maximum value Max Min Average value Standard deviation Buffer 5 Indicates one or more Tel 16 hot pixels 186 8 0 76 Average dark pixel value B Important In this example the average pixel value for the frame is close to black Also note that most sensors will show a
95. l Driver Yes CorPci Sapera PCI configuration Kernel Driver Yes CorSerial Sapera Serial Port manager Kernel Driver Yes Teledyne DALSA Technical Support may request that you check the status of these drivers as part of the troubleshooting process Recovering from a Firmware Update Error This procedure is required if any failure occurred while updating the X64 Xcelera CL PX4 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 e Computer system mains power failure or deep brown out e PCI bus or checksum errors e PCI bus timeout conditions due to other devices e User forcing a partial firmware upload using an invalid firmware source file When the X64 Xcelera CL PX4 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 e Note that this procedure may require removing the X64 Xcelera CL PX4 board sever
96. le buffering memory 26 driver upgrade 15 E Embedded Windows answer files 58 End of Frame event 47 End of Transfer event 47 External Signals Connector 41 42 44 72 78 79 External Signals Connector Bracket Assembly 42 77 79 F failure firmware upgrade 24 Firmware Loader 10 firmware revision 17 firmware selection 6 Flat Field Correction 32 Found New Hardware Wizard 9 frame buffer 18 44 Frame Lost event 46 Frame Sync 44 FRAME RESET 44 HyperTerminal 8 16 I I O available capabilities 88 I O Device O 88 I O Device 1 88 I O flash memory 88 I O input event 89 I O input trip points 87 I O interface cable 84 I O interrupts 89 I O NPN output mode 88 I O output modes 83 I O PNP output mode 88 I O power up state 88 I O sample code 88 I O source code 90 I O Tristate output mode 88 image processing 5 Imaging drivers 24 Industrial level mode 87 input logic level 88 input pin status 89 input pull up resistor 85 installer response file 12 13 L launch exe 10 Line Scan 7 42 Log Viewer program 26 X64 Xcelera CL PX4 User s Manual LUT availability 48 LVDS pairs 71 M MDR 26 66 Micro switches 66 multi board sync 80 N National Semiconductor 81 NPN mode 85 O opto coupled input specs 87 out of memory error 18 output sink current 86 output source current 87 P PCI bus latency 45 PCI Bus Number 23 PCI configuration registers 22 PCI configuration space 22 25 27 PCI conflic
97. ler response time is 0 8us for a rising signal e Opto coupler response time is 1 7us for a falling signal e When using a single ended TTL signal the minimum current to drive or sink is calculated with the following formula e current required TTV Voltage Level 1 5V 220 For example for a 5V TTL signal the minimum current is 16mA e Fora typical single ended TTL signal connection e Connect SE to TTL output signal 72 Technical Specifications X64 Xcelera CL PX4 User s Manual e Connect SE to TTL signal ground e The TTL output signal must be able to drive enough current based on the formula given above e Alternate single ended TTL signal connection e Connect SE to VCC e Connect SE to TTL output signal e The TTL output signal must be able to sink enough current based on the formula given above e See Line Trigger Source Selection for Linescan Applications on page 39 for more information e Refer to Sapera parameters CORACQ PRM SHAFT ENCODER ENABLE CORACQ PRM SHAFT ENCODER DROP CORACQ PRM SHAFT ENCODER MULTIPLY or refer to CORACQ PRM EXT LINE TRIGGER ENABLE CORACQ PRM EXT LINE TRIGGER DETECTION CORACQ PRM EXT LINE TRIGGER LEVEL fixed at RS 422 CORACQ PRM EXT LINE TRIGGER SOURCE See also cvi file entries Shaft Encoder Enable Shaft Encoder Pulse Drop or see External Line Trigger Enable External Line Trigger Detection External Line Trigger Level External Line Trigger Source Note 5 Strobe
98. ll frame rate 8 Cambxpert Untitied E 4 A ENT File View Pre Processing Advanced CameraLinkPort Help Dc Device Selector X Display Device HD XceersCL PX4 1 7 CameraLink Full Mono 1 ul Resolution 1392 Pixels 1024 Lines Refer to Sapera Parameter CORACG_PRM_INT_FRAME_ in Manual f RIGGER_ENABLE Output Messages Video status Pixel Clock Present Frame Valid Present Line Valid Present 68 Technical Specifications X64 Xcelera CL PX4 User s Manual J External Signals Connector J4 Pin Header Numbering Detail 2 4 1 3 2 38 40 eO 37 39 J4 Signal Descriptions Description Pin Pin Description Ground 1 2 Ground General Input 1 3 4 General Input 1 see note 1 General Input 2 5 6 General Input 2 General Input 3 7 8 General Input 3 General Input 4 10 General Input 4 General Output 1 11 12 General Output 1 see note 2 General Output 2 13 14 General Output 2 General Output 3 15 16 General Output 3 General Output 4 17 18 General Output 4 External Trigger Input 1 19 20 External Trigger Input 1 see note 3 External Trigger Input 2 21 22 External Trigger Input 2 Shaft Encoder Phase A 23 24 Shaft Encoder Phase A see note 4 Shaft Encoder Phase B 25 26 Shaft Encoder Phase B Ground 27 28 Strobe Output 1
99. meraLink Medium Mono 1 CameraLink Medium Color RGB 1 CameraLink Bayer 1 CameraLink 10 Taps Parallel Mono 1 CameraLink Base Mono 1 CameraLink Base Mono 2 CameraLink Bayer 1 CameraLink Bayer 2 CORACQ_PRM_EVENT_TYPE CORACQ_VAL_EVENT_TYPE_START_OF_FRAME CORACQ_VAL_EVENT_TYPE_END_OF_FRAME CORACQ_VAL_EVENT_TYPE_EXTERNAL_TRIGGER CORACQ_VAL_EVENT_TYPE_VERTICAL_SYNC CORACQ_VAL_EVENT_TYPE_NO_PIXEL_CLK CORACQ_VAL_EVENT_TYPE_PIXEL_CLK CORACQ_VAL_EVENT_TYPE_FRAME_LOST CORACQ_VAL_EVENT_TYPE_DATA_OVERFLOW CORACQ_VAL_EVENT_TYPE_EXTERNAL_TRIGGER_IGNORED CORACQ_VAL_EVENT_TYPE_VERTICAL_TIMEOUT CORACQ_VAL_EVENT_TYPE_EXT_LINE_TRIGGER_TOO_SLOW CORACQ_VAL_EVENT_TYPE_LINE_TRIGGER_TOO_FAST CORACQ_VAL_EVENT_TYPE_SHAFT_ENCODER_REVERSE_COUNT_OVERFLOW CORACQ_PRM_SIGNAL_STATUS CORACQ_VAL_SIGNAL_HSYNC_PRESENT CORACQ_VAL_SIGNAL_VSYNC_PRESENT CORACQ_VAL_SIGNAL_PIXEL_CLK_1_PRESENT CORACQ VAL SIGNAL PIXEL 2 PRESENT CORACQ VAL SIGNAL PIXEL CLK 3 PRESENT CORACQ VAL SIGNAL PIXEL CLK ALL PRESENT CORACQ VAL SIGNAL POWER PRESENT CORACQ VAL SIGNAL POCL ACTIVE CORACQ PRM FLAT FIELD SELECT 0 CORACQ PRM FLAT FIELD Medium Full Mono 10 taps TRUE ENABLE FALSE color RGB Bayer Not Available CORACQ CAP FLAT FIELD OFFSET min 0 max 255 step 1 CORACQ_CAP_FLAT_FIELD_GAIN min 1 max 255 step 1 CORACQ_CAP_FLAT_FIELD_GAIN_DIVISOR 0x80 CORACQ_CAP_FLAT_FIELD_PIXE
100. meter Values CORACQ_PRM_CHANNEL Medium Full Mono Base Medium RGB Bayer 10 taps CORACQ_VAL_CHANNEL_SINGLE 0x1 CORACQ_VAL_CHANNEL_DUAL 0x2 CORACQ_VAL_CHANNEL_SINGLE 0x1 CORACQ_PRM_FRAME CORACQ_VAL_FRAME_PROGRESSIVE 0x2 CORACQ_PRM_INTERFACE CORACQ_VAL_INTERFACE_DIGITAL 0x2 CORACQ_PRM_SCAN Bayer not supported EXCEPT Bayer Method 6 CORACQ_VAL_SCAN_AREA 0x1 CORACQ_VAL_SCAN_LINE 0x2 CORACQ_PRM_SIGNAL CORACQ_VAL_SIGNAL_DIFFERENTIAL 0x2 CORACQ_PRM_VIDEO Mono VAL VIDEO MONO 0x1 color RGB CORACQ VAL VIDEO RGB 0x8 Bayer CORACQ VAL VIDEO BAYER 0x10 CORACQ PRM PIXEL DEPTH mono 8 bits LUT 1 LUT format CORDATA FORMAT 8 10 bits LUT 1 LUT format CORDATA FORMAT MONO10 10 bits LUT 1 LUT format CORDATA FORMAT 8 12 bits LUT 1 LUT format CORDATA FORMAT MONO12 12 bits LUT 1 LUT format CORDATA FORMAT 8 14 bits LUT 0 LUT format CORDATA FORMAT MONO14 16 bits LUT 0 LUT format CORDATA FORMAT MONO16 color RGB 8 bits LUT 1 LUT format CORDATA FORMAT COLORNIS8 10 bits 4 LUT 1 LUT format CORDATA FORMAT COLORNI10 12 bits LUT 1 LUT format CORDATA FORMAT COLORNI12 Bayer 8 bits LUT 1 LUT format CORDATA FORMAT COLORNIS8 Bayer Method 6 10 taps 10 bits LUT 1 LUT format CORDATA FORMAT COLORNI10 12 bits LUT 0 LUT format CORDATA_FORMAT_COLORNI10 8 bits L
101. n 1 1 January 2004 The Automated Imaging Association AIA as sponsor of the Camera Link committee owns the U S trademark registration for the Camera Link logo as a certification mark for the mutual benefit of the industry The AIA will issue a license to any company member or non member to use the Camera Link logo with any products that the company will self certify to be compliant with the Camera Link standard Licensed users of the Camera Link logo will not be required to credit the AIA with ownership of the registered mark 3M is a trademark of the 3M Company Channel Link is a trademark of National Semiconductor Flatlink is a trademark of Texas Instruments Panel Link is a trademark of Silicon Image Data Port Summary The Camera Link interface has three configurations A single Camera Link connection is limited to 28 bits requiring some cameras to have multiple connections or channels The naming conventions for the three configurations are e Base Single Channel Link interface single cable connector e Medium Two Channel Link interface two cable connectors e Full Three Channel Link interface two cable connectors A single Camera Link port is defined as having an 8 bit data word The Full specification supports 8 ports labeled as A to H 78 Camera Link Interface X64 Xcelera CL PX4 User s Manual Camera Signal Summary Video Data Four enable signals are defined as FVAL Frame Valid FVAL is d
102. ncoder Phase B From Shaft Encoder Phase A amp B From Board Sync To Board Sync Pulse to Board Sync To Board Sync When Grabbing Won gn m n m nea UON L CORACQ_PRM_VERTICAL_TIMEOUT_DELAY min 0 max 16383000 step 1 CORACQ_PRM_BAYER_DECODER_SATURATION_FACTOR Bayer min 0 max 65535 step 1 CORACQ_PRM_BAYER_DECODER_SATURATION_WEIGHT _RED Bayer min 0 max 65535 step 1 CORACQ_PRM_BAYER_DECODER_SATURATION_WEIGHT _GREEN Bayer min 0 max 65535 step 1 54 e X64 Xcelera CL PX4 Reference X64 Xcelera CL PX4 User s Manual CORACQ_PRM_BAYER_DECODER_SATURATION_WEIGHT Bayer 0 _BLUE max 65535 step 1 CORACQ_PRM_POCL_ENABLE TRUE FALSE CORACQ_PRM_SHAFT_ENCODER_SOURCE Not available CORACQ_PRM_SHAFT_ENCODER_SOURCE_STR Not available CORACQ_PRM_SHAFT_ENCODER_DIRECTION CORACQ_VAL_SHAFT_ENCODER_DIRECTION_IGNORE 0x00 CORACQ_VAL_SHAFT_ENCODER_DIRECTION_FORWARD 0x01 CORACQ_VAL_SHAFT_ENCODER_DIRECTION_REVERSE 0x02 CORACQ_PRM_LINE_TRIGGER_AUTO_DELAY CORACQ_VAL_LINE_TRIGGER_AUTO_DELAY_DISABLE CORACQ_VAL_LINE_TRIGGER_AUTO_DELAY_FREQ_MAX Table 3 VIC Related Parameters ACQ Related Parameters Parameter Values CORACQ_PRM_LABEL Full mono Medium mono color RGB Full Medium Bayer 10 taps Dual mono Dual Bayer CameraLink Full Mono 1 Ca
103. ncoder inputs allow synchronized line captures from external web encoders About the Optional X I O Module The optional X I O module adds independent general purpose software controllable I O signals to the X64 Xcelera CL PX4 The X I O module provides 2 opto coupled inputs 6 logic signal inputs 5V or 24V and 8 TTL outputs NPN or PNP type selectable The module also makes available 5V or 12V dc power from the host system The X I O module can be either purchased with the X64 Xcelera CL PX4 board or installed into the computer system at a later time The module occupies one adjacent PCI slot and connects to the X64 Xcelera CL PX4 via a ribbon cable X I O Module external connections are made via the DB37 connector on the module bracket X I O requires X64 Xcelera CL PX4 board driver version 1 00 or later and Sapera LT version 6 0 or later See Appendix X I O Module Option on page 80 for details and specifications Development Software Overview Saperat LT Library 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 Applications are developed using either or NET frameworks Sapera LT comes bundled with
104. ndependent TTL Strobe outputs Quadrature phase A amp B shaft encoder inputs for external web synchronization opto coupler maximum frequency for any shaft encoder input is 200 KHz 4 opto coupled general inputs 5V 24V 4 opto coupled general outputs Output Lookup Table one 8 bit in 8 bit out one 10 bit in 10 bit out one 12 bit in 12 bit out three 8 bit in 8 bit out RGB See section Output LUT Availability page 46 for details Bayer Mosaic Filter Hardware Bayer Engine supports one 8 10 or 12 bit Bayer camera input Bayer output format supports 8 or 10 bit RGB pixel Zero host CPU utilization for Bayer conversion Flat Field Correction Shading Correction Real time Flat line and Flat field correction Compensates for sensor defects such as FPN PRNU defective pixels and variations between pixels due to the light refraction through a lens Shading effect PRNU Photo Response Non Uniformity PRNU is the variation in response between sensor pixels FPN Fixed Pattern Noise FPN is the unwanted static variations in response for all pixels in the image X64 Xcelera CL PX4 User s Manual Technical Specifications 59 Host System Requirements X64 Xcelera CL PX4 Dimensions Approximately 6 5 in 16 6 cm wide by 4 in 10 cm high General System Requirements for the X64 Xcelera CL PX4 e PCI Express x4 slot or x8 slot compatible e On some computers the X64 Xcelera CL PX4 may f
105. ng 2 62 Connector Switch Jumper Description 1 6 nnn 62 CONNECTOR AND SWITCH 5 nemen eene enne nnn 63 X64 Xcelera CL PX4 End Bracket Detail eene nnne 63 Configuration Micro switches 2 99 63 SW1 General Inputs Signal Switch 4 42 2 0 4 64 SW2 Trigger Inputs Signal Switch 64 SW3 Normal Safe Boot Mode amp 2 Slot Workaround 64 SW3 1 Boot Mode 5 2 2 6 64 SW3 2 GEN2 Slot Workaround 5 1 ene 64 Status LEDs Functional Description hn 65 J2 Camera Link Connector 1 6 nhau suae sea EEEE 66 J3 Camera Link Connector 2 67 Camera Link Camera Control Signal Overview 68 J4 External Signals 69 Note 1 General Inputs 69 Note 2 General Outputs 70 Note 3 External Trigger Input
106. ng with a full description of your computer Diagnostic XO PCI bus 1 0 range Number Bus 2 Range 1 0 0 00000000 0 00000000 Mem Oxf f00000 Oxf 7fffiif Pref 05000000000000000 0 000000 0000000010000000 00000000103fffff DALSA 2 0 0 Information No conflict in PCI configuration for bus 2 Display warnings Save OK 2 Windows Device Manager In Windows use the Start Menu shortcut Start e Settings e Control Panel e System e Hardware e Device Manager As shown in the following screen images look for X64 Xcelera CL PX4 board under Imaging Devices Double click and look at the device status You should see This device is working properly Go to Resources tab and make certain that the device is mapped and has an interrupt assigned to it without any conflicts 284 Device Manager Erik File Action View Help 1010 s DELL380_VISTA32 89 488 Computer Hg Disk drives Display adapters 89 54 DVD CD ROM drives 5 Human Interface Devices 9 IDE ATA ATAPI controllers 534 Imaging devices 251 X64 Xcelera CL PX4 Board Keyboards a f Mice and other pointing devices H E Monitors H A Network adapters Ports COM amp LPT Processors a a Sound video and game controllers Storage controllers 4 49 System devices 4j Universal Serial Bus controllers
107. nsion 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 Install the board driver and get CorAppLauncher exe from the bin directory of the installation When running the installation CorAppLauncher exe will return only when the installation is finished When run from within a batch file obtain the installation exit code from the ERRORLEVEL value arguments to CorAppLauncher exe are Launch application f Application to launch Specify a fully qualified path As an example CorAppLauncher l f c Mdriver installX64 xcelera cl 4 1 40 exe IF ERRORLEVEL NEQ 0 goto launch error X64 Xcelera CL PX4 User s Manual Installing X64 Xcelera CL PX4 e 13 bit or 64 bit Windows Note There is a 32 bit
108. ntime Note Camera file parameters are best modified by using the Sapera CamExpert program 42 e X64 Xcelera CL PX4 Reference X64 Xcelera CL PX4 User s Manual External Frame Trigger Enable X where with Virtual Frame Trigger enabled e If X 1 External Frame Trigger is enabled e If X 0 External Frame Trigger is disabled External Frame Trigger Detection Y where with Virtual Frame Trigger edge select e If Y 1 External Frame Trigger is active low e If Y 2 External Frame Trigger is active high e If Y 4 External Frame Trigger is active on rising edge e If Y 8 External Frame Trigger is active on falling edge e If Y 32 External Frame Trigger is dual input rising edge e If Y 64 External Frame Trigger is dual input falling edge e External Frame Trigger Level Z where with Virtual Frame Trigger signal type e If Z 2 External Frame Trigger is a RS 422 signal Note For information on camera files see the Sapera Acquisition Parameters Reference Manual OC SAPM APROO Acquisition Methods Sapera acquisition methods define the control and timing of the camera and frame grabber board Various methods are available grouped as e Camera Trigger Methods method 1 and 2supported e Camera Reset Methods method 1 supported e Line Integration Methods method 1 through 4 7 supported e Time Integration Methods method 1 through 9 supported e Strobe Methods method 1 through 4 s
109. o X64 Xcelera CL PX4 User s Manual Glossary of Terms 93 Index 10 tap format 49 A Acquisition and Control Unit 45 acquisition bandwidth 27 Acquisition events 46 acquisition module 46 acquisition parameters 37 ACUPlus 7 administrator 15 AUTORUN 10 B Bayer Filter Decoding 6 7 Bayer Mosaic Filter 35 Block Diagram 39 BoardInfo txt 17 25 boot recovery mode 25 buffer output supply voltage 86 cables 66 calibration information 26 camera configuration file 29 camera control 16 71 Camera file 32 37 43 44 Camera Link 8 66 71 81 Camera Link cabling 16 Camera Link control 71 camera power 66 camera timing 29 CamExpert 37 43 44 CamExpert parameters 29 communication ports 8 computer administrator 9 connector location 84 Contiguous Memory 18 CORACQ PRM EXT LINE TRIGGER DETECTION 76 CORACQ PRM EXT LINE TRIGGER ENABLE 76 CORACQ PRM EXT LINE TRIGGER LEVEL 76 CORACQ PRM EXT LINE TRIGGER SOURCE 76 CORACQ PRM EXT TRIGGER DETECTION 74 CORACQ PRM EXT TRIGGER ENABLE 74 CORACQ PRM EXT TRIGGER LEVEL 74 CORACQ PRM SHAFT ENCODER DROP 76 CORACQ PRM SHAFT ENCODER ENABLE 76 CORACQ PRM SHAFT ENCODER LEVEL 76 CORACQ PRM STROBE DELAY 76 CORACQ PRM STROBE DURATION 76 CORACQ PRM STROBE ENABLE 76 CORACQ PRM STROBE LEVEL 76 CORACQ PRM STROBE METHOD 76 CORACQ PRM STROBE POLARITY 76 94 e Index D Data Overflow event 46 Data Transfer Engine 7 Device Manager 10 17 25 88 device report 17 doub
110. o note that sensors may show a much higher maximum or a much lower minimum pixel value due to one or more hot or dead pixels The sensor specification accounts for a small number of hot stuck or dead pixels pixels that do not react to light over the full dynamic range specified for that sensor Once the bright gray acquisition setup is done note the camera position and lens iris position so as to be able to repeat it during the calibration procedure Flat Field Correction Calibration Procedure Calibration is the process of taking two reference images one of a black field one of a light gray field not saturated to generate correction data for images captured by the CCD Each CCD pixel data is modified by the correction factor generated by the calibration process so that each pixel now has an identical response to the same illumination Start the Flat Field calibration tool via the CamExpert menu bar Tools e Flat Field Correction e Calibration Flat Field Calibration Window The Flat Field calibration window provides a three step process to acquire two reference images and then save the flat field correction data for the camera used To aid in determining if the reference images are valid a histogram tool is provided so that the user can review the images used for the correction data 32 CamExpert Quick Start X64 Xcelera CL PX4 User s Manual Flat Field Correction No Image to display a histogram from 1000
111. ograms e Teledyne DALSA e X64 Xcelera CL PX4 Device Driver e Device Manager Device Manager Board Viewer The following screen image shows the Device Manager program with the Information Firmware tab active The left window displays all X64 Xcelera CL PX4 boards in the system and their individual device components The right window displays the information stored in the selected board device This example screen shows the X64 Xcelera CL PX4 information contained in the EEProm component The X64 Xcelera CL PX4 device manager report file BoardInfo txt is generated by clicking File e Save Device Info This report file may be requested by Teledyne DALSA Technical Support to aid in troubleshooting installation or operational problems FC DALSA Device Manager v 3 06 oog Help Device Info Manager El Firm ACU DTE PCle x4 Interface Vendor ID Sub Template Version Board Model Evaluation Board Device Info Firmware Update Output X64 Xcelera CL PX4 User s Manual Installing X64 Xcelera CL PX4 e 17 Configuring Sapera Viewing Installed Sapera Servers The Sapera configuration program Start e All Programs e Teledyne DALSA e Sapera LT e 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
112. on CameraLinkMain htm X64 Xcelera CL PX4 User s Manual Camera Link Interface e 79 Appendix X I O Module Option X I O Module Overview The X I O module requires X64 Xcelera CL PX4 board driver version 1 00 or later and Sapera LT version 5 30 or later Occupies an adjacent slot to the X64 Xcelera CL PX4 Slot can be either PCI 32 or PCI 64 no PCI signals or power are used Connects to the X64 Xcelera CL PX4 via a 16 pin flat ribbon cable J23 on X I O to J6 on X64 Xcelera CL PX4 The 1 signals supplement the external signal I O available on the main board The two sets of I O are independent of each other X I O provides 8 outputs software selectable as NPN current sink or PNP source driver type drivers See Outputs in NPN Mode Electrical Details on page 82 and Outputs in PNP Mode Electrical Details on page 83 X I O provides 2 opto coupled inputs See Opto coupled Input Electrical Details on page 84 1 provides 6 TTL level inputs with software selectable transition point See TTL Input Electrical Details on page 84 1 provides both 5 volt and 12 volt power output pins on the DB37 where power comes directly from the host system power supply J26 Onboard flash memory to store user defined power up I O states X I O Module Connector List amp Locations 422 124 DB37 female X I O revision A2 80 Appendix X I O Module Option X64 Xcelera CL PX4 User s
113. on 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 Note in this example the X64 Xcelera CL PX4 was installed with firmware to support a monochrome Camera Link camera e Configuration Select the timing for a specific camera model included with the Sapera installation or a standard video standard The User s subsection is where user created camera files are stored X64 Xcelera CL PX4 User s Manual CamExpert Quick Start e 27 Parameter Groups Select a function category and change parameter values as required Descriptions for the camera parameters change dependent on the camera The following information was obtained by using a Teledyne DALSA Falcon camera e Camera Information Provides static camera parameters along with a dialog to save a user setup e Camera Control Basic and advanced parameters used to define the timing and pixel type of the camera Select the pixel mode Horizontal active resolution Vertical Resolution for area scan sensors Pixel Clock frequency Camera sensor readout type Binning etc dependent on the camera used This group is sufficient to configure a free running camera e External Trigger Parameters to configure the external trigger characteristics e Image Buffer and ROI Control of the host buffer dimension and format e Display An important component of CamExpert is its live acqui
114. on mode The program code may be extracted for use within your own application Remarks This demo is built using Visual C 6 0 It is based on Sapera classes See the Sapera User s and Reference manuals for more information Using the Flat Field Demo Refer to the Sapera LT User s Manual OC SAPM USER in section Using the Flat Field Demo for more information 36 Sapera Demo Applications X64 Xcelera CL PX4 User s Manual X64 Xcelera CL 4 Reference Full Block Diagram MDR26 1 Grab Controls LVDS Drivers and Receiver ty x gt UART 1 Data amp Grab Controls Dual Strobe Dual Shaft Encoder Opto coupled Opto coupled Opto coupled Opto coupled Dual Trigger In Aux Slot Quad general Inputs Quad general Outputs Controller X64 Xcelera CL PX4 Simplified Block Diagram ACU Plus Frame Buffer and DMA table Memory 128 MB DTE Data Transfer Engine with OLUT Control PCI Express X4 Controller Host PCI Express X4 or greater Slot X64 Xcelera CL PX4 User s Manual X64 Xcelera CL PX4 Reference e 37 Acquisition Timing A LVALIFVAL PUES Minimum 15ns 3 nid ue sync FVAL 7 Vsync e ve is setup times for LVAL and FVAL are the same Both must be high and stable before the rising edge o
115. onfiguration template provided by Microsoft in the Windows Embedded 7 installation also provides the necessary dependencies for Sapera LT and Teledyne DALSA framegrabbers with an OS footprint of approximately 1 5 GB If you are installing other applications on the Windows Embedded 7 platform it is recommended that you verify which components are required and if necessary create a corresponding Answer File For more information on performing dependency analysis to enable your application on Windows Embedded 7 refer to the Microsoft Windows Embedded 7 documentation 56 e X64 Xcelera CL PX4 Reference X64 Xcelera CL PX4 User s Manual Sapera Servers amp Resources Servers and Resources The following table describes the X64 Xcelera CL PX4 Full board Servers Resources Name Type Xcelera CL PX4 1 default firmware with FFC Acquisition Xcelera Acquisition CL PX4 1 10 tap firmware Xcelera Acquisition CL PX4 1 Bayer firmware Name CameraLink Full Mono CameraLink Medium Color RGB 1 CameraLink 10 Tap Parallel Mono 1 CameraLink Bayer 1 Description Full configuration monochrome output Camera 1 Medium configuration RGB output Camera 1 Full configuration 10 Tap Format 2 Camera 1 Base Medium or Full configuration Bayer Decoder Camera 1 The following table describes the X64 Xcelera CL PX4 Dual board Servers Resources Name Type Xcelera CL PX4 1 default Base
116. parameters e External signal assignment CVI File Details Legacy files using the CVI extension contain all operating parameters related to the frame grabber board what the frame grabber can actually do with camera controls or incoming video The Sapera parameter groups within the file are e Activate and set any supported camera control mode or control variable e Define the integration mode and duration e Define the strobe output control e Allocate the frame grabber transfer ROI the host video buffer size and buffer type RGB888 RGB101010 MONO8 MONO16 e Configuration of line frame trigger parameters such as source internal via the frame grabber external via some outside event electrical format TTL RS 422 OPTO isolated and signal active edge or level characterization X64 Xcelera CL PX4 User s Manual CamExpert Quick Start 29 Camera Interfacing Check List Before interfacing a camera from scratch with CamExpert e Confirm that Teledyne DALSA has not already published an application note with camera files http www teledynedalsa com imaging support e Confirm that the correct version or board revision of X64 Xcelera CL PX4 is used Confirm that the required firmware is loaded into the X64 Xcelera CL PX4 e Confirm that Sapera does not already have a cca file for your camera installed on your hard disk If there is a cca file supplied with Sapera then use CamExpert to automatically generate the ccf f
117. poses two instances of CamExpert be run on the system with the frame grabbers installed Hardware Connection Interconnect two three or four X64 Xcelera boards via their J9 connector The 4 pin cable is wired one to one i e no crossed wires The cable must be as short as possible and the boards must be in the same system Master Board Software Setup Choose one X64 Xcelera as master The Sapera parameter CORACQ PRM EXT TRIGGER SOURCE is set to either Mode 1 Output to Board Sync or Mode 2 Control pulse to Board Sync Other parameters are set as for any external trigger application such as External Trigger enable detection and level See Sapera documentation for more details 1 Output to Board Sync In this mode the external trigger signal received by the board is sent to Board Sync without any qualification by the Master The signal output on Board Sync will have a fixed polarity and duration The time between the reception of the external trigger signal on the Master after the opto coupler and the signal sent to Board Sync will be less than 25 nsec Mode 2 Control pulse to Board Sync In this mode the external trigger signal received is first processed by the Master If the decision is made to use the trigger ie not ignored the CC1 signal output by the Master will also be replicated to the Board Sync with the same polarity and duration The time between the reception of the external trigger signal on the
118. pport e Try the board in a different PCIe slot if available X64 Xcelera CL PX4 User s Manual Troubleshooting Problems e 25 Symptoms X64 Xcelera CL PX4 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 power is connected to the camera Verify the camera and timing parameters with the camera in free run mode Verify you can grab with the camera in free run mode Make certain that you provide an external trigger if the camera configuration file requires one Use the software trigger feature of CamExpert if you do not have a trigger source Make certain that the camera is properly connected to the cable Make certain that the camera is configured for the proper mode of operation This must match the camera configuration file Refer to your camera datasheet Try to snap one frame instead of continuous grab Perform all installation checks described in this section before contacting Technical Support Symptoms Card grabs black You are able to use Sapera CamExpert the displayed frame rate is as expected but the display is always black Set your camera to manual exposure mode and set the exposure to a longer period plus open the lens iris Try to snap one frame instead of continuous grab Make certain that the input LUT is not programmed to output all 0 s This problem is sometimes caused by a PCIe transfer issue No PCIe transfer takes place so th
119. quisition bandwidth is less than expected on page 26 Troubleshooting Procedures The following sections provide information and solutions to possible X64 Xcelera CL PX4 installation and functional problems These topics are summarized in the previous section of this manual Checking for PCI Bus Conflicts 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 examination of the PCI configuration registers and can save this information to a text file Run the program via the Windows Start Menu shortcut Start e All Programs e Teledyne DALSA e Sapera LT e Tools e PCI Diagnostics As shown in the following screen image use the first drop menu to select the PCI device to examine Select the device 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 Ls PCI Diagnostic 2 1 e 25 PCI device X64 Xcelera CL PX4 from DALSA bus 2 slot 0 function 0 Device enabled Rescan devices Refresh Hex dump Vendor ID 0511 Rev ID 0401 Latency 0500 0 3 5 Ox00 gt 0 250011 Device ID 042500 IntLine 010 Min Grant 0500 C 16 bit
120. r The response file is automatically named setup iss and is saved in the windows folder If a specific directory is desired the switch is used As an example to save a response file in the same directory as the installation executable of the X64 Xcelera CL PX4 the command line would be X64 Xcelera CL 4 1 40 exe r f1 setup iss 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 X64 Xcelera CL PX4 1 40 exe s f1 setup 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 setup iss specifies that the setup iss file be in the same folder as the device driver installer Note On Windows Vista Windows 7 or Windows 8 the Windows Security dialog box will appear unless one has already notified Windows to Always trust software from Teledyne DALSA Inc during a previous installation of a driver 12 Installing X64 Xcelera CL PX4 X64 Xcelera CL PX4 User s Manual 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 installat
121. ring a camera and thus not miss a line Note that some cameras integrate this feature See also the event Line Trigger Too Fast that can be enabled when using the auto delay feature The example figure below shows shaft encoder signals with high jitter If the acquisition is triggered when phase B follows phase A with jitter present phase B may precede phase A Use of the Shaft Encoder Direction parameter will prevent false trigger conditions Shaft Encoder phase A Shaft Encoder phase B Figure 3 Using Shaft Encoder Direction Parameter Note Camera file parameters are best modified by using the Sapera CamExpert program CVI CCF File Parameters Used Shaft Encoder Enable X where e IfX 1 Shaft Encoder is enabled e If X 0 Shaft Encoder is disabled Shaft Encoder Pulse Drop X where e X number of trigger pulses ignored between valid triggers Shaft Encoder Pulse Multiply X where e number of trigger pulses generated for each shaft encoder pulses Shaft Encoder Direction X where e X 0 Ignore direction e X 1 Forward steps are detected by pulse order forward motion e X 2 Forward steps are detected by pulse order B A reverse motion For information on camera configuration files see the Sapera Acquisition Parameters Reference e Note The Multiply operation is done first followed by the drop operation Manual OC SAPM APROO X64 Xcelera CL PX4 U
122. s In addition Teledyne DALSA technical support will ask for the log file of messages by board drivers Follow the instructions describe in Teledyne DALSA Log Viewer on page 25 Firmware update error There was an error during the board firmware update procedure This usually is easily corrected by the user Follow the instructions Recovering from a Firmware Update Error on page 23 Installation went well but the board doesn t work or stopped working Review theses steps described in Symptoms CamExpert Detects no Boards on page 25 X64 Xcelera CL PX4 User s Manual Troubleshooting Problems e 20 Possible Functional Problems Driver Information Use the Teledyne DALSA Device Manager program to view information about the installed X64 Xcelera CL PX4 board and driver See Driver Information via the Device Manager Program on page 24 On Board Image Memory Requirements The X64 Xcelera CL PX4 on board memory provides two frame buffers large enough for most imaging situations See On board Image Memory Requirements for Acquisitions on page 25 for details on the on board memory and possible limitations Sometimes the problem symptoms are not the result of an installation issue but due to other system issues Review the sections described below for solutions to various X64 Xcelera CL PX4 functional problems Symptoms X64 Xcelera CL 4 Does Not Grab on page 26 Symptoms Card grabs black on page 26 Symptoms Card ac
123. s Serial Ports Physical Port Maps to 0 on Xcelera CL_Px4_1 z COM3 Selected physical port is present Camera Link port index 0 Enable DirectShow support A Save Settings Now Close 16 Installing X64 Xcelera CL PX4 X64 Xcelera CL PX4 User s Manual Setup Example with Windows XP HyperTerminal e Run HyperTerminal and type a name for the new connection when prompted Then click OK e On the following dialog screen select the port to connect with The port could be the COM port mapped to the X64 Xcelera CL PX4 or the COM device as shown in this example Connection Description hb New Connection e xcelera serial Enter a name and choose an icon for the connection Enter details for the phone number that you want to dial Name xcelera serial Area code 1 A 2 E ah m Phone number m 7 Connect using 4 7279180 Country region e HyperTerminal now presents a dialog to configure the COM port properties Change settings as required by the camera you are connecting to Note that the X64 Xcelera CL PX4 serial port does not support hardware flow control Displaying X64 Xcelera CL PX4 Board Information The Device Manager program also displays information about the X64 Xcelera CL PX4 boards installed in the system To view board information run the program via the Windows Start Menu shortcut Start e Pr
124. s blocked and therefore not seen by the acquisition circuitry If no debouncing value is specified value of Ous the minimum value of 1us will be used e Each input has a ferrite bead plus a 650 ohm series resistor on the opto coupler anode e Maximum input signal frequency is 100 KHz e Opto coupler response time is 1 95us for a rising signal e Opto coupler response time is 2 9us for a falling signal e Refer to Sapera parameters CORACQ_PRM_EXT_TRIGGER_SOURCE CORACQ_PRM_EXT_TRIGGER_ENABLE CORACQ_PRM_EXT_TRIGGER_LEVEL CORACQ_PRM_EXT_FRAME_TRIGGER_LEVEL CORACQ_PRM_EXT_TRIGGER_DETECTION CORACQ_PRM_EXT_TRIGGER_DURATION e See also cvi file entries External Trigger Level External Frame Trigger Level External Trigger Enable External Trigger Detection e External Trigger Input 2 used for two pulse external trigger with variable frame length linescan acquisition External Trigger Opto Coupler Debouncer Validated Trigger m gt 1 255 5 t d t et t vt t et t oc t d Figure 4 External Trigger Input Validation amp Delay X64 Xcelera CL PX4 User s Manual Technical Specifications 71 t et time of external trigger in us t vt time of validated trigger in us t oc time opto coupler takes to change state t d debouncing duration from 1 to 255 5 trigger high For an active high external trigger t oc 1 95 5 t vt t et 1 95us trigger lo
125. s consists of a grab controller one pixel packer and one time base generator ACUPlus delivers a flexible acquisition front end plus it supports pixel clock rates of up to 85MHz ACUPIus acquires variable frame sizes up to 256KB per horizontal line and up to 16 million lines per frame ACUPlus can also capture an infinite number of lines from a linescan camera without losing a single line of data ACUPIus supports standard Camera Link multi tap configurations from 8 to 64 bit pixels Additionally alternate tap configurations can support up to 8 taps of 8 bits each or optionally 10 tap with alternate firmware DTE Intelligent Data Transfer Engine The X64 Xcelera CL 4 intelligent Data Transfer Engine ensures fast image data transfers between the board and the host computer with zero CPU usage The DTE provides a high degree of data integrity during continuous image acquisition in a non real time operating system like Windows DTE consists of multiple independent DMA units Tap Descriptor Tables and Auto loading Scatter Gather tables PCI Express x4 Interface The X64 Xcelera CL PX4 is a universal PCI Express x4 board compliant with the PCI Express 1 1 specification The X64 Xcelera CL PX4 board achieves transfer rates up to 750 Mbytes sec with all taps used when connected to a corresponding camera or sensor The X64 Xcelera CL PX4 board occupies one PCI Express x4 expansion slot and one chassis opening two slots with the optional X I
126. s located SapLocation location m ServerIndex iDevice The SapGio constructor is called for each resource found m pGio iDevice new SapGio location Creates all the low level Sapera resources needed by the I O object if m pGio iDevice amp amp m pGio iDevice 88 m pGio iDevice Create DestroyObjects return FALSE return TRUE Output Dialog CGioOutputDlg class see Sapera Gui class void CGioOutputDlg UpdateIO UINT32 output 0 UINT32 state 0 BOOL status Dx We loop to get all I O pins for UINT32 110 0 110 lt UINT32 m pGio GetNumPins iIO es 1 We set the current state of the current I O pin by using the pin number on the current I O resource the pointer to pin state SapGio PinLow if low and SapGio PinHigh if high status m pGio SetPinState ilO SapGio PinState state 88 Appendix X I O Module Option X64 Xcelera CL PX4 User s Manual Input Dialog CGioInputDlg class see Sapera Gui class BOOL CGioInputDlg Update SapGio PinState state SapGio PinState PinLow BOOL status true UINT32 iIO UINT32 jIO if m pGio NULL return FALSE We loop to get all I O pins for 110 0 ilO UINT32 m pGio GetNumPins 11044 m pGio SetDisplayStatusMode SapManager StatusLog NULL We get the current state of the current I O pin by using the pin number on the current I O resour
127. s 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 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 amp C St Laurent Canada 2012 04 09 Location Date Eric Carey ing 70 Director Research and Development X64 Xcelera CL PX4 User s Manual Technical Specifications 61 Connector and Switch Locations X64 Xcelera CL PX4 Board Layout Drawing swa J2 D1 PCle X4 J6 X64 Xcelera CL PX4 Connector Switch Jumper Description List D4 05 SW3 2000 J10 The following table lists components on the X64 Xcelera CL PX4 board Detailed information follows for connectors or switches the end user may have need of Location Description Location Description 12 Camera Link Connector
128. ser s Manual X64 Xcelera CL PX4 Reference e 1 Virtual Frame Trigger for Lines Scan Cameras When using line scan cameras a frame buffer is allocated in host system memory to store captured video lines To control when a video line is stored as the first line in this virtual frame buffer an external frame trigger signal is used The number of lines sequentially grabbed and stored in the virtual frame buffer is controlled by the Sapera vertical cropping parameter Virtual Frame Trigger Timing Diagram The following timing diagram shows an example of grabbing 10 video lines from a line scan camera and the use of a virtual frame trigger to define when a video line is stored at the beginning of the virtual frame buffer The virtual frame trigger signal generated by some external event is input on the X64 Xcelera CL PX4 trigger input e Virtual frame trigger can be 24V industry standard TTL 5V or RS 422 and be rising or falling edge active active high or low or double pulse rising or falling edge e Virtual frame trigger control is configured for rising edge trigger in this example e Virtual frame trigger connects to the X64 Xcelera CL PX4 via the External Trigger Input 1 amp 2 balanced inputs o Trigger Input 1 on connector J4 pin 19 and 20 o Trigger Input 2 on connector J4 pin 21 and 22 e Two types of external connector brackets are available to bring out signals from the J4 connector Camera control s
129. sition 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 and Video Status Bar Events and errors are logged for review Camera connection status is displayed where green indicates signal present e Camera Link Serial Command Select this Tab to open a serial command port to the camera This allows the user to issue configuration commands if supported by the camera A short description of the configuration parameter will be shown in a popup Click on the E button to open the help file for more descriptive information on CamExpert For context sensitive help click on the button then click on a camera configuration parameter CamExpert Demonstration and Test Tools The CamExpert utility also includes a number of demonstration features which make CamExpert the primary tool to configure test and calibrate your camera and imaging setup Display tools include image pixel value readout image zoom and line profiler Functional tools include hardware Flat Field calibration and operation support see Using the Flat Field Correction Tool on page 30 plus support for either hardware based or software Bayer filter camera decoding with auto white balance calibration see Using
130. 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 CCA CCF files so as to support different image format modes supported by the camera or sensor such as image binning or variable ROI CCF File Details Files using the CCF extension Camera Configuration files are essentially the camera CCA and frame grabber CVI parameters grouped into one file for easier configuration file management This is the default Camera Configuration file used with Sapera LT 5 0 and the CamExpert utility CCA File Details Teledyne DALSA distributes camera files using the CCA extension CAMERA files which contain all parameters describing the camera video signal characteristics and operation modes what the camera outputs The Sapera parameter groups within the file are e Video format and pixel definition e Video resolution pixel rate pixels per line lines per frame e Synchronization source and timing e Channels Taps configuration e Supported camera modes and related
131. t 25 Phase 42 42 physical dimensions 63 PNP mode 86 programming I O flash 89 Q Quadrature Shaft Encoder 8 S Sapera Acquisition Devices 89 Sapera buffers allocation 18 Sapera CamExpert 27 Sapera CD ROM 10 15 Sapera configuration program 16 17 18 Sapera LT Development Library 9 Sapera LT User s manual 10 Sapera messaging 18 scatter gather buffers 19 Scatter Gather 7 serial communication port 16 serial port speeds 16 Shading Correction 6 7 shaft encoder 8 42 software trigger 27 75 Static electricity 9 84 SW1 General Inputs signal level 67 SW2 Trigger signal level 67 SW3 GEN2 Slot Workaround 67 SW3 Safe Boot Mode 67 system COM port 16 T technical support 15 17 24 26 X64 Xcelera CL PX4 User s Manual transfer module 47 trigger 8 42 44 U user defined I O state 83 USER PWR 86 V viewer program 26 virtual frame buffer 44 visual LED indicators 8 W Web inspection 42 Windows Embedded 7 58 Windows HyperTerminal 16 Windows operating system memory 19 workstation 15 X X64 CL serial port 16 X I O field installation 84 X I O module driver update 84 X I O module overview 83 Index e 95
132. t fault circuit will protect the device from short circuits to ground with supply voltages of up to 35V Opto coupled Input Electrical Details The two opto coupled inputs can be used either with TTL or RS422 sources A simplified input schematic and important electrical specifications are listed below Opto Coupled Input DB37 Connector In_Opto_1 E L gt zi ccu b Input In Opto 1 7 Y gt e MA In Opto 2 m al 2 Ke Simplified GND Opto coupled In_Opto_2 2 a p 572 typical 2 places wiles X I O Module Input reverse breakdown voltage 5 volts minimum Maximum average forward input current 25 mA Maximum input frequency 200 kHz Maximum Sapera call back rate System processing dependent TIL Input Electrical Details The six TTL inputs are software configurable see Configuring User Defined Power up I O States on page 85 for standard TTL logic levels or industrial logic systems typically 24 volts The design switch points are as follows e TTL level mode trip point at 2V 5 e Industrial level mode trip point at 16V 5 84 Appendix X I O Module Option X64 Xcelera CL PX4 User s Manual X I O Module Sapera Interface Sapera version 5 30 or later provides support for the X I O module via an I O class and demonstration program Users can use the demonstration program as is or use the demo progr
133. ted message concerning the installed board power off the system and verify the X64 Xcelera CL 4 is installed in the slot properly X64 Xcelera CL PX4 Firmware Loader The Device Manager Firmware Loader program automatically executes at the end of the driver installation and on every subsequent reboot of the computer It will determine if the X64 Xcelera CL PX4 requires a firmware update If firmware is required a dialog displays and it also allows the user to load firmware for alternate operational modes of the X64 Xcelera CL PX4 Important In the vary rare case of firmware loader errors please see Recovering from a Firmware Update Error on page 23 Firmware Update Automatic Mode Click Automatic to update the X64 Xcelera CL PX4 firmware The X64 Xcelera CL PX4 Full supports 4 firmware configurations with the default being a Full Medium or Base camera with Flat Field correction The X64 Xcelera CL PX4 Dual board supports 4 firmware configurations with the default being dual Base cameras with Flat Field correction See Series Key Features on page 6 and User Programmable Configurations on page 6 for details on all supported modes which can be selected via a manual firmware update If there are multiple X64 Xcelera CL PX4 boards in the system all will be updated with new firmware If any installed X64 Xcelera CL PX4 board installed in a system already has the correct firmware version an update is not required In the followin
134. the Bayer Filter Tool on page 33 Camera Types amp Files Applicable to the X64 Xcelera CL PX4 The X64 Xcelera CL PX4 supports digital area scan or linescan cameras using the Camera Link interface standard See X64 Xcelera CL PX4 End Bracket Detail on page 63 for information on connecting a Camera Link camera Contact Teledyne DALSA or browse our web site http www teledynedalsa com imaging support for the latest information and application notes on X64 Xcelera CL PX4 supported cameras Camera Files Distributed with Sapera The Sapera distribution CDROM includes camera files for a selection of X64 Xcelera CL PX4 supported cameras 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 28 CamExpert Quick Start X64 Xcelera CL PX4 User s Manual Teledyne DALSA continually updates a camera application library composed of application information and prepared camera files Camera files are ASCII text and can be read with Windows Notepad on any computer without having Sapera installed Overview of Sapera Acquisition Parameter Files ccf or cca cvi Concepts and Differences between the Parameter Files There are two components to the legacy Sapera acquisition parameter file set CCA files also called cam files and CVI files also called VIC files i e video input conditioning The files
135. ties alin camem Consol Sensor Height in Lines 1024 Sensor Left Offset in Pi 0 Sensor Top Offset in Li 0 Frame Rate Hz Not Available Camera Link Mode 2 8 bits System Gain 1024 Digital Offset DN 0 Subtract Background 0 Exposure Control Setting Enable Flat Field Correc Disabled External Trigger Image Buffer and ROI Binning Horizontal Disabled Binning Vertical Disabled Mirroring Mode Disabled Output Throughput M 160 Test Image Selector Horizontal ramp m x Freeze button was clicked 14 04 56 Xcelera CL 1 Test Image Selector value was changed from Diagonal ramp to Horizontal ramp Sensor Width in Pixels Grab button was clicked Sets the number of horizontal active pixels the sensor acquires that is the ROI width Possible values E 17 1400 41 Output Messages Camera Link Command Video status Pixel Clock Present Frame Valid Present Line Valid Present CamExpert groups parameters into functional categories The parameters shown depend on the frame grabber used and what camera is connected The parameter values are either the camera defaults or the last stored value when the camera was used The descriptions below are with the Xcelera CL PX4 and the Teledyne DALSA Falcon camera Device Selector Two drop menus to select which device and which saved configuration to use e Device Select which acquisiti
136. to a system COM port is not necessary The X64 Xcelera CL PX4 serial port is mapped to an available COM port by using the Sapera Configuration tool Run the program from the Windows start menu Start e Programs e Teledyne DALSA e Sapera LT e Sapera Configuration COM Port Assignment The lower section of the Sapera Configuration program screen contains the serial port configuration menu Configure as follows e Use the Physical Port drop menu to select the Sapera board device from all available Sapera boards with serial ports when more then one board is in the system lt lt Use the Maps to drop menu to assign an available COM number to that Sapera board serial port e Click on the Save Settings Now button then the Close button You are prompted to reboot your computer to enable the serial port mapping e The X64 Xcelera CL PX4 serial port now mapped to COM3 in this example is available as a serial port to any serial port application for camera control Note that this serial port is not listed in the Windows Control PaneleSystem PropertieseDevice Manager because it is a logical serial port mapping e An example setup using Windows HyperTerminal follows Sapera Configuration _ Server List Serial Number 0 System None 1 Xcelera CL_PX4_1 3830141 Contiguous Memory Used for allocating buffers Used for allocating messages Requested Requested 5 ES MBytes 24 MBytes Allocated Allocated 5 MBytes 6 MByte
137. tput 1 11 25 General Output 1 12 7 General Output 2 13 26 General Output 2 14 8 General Output 3 15 27 General Output 3 16 9 General Output 4 17 28 General Output 4 18 10 External Trigger Input 1 19 29 External Trigger Input 1 20 11 External Trigger Input 2 21 30 External Trigger Input 2 22 12 Shaft Encoder Phase A 23 31 Shaft Encoder Phase A 24 13 Shaft Encoder Phase B 25 32 Shaft Encoder Phase B 26 14 Ground 27 33 Strobe Output 1 28 15 Ground 29 34 Strobe Output 2 30 16 Ground 31 35 Ground 32 17 5V 33 36 5V 34 18 12V 35 37 12V 36 19 Ground 37 38 39 40 X64 Xcelera CL PX4 User s Manual Technical Specifications e 75 External Signals Connector Bracket Assembly Type 2 The External Signals bracket OR X4CC OTIO2 provides a simple way to bring out the signals from the External Signals Connector J4 to a bracket mounted DB25 External cables designed for the Teledyne DALSA X64 CL iPro can be connected directly Install the bracket assembly into an adjacent PC expansion slot and connect the free cable end to the board s J4 header When connecting to J4 make sure that the cable pin 1 goes to J4 pin 1 see the layout drawing X64 Xcelera CL PX4 Board Layout Drawing on page 62 Note For additional independent I O signals use the optional X I O module See Appendix X I O Module Option on page 80 External Signals Connector Bracket Assembly Type 2
138. ue is CORACQ VAL EVENT TYPE DATA OVERFLOW Frame Valid Event generated when the connected sensor video frame start is detected by the board acquisition hardware Acquisition does not need to be started therefore this event can verify a valid signal is connected The Sapera event value is CORACQ VAL EVENT TYPE VERTICAL SYNC Pixel Clock Present Absent Event generated on the transition from detecting or not detecting a pixel clock signal The Sapera event values are CORACQ VAL EVENT TYPE NO PIXEL CLK and CORACQ VAL EVENT TYPE PIXEL CLK Frame Lost The Frame Lost event indicates that an acquired image could not be transferred to on board memory An example of this case would be if there are no free on board buffers available for the new image This may be the case if the image transfer from onboard buffers to host PC memory cannot be sustained due to bus bandwidth issues The Sapera event value is CORACQ VAL EVENT TYPE FRAME LOST Vertical Timeout This event indicates a timeout situation where a camera fails to output a video frame after a trigger The Sapera event value is CORACQ VAL EVENT VERTICAL TIMEOUT External Line Trigger Too Slow Event which indicates that the detected shaft encoder input tick rate is too slow for the device to take into account the specified shaft encoder multiplier value The Sapera event value is CORACQ VAL EVENT TYPE EXT LINE TRIGGER SLOW Line Trigger Too Fast Event which indicates a previous lin
139. unction installed in a x16 slot The computer documentation or direct testing is required e X64 Xcelera CL PX4 operates correctly when installed in a multi processor system including Hyper Threading multi core processors Operating System Support Windows XP Windows Vista Windows 7 and Windows 8 either 32 bit or 64 bit Environment 7 10 50 operation Ambient Temperature 40 to 75 C storage 5 to 90 non condensing operating Relative Humidity 0 to 95 storage range of 10 50 C We recommend airflow measuring 200 LFM linear feet per minute across the surface of the board when operating above 40 C Note Ensure adequate airflow for proper functioning of the board across the entire temperature Power Requirements 1 92A standby 2 64A during acquisition 5 0 72 standy piss 0 81A during acquisition 60 Technical Specifications X64 Xcelera CL PX4 User s Manual EMI Certifications TELEDYNE DALSA Everywhereyoulook EC amp FCC DECLARATION OF CONFORMITY We Teledyne DALSA inc 7075 Place Robert Joncas Suite 142 St Laurent Quebec Canada 272 Declare under sole legal responsibility that the following products conform to the protection requirements of council directive 2004 108 EC on the approximation of the laws of member states relating to electromagnetic compatibility Xcelera CL PX4 The product
140. upported Refer to the Sapera LT Acquisition Parameters Reference manual OC SAPM APROO for detailed information concerning camera and acquisition control methods 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 signals to control camera timing on board frame buffer memory to compensate for PCI bus latency and comprehensive error notification If the X64 Xcelera CL PX4 detects a problem the application can take appropriate action to return to normal operation The X64 Xcelera CL PX4 is designed with a robust ACU Acquisition and Control Unit The ACU monitors in real time the acquisition state of the input plus the DTE Data Transfer Engine which transfers image data from on board memory into PC memory In general these management processes are transparent to end user applications With the X64 Xcelera CL PX4 applications ensure trigger to image reliability by monitoring events and controlling transfer methods as described below X64 Xcelera CL PX4 User s Manual X64 Xcelera CL PX4 Reference e 43 Supported Events and Transfer Methods Listed below are the supported acquisition and transfer events Event monitoring is a major component to the Trigger to Image R
141. urn the computer off disconnect the power cord disables power standby mode and open the computer chassis to allow access to the expansion slot area Install the X64 Xcelera CL PX4 into a free PCI Express x4 expansion slot Note that some computer s x16 slot may support x4 board products Connect a PC Floppy drive power connector to 27 for cameras or when DC power is required on the external signals connector 14 Close the computer chassis and turn the computer on Windows will find the X64 Xcelera CL PX4 and start its Found New Hardware Wizard Click on the Cancel button to close the Wizard If using Windows Vista Windows will display its Found New Hardware dialog Click on the default Ask me again later and continue with the installation Note that if you select the third option Don t show this message again for this device there will be no prompt if the Teledyne DALSA board is installed in the same computer 7 Found New Hardware os Windows needs to install driver software for your PCI Memory Controller Locate and install driver software recommended Windows will guide you through the process of installing driver software for your device gt Ask me again later Windows will ask again the next time you plug in your device or log on Don t show this message again for this device Your device will not function until you install driver software Cancel Figure 1 Found Ne
142. us CORACQ_PRM_CAM_TRIGGER_ENABLE CORACQ_PRM_CAM_RESET_ENABLE CORACQ_PRM_OUTPUT_FORMAT mono color RGB Bayer CORACQ_VAL_OUTPUT_FORMAT_MONO8 CORACQ_VAL_OUTPUT_FORMAT_MONO16 CORACQ_VAL_OUTPUT_FORMAT_RGB8888 CORACQ_VAL_OUTPUT_FORMAT_RGB101010 CORACQ_VAL_OUTPUT_FORMAT_RGB16161616 CORACQ VAL OUTPUT FORMAT RGB8888 CORACQ VAL OUTPUT FORMAT RGB101010 CORACQ VAL OUTPUT FORMAT 8 CORACQ VAL OUTPUT FORMAT MONO16 CORACQ PRM EXT TRIGGER ENABLE CORACQ VAL EXT TRIGGER OFF 0x1 VAL EXT TRIGGER ON 0x8 CORACQ PRM VIC NAME Mono Color RGB Bayer Bayer Method 6 10 taps Default Area Scan 1 tap Mono Default Area Scan 1 tap Color Default Bayer Area Scan 1 tap Color Default Bayer Line Scan 8 taps Parallel Color Default Area Scan 10 taps Parallel Mono CORACQ PRM LUT MAX 1 CORACQ PRM EXT TRIGGER DETECTION CORACQ VAL ACTIVE LOW 0 1 VAL ACTIVE HIGH 0x2 VAL RISING EDGE 0x4 VAL FALLING EDGE 0x8 CORACQ LUT FORMAT mono color RGB bayer Default CORACQ VAL OUTPUT FORMAT 8 Default CORACQ VAL OUTPUT FORMAT RGB16161616 Default CORACQ VAL OUTPUT FORMAT MONO16 CORACQ PRM VSYNC REF VAL SYNC REF END 0x2 CORACQ PRM HSYNC REF VAL SYNC REF END 0x2 CORACQ PRM LINE INTEGRATE ENABLE
143. ut The XIO information screen shows the current status of Device O the output device and Device 1 the input device A few items are user configurable for X I O board power up state Click on the item to display a drop list of available capabilities as described below e Device 0 Default Output Type choose Tristate mode i e output disconnected or PNP mode or NPN mode Device 0 Default Output Pin State A window is displayed to select a logic low or high state for each output pin Click on each pin that should be logic high by default e Device 1 Default Input Level Select the input logic level as TTL 5 Volts or 24 Volts dependent on the signal type being input to the X I O module e Device 1 Default Connector DB37 is the supported output connector as described in this section X64 Xcelera CL PX4 User s Manual Appendix X I O Module Option 85 Programming the User Configuration After changing any user configurable X I O mode from the factory default state click on the Program button located on the upper left to write the new default state to flash memory The Device Manager message output window will display Successfully updated EEProm The program can now be closed Using Sapera LT General I O Demo The Sapera General I O demo program controls the I O capabilities of the X I O module on the Sapera board product The demo will present to the user only the controls pertaining to the selected hard
144. w For an active low external trigger 2 9us t vt t et 2 9us t d the opto coupler to change state Specifically the opto coupler response time is 1 95 6 for active e Note DALSA recommends using an active high external trigger to minimize the time it takes for high compared to 2 9 5 for active low If the duration of the external trigger is gt t oc t d then a valid acquisition trigger is detected Therefore the external pulse with active high polarity must be at least 2 95us if debounce time is set to 1 in order to be acknowledged Any pulse larger than 3 9us is always considered valid It is possible to emulate an external trigger using the software trigger which is generated by a function call from an application Note 4 Shaft Encoder Input Specifications Dual Quadrature Shaft Encoder Inputs phase A and phase B are opto coupled and able to connect to differential signals RS 422 or single ended TTL 5V source signals The following figure is typical for each input e For single ended TTL 5V signals the switch point is 2V e Maximum input differential voltage that can be applied is 6V e The incoming trigger pulses are debounced to ensure that no voltage glitch is detected as a valid trigger pulse The debouncer circuit is set to 100nsec e Each input has a ferrite bead plus a 220 ohm series resistor on the opto coupler anode e Maximum input signal frequency is 200 KHz e Opto coup
145. w Hardware X64 Xcelera CL PX4 User s Manual Installing X64 Xcelera CL PX4 e 9 Sapera LT Library Installation e Insert the Teledyne DALSA Sapera Essential CD ROM If AUTORUN is enabled on your computer the installation menu is presented e If AUTORUN is not enabled use Windows Explorer and browse to the root directory of the CD ROM Execute launch exe to start the installation menu and install the required Sapera components e Continue with the installation of the board driver as described in the next section e The installation program will prompt you to reboot the computer Refer to Sapera LT User s Manual for additional details about Sapera LT X64 Xcelera CL PX4 Driver Installation The X64 Xcelera CL PX4 board driver supports installation in a Windows XP Windows Vista Windows 7 or Windows 8 system e After installing Sapera continue by selecting the X64 Xcelera CL PX4 driver installation e Insert the Teledyne DALSA Sapera CD ROM If AUTORUN is enabled on your computer the installation menu is presented Install the X64 Xcelera CL PX4 driver e If AUTORUN is not enabled use Windows Explorer and browse to the root directory of the CD ROM Execute launch exe to start the installation menu and install the X64 Xcelera CL 4 driver During the late stages of the installation the X64 Xcelera CL PX4 firmware loader application starts This is described in detail in the following section e If Windows displays any unexpec
146. ware in the case of multiple installed boards Run the demo via the windows start menu Start e Programs e Teledyne DALSA e Sapera LT e Demos e General I O Demo The first menu presents a drop list of all installed Sapera Acquisition Devices with I O capabilities Select the X64 Xcelera CL PX4 board is selected and click OK to continue General I O Module Control Panel The I O module control demo presents the I O capabilities of the installed hardware The following figure shows the X I O module connected to the X64 Xcelera CL PX4 board Output Pins The first column displays the current state of the eight output pins 1 0 Device 0 e The startup default state is user configured using the Device Manager program e The state of each output can be changed by clicking on its status button e Use the Signal Output drop menu to select the output mode Tristate PNP NPN Input Pins The second section provides input pin status I O device 1 Note that this program is a demo therefore no action takes place on an input event e The first column reads the logic level present on each input The Input Level drop menu changes the logic level from 5V TTL to 24V logic Use the Device Manager program to select the default logic level type e The second column demonstrates activating interrupts on individual inputs In this demo program use the Enable box to activate the interrupt on an input The Count box will tally detected input events Use th
147. with the SW3 2 in the ON position the computer should boot normally and the Xcelera should function If this is not the case please contact Technical Support on page 91 with details about your computer e Note ECO 4251 is needed for SW3 2 to be functional Status LEDs Functional Description D4 Boot up status LED Note The LED D4 is mounted near the top edge of the board and is visible only with the computer cover off Color State Description Green Solid Safe FPGA firmware loaded Off Normal FPGA firmware loaded D5 Boot up status LED Table 4 D4 Boot up Status LED Note The LED D5 is mounted near the top edge of the board and is visible only with the computer cover off Color State Description Green Solid FPGA firmware loaded successfully Off FPGA firmware not loaded Table 5 D5 Boot up Status LED Camera amp PCIe status LED Status LEDS are mounted between the camera link connectors visible from the computer exterior Status Led 2 indicates error with pixel clock connection or GEN2 slot error Status LED 1 Camera Link full medium or base D1 LED 1 Status Color State Description Red Solid No Camera 1 pixel clock detected Green Solid Camera 1 pixel clock detected No line valid detected Green Slow Flashing Camera 1 pixel clock and line valid signal detected 2 Hz Green Fast Flashing Camera 1 acquisition in progress 16 Hz X64 Xc
148. ync From Board Sync See J4 External Signals Connector on page 69 for shaft encoder input connector details CVI CCF File Parameters Used e External Line Trigger Source prm value e External Line Trigger Enable true false e Shaft Encoder Enable true false X64 Xcelera CL PX4 User s Manual X64 Xcelera CL PX4 Reference e 39 Shaft Encoder Interface Timing Connector J4 Dual Balanced Shaft Encoder Inputs e Input 1 Pin 23 Phase A amp Pin 24 Phase A see J4 External Signals Connector on page 69 for complete connector signal details e Input 2 Pin 25 Phase B amp Pin 26 Phase B e See External Signals Connector Bracket Assembly on page 74 for pinout information about the DB37 used for external connections Web inspection systems with variable web speeds typically provide one or two synchronization signals from a web mounted encoder to coordinate trigger signals These trigger signals are used by the acquisition linescan camera The X64 Xcelera CL PX4 supports single or dual shaft encoder signals Dual encoder signals are typically 90 degrees out of phase relative to each other and provide greater web motion resolution Example using any Encoder Input with Pulse drop Counter When enabled the camera is triggered and acquires one scan line for each shaft encoder pulse edge To optimize the web application a second Sapera parameter defines the number of triggers to skip between valid acquisition

Download Pdf Manuals

image

Related Search

Related Contents

Tractive GPS Pet Tracking Device  Page 1 Page 2 Page 3 Page 4 2 スルホニルウレア抵抗性雑草の簡易  First Alert P-500 User's Manual  Hamilton Beach 840136100 Coffeemaker User Manual  

Copyright © All rights reserved.
Failed to retrieve file