Home

DT3120 User's Manual

image

Contents

1. 102 A acquisition modes 26 49 active video area 12 active video area see video area adding a board to the driver configuration Windows 2000 97 Windows 98 94 Windows Me 94 Windows XP 100 asynchronous acquisition 26 asynchronous bitmap passthru 22 B bitmap passthru mode 22 asynchronous 46 extended 46 synchronous 46 blanking information 12 block diagram 6 board ID 32 board name 32 board signature 32 brightness 9 37 bytes per pixel 44 C capabilities 30 CCIR 8 clock sources 35 color frame grabber 32 Index color intensity 9 COLOR INTERFACE DIGITAL IO 33 COLOR_INTERFACE_DRAW_ ACQUIRED_FRAME 33 COLOR_INTERFACE_IMAGE_ PARAMETER 33 COLOR_INTERFACE_SIGNAL_ TYPE 33 COLOR INTERFACE STORAGE MODE 33 composite signals 7 36 composite video source 39 continuous acquire 46 continuous acquire passthru mode 23 contrast 9 37 controls color 69 standard 68 conventions used x customer service 88 CVBS signal type 7 D data storage 33 45 DDI 25 32 device memory 26 49 50 device memory management 32 device type 32 diagrams programming 55 digital I O signals 33 51 digital input specifications 90 103 Index 104 drawing acquired frames 33 50 DT Vision Foundry 3 DT3120 Device Driver 3 Windows 98 procedures 94 Windows Me procedures 94 DT Acquire 3 DT Active Open Layers 3 DtColorHardwareScaling 45 62 64 69 DtColorImageParameters 37 69 DtColorQueryInte
2. v Set the source keying color with OlFgSetOverlayColorKey v Enable overlays with OlFgEnableOverlays 76 Programming Flowcharts Execute an Overlay Animation Sequence Get a handle to a WIN32 event synchronization object with OlFgGetPassthruSyncEvent 5 Get a surface DC to surface 1 with OlFgGetSurfaceDC Y Draw an image on surface 1 with standard GDI functions v Release the surface 1 DC with OlFgReleaseSurfaceDC Y Wait for a WIN32 event synchronization object Y Set surface 1 as the visible surface with OlFgSetVisibleSurface v Get a surface DC to surface 2 with OlFgGetSurfaceDC v Draw an image on surface 2 with standard GDI functions T Release the surface 42 DC with OlFgReleaseSurfaceDC ii Wait for a WIN32 event Set surface 2 as the visible surface synchronization object with OlFgSetVisibleSurface 77 Chapter 4 78 JJ Troubleshooting General Checklist eene ERE RR y reete 80 Service and Support cee screen eee ee e n e aye 84 If Your Board Needs Factory Service 6 00 0 ee eee 88 79 Chapter 5 80 General Checklist Should you experience problems using the DT3120 board please follow these steps 1 Read all the appropriate sections of this manual Make sure that you have added any Read Thi
3. Data appears to be invalid Wiring is not connected properly Check your wiring and fix any open connections see the instructions in the DT3120 Getting Started Manual Computer does not boot Board is not seated properly The power supply of the computer is too small to handle all the system resources Check that the slot in which your DT3120 board is located is a PCI slot that the board is correctly seated in the slot and that the board is secured in the slot with a screw see the instructions in the DT3120 Getting Started Manual Check the power requirements of your System resources and if needed get a larger power supply consult the board s specifications on page 91 of this manual 82 Troubleshooting Table 14 Troubleshooting Problems cont Symptom Possible Cause Possible Solution System lockup Board is not seated Check that the slot in which your DT3120 properly board is located is a PCI slot that the board is correctly seated in the slot and that the board is secured in the slot with a Screw see the instructions in the DT3120 Getting Started Manual Interrupt level is If you think you may have an interrupt unacceptable conflict between a PCI device and a device that is plugged into the ISA bus change the interrupt setting usually by changing a jumper on the ISA device If you think you may have an interrupt conflict on a PCI device that was n
4. 92 Modifying the Device Driver Windows 98 and Windows Me Procedures use Windows 2000 Procedures seen Windows XP Procedures 0 0 00 cc cece e Appendix B 94 Windows 98 and Windows Me Procedures This section describes the following procedures in Windows 98 and Windows Me Adding a board to the device driver configuration on this page Modifying the board settings in the device driver configuration on page 95 and Uninstalling the device driver if necessary on page 96 Adding a Board to the Device Driver Configuration To add a new board to the DT3120 Device Driver configuration perform the following steps 1 Turn your computer off and insert the new DT3120 board into your computer following the instructions in the DT3120 Getting Starting Manual Turn your computer on and start Windows 98 or Windows Me The Add New Hardware Wizard dialog box appears Click Next For Windows 98 Click Search for the best driver for your device Recommended make sure all optional search locations are unchecked then click Next For Windows Me Click Automatic search for a better driver Recommended Click Next The files are copied Click Finish Open the Control Panel Double click the DT Imaging Control icon Modifying the Device Driver 9 Select the DT3120 board to configure 10 Select the Video Format as either 50 Hz or 60 Hz 11 When you are fini
5. Supported Device Driver Capabilities Table 5 Sync Signal Capabilities for the DT3120 Device Driver cont Capability DT3120 Support Video Types OLC FG IC VIDEO TYPE LIMITS Supports Composite Video Source OLC FG VID COMPOSITE Yes Supports Variable Scan Video Source OLC FG VID VARSCAN No Video Sources OLC FG IC CSYNC SOURCE LIMITS Composite Sync from Current Input Only OLC FG CSYNC CURRENT SRC Yes Composite Sync from Any Specified Input OLC FG CSYNC SPECIFIC SRC No Composite Sync from External Sync Line OLC FG CSYNC EXTERNAL LINE No Composite Sync Threshold Limits in mV OLC FG IC CSYNC THRESH LIST LIMITS N A Composite Sync Threshold List OLC FG IC CSYNC THRESH LIST N A Supports Sync Sentinel OLC FG IC DOES SYNC SENTINEL No Supports Sync Sentinel Query OLC FG IC DOES QUERY SYNC SENTINEL Yes Sync Sentinel Types OLC FG IC SYNC SENTINEL TYPE LIMITS Supports Fixed Sync Sentinel OLC FG SYNC SENTINEL FIXED No Supports Variable Sync Sentinel OLC FG SYNC SENTINEL VARIABLE No DtColorSyncMasterMode Sync Master in SDK Extensions OLT SYNC MASTER PARAMETER Enable Sync Master Mode OLC SYNC MASTER ENABLE No 39 Chapter 3 40 Table 6 Active Video Area Capabilities for the DT3120 Device Driver Capability DT3120 Support OlFgQueryInputCaps Supports Defining of Active Video Area OLC FG IC DOES ACTIVE VIDEO Yes Suppo
6. v Process the acquired image Stop the acquisition with see page 71 OlFgCancelAsyncAcquireJob y Release each frame buffer with OlFgDestroyFrame v Close the device using OllmgCloseDevice 61 62 Chapter 4 Passthru without Overlays Open the device and get the device ID with OllmgOpenDevice Set the timeout period with OllmgSetTimeoutPeriod Choose an input source with Only channel 0 the default is OlFgSetInputVideoSource supported Y Set the standard controls for the input Source see page 68 Y Set the color controls for the input source see page 69 Scale passthru image with To scaling fae et DtColorHardwareScaling channel as a percentage of the original size i default 100 Start the passthru operation see page 74 Y Acquire a single image for processing see page 75 4 Go to the next page b Programming Flowcharts Passthru without Overlays cont C Continued from previous page 2 i Stop asynchronous bitmap or continuous acquire passthru with OlFgStopAsyncPassthru i Release the frame buffer with OlFgDestroyFrame Y Close the device using OllmgCloseDevice 63 Chapter 4 Passthru with Overlays Open the device and get the device ID with OllmgOpenDevice Set the timeout period with O
7. Capability DT3120 Support Acquisition Types multiple frame OLC FG IC MULT FRAME OPS Multiple Frames to Host sync Supports Full Frame Acquisition OLC FG ACQ FRAME Supports Subframe Acquisition OLC FG ACQ SUBFRAME Supports Frame to Fit Acquisition OLC FG ACQ FRAME TO FIT Multiple Frames to Device sync Supports Full Frame Acquisition OLC FG ACQ FRAME Supports Subframe Acquisition OLC FG ACQ SUBFRAME Supports Frame to Fit Acquisition OLC FG ACQ FRAME TO FIT Multiple Frames to Host async Supports Full Frame Acquisition OLC FG ACQ FRAME Supports Subframe Acquisition OLC FG ACQ SUBFRAME Supports Frame to Fit Acquisition OLC FG ACQ FRAME TO FIT Multiple Frames to Device async Supports Full Frame Acquisition OLC FG ACQ FRAME Supports Subframe Acquisition OLC FG ACQ SUBFRAME Supports Frame to Fit Acquisition OLC FG ACQ FRAME TO FIT No No No Yes No No No No No Yes No No Supports Drawing Acquired Frame OLC FG IC DOES DRAW ACQUIRED FRAME OLC FG IC DOES DRAW ACQUIRED FRAME EX Yes Yes Supported Device Driver Capabilities Table 12 Digital I O Capabilities for the DT3120 Device Driver Capability DT3120 Support OlFgQueryCameraControlCaps Number of Digital Output Lines OLC_FG_CC_DIG_OUT_COUNT 0 DtColorDigitallOControl Number of Digital Input Output Lines 0 51 Chapter 3 Initialized Contro
8. OlFgAcquireFrameToDevice Perform a synchronous acquire No Process the acquired image see page 71 v Release the frame buffer with OlFgDestroyFrame Y Core the device using oimgciosenevice 59 Chapter 4 60 Multiple Frame Acquisition Open the device and get the device ID a with OllmgOpenDevice Y Set the timeout period with OllmgSetTimeoutPeriod Choose an input source with OlFgSetinputVideoSource Y Set the standard controls for the input source see page 68 Set the color controls for the input source see page 69 v Set up an acquisition trigger for the input source with OlFgSetTriggerlnfo Vv Create frame buffers with OIFgAllocateBuiltInFrame i Go to the next page D do Only channel 0 the default is supported The default is software Programming Flowcharts Multiple Frame Acquisition cont C Continued from previous page D Yes Perform an asynchronous acquire Acquire frames to device memory with OIFgAsyncAcquireMultipleToDevice p Check the status of the operation with OIFgAsyncAcquireJobDone No Acquire frames synchronously to device memory with OlFgAcquireMultipleToDevice Stop No asynchronous acquire Job done
9. manual for a list of services included and excluded in our standard support offering Telephone Technical Support Telephone support is normally reserved for original warranty and support contract customers Support requests from non contract or out of warranty customers are processed after requests from original warranty and support contract customers For the most efficient service please complete the form on page 86 and be at your computer when you call for technical support This information helps to identify specific system and configuration related problems and to replicate the problem in house if necessary You can reach the Technical Support Department by calling 508 481 3700 x1401 84 Troubleshooting If you are located outside the USA call your local distributor The name and telephone number of you nearest distributor are provided in your Data Translation catalog If you are leaving a message to request a support call please include the following information Omitting any of the above information may delay our ability to resolve your issue Your name please include proper spelling Your company or organization please include proper spelling A phone number An email address where you can be reached The hardware software product you need help on A summary of the issue or question you have Your contract number if applicable and Your product serial number or purchase date 85 Chapt
10. 1 3 5 and so on Using software you can select one of the following types of frame acquisitions Interlaced frames starting on the next even field the default Interlaced frames starting on the next odd field 17 Chapter 2 18 Interlaced frames starting on the next field odd or even Even fields only starting with the next even field Anodd field only starting with the next odd field or e Odd or even fields only starting with the next field of either kind For example if the next field is odd only the odd fields are acquired If the next field is even only the even fields are acquired Scaling Frames DT3120 board can perform simultaneous interpolated arbitrary scaling in real time This feature is useful if you want to reduce the size of an image The number of lines per frame in the scaled image can range from 1 to 480 for 60 Hz image formats or from 1 to 576 for 50 Hz image formats in increments of 1 The number of pixels per line in the scaled image can range from 4 to 640 for 60 Hz image formats or from 4 to 768 for 50 Hz image formats in increments of 4 Using software you provide the scale factor for the horizontal and vertical directions The scale factor is the ratio of the target values the total number of pixels or lines in the resulting scaled image to the source values the total number of pixels or lines in the image to scale in each direction The minimum scale factor
11. FG IC DOES QUERY INPUT FILTER Supported Filters OLC FG IC INPUT FILTER LIMITS AC Coupled no Input Filter OLC FG FILT AC NONE AC Coupled 50 Hz Input Filter OLC FG FILT AC 50 AC Coupled 60 Hz Input Filter OLC FG FILT AC 60 DC Coupled no Input Filter OLC FG FILT DC NONE No N A Supports Programmable A D OLC FG IC DOES PROG A2D Supports Programmable A D Query OLC FG IC DOES QUERY PROG A2D No No Voltage Range of Black Level in uV OLC FG IC BLACK LEVEL LIMITS N A Voltage Range of White Level in uV OLC FG IC WHITE LEVEL LIMITS Supports Pixel Clock OLC FG IC DOES PIXEL CLOCK N A No Supports Pixel Clock Query OLC FG IC DOES QUERY PIXEL CLOCK Yes Supported Device Driver Capabilities Table 4 Input Signal Capabilities for the DT3120 Device Driver cont Capability DT3120 Support Range of Internal Input Clock Frequency in Hz OLC FG IC CLOCK FREQ LIMITS Fixed 50 Hz 15 000 000 60 Hz 12 500 000 Clock Sources OLC FG IC CLOCK SOURCE LIMITS Supports Internal Clock OLC FG CLOCK INTERNAL Yes Supports External Clock OLC FG CLOCK EXTERNAL No Provides Trigger OLC FG IC DOES TRIGGER Yes Trigger Types OLC FG TRIGGER TYPE LIMITS Supports Externally Triggered Acquisition OLC FG TRIG EXTERNAL LINE Yes Multiple Trigger Types OLC FG IC MULT TRIGGER TYPE LIMITS Supports Externally Triggered Acquisition OLC FG TRIG EXT
12. Input Channels The DT3120 board accepts one composite CVSB or one S video input source at a time Connect the composite input to connector J2 connector on the DT3120 board or connect the S video input to connector J 3 on the DT3120 board Principles of Operation Color Intensity Using software you can adjust the following settings of the DT3120 board to affect the intensity of the color Brightness The value associated with a pixel representing its gray value Values range from 0 to 255 in increments of 1 the nominal value is 128 Contrast The overall range of the monochrome signal of an image For example a high contrast image has a large range between black and white values a low contrast image has a small range between black and white values Values range from 0 to 511 in increments of 1 the nominal value is 216 e V Saturation The purity of the blue and green primary colors in an image For example if a particular pixel has a value of 0 for green but a value of 511 for blue then the pixel is said to be saturated in blue Values range from 0 to 511 in increments of 1 the nominal value is 180 e U Saturation The purity of the green and red primary colors in an image For example if a particular pixel has a value of 0 for green but a value of 511 for red then the pixel is said to be saturated in red Values range from 0 to 511 in increments of 1 the nominal value is 254 Hue The intensity
13. Interactive Computer Graphics Addison Wesley Reading MA 1984 Provides information on geometric functions Friedhoff Richard M and William Benzon The Second Computer Revolution Visualization New York Harry N Abrams Inc 1989 Covers the history of image processing technology Gonzalez Rafael C and Paul Wintz Digital Image Processing Menlo Park CA Addison Wesley 1987 Explains major image processing concepts and mathematical concepts involved in digital image manipulation including FFT processing filtering operations geometric functions histograms and linear equalization About this Manual Held Gilbert Data Compression Techniques and Applications Hardware and Software Considerations 3rd ed Somerset NJ John Wiley amp Sons Inc 1991 Covers various techniques currently used for data compression includes programming examples Holzmann Gerard J Beyond Photography The Digital Darkroom Englewood Cliffs NJ Prentice Hall 1988 Introduces and explains image editing includes programming examples Ingram Dave Video Electronics Technology Blue Ridge Summit PA Tab Books Inc 1984 Explains the basic electronics used in video devices Kiver M S Color Television Fundamentals New York McGraw Hill 1977 Covers television and video basics Lindley Craig Practical Image Processing in C Somerset NJ John Wiley amp Sons Inc 1991 Explains basic image processing techniques using C
14. LUT No Number of Extra Palette Entries OLC FG PC MAX PALETTE INDEX N A Maximum RGB Value for Palette OLC FG PC MAX PALETTE VALUE N A Number of Entries in Passthru LUT OLC FG PC MAX PLUT INDEX N A Maximum RGB Value for Passthru LUT OLC FG PC MAX PLUT VALUE N A Passthru snapshot OLC FG PC DOES PASSTHRU SNAPSHOT Yes a With the DT3120 use the DtColorHardwareScaling function to perform passthru scaling Table 9 Overlay Capabilities for the DT3120 Device Driver Capability DT3120 Support OlFgQueryDDICaps Passthru with DDI OLC FG DDI FAST PASSTHRU No Overlay support OLC FG DDI OVERLAYS Yes Translucent overlay capability OLC FG DDI TRANSLUCENT OVERLAYS No Color overlay capability OLC FG DDI COLOR OVERLAY Yes Multiple overlay surface capability OLC FG DDI MULTIPLE SURFACES Yes Color keying filtering OLC FG DDI COLOR KEY CONTROL Yes 47 Table 9 Overlay Capabilities for the DT3120 Device Driver cont Capability DT3120 Support Add overlay to image OLC FG DDI OVERLAY ON FRAME No User managed DDI surface support OLC FG DDI USER SURFACE PTR No Passthru event synchronization support OLC FG DDI PASSTHRU SYNC EVENT Yes Table 10 Memory Capabilities for the DT3120 Device Driver Capability DT3120 Support OlFgQueryMemoryCaps Memory Types OLC FG MC MEMORY TYPES Volatile Memory OLC FG MEM VOLATILE Yes Non
15. Millennium Edition Windows 2000 or Windows XP operating system and with the Microsoft C compiler What You Should Learn from this Manual This manual provides detailed information about the features of the DT3120 board and the DT3120 Device Driver to allow you to access the board s capabilities using software It is organized as follows Chapter 1 Overview describes the major features of the boards as well as the supported software and accessories for the boards e Chapter 2 Principles of Operation describes all of the features of the boards and how to use them in your application About this Manual Chapter 3 Supported Device Driver Capabilities describes the capabilities supported by the DT3120 Device Driver and the initialized control values Chapter 4 Programming Flowcharts describes the processes you must follow to program the DT3120 board using the DT Open Layers Frame Grabber SDK Chapter 5 Troubleshooting provides information that you can use to resolve problems with the boards and the device driver should they occur Appendix A Specifications lists the specifications of the boards Appendix B Modifying the Device Driver describes how to add modify and remove boards from the device driver and how to uninstall the device driver if necessary An index complete this manual Conventions Used in this Manual The following conventions are used in this manual Notes prov
16. PARAMETER 37 38 OLT IMAGE MODE 45 OLT QUERY COLOR INTERFACE 33 OLT SCALE PARAM 45 OLT SIGNAL TYPE 36 overlays 25 P PAL 8 passthru 22 32 46 bitmap mode 22 46 continuous acquire mode 23 scaling 24 46 scaling height 46 scaling width 46 snapshot 47 with overlays 64 physical specifications 91 pixel clock 9 35 pixel clock query 34 pixels 9 per frame 44 range between 44 total per line 12 power specifications 91 programming flow diagrams 55 multiple frame acquisition 60 passthru without overlays 62 single frame acquisition 57 programming flowcharts passthru with overlays 64 R related documents xi returning boards to the factory 88 RGB 19 45 RGB16 19 45 RGB24 19 45 RMA 88 RS 170 8 S scale factor horizontal 45 vertical 45 scaling height 46 input 18 44 passthru 24 46 width 46 service and support procedure 84 setting color input controls 69 setting standard input controls 68 signal types 7 33 36 single frame acquisitions to device asynchronous 49 to device synchronous 49 source origin 46 X value 46 Y value 46 specifications environmental 91 input 90 Index physical 91 power 91 video input 90 status code 56 storage modes 19 33 45 monochrome 45 RGB 45 RGB16 45 RGB24 45 YUYV422 45 subframe acquisition 49 50 suggested reading xii support e mail 87 fax 87 telephone 84 World Wide Web 87 S video signal type 7 sync from current input 39 Sync Se
17. error status checking it is recommended that you check for error status messages after calling each function Programming Flowcharts Single Frame Acquisition Open the device and get the device ID with OllmgOpenDevice Set the timeout period with OllmgSetTimeoutPeriod Choose an input source with OlFgSetlnputVideoSource Set the standard controls for the input source see page 68 Set the color controls for the input source see page 69 Yy Set up an acquisition trigger for the input source with OlFgSetTriggerlnfo v Create a frame buffer with OIFgAllocateBuiltInFrame LA Go to the next page y Ni Only channel 0 the default is supported The default is software 57 Chapter 4 Single Frame Acquisition cont C Continued from previous page Yes Perform an asynchronous acquire Acquire the frame to device memory with OlFgAsyncAcquireFrameToDevice No Check the status of the operation with OlFglsAsyncAcquireJobDone l No Stop asynchronous acquire Job done Stop the acquisition with OlFgCancelAsyncAcquireJob v C Go to the next page 58 Programming Flowcharts Single Frame Acquisition cont Continued from previous page Yes Acquire the frame to device memory with
18. the Acquired Image Display acquired image Draw the contents of the frame with OlFgDrawAcquiredFrameEx y C Go to the next page 70 Programming Flowcharts Process the Acquired Image C Continued from previous page Read data from frame in device memory From to a rectangular region in frame Copy pixel data to a frame with OIFgCopyFrameRect From a rectangular region toa user buffer Copy pixel data contiguously to a user buffer with OlFgReadFrameRect From a contiguous location to a user buffer s Copy pixel data contiguously to a user buffer with OlFgReadContiguousPixels From any location to a user buffer Copy arbitrarily specified pixel data to a user buffer with OlFgReadPixelList No x 4 Go to the next page 71 Chapter 4 Process the Acquired Image cont Continued from previous page From to Yes a rectangular region in frame rite data to frame in device memory Copy pixel data to a frame with OIFgCopyFrameRect No Froma user buffer to a rectangular region Write pixel data from a user buffer to a rectangular region in frame with OIFgWriteFrameRect From a user buffer to a contiguous location Yn Writes pixel data from a user buffer to a cont
19. 16 Bit Data Format 21 Chapter 2 Passthru Operations In a passthru operation a DT3120 board continuously captures and displays video data until you stop the operation Typically you use passthru to view images in as close to real time as possible for the configuration and passthru method chosen for the purpose of focusing or positioning the camera In addition to displaying passthru data you can continuously store the data to user allocated buffers in host memory if desired This operation is called continuous acquire passthru mode This section describes the following aspects of passthru e Passthru modes Source origin e Passthru scaling and e Overlays Passthru Modes The DT3120 board supports bitmap passthru mode and continuous acquire passthru mode This section describes these modes Bitmap Passthru Mode The DT3120 board supports asynchronous bitmap passthru mode In an asynchronous operation the operation starts but gives control to you immediately allowing you to perform other operations while data is displayed Bitmap passthru mode requires a frame in device memory into which the image is captured 22 Principles of Operation Once the image is captured functions in Windows perform bit copies of the image data to display memory Functions in Windows handle obstructions to the passthru window by automatically clipping the passthru image to the visible client window region Therefore even
20. 7 Appendix B 11 When you are finished click Done If you made any changes the Save Changes dialog box appears 12 If you want to save your changes click Yes Modifying a Board in the Device Driver Configuration To modify a board in the device driver configuration perform the following steps 1 Open the Control Panel 2 Double click the DT Imaging Control icon 3 Select the DT3120 board to configure 4 Select the Video Format as either 50 Hz or 60 Hz 5 When you are finished click Done If you made any changes the Save Changes dialog box appears 6 Ifyou want to save your changes click Yes Uninstalling the Device Driver Generally you will always require the DT3120 Device Driver However if you are no longer using the DT3120 board with the supported software you can uninstall the DT3120 Device Driver from the system by performing the following steps 1 Open the Control Panel 2 Double click System 3 Click Hardware then click Device Manager 4 Double click DT Image Device 5 Click the DT3120 Frame Grabber click Action then click Uninstall 98 Modifying the Device Driver 10 11 12 13 Click DT3120 Secondary Device click Action then click Uninstall Close the System dialog box From the Control Panel click Add Remove Programs Click DT3120 Drivers for Windows 2000 then click Change Remove If prompted click Yes to remove read only files Click OK Close t
21. Adding a Board to the Device Driver Configuration 94 Modifying a Board in the Device Driver Configuration 95 Uninstalling the Device Driver 000 96 Windows 2000 Procedures sseessssseees esee 97 Adding a Board to the Device Driver Configuration 97 Modifying a Board in the Device Driver Configuration 98 Uninstalling the Device Driver 000 98 Windows XP Procedures 0 000 e cece e eee eee 100 Adding a Board to the Device Driver Configuration 100 Modifying a Board in the Device Driver Configuration 101 Uninstalling the Device Driver 0006 101 HdE riea we ie patel ocak Gunns P eden ae eater noe 103 vii Contents viii About this Manual This manual describes the features of the DT3120 frame grabber board and how to use the DT3120 Device Driver with the Frame Grabber SDK to write an application program Intended Audience This document is intended for engineers scientists technicians or others responsible for programming and or using a DT3120 board to perform machine vision and or image analysis operations It is assumed that you have some familiarity with imaging principles and that you are familiar with the operating characteristics of your video source If you are writing application programs using the device driver and the Frame Grabber SDK it is also assumed that you are familiar with the Microsoft Windows 98 Windows Me
22. DATA TRANSLATION UM 18109 E DT3120 User s Manual Fifth Edition September 2002 Data Translation Inc 100 Locke Drive Marlboro MA 01752 1192 508 481 3700 www datatranslation com Fax 508 481 8620 E mail info datx com Copyright O 2001 2002 by Data Translation Inc All rights reserved Information furnished by Data Translation Inc is believed to be accurate and reliable however no responsibility is assumed by Data Translation Inc for its use nor for any infringements of patents or other rights of third parties which may result from its use No license is granted by implication or otherwise under any patent rights of Data Translation Inc Use duplication or disclosure by the United States Government is subject to restrictions as set forth in subparagraph c 1 ii of the Rights in Technical Data and Computer software clause at 48 C F R 252 227 7013 or in subparagraph c 2 of the Commercial computer Software Registered Rights clause at 48 C F R 52 227 19 as applicable Data Translation Inc 100 Locke Drive Marlboro MA 01752 Data Translation and GLOBAL LAB are registered trademarks and Imaging OMNI CD DT Open Layers Frame Grabber SDK and DT Vision Foundry are trademarks of Data Translation Inc All other brand and product names are trademarks or registered trademarks of their respective companies Radio and Television Interference This equipment has been
23. E Supports Monochrome Mode OLC IMAGE MONO Yes Supports YUV Mode OLC IMAGE YUV No Supports RGB OLC IMAGE RGB Yes Supports RGB24 OLC IMAGE RGB 24 Yes Supports RGB16 OLC IMAGE RGB 16 Yes Supports RGB15 OLC IMAGE RGB 15 No Supports YUYV422 OLC IMAGE YUYV 422 Yes 45 Chapter 3 46 Table 8 Passthru Capabilities for the DT3120 Device Driver Capability DT3120 Support OlFgQueryPassthruCaps Supports Passthru Section OLC FG PC DOES PASSTHRU Yes Passthru Modes OLC FG PC PASSTHRU MODE LIMITS Supports Async Direct OLC FG PASSTHRU ASYNC DIRECT No Supports Sync Direct OLC FG PASSTHRU SYNC DIRECT No Supports Async Bitmap OLC FG PASSTHRU ASYNC BITMAP Yes Supports Sync Bitmap OLC FG PASSTHRU SYNC BITMAP No Supports Continuous Acquire OLC FG PASSTHRU ASYNC BITMAP EXTENDED Yes Source Origin OLC FG PC DOES SOURCE ORIGIN No Available Range for the X Value of the Source Origin OLC FG PC SRC ORIGIN X LIMITS N A Source Origin Available Range for the Y value of the Source Origin OLC FG PC SRC ORIGIN Y LIMITS N A Passthru Scaling OLC FG PC DOES SCALING No Range of Legal Values for Height OLC FG PC SCALE HEIGHT LIMITS N A Range of Legal Values for Width OLC FG PC SCALE WIDTH LIMITS N A Supported Device Driver Capabilities Table 8 Passthru Capabilities for the DT3120 Device Driver cont Capability DT3120 Support Passthru LUT OLC FG PC DOES PASSTHRU
24. ERNAL LINE Yes Multiple Trigger Modes OLC FG IC MULT TRIGGER MODE LIMITS Trigger Starts Multiple Frame Acquisition OLC FG MODE START Yes Trigger Starts Each Frame Acquisition OLC FG MODE EACH Yes Supports Strobing OLC FG IC DOES STROBE No 35 Chapter 3 Table 4 Input Signal Capabilities for the DT3120 Device Driver cont Capability DT3120 Support Strobing Modes For Each Input Group OLC FG IC STROBE TYPE LIMITS No Can Strobe After Each Field OLC FG STROBE FIELD BASED No Can Strobe After Each Frame OLC FG STROBE FRAME BASED No Can Strobe On A Software Command OLC FG STROBE NOW No Strobe Pulse Width Limits OLC FG IC STROBE PULSE WIDTH LIST LIMITS N A Strobe Pulse Width List in us OLC FG IC STROBE PULSE WIDTH LIST N A Number of LUTs OLC FG IC ILUT COUNT 0 Maximum Index Allowed in each ILUT OLC FG IC MAX ILUT INDEX N A Maximum Value Allowed in each ILUT OLC FG IC MAX ILUT VALUE N A DtColorSignalType Signal Type in the SDK Extensions OLT SIGNAL TYPE Supports Monochrome Signal Type OLC MONO SIGNAL Yes Supports Y C Signal Type Luminance Chrominance OLC YC SIGNAL Yes Support Composite Signal Type OLC COMPOSITE SIGNAL Yes Supports RGB Signal OLC RGB SIGNAL No Supports Dual Mono Signal OLC DUAL MONO SIGNAL No Supports Triple Mono Signal OLC TRIPLE MONO SIGNAL No 36 Supported Device Driver Capabilities Table 4 Inp
25. L OLC FG CTL FRAME TYPE OLC FG FRM IL FRAME EVEN OLC FG IC STROBE PULSE WIDTH LIST LIMITS N A OLC FG CTL ILUT N A DtColorSignalType OLC COMPOSITE SIGNAL DtColorStorageMode OLC IMAGE RGB DtColorlmageParameters Brightness 128 Contrast 216 V Saturation 180 U Saturation 254 Hue 128 Red Level N A Green Level N A Blue Level N A 53 Chapter 3 54 Table 13 Default Control Values cont Control Name Value DtColorHardwareScaling Horizontal scale factor 100 Vertical scale factor 100 DtColorDigitallOControl Digital I O Configuration 0 DtColorSyncMasterMode Enable Disable 0 disabled NL Programming Flowcharts Single Frame Acquisition iseslseseeeeeeeee 5f Multiple Frame Acquisition sseslsseeeseeee 60 Passthru without Overlays 06 6 e cece eee ee 62 Passthru with Overlays 0 e ccc eeeee ee 64 55 Chapter 4 56 The following flowcharts show the steps required to perform imaging operations using DT Open Layers For illustration purposes the functions in the Frame Grabber SDK are shown however the concepts apply to all DT Open Layers software for imaging Note that many steps represent several substeps if you are unfamiliar with the detailed operations involved with any one step refer to the indicated page for detailed information Optional steps appear in shaded boxes Note Although the flowcharts do not show
26. RABBER 32 OLC MONO SIGNAL 36 OLC SET BRIGHTNESS 37 OLC SET CONTRAST 37 OLC SET HUE 37 OLC SET U SAT 37 OLC SET V SAT 37 OLC YC SIGNAL 36 OlFgAcquireFrameToDevice 59 OlFgAcquireMultipleToDevice 61 OlFgAllocateBuiltInFrame 57 60 74 A5 OIFgAsyncAcquireFrameToDevice 58 OIFgAsyncAcquireJobDone 61 OIFgAsyncAcquireMultipleTo Device 61 OlFgCancelAsyncAcquireJob 58 61 OlFgCopyFrameRect 71 72 OlFgCreateSurface 65 OlFgDestroyFrame 59 61 63 67 OlFgDestroySurface 67 OlFgDrawAcquiredFrameEx 70 OlFgEnableOverlays 67 76 OlFgEraseSurface 65 OIFgGetPassthruSyncEvent 77 OlFgGetSurfaceDC 65 77 OlFgIsAsyncAcquireJobDone 58 OlFgMapFrame 73 OlFgQueryCameraControlCaps 51 OlFgQueryDDICaps 47 OlFgQueryMemoryCaps 48 OlFgQueryPassthruCaps 46 OlFgReadContiguousPixels 71 OlFgReadFrameRect 71 OlFgReadPixelList 71 OlFgReleaseSurfaceDC 65 77 OlFgSetInputControl Value 68 OlFgSetInputVideoSource 57 60 62 64 OIFgSetOverlayColorKey 76 OlFgSetPassthruScaling 65 OlFgSetTranslucentOverlay 76 OIFgSetTriggerInfo 57 60 OlFgSetVisibleSurface 76 77 OlFgStartAsyncPassthruBitmap 74 OlFgStartAsyncPassthruEx 74 OIFgStopAsyncPassthru 63 67 OlFgUnmapFrame 73 OlFgWriteContiguousPixels 72 OIFgWriteFrameRect 72 OIFgWritePixelList 72 107 Index 108 OlImgCloseDevice 59 61 63 67 OlImgOpenDevice 57 60 62 64 OlImgQueryDeviceCaps 32 OlImgQueryInputCaps 34 38 40 42 49 OlImgSetTimeoutPeriod 57 60 62 64 OLT COLOR
27. _FRAME_VINC_LIMITS 44 OLC_FG_IC_FRAME_WIDTH_ LIMITS 43 OLC FG IC MAX FRAME SIZE 44 OLC FG IC MUIT TRIGGER MODE LIMITS 35 OLC FG IC MULT TRIGGER TYPE LIMITS 35 OLC FG IC PIXEL DEPTH 44 OLC FG IC SINGLE FRAME OPS 49 OLC FG IC SYNC SENTINEL TYPE LIMITS 39 OLC FG IC TRIG EXTERNAL LINE 35 OLC FG IC VIDEO TYPE LIMITS 39 OLC FG ILUT COUNT 36 OLC FG INPUT SOURCE COUNT 34 OLC FG MC MEMORY TYPES 48 OLC FG MC VOL COUNT 48 OLC FG MEM VOLATILE 48 OLC FG MODE EACH 35 OLC FG MODE START 35 OLC FG PASSTHRU ASYNC BITMAP 46 OLC FG PASSTHRU ASYNC BITMAP EXTENDED 46 OLC FG PASSTHRU SYNC BITMAP 46 OLC FG PC DOES PASSTHRU 46 OLC FG PC DOES PASSTHRU SNAPSHOT 47 OLC FG PC DOES SOURCE ORIGIN 46 OLC FG PC PASSTHRU MODE LIMITS 46 OLC FG PC PC DOES SCALING 46 OLC FG PC SCALE HEIGHT LIMITS 46 OLC FG PC SCALE WIDTH LIMITS 46 OLC FG PC SRC ORIGIN X LIMITS 46 Index OLC FG PC SRC ORIGIN Y LIMITS 46 OLC FG SECTION DDI 32 OLC FG SECTION INPUT 32 OLC FG SECTION MEMORY 32 OLC FG SECTION PASSTHRU 32 OLC FG SYNC SENTINEL FIXED 39 OLC FG TRIG EXTERNAL LINE 35 OLC FG TRIGGER TYPE LIMITS 35 OLC FG VID COMPOSITE 39 OLC IMAGE MONO 45 OLC IMAGE RGB 45 OLC IMAGE RGB 16 45 OLC IMAGE RGB 24 45 OLC IMAGE YUYV 422 45 OLC IMG DC DEVICE ID 32 OLC IMG DC DEVICE NAME 32 OLC IMG DC OL SIGNATURE 32 OLC IMG DC SECTIONS 32 OLC IMG DEV COLOR FRAME G
28. ability or flag or the range of values supported by the capability To find the information about a capability more readily use this information For capabilities Refer to the table that apply to starting on All frame grabbers page 32 Input signals page 34 Sync signals page 38 Active video area page 40 Frames page 42 Passthru page 46 30 Supported Device Driver Capabilities For capabilities Refer to the table that apply to starting on Overlay page 47 Memory page 48 Acquisition page 49 Digital I O page 51 Note If your code is intended to be compatible with various Data Translation products use the query functions to determine that the capability is supported by the installed board prior to execution For more information refer to the description of SDK functions in the Frame Grabber SDK online help 31 Chapter 3 Table 3 General Device Capabilities for the DT3120 Device Driver Capability DT3120 Support OllmgQueryDeviceCaps Board Signature OLC IMG DC OL SIGNATURE 0x44544F4C Device ID OLC IMG DC DEVICE ID 8080h Board Name OLC IMG DC DEVICE NAME DT3120 Device Type OLC IMG DC OL DEVICE TYPE Monochrome Frame Grabber OLC IMG DEV MONO FRAME GRABBER Yes Color Frame Grabber OLC IMG DEV COLOR FRAME GRABBER Yes Sections Supported OLC IMG DC SECTIONS Supports Input Operation
29. ame Storage Mode 000000 00000 ee 19 Contents Passthru Operations 22 Passthru Modes sssessssssseeseee eese 22 Bitmap Passthru Mode 6000 eee eee ees 22 Continuous Acquire Passthru Mode 23 Source Origi 2 utar ne ace pei ie bac o ders 24 Passthr Scaling sso seek mee Rer RR 24 Overlays soe vetet etu nde pe deles pde e mee ert us 25 Acquisition Operations 26 Chapter 3 Supported Device Driver Capabilities 29 DT3120 Device Driver Capabilities 0 30 Initialized Control Values 00 00 ccc eee ee eens 52 Chapter 4 Programming Flowcharts 55 Single Frame Acquisition 00 00000000 eee 57 Multiple Frame Acquisition 0 00000000 60 Passthru without Overlays s a sussun sess 62 Passthru with Overlays 0 000000 cee eee eee 64 Chapter 5 Troubleshooting Leslese 79 General Checklist o2 br ERR E eRRERPS 80 Service and Support essere enese erkini e 84 Telephone Technical Support 0 000 84 E Mail and Fax Support 0 0 000008 87 World Wide Web 00 00 ccc cece ete 87 If Your Board Needs Factory Service 6 00 eee eee 88 Appendix A Specifications 0 020008 89 vi Contents Appendix B Modifying the Device Driver 93 Windows 98 and Windows Me Procedures 94
30. ays require Direct Draw Interface DDI support 25 Chapter 2 Acquisition Operations The DT3120 board can acquire interlaced frames or individual fields either synchronously or asynchronously and store them in system memory In a synchronous acquisition you cannot perform another operation until the synchronous acquisition completes In an asynchronous acquisition the operation starts but gives control to you immediately allowing you to perform other operations while data is acquired Using the DT3120 you can acquire a single full frame a single field subframe multiple full frames or multiple fields Data is stored to an area in system memory that is allocated by the DT3120 Device Driver called device memory Table 2 lists the memory size that is used for each image format and image type supported Table 2 Memory Used Storage Image Maximum Memory Used Video Format Format Bytes 60 Hz RGB or RGB24 1 228 800 RGB16 or YUYV422 614 400 MONO 307 200 50 Hz RGB or RGB24 1 769 472 RGB16 or YUYV422 884 736 MONO 442 368 26 Principles of Operation An interrupt is generated when an even or odd field has been acquired the PCI bus assigns the interrupt to the board automatically when it is installed The speed of the PCI bus allows the DT3120 to transfer an unlimited number of consecutive frames across the bus in real time You can acquire consecutive images up to the capaci
31. board Place in a secure shipping container Return the board to the following address making sure the RMA number is visible on the outside of the box Customer Service Dept Data Translation Inc 100 Locke Drive Marlboro MA 01752 1192 A Specifications Appendix A Table 15 lists the electrical specifications for the video input signals of the DT3120 boards Table 15 Video Input Electrical Specifications Feature Specification Input Signal Range 0 5 V to 2 0 V Input Impedance 75 Q t 1096 Table 16 lists the electrical specifications for the external trigger signals of the DT3120 board Table 16 External Trigger Electrical Specifications Minimum Maximum Feature Specification Specification Input Low Level Vj 0 VDC 0 4 VDC Input High Level Viu 3 5 VDC 5 0 VDC Input rate 10Hz a Exceeding the voltage limits noted may cause damage to the device to which the input is connected 90 Specifications Table 17 lists the power physical and environmental specifications of the DT3120 board Table 17 Power Physical and Environmental Specifications Feature Specification Operating temperature 0 C to 50 C 32 F to 122 F Storage temperature 25 C to 70 C 43 F to 158 F Humidity 0 to 90 noncondensing Dimensions 6 875 inches x 4 2 inches Weight 5 8 ounces 150 grams 91 Appendix A
32. default is 0 Set the height of the frame with Use the key OLC_FG_CTL_FRAME_HEIGHT to set OlFgSetInputControlValue the number of lines per field of video to digitize for the selected input channel The default is 576 for 50 Hz and 480 for 60 Hz v Set the width of the frame with OlFgSetInputControlValue Use the key OLC FG CTL FRAME WIDTH to set the number of pixels per line of video to digitize for the selected input channel The default is 786 for 50 Hz and 640 for 60 Hz v E Return to main flowchart Programming Flowcharts Set the Color Controls for the Input Channel DtColorSignalType MONO Y C or composite signal type the C Set the input signal type with If acquiring color images specify either a default for the input channel v Set the color parameters with DtColorlmageParameters Set the brightness default is 128 contrast default 216 V saturation default 2180 U saturation default 254 and hue default 128 for the input channel v Set the input scaling with DtColorHardwareScaling Specify the scaling factors for the input channel as a percentage of the original size default 100 v 7 Specify the storage mode as RGB the Set the storage mode with default RGB24 RGB16 YUYV422 or DtColorStorageMode MONO C Return to main flowchart J 69 Chapter 4 Process
33. e driver configuration 100 modifying a board in the driver configuration 101 uninstalling the device driver 101 World Wide Web 87 writing programs in Visual Basic 3 writing programs in Visual C 3 Y Y C signals 8 36 YUYV 19
34. e visible portion of those lines containing visible pixel data Its top is set by the first active line its left side is set by the first active pixel it is as wide as the active pixel count and it is as tall as the active line count For more information about the horizontal and vertical signals that comprise the total video area and the parameters you can set to specify the active video area refer to the following sections Principles of Operation Horizontal Video Signal Each line of video comprising the total video area contains blanking information and active video Figure 2 shows the components of a single horizontal line of video Note that the frame is an area that you establish within the active video area For information about the frame refer to page 15 Frame Left Frame Width First Active Pixel Horizontal Reference Color Point Burst Active Video Clamp Start rn Clamp End Front Back Front Porch Porch Porch Horizontal Sync Blanking Active Pixel Count Total Pixels per Line Figure 2 Horizontal Video Signal A horizontal line of video is identified by the falling edge of the horizontal sync and a field is composed of a collection of horizontal lines defined by the active line count Pixel measurements are relative to the horizontal reference point which is defined as the beginning of the horizontal sync The horizontal video signal settings are fixed and cannot be program
35. ented image processing tools Chapter 1 Refer to the Data Translation catalog for information on additional software packages available for the DT3120 board Principles of Operation Video Input Signals e iinei epika eee eee 7 SYNC Signals ees Ye ee eee Oe seed be oa ete a oe 11 Video At a ci e iR dp Rae Gr ERG EEG d 12 Passthru Operations i aa 22 Acquisition Operations 6 6666 26 Chapter 2 To aid the discussions in this chapter refer to the block diagram of the DT3120 board shown in Figure 1 Bold signal names indicate signals you can access Video Input pe ADC Programmable Image Scaling Y Programmable Image Cropping FIFO External PCI Interface Trigger Primary PCI Bus Figure 1 DT3120 Block Diagram Principles of Operation Video Input Signals This section describes the following aspects of the supported input signals Video signal types Video formats Video input channels Color controls Pixel clock and Triggers Video Signal Types The DT3120 can acquire images from the following signal types Monochrome Data is represented as 8 bit grayscale values Composite CVBS The Color Video Broadcast Standard where both luminance and chrominance information is encoded on a single composite video signal The signal passes through high and low pass filters on the board to sepa
36. er 5 86 Information Required for Technical Support Name Phone Contract Number Address Data Translation hardware product s serial number configuration Data Translation device driver SPO number version Data Translation software SPO number serial number version PC make model operating system version Windows version processor Speed RAM hard disk space network number of users disk cache graphics adapter data bus have the following boards and applications installed in my system am encountering the following problem s and have received the following error messages codes have run the board diagnostics with the following results You can reproduce the problem by performing these steps 1 Troubleshooting E Mail and Fax Support You can also get technical support by e mailing or faxing the Technical Support Department E mail You can reach Technical Support at the following address tsupport datx com Ensure that you provide the following minimum information Your name Your company or organization A phone number An email address where you can be reached The hardware software product you need help on Asummary of the issue you are experiencing Your contract number if applicable and Your product s
37. erial number or purchase date Omitting any of the above information may delay our ability to resolve your issue Fax Please photocopy and complete the form on page 86 then fax Technical Support at the following number 508 481 8620 Support requests from non contract and out of warranty customers are processed with the same priority as telephone support requests World Wide Web For the latest tips software fixes and other product information you can always access our World Wide Web site free of charge at the following address http www datatranslation com 87 Chapter 5 88 If Your Board Needs Factory Service If your board must be returned to Data Translation perform the following steps 1 Record the board s serial number then contact the Customer Service Department at 508 481 3700 if you are in the USA and obtain a Return Material Authorization RMA If you are located outside the USA call your local distributor for authorization and shipping instructions The name and telephone number of your nearest distributor are listed in your Data Translation catalog All return shipments to Data Translation must be marked with the correct RMA number to ensure proper processing Using the original packing materials if available package the board as follows Wrap the board in an electrically conductive plastic material Handle with ground protection A static discharge can destroy components on the
38. he Control Panel Turn your computer off and remove any DT3120 boards Note If you want to reinstall the device driver after removing it refer to the DT3120 Getting Started Manual for instructions 99 Appendix B 100 Windows XP Procedures This section describes the following procedures in Windows XP Adding a board to the device driver configuration on this page Modifying the board settings in the device driver configuration on page 101 and Uninstalling the device driver if necessary on page 101 Adding a Board to the Device Driver Configuration To add a new board to the DT3120 Device Driver configuration perform the following steps 1 SP N DS Turn your computer off and insert the new DT3120 board into your computer following the instructions in the DT3120 Getting Starting Manual Turn your computer on and start Windows XP The Add New Hardware Wizard dialog box appears Click Next Click Search for a suitable driver for my device recommended make sure all optional search locations are unchecked then click Next Click Next The files are copied Click Finish Open the Control Panel Double click the DT Imaging Control icon Select the DT3120 board to configure 10 Select the Video Format as either 50 Hz or 60 Hz Modifying the Device Driver 11 When you are finished click Done If you made any changes the Save Changes dialog box appears 12 If you want to
39. ide useful information that requires special emphasis cautions provide information to help you avoid losing data or damaging your equipment and warnings provide information to help you avoid catastrophic damage to yourself or your equipment e tems that you select or type are shown in bold Courier font is used to represent source code About this Manual Related Information Refer to the following documents for more information on using the DT3120 board DT3120 Getting Started Manual UM 18113 included on the Imaging OMNI CD or GLI 2 Streamline CD provided with the DT3120 board describes how to install the DT3120 software install a DT3120 board connect signals to the board install and configure the DT3120 Device Driver verify the board s operation with DT Acquire and view the DT3120 manuals online Frame Grabber SDK User s Manual UM 13442 and online help included on the Imaging OMNI CD provided with the DT3120 board describe the Dynamic Linkable Library DLL that you can use to write image acquisition application software DT Active Open Layers User s Manual UM 17325 available from Data Translation describes DT Active Open Layers an ActiveX control which allows you to use Data Translation PCI frame grabber boards within graphical programming environments such as Microsoft Visual Basic and Visual C GLOBAL LAB Image 2 User s Manual UM 17790 and GLOBAL LAB Image 2 API Manual UM 17792 avai
40. if the window is obstructed in bitmap mode the passthru can continue unabated Once an obstruction has been removed from the passthru window client area Windows automatically restores the correct underlying image data A passthru operation continues until you stop it You can stop an asynchronous bitmap passthru operation using software Continuous Acquire Passthru Mode The DT3120 board supports asynchronous continuous acquire passthru mode Since it is asynchronous the operation starts but gives control to you immediately allowing you to perform other operations while data is acquired and or displayed Using software you can set up the continuous acquire passthru operation so that data is continuously stored and displayed or continuously stored but not displayed If you want to display data in continuous acquire passthru mode functions in Windows perform bit copies of the image data to display memory These functions also handle obstructions to the passthru window by automatically clipping the passthru image to the visible client window region Therefore even if the window is obstructed in bitmap mode the passthru can continue unabated Once an obstruction has been removed from the passthru window client area Windows automatically restores the correct underlying image data In continuous acquire passthru mode data is stored in a circular buffer in device memory 23 Chapter 2 24 This mode also has a synchroniza
41. iguous location with OlFgWriteContiguousPixels Yes From any location to a user buffer rites pixel data from a user buffer to arbitrarily specified locations in frame with OIFgWritePixelList No C Go to next page 72 Programming Flowcharts Process the Acquired Image cont C Continued from previous page Map image to application memory Map the frame to application s virtual address space with OIFgMapFrame i Manipulate process image using your own functions Unmap the frame to application s virtual address space with OlFgUnmapFrame C Return to main flowchart 73 Chapter 4 Start the Passthru Operation Perform a Yes continuous acquire Get multiple frame IDs with OIFgAllocateBuiltInFrame v passthru i No Start the passthru acquisition with OlFgStartAsyncPassthruEx Get a single frame ID with OIFgAllocateBuiltInFrame i Start the passthru with OlFgStartAsyncPassthruBitmap 74 Programming Flowcharts Take a Snapshot Create a frame buffer with OIFgAllocateBuiltInFrame i Acquire the image with OlFgPassthruSnapShot Process the acquired image see page 71 75 Chapter 4 Set up and Enable Overlays E Set the visible surface with Nr OlFgSetVisibleSurface
42. ipped with the board You must install this device driver to use a DT3120 board with any of the supported software packages or utilities Refer to the DT3120 Getting Started Manual UM 18113 for information on installing the device driver DT Acquire This software is provided on the Imaging OMNI CD which is shipped with the board This utility allows you to verify the operation of your board during startup Refer to the DT3120 Getting Started Manual for information on installing and using this utility e GLI 2 Streamline This package is shipped with the board if you purchased the SCI PAK package This package allows you to create scientific applications using object oriented image processing tools 32 Bit Frame Grabber SDK Use this software package provided on the Imaging OMNI CD if you want to develop your own application software for the DT3120 board using the Microsoft C compiler in Windows 98 Windows Me Windows 2000 or Windows XP e DT Active Open Layers Order this optional software package if you want to use the DT Active Open Layers ActiveX control to access the capabilities of the DT3120 board using Microsoft Visual Basic or Visual C e GLOBAL LAB Image 2 Order this optional software package if you want to develop scientific applications using object oriented image processing tools DT Vision Foundry Order this optional software package if you want to develop machine vision applications using object ori
43. is 1 the maximum scale factor is 100 nominal is 100 Principles of Operation Frame Storage Mode You can store the data in one of the following formats Monochrome format 8 bits per pixel as shown in Figure 5 e RGB16 16 bits per pixel as shown in Figure 6 e RGB24 24 bits per pixel as shown in Figure 7 and RGB 32 bits per pixel as shown in Figure 8 and e YUYV422 16 bits per pixel as shown in Figure 9 Address 0 1 2 3 4 5 6 7 Byte Format Mi M2 M3 M4 M5 M6 M7 M8 Address 0 4 DWORD Format M1M2M3M4 M5M6M7M8 Figure 5 Monochrome Mode 8 Bit Data Format 19 Chapter 2 Address 0 1 2 3 4 5 6 7 Byte Format RGB1 RGB2 RGB3 RGB4 Address 0 4 DWORD Format RGB1 RGB2 RGB3 RGB4 Figure 6 RGB16 16 Bit Color Data Format Address 0 1 2 3 4 5 6 7 Byte Format R1 G1 B1 R2 G2 B2 R3 G3 Address 0 4 DWORD Format R1G1B1R2 G2B2R3B3 Figure 7 RGB 24 Bit Color Data Format 20 Principles of Operation Address 0 1 2 3 4 5 6 7 Byte Format R1 Gi Bi X1 R2 G2 B2 X2 Address 0 4 DWORD Format R1G1B1X1 R2G2B2X1 Figure 8 RGB 32 Bit Color Data Format Address 0 1 2 3 4 5 6 7 Byte Format YOUOYiVO Y2U1Y3V1 Y4U2Y5V2 Y6U3Y7V3 Address 0 4 DWORD Format YUYVO YUYV1 YUYV2 YUYV3 Figure 9 YUYV422
44. l OLC FG IC FRAME HINC LIMITS min 1 max 10 nominal 1 granularity 1 Range Between Lines Scale factor vertical OLC FG IC FRAME VINC LIMITS min 1 max 10 nominal 1 granularity 1 Frame Types OLC FG IC FRAME TYPE LIMITS Acquire Interlaced Frame Starting on Even Field OLC FG FRM IL FRAME EVEN Acquire Interlaced Frame Starting on Odd Field OLC FG FRM IL FRAME ODD Acquire Interlaced Frame Starting on Next Field OLC FG FRM IL FRAME NEXT Acquire the Even Field OLC FG FRM FIELD EVEN Acquire the Odd Field OLC FG FRM FIELD ODD Acquire the Next Field OLC FG FRM FIELD NEXT Acquire the Next Noninterlaced Frame OLC FG FRM NON INTERLACED Yes Yes Yes Yes Yes Yes No Maximum Number of Pixels in Frame OLC FG IC MAX FRAME SIZE 50 Hz 442368 60 Hz 307200 Number of Bytes in a Pixel OLC FG IC PIXEL DEPTH RGB 4 RGB24 3 RGB16 2 YUYV422 2 Mono 1 Supported Device Driver Capabilities Table 7 Frame Capabilities for the DT3120 Device Driver cont Capability DT3120 Support DtColorHardwareScaling Hardware Scaling in SDK Extensions OLT SCALE PARAM Horizontal scale factor percentage min 1 hscale max 100 nominal 100 granularity 1 Vertical scale factor percentage min 1 vscale max 100 nominal 100 granularity 1 DtColorStorageMode Storage Mode in the SDK Extensions OLT IMAGE MOD
45. l Values Table 13 lists the default control values after opening or initializing the DT3120 Device Driver Table 13 Default Control Values Control Name Value OLC FG INPUT FILTER N A OLC FG BLACK LEVEL N A OLC FG WHITE LEVEL N A OLC FG VIDEO TYPE OLC FG VID COMPOSITE OLC FG CSYNC SOURCE OLC FG CSYNC CURRENT SRC OLC FG CSYNC THRESH N A OLC FG SYNC SENTINEL N A OLC FG HSYNC INSERT POS N A OLC FG HSYNC SEARCH POS N A OLC FG VSYNC INSERT POS N A OLC FG VSYNC SEARCH POS N A OLC FG BACK PORCH START 0 OLC FG CLAMP START 0 OLC FG CLAMP END 0 OLC FG TOTAL PIX PER LINE 50 Hz 1135 60 Hz 910 OLC FG FIRST ACTIVE PIXEL 50 Hz 190 60 Hz 140 OLC FG ACTIVE PIXEL COUNT 50 Hz 768 60 Hz 640 OLC FG TOTAL LINES PER FLD 50 Hz 312 60 Hz 262 52 Supported Device Driver Capabilities Table 13 Default Control Values cont Control Name Value OLC FG CTL FIRST ACTIVE LINE 50 Hz 38 60 Hz 21 OLC FG CTL ACTIVE LINE COUNT 50 Hz 288 60 Hz 240 OLC FG CTL FRAME TOP 0 OLC FG CTL FRAME LEFT 0 OLC FG CTL FRAME WIDTH 50 Hz 768 60 Hz 640 OLC FG CTL FRAME HEIGHT 50 Hz 576 60 Hz 480 OLC FG CTL HOR FRAME INC 1 OLC FG CTL VER FRAME INC 1 OLC FG CTL CLOCK FREQ 50 Hz 15 000 000 60 Hz 12 500 000 OLC FG CTL CLOCK SOURCE OLC FG CLOCK INTERNA
46. lable from Data Translation describe how to use GLOBAL LAB Image 2 GLI 2 and GLI 2 Streamline to create scientific applications using object oriented image processing tools DT Vision Foundry User s Manual UM 17755 and DT Vision Foundry API Manual UM 17757 available from Data Translation describe how to use DT Vision Foundry to create machine vision applications using object oriented image processing tools xi About this Manual xii Additionally it may be helpful to read other material to gain a better understanding of image processing concepts algorithms and their applications Data Translation s Technical Support Department recommends the following resources for understanding image processing concepts processing and coding Baxes Gregory A Digital Image Processing Principles amp Applications New York John Wiley amp Sons 1994 Introduction to image processing and hardware software basics Benson K Blair and Donald G Fink HDTV Advanced TV for the 1990 s New York McGraw Hill 1990 Details high definition television concepts Castleman K R Digital Image Processing Englewood Cliffs NJ Prentice Hall 1987 Explains major image processing concepts and mathematical concepts involved in digital image manipulation Cunningham John E Cable TV 2nd ed Indianapolis Howard W Sams amp Company Inc 1987 Provides the basics of cable television Foley J D and A Van Dam Fundamentals of
47. llmgSetTimeoutPeriod o Choose an input source with Only channel 0 the default is OlFgSetlnputVideoSource supported Y Set the standard controls for the input source see page 68 Y Set the color controls for the input source see page 69 Specify the scaling factors for the input channel as a percentage of the original size default 100 Scale passthru image with DtColorHardwareScaling Go to the next page 64 Programming Flowcharts Passthru with Overlays cont C Continued from previous page Seele PESSIMU IMEGE wiin The default is 480 for 60 Hz and 576 OlFgSetPassthruScaling for 50 Hz Create a surface for each overlay with OlFgCreateSurface e Get a surface DC with OlFgGetSurfaceDC f Draw an image on the surface with standard GDI functions Change contents of a surface Yes Erase the contents of a surface with OlFgEraseSurface Release the surface DC with OlFgReleaseSurfaceDC Yes Create another overlay No C Go to the next page 65 Chapter 4 Passthru with Overlays cont C Continued from previous page Enable overlay before passthru starts Set up and enable overlays see page 76 Y Start a passthru operation see page 74 Start a pas
48. med 13 Chapter 2 Vertical Video Signal Each field of video also contains blanking information and lines of active video Figure 3 shows the components of a single vertical field of noninterlaced video Note that the frame is an area that you establish within the active video area For information about the frame refer to page 15 First Active Line Frame Top Vertical Reference Frame Height Point 3 Active Video Vertical Sync Blanking Active Line Count Total Lines Per Field Figure 3 Vertical Video Signal Line measurements are relative to the vertical reference point which is defined as the beginning of the vertical sync Lines themselves are measured in terms of pixels The vertical video signal settings are fixed 14 Principles of Operation Frame Region of Interest The frame is the portion of the active video area that you want to digitize For this reason it is sometimes called the region of interest ROD This section describes the following aspects of frames Frame size e Frame type Scaling frames and Frame storage modes Frame Size The top of the frame is the first line of video relative to the active video area The left side of the frame is the first pixel of video relative to the active video area The width of the frame is the number of pixels per line of video The height of the frame is the number of lines per field Table 1 shows the settings you can prog
49. met pas de bruits radio lectriques d passant les limites applicables aux appareils num riques de la class A prescrites dans le R glement sur le brouillage radio lectrique dict par le Minist re des Communications du Canada Table of Contents About this Manual esee ix Intended Audience sseeslessesseeele eese ix What You Should Learn from this Manual ix Conventions Used in this Manual uussusus X Related Information 0 000 ccc eee cence nee xi Where to Get Help sse xv Chapter 1 Overview 2000 cee cece eee 1 hz Pe 2 Supported Software 6 eee ES 3 Chapter 2 Principles of Operation 5 Video Input Signals iiec e e RR eee e rye a 7 Video Signal Types 0 7 Videos Input Channels 0 00000 e eee eee 8 Color Intensity 25 cepe p ied idee REP RIRs 9 Pixel Clocks iere RR RR REPRE CPP ERE COR DESC EE 9 THggets uires debate Idea PER Edere 10 SYNC Signals kae Es expe ex eese edid eda v eye he 11 Video Areas ccc br wwe ce p be Wid UCET ea itd 18 Active Video Area 0 2 ccc cee nee 12 Horizontal Video Signal ssssssuses 13 Vertical Video Signal 0000 14 Frame Region of Interest 000000 0008 15 Frame Size 4 222399 eb 9e cede REA T ER 15 Types of Frames o regesc koei RE Re REL RETE 17 Scaling Frames eser tte deter eee ee 18 Fr
50. ntinel 39 query 39 types 39 sync signals 11 39 sync threshold limits 39 sync threshold list 39 synchronous acquisition 26 synchronous bitmap passthru 22 synchronous continuous acquire passthru 23 T technical support 84 e mail 87 fax 87 telephone 84 World Wide Web 87 telephone support 84 total lines per field 12 total pixels per line 12 total video area see video area trigger 35 external 35 types 35 troubleshooting procedure 80 service and support procedure 84 troubleshooting table 81 U uninstalling the device driver Windows 2000 98 Windows 98 96 Windows Me 96 Windows XP 101 U saturation 9 37 V vertical sync signals 11 vertical video signal 14 video area active 12 frame 15 total 12 video input channels 8 video input signals 7 video input specifications 90 video sources 39 video types 39 Visual Basic programs 3 Visual C programs 3 volatile buffer handles 48 109 Index 110 volatile memory 48 YUYV422 45 V saturation 9 37 W Windows 2000 adding a board to the driver configuration 97 modifying a board in the driver configuration 98 uninstalling the device driver 98 Windows 98 adding a board to the driver configuration 94 modifying a board in the driver configuration 95 uninstalling the device driver 96 Windows Me adding a board to the driver configuration 94 modifying a board in the driver configuration 95 uninstalling the device driver 96 Windows XP adding a board to th
51. on OLC FG IC ACTIVE LINE LIMITS min 0 max 255 nominal 50 Hz 38 60 Hz 21 granularity 1 Range of Active Lines Count OLC_FG_IC_ACTIVE_HEIGHT_LIMITS min 50 Hz 288 60 Hz 240 max 50 Hz 288 60 Hz 240 nominal 50 Hz 288 60 Hz 240 granularity 0 Table 7 Frame Capabilities for the DT3120 Device Driver Capability DT3120 Support OlFgQueryInputCaps Supports Frame Selection OLC FG IC DOES FRAME SELECT Yes Supports Frame Selection Query OLC FG IC DOES QUERY FRAME SELECT Yes 42 Supported Device Driver Capabilities Table 7 Frame Capabilities for the DT3120 Device Driver cont Capability DT3120 Support Range of Frame Top Control OLC FG IC FRAME TOP LIMITS min O max 50 Hz 575 60 Hz 479 nominal 0 granularity Range of Frame Left Control OLC FG IC FRAME LEFT LIMITS min O max 50 Hz 763 60 Hz 635 nominal 0 granularity k Range of Frame Height Control OLC FG IC FRAME HEIGHT LIMITS min 1 max 50 Hz 576 60 Hz 480 nominal 50 Hz 576 60 Hz 480 granularity Range of Frame Width Control OLC FG IC FRAME WIDTH LIMITS min 1 max 50 Hz 768 60 Hz 640 nominal 50 Hz 768 60 Hz 640 granularity 1 43 Table 7 Frame Capabilities for the DT3120 Device Driver cont Capability DT3120 Support Range Between Pixels Scale factor horizonta
52. or shade of the color Values range from 0 to 255 in increments of 1 the nominal value is 128 Pixel Clock The DT3120 generates a 12 5 MHz pixel clock signal for 60 Hz image formats and a 15 MHz pixel clock signal for 50 Hz image formats Pixels are available to the DT3120 frame grabber board in increments of PixelPeriod which is equal to 1 clock frequency Chapter 2 Triggers DT3120 board can accept one of the following trigger sources e A software trigger The board can acquire a frame when a software command is issued e An external trigger By attaching a digital signal to connector J1 on the board you can synchronize frame acquisitions with external events By default the external trigger is disabled Through software you can enable the external trigger You program the trigger source for the acquisition using software You can specify whether to start image acquisition when the board detects either a low to high edge rising edge transition or a high to low edge falling edge transition The incoming external trigger is forwarded to the device driver as an interrupt The interrupt is processed by the device driver to start the acquisition if desired 10 Principles of Operation Sync Signals To digitize the incoming video signal the DT3120 board requires both horizontal and vertical sync signals The board determines this information as well as the odd and even fields from the video input
53. ot designed to share interrupts select a different interrupt for each PCI slot in the PCI BIOS To do this enter the system BIOS program this is usually done by pressing the DEL key when rebooting your system Once in the system BIOS enter the PCI PnP BIOS setup and select a unique interrupt for each PCI slot The PCI BIOS assigns the interrupt the device on the PCI bus does not have control over the interrupt assignment Some network devices do not share interrupts If you still have an interrupt conflict remove the network device install the DT3120 board and reboot the system Then reinsert the network device 83 Chapter 5 Service and Support If you have difficulty using the DT3120 board Data Translation s Technical Support Department is available to provide prompt technical assistance Support upgrades technical information and software are also available All customers can always obtain the support needed The first 90 days are complimentary as part of the product s original warranty to help you get your system running Customers who call outside of this time frame can either purchase a support contract or pay a nominal fee charged on a per incident basis For priority support purchase a support contract Support contracts guarantee prompt response and are very affordable contact your local sales office for details Refer to the Data Translation Support Policy located at the end of this
54. ple frame acquisitions 35 to device asynchronous 50 to device synchronous 50 multiple trigger modes 35 multiple trigger types 35 N NTSC 8 O OLC COMPOSITE SIGNAL 36 OLC FG ACOQ FRAME 49 50 OLC FG ACQ SUBFRAME 49 50 OLC FG CC DIG OUT COUNT 51 OLC FG CLOCK INTERNAL 35 OLC FG CSYNC CURRENT SRC 39 OLC FG CTL CSYNC SOURCE 68 OLC FG CTL FRAME HEIGHT 68 OLC FG CTL FRAME LEFT 68 OLC FG CTL FRAME TOP 68 OLC FG CTL FRAME WIDTH 68 OLC FG CTL VIDEO TYPE 68 OLC FG FRM FIELD EVEN 44 OLC FG FRM FIELD NEXT 44 OLC FG FRM FIELD ODD 44 OLC FG FRM IL FRAME EVEN 44 OLC FG FRM IL FRAME NEXT 44 OLC FG FRM IL FRAME ODD 44 OLC FG IC ACTIVE LINE LIMITS 42 OLC FG IC ACTIVE PIXEL LIMITS 41 OLC FG IC CLOCK FREQ LIMITS 35 OLC FG IC CLOCK SOURCE LIMITS 35 OLC FG IC CSYNC SOURCE LIMITS 39 OLC FG IC CSYNC THRESH LIST 39 OLC FG IC CSYNC THRESH LIST LIMITS 39 105 Index 106 OLC FG IC DOES DRAW ACQUIRED FRAME 50 OLC FG IC DOES DRAW ACQUIRED FRAME EX 50 OLC FG IC DOES FRAME SELECT 42 OLC FG IC DOES QUERY FRAME SELECT 42 OLC FG IC DOES QUERY PIXEL CLOCK 34 OLC FG IC DOES QUERY SYNC SENTINEL 39 OLC FG IC DOES QUERY VIDEO SELECT 38 OLC FG IC DOES SYNC SENTINEL 39 OLC FG IC DOES TRIGGER 35 OLC FG IC FRAME HEIGHT LIMITS 43 OLC FG IC FRAME HINC LIMITS 44 OLC FG IC FRAME LEFT LIMITS 43 OLC FG IC FRAME TOP LIMITS 43 OLC FG IC FRAME TYPE LIMITS 44 OLC_FG_IC
55. provides many programming examples covers TIFF and PICT file formats and describes how to map images into VGA memory space Luther Arch C Digital Video in the PC Environment New York McGraw Hill 1991 Explains Digital Video Interactive DVI technology National Semiconductor Corporation Linear Applications Handbook Santa Clara CA National Semiconductor Corporation 1986 Explains broadcasting standards and major circuit components of frame grabber boards Pratt William K Digital Image Processing Somerset NJ John Wiley amp Sons Inc 1991 Detailed text on image processing including morphological processing feature extraction image segmentation and shape analysis xiii About this Manual xiv Reid Christopher E and Thomas B Passin Signal Processing in C Somerset NJ John Wiley amp Sons Inc Rimmer Steve Bit Mapped Graphics Blue Ridge Summit PA Tab Books Inc 1990 Details digital image file formats and image manipulation after digitizing Rimmer Steve Graphical User Interface Programming Blue Ridge Summit PA Tab Books Inc 1992 Covers various techniques currently used for GUI programming gives insight into how Microsoft Windows was written implemented along with the design aspects related to windows programming includes programming examples Rosenfeld Azriel and Avinash C Kak Digital Picture Processing New York Academic Press Inc 1990 Describes image processing techni
56. ques and concepts Russ John C Computer Assisted Microscopy The Measurement and Analysis of Images New York Plenum Press Serra J Image Analysis and Mathematical Morphology London Academic Press Ltd 1982 Provides information on morphological processing Smith C Cecil Mastering Television Technology Richardson TX Newman Smith Publishing Company Inc 1988 Describes current video technology and concepts Tektronix Inc Television Measurements NTSC Systems Beaverton OR Tektronix Inc 1989 Covers test equipment and broadcasting standards Ulichney Robert Digital Halftoning Cambridge MA The MIT Press 1987 Describes image manipulation creation and analysis in the digital environment About this Manual Watkinson John The Art of Digital Video Stoneham MA Focal Press 1990 Provides an in depth description of digital video fundamentals Where to Get Help Should you run into problems installing or using a DT3120 board the Data Translation Technical Support Department is available to provide technical assistance Refer to Chapter 5 for more information If you are outside the United States or Canada call your local distributor whose number is listed in your Data Translation product handbook XV About this Manual xvi Overview hunc MC rU 2 Supported SoftWare sss sesi ssri tradui syys iti EosT err 3 Chapter 1 Features The DT3120 is a low cost color frame g
57. rabber board for the PCI bus This board is suitable for both color image analysis and machine vision applications Each DT3120 board digitizes the image then either stores the digitized data to the host computer s system memory or transfers the digitized data to the computer s display controller to display images in real time The board transfers image data to the host computer using PCI burst transfers Key features of the DT3120 board are summarized as follows Operates as PCI bus masters on half size board Supports the scatter gather memory capability using the PCI interface chip Supports one monochrome or composite video input which uses the NTSC RS 170 or PAL CCIR video format or one S video signal which uses the Y C video format Accepts a software or external trigger Acquires single or multiple fields and or frames synchronously or asynchronously Stores images in either 32 bit RGB 16 bit RGB 15 bit RGB 16 bit YUYV422 or 8 bit monochrome format Supports programmable region of interest ROI Provides real time interpolated scaling to any size Provides programmable control of the color settings of the board including brightness contrast saturation and hue Supports overlays Overview Supported Software The following software is available for use with a DT3120 board e DT3120 Device Driver This software which is operating system specific is provided on the Imaging OMNI CD which is sh
58. ram on the DT3120 board to define the frame Figure 4 illustrates these relationships 15 Chapter 2 16 Table 1 Frame Settings for the DT3120 Board Nominal Setting Description Range Values Frame Left The first pixel in the region 50 Hz 0 to 763 pixels 0 of interest relative to the 60 Hz 0 to 635 pixels first active pixel to digitize Frame Width The number of pixels per 50 Hz 1 to 768 pixels 50 Hz 768 line of video to digitize 60 Hz 1 to 640 pixels 60 Hz 640 Frame Top The first line of the region of 50 Hz 0 to 575 lines 0 interest relative to the first 60 Hz 0 to 479 lines active line to digitize Frame Height The number of lines per 50 Hz 1 to 576 lines 50 Hz 576 frame of video to digitize 60 Hz 1 to 480 lines 60 Hz 480 a Granularity is 1 Principles of Operation First Active Pixel Frame Left Total Video Area First Active Line 3 z Active Video Area Frame Total Lines Top per Field Frame Width Active Pixel Count Total Pixels per Line Figure 4 Spatial Relationship of Video Signal Types of Frames The DT3120 board can acquire interlaced frames The video signal is defined as two consecutive fields where the start of each field is identified by the falling edge of the vertical sync These two fields are acquired to create the complete frame The even field contains lines 0 2 4 and so on the odd field contains lines
59. rate the chrominance and luminance signals The decoded signals are represented as 8 bit data S Video This signal contains both luminance and chrominance information The filters on the board are bypassed S video signals are generally cleaner since the high and low pass filters can sacrifice signal integrity Chapter 2 The following video formats are supported for monochrome and composite inputs e NTSC Standard for 60 Hz color video signal In this format the video input is a single analog signal A video frame is displayed as 640 x 480 lines e RS 170 Standard for 60 Hz monochrome video signal In this format the video input is a single analog signal A video frame is displayed as 640 x 480 lines e PAL Standard for 50 Hz color video signal In this format the video input is a single analog signal A video frame is displayed as 768 x 576 lines CCIR Standard for 50 Hz monochrome video signal In this format the video input is a single analog signal A video frame is displayed as 768 x 576 lines The Y C format is supported for an S video input In this format the video input is provided as two separate analog signals The Y signal contains luminance information the gray scale portion of the color image The C signal contains chrominance information the color portion of the image For 60 Hz a video frame is displayed as 640 x 480 lines For 50 Hz a video frame is displayed as 768 x 576 lines Videos
60. rface 33 DtColorSignalType 36 69 DtColorStorageMode 45 DtColorSyncMasterMode 39 E e mail support 87 environmental specifications 91 external trigger 35 specifications 90 F factory service 88 fax support 87 features 2 field 26 acquiring even 44 acquiring next 44 acquiring odd 44 first active line 42 first active pixel 41 fixed Sync Sentinel type 39 frame acquisitions 35 first line top 15 first pixel left 15 height 15 16 43 left 16 43 selection 42 selection query 42 top 16 43 types 44 width 15 16 43 Frame Grabber SDK 3 full frame acquisition 49 50 G GLI 2 Streamline 3 GLOBAL LAB Image 2 3 H help 80 horizontal sync signals 11 horizontal video signal 13 hue 9 37 l ILUTs 36 image parameters 33 37 38 image processing input look up tables 36 input scaling 44 initialized control values 52 input controls 68 69 input look up tables 36 input operations 32 input scaling 18 44 input sources number of 34 input video selection query 38 Index interlaced frame 26 even field 44 next field 44 odd field 44 interlaced signal 17 internal clock 35 internal pixel clock frequency 35 L lines range between 44 total per field 12 look up tables 36 M memory device 49 50 types 48 modifying a board in the driver configuration Windows 2000 98 Windows 98 95 Windows Me 95 Windows XP 101 monochrome format 19 monochrome signals 7 36 monochrome storage mode 45 multi
61. rivers for Windows 98 and Me then click Add Remove 12 Click Yes to remove read only files 13 Click Finish 14 Close the Control Panel 15 Turn your computer off and remove any DT3120 boards Note If you want to reinstall the device driver after removing it refer to the DT3120 Getting Started Manual for instructions 96 Modifying the Device Driver Windows 2000 Procedures This section describes the following procedures in Windows 2000 Adding a board to the device driver configuration on this page Modifying the board settings in the device driver configuration on page 98 and e Uninstalling the device driver if necessary on page 98 Adding a Board to the Device Driver Configuration To add a new board to the DT3120 Device Driver configuration perform the following steps 1 Turn your computer off and insert the new DT3120 board into your computer following the instructions in the DT3120 Getting Starting Manual 2 Turn your computer on and start Windows 2000 The Add New Hardware Wizard dialog box appears 3 Click Next 4 Click Search for a suitable driver for my device recommended make sure all optional search locations are unchecked then click Next 5 Click Next The files are copied Click Finish Open the Control Panel Double click the DT Imaging Control icon o SN OO Select the DT3120 board to configure 10 Select the Video Format as either 50 Hz or 60 Hz 9
62. rts Active Video Area Query OLC FG IC DOES QUERY ACTIVE VIDEO Yes Range of Back Porch Start Position OLC FG IC BACK PORCH START LIMITS min O max 0 nominal 0 granularity 0 Range of Clamp Start Position OLC_FG_IC_CLAMP_START_LIMITS min O max 0 nominal 0 granularity 0 Range of Clamp End Position OLC_FG_IC_CLAMP_END_LIMITS min 0 max 0 nominal 0 granularity 0 Range of Total Pixels Per Line Control OLC_FG_IC_TOTAL_PIX_PER_LINE_LIMITS min 50 Hz 1135 60 Hz 910 max 50 Hz 1135 60 Hz 910 nominal 50 Hz 1135 60 Hz 910 granularity 0 Supported Device Driver Capabilities Table 6 Active Video Area Capabilities for the DT3120 Device Driver cont Capability DT3120 Support Range of First Active Pixel Position OLC FG IC ACTIVE PIXEL LIMITS min 0 max 255 nominal 50 Hz 190 60 Hz 140 granularity 1 Range of Active Pixels Count OLC FG IC ACTIVE WIDTH LIMITS min 50 Hz 768 60 Hz 640 max 50 Hz 768 60 Hz 640 nominal 50 Hz 768 60 Hz 640 granularity o Range of Total Lines per Field Control OLC FG IC TOTAL LINES PER FLD LIMITS min 50 Hz 312 60 Hz 262 max 50 Hz 312 60 Hz 262 nominal 50 Hz 312 60 Hz 262 granularity 0 41 Chapter 3 Table 6 Active Video Area Capabilities for the DT3120 Device Driver cont Capability DT3120 Support Range of First Active Line Positi
63. s OLC FG SECTION INPUT Yes Supports Camera Control Operations OLC FG SECTION CAMCTL No Supports Management of Device Memory OLC FG SECTION MEMORY Yes Supports Linear Memory Operations OLC FG SECTION LINEAR No Supports passthru OLC FG SECTION PASSTHRU Yes Supports DDI OLC FG SECTION DDI Yes 32 Supported Device Driver Capabilities Table 3 General Device Capabilities for the DT3120 Device Driver cont Capability DT3120 Support DtColorQuerylInterface SDK Extension Capabilities OLT QUERY COLOR INTERFACE Supports Signal Type COLOR INTERFACE SIGNAL TYPE True Supports Storage Mode COLOR INTERFACE STORAGE MODE True Supports Image Parameter COLOR INTERFACE IMAGE PARAMETER True Supports Hardware Scaling COLOR INTERFACE HARDWARE SCALING True Supports Digital I O COLOR INTERFACE DIGITAL IO False Supports Draw Acquired Frame COLOR INTERFACE DRAW ACQUIRED FRAME True Supports Sync Master Mode COLOR INTERFACE SYNC MASTER MODE False Supports Extracting RGB Frames COLOR INTERFACE EXTRACT FRAME False Supports Drawing Extracted Data COLOR INTERFACE DRAW BUFFER False 33 Chapter 3 Table 4 Input Signal Capabilities for the DT3120 Device Driver 34 Capability DT3120 Support OlFgQueryInputCaps Number of Input Sources OLC FG INPUT SOURCE COUNT Supports Input Filter Selection OLC FG IC DOES INPUT FILTER No Supports Input Filter Query OLC
64. s First information to your manual and that you have used this information Check your CD ROM for a README file and ensure that you have used the latest installation and configuration information available Check that your system meets the requirements stated in the DT3120 Getting Started Manual Check that you have installed your hardware properly using the instructions in the DT3120 Getting Started Manual Check that you have installed and configured the device driver properly using the instructions in the DT3120 Getting Started Manual If you still experience problems try using the information in Table 14 to isolate and solve the problem If you cannot identify the problem refer to page 84 Troubleshooting Table 14 Troubleshooting Problems Symptom Possible Cause Possible Solution Board does not respond The board is incorrectly aligned in a PCI expansion slot Check that the slot in which your DT3120 board is located is a PCI slot and that the board is correctly seated in the slot see the instructions in the DT3120 Getting Started Manual The interrupt level is unacceptable An interrupt conflict exists in your system If you think you may have an interrupt conflict between a PCI device and a device that is plugged into the ISA bus change the interrupt setting usually by changing a jumper on the ISA device If you think you may have an interrupt conflict on a PCI device tha
65. save your changes click Yes Modifying a Board in the Device Driver B Configuration To modify a board in the device driver configuration perform the following steps 1 Open the Control Panel 2 Double click the DT Imaging Control icon 3 Select the DT3120 board to configure 4 Selectthe Video Format as either 50 Hz or 60 Hz 5 When you are finished click Done If you made any changes the Save Changes dialog box appears 6 Ifyou want to save your changes click Yes Uninstalling the Device Driver Generally you will always require the DT3120 Device Driver However if you are no longer using the DT3120 board with the supported software you can uninstall the DT3120 Device Driver from the system by performing the following steps 1 Open the Control Panel 2 Double click System 3 Click Hardware then click Device Manager 4 Double click DT Image Device 5 Click the DT3120 Frame Grabber click Action then click Uninstall 6 Click OK 101 Appendix B 7 Click DT3120 Secondary Device click Action then click Uninstall 8 Click OK 9 Close the System dialog box 10 From the Control Panel click Add Remove Programs 11 Click DT3120 Drivers then click Change Remove 12 Click Finish 13 Click Close 14 Turn your computer off and remove any DT3120 boards Note If you want to reinstall the device driver after removing it refer to the DT3120 Getting Started Manual for instructions
66. shed click Done If you made any changes the Save Changes dialog box appears 12 If you want to save your changes click Yes B Modifying a Board in the Device Driver Configuration To modify a board in the device driver configuration perform the following steps 1 Open the Control Panel 2 Double click the DT Imaging Control icon 3 Select the DT3120 board to configure 4 Select the Video Format as either 50 Hz or 60 Hz 5 When you are finished click Done If you made any changes the Save Changes dialog box appears 6 If you want to save your changes click Yes 95 Appendix B Uninstalling the Device Driver Generally you will always require the DT3120 Device Driver However if you are no longer using the DT3120 with the supported software you can uninstall the DT3120 Device Driver from the system by performing the following steps 1 Open the Control Panel and double click System 2 Clickthe Device Manager tab 3 Double click DT Image Device 4 Click DT3120 Secondary Device then click Remove The Confirm Device Removal dialog appears g Click OK to confirm the removal 6 Click DT3120 Frame Grabber then click Remove The Confirm Device Removal dialog appears 7 Click OK to confirm the removal 8 Repeatsteps 6 and 7 until all DT3120 frame grabber boards have been removed 9 Close the System dialog box 10 From the Control Panel click Add Remove Programs 11 Click DT3120 D
67. signal being digitized 2 Horizontal sync pulses are asserted low for 4 us typically Vertical sync pulses are asserted low for 230 us typically The odd field indication changes state on the falling edge of the vertical sync signal 11 Chapter 2 12 Video Area The total video area is a complete set of horizontal and vertical input lines from which you extract the active video area and the frame within the active video area The total video area includes all parts of the signal including nonvisual portions such as horizontal and vertical blanking information Blanking information is the data not included in the active video area it contains sync and other information The total video area is as wide as the total pixels per line the entire area between two consecutive horizontal sync signals and as tall as the total lines per field the entire area between two consecutive vertical sync signals You can calculate the total pixels per line as follows _ pixel clock frequency MHz Total pixels per line horizontal frequency kHz You can calculate the total lines per field as follows Total lines per field horizontal frequency KHz vertical frequency Hz Active Video Area The active video area floats in the total video area The active video area is defined as that part of the incoming signal that contains valid video data not blanking or sync information Therefore the active video area consists of th
68. sthru operation see page 74 4 Set up and enable overlays see page 76 E Execute an overlay animation sequence see page 77 i Acquire a single image for processing see page 75 C Go to the next page 66 Programming Flowcharts Passthru with Overlays cont C Continued from previous page i Stop asynchronous passthru with OlFgStopAsyncPassthru i Disable overlays with OlFgEnableOverlays Y Destroy surfaces with OlFgDestroySurface Release the frame buffer with OlFgDestroyFrame Close the device using OllmgCloseDevice 67 Chapter 4 68 Set the Standard Controls for the Input Channel C Set the input sync source with Use the key OLC FG CTL VIDEO TYPE to select a composite sync source and OlFgSetinputControlValue OLC_FG_CTL_CSYNC_SOURCE to specify that the current channel provides the sync signal Use the key OLC_FG_CTL_FRAME_TOP to set Set the top of the frame with the first line of video relative to the active video OlFgSetlnputControlValue area to digitize for the selected input channel The default is 0 Set the left of the frame with Mod ne key DLE ro ETE FRAME SERT io eet OlFaSetl tControlVal the first pixel of video relative to the active video Job n pure ono vae area to digitize for the selected input channel The
69. t was not designed to share interrupts select a different interrupt for each PCI slot in the PCI BIOS To do this enter the system BIOS program this is usually done by pressing the DEL key when rebooting your system Once in the system BIOS enter the PCI PnP BIOS setup and select a unique interrupt for each PCI slot The PCI BIOS assigns the interrupt the device on the PCI bus does not have control over the interrupt assignment Some network devices do not share interrupts If you still have an interrupt conflict remove the network device install the DT3120 board and reboot the system Then reinsert the network device Board does not respond cont The board is damaged Contact Data Translation for technical support refer to page 84 81 Chapter 5 Table 14 Troubleshooting Problems cont Symptom Possible Cause Possible Solution Intermittent operation Loose connections or vibrations exist Check your wiring and tighten any loose connections or cushion vibration sources see the instructions in the DT3120 Getting Started Manual Electrical noise exists Check your connections see the instructions in the DT3120 Getting Started Manual The board is overheating Check environmental and ambient temperature consult the board s specifications on page 91 of this manual and the documentation provided by your computer manufacturer for more information
70. tested and found to comply with CISPR EN55022 Class A and EN50082 1 CE requirements and also with the limits for a Class A digital device pursuant to Part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instruction manual may cause harmful interference to radio communications Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense Changes or modifications to this equipment not expressly approved by Data Translation could void your authority to operate the equipment under Part 15 of the FCC Rules Note This product was FCC Certified under test conditions that included use of shielded cables and connectors between system components It is important that you use shielded cables and connectors to reduce the possibility of causing interference to radio television and other electronic devices Canadian Department of Communications Statement This digital apparatus does not exceed the Class A limits for radio noise emissions from digital apparatus set out in the Radio Interference Regulations of the Canadian Department of Communications Le pr sent appareil num rique n
71. tion mechanism using a WIN32 event object Using this object you can synchronize your application with the DT3120 board to process data as it becomes available Continuous acquire passthru operations continues until you stop them using software Source Origin The source origin of an image is the upper left corner of the image On the DT3120 board the source origin is always 0 0 Passthru Scaling On a DT3120 board the same scaling mechanism that is used to scale frames is used to scale passthru images The number of lines per frame in the scaled image can range from 1 to 480 for 60 Hz image formats or from 1 to 576 for 50 Hz image formats in increments of 1 The number of pixels per line in the scaled image can range from 4 to 640 for 60 Hz image formats or from 4 to 768 for 50 Hz image formats in increments of 4 Using software you provide the scale factor for the horizontal and vertical directions The scale factor is the ratio of the target values the total number of pixels or lines in the resulting scaled image to the source values the total number of pixels or lines in the image to scale in each direction The minimum scale factor is 1 the maximum scale factor is 100 nominal is 100 Principles of Operation Overlays You can add overlays to the display using software during passthru operations Overlays allow you to place an image on top of another image that was captured using passthru Note Overl
72. ty of available system RAM Acting as a PCI bus master the board sends pixel data over the PCI bus directly using burst transfer rates up to 30 frames s for 60 Hz image formats and 25 frames s for 50 Hz image formats when used with a 16 bit or 32 bit color display adapter board that supports DDI 27 Chapter 2 28 2 Z Supported Device Driver Capabilities DT3120 Device Driver Capabilities 00 Initialized Control Values 0 0 000 0 cece eee 29 Chapter 3 DT3120 Device Driver Capabilities Because the Frame Grabber SDK is intended to be used with all DT Open Layers frame grabbers the DT3120 may not support all of the Frame Grabber SDK capabilities or may support the Frame Grabber SDK capabilities differently from other boards To help you determine which capabilities are supported by the DT3120 board you can use query functions provided by the Frame Grabber SDK These functions return either information about a specific capability or the current value of a specific capability The tables in this chapter list the capabilities supported by the DT3120 board and the information needed to query the board The left column of the tables lists the capabilities along with the query key control used for the listed function The query s possible returned flags if any are indented under the key along with a description The right column indicates whether the DT3120 board support the cap
73. ut Signal Capabilities for the DT3120 Device Driver cont Capability DT3120 Support DtColorlmageParameters Image Parameters in the SDK Extensions OLT COLOR PARAMETER Brightness Values OLC SET BRIGHTNESS min 0 max 255 nominal 128 granularity 1 Contrast Values OLC SET CONTRAST min 0 max 511 nominal 216 granularity 1 V Saturation Values OLC SET V SAT min 0 max 511 nominal 180 granularity 1 U Saturation Values OLC SET U SAT min 0 max 511 nominal 254 granularity 1 Hue Values OLC_SET_HUE min 0 max 255 nominal 128 granularity 1 37 Chapter 3 38 Table 4 Input Signal Capabilities for the DT3120 Device Driver cont OLC SET BLUE OFFSET Capability DT3120 Support Image Parameters in the SDK Extensions OLT COLOR PARAMETER Red Level Values OLC SET RED LEVEL N A Green Level Values OLC SET GREEN LEVEL N A Blue Level Values OLC SET BLUE LEVEL N A Red Reference OLC SET RED REF N A Red Offset OLC SET RED OFFSET N A Green Reference OLC SET GREEN REF N A Green Offset OLC SET GREEN OFFSET N A Blue Reference OLC SET BLUE REF N A Blue Offset N A Table 5 Sync Signal Capabilities for the DT3120 Device Driver Capability DT3120 Support OlFgQueryInputCaps Supports Input Video Selection OLC FG IC DOES VIDEO SELECT Yes Supports Input Video Selection Query OLC FG IC DOES QUERY VIDEO SELECT Yes
74. volatile Memory OLC FG MEM NON VOLATILE No Number of Volatile Buffer Handles OLC FG MC VOL COUNT 18 Number of Nonvolatile Buffer Handles OLC FG MC NONVOL COUNT N A a You can allocate as many frames as the system memory allows using OlFgAllocateBuiltInFrame 48 Supported Device Driver Capabilities Table 11 Acquisition Capabilities for the DT3120 Device Driver Capability DT3120 Support OlFgQueryInputCaps Acquisition Types single frame OLC FG IC SINGLE FRAME OPS Single Frame to Host sync Supports Full Frame Acquisition OLC FG ACQ FRAME No Supports Subframe Acquisition OLC FG ACQ SUBFRAME No Supports Frame to Fit Acquisition OLC FG ACQ FRAME TO FIT No Single Frame to Device sync Supports Full Frame Acquisition OLC FG ACQ FRAME Yes Supports Subframe Acquisition OLC FG ACQ SUBFRAME No Supports Frame to Fit Acquisition OLC FG ACQ FRAME TO FIT No Single Frame to Host async Supports Full Frame Acquisition OLC FG ACQ FRAME No Supports Subframe Acquisition OLC FG ACQ SUBFRAME No Supports Frame to Fit Acquisition OLC FG ACQ FRAME TO FIT No Single Frame to Device async Supports Full Frame Acquisition OLC FG ACQ FRAME Yes Supports Subframe Acquisition OLC FG ACQ SUBFRAME No Supports Frame to Fit Acquisition OLC FG ACQ FRAME TO FIT No 49 Chapter 3 50 Table 11 Acquisition Capabilities for the DT3120 Device Driver cont

Download Pdf Manuals

image

Related Search

Related Contents

取扱説明書(ジープ編) - G-scan  9.事業契約書(案)別紙 (PDF:209KB)  Symantec Norton SystemWorks For Macintosh 3.0 (10067437) for Mac  Real Estate Portal User Manual  GPS103AB USER MANUAL  intext:Installationsanleitung filetype:pdf  User Manual V3.2 1 Index .....................................................  

Copyright © All rights reserved.
Failed to retrieve file