Home
DT3152 User's Manual - McGill Undergraduate Physics Lab
Contents
1. mocked Total number of pixels n horiz freq _ Total number of lines horiz freq per line vert freq per frame Line count n 1 0 1 2 3 EXPANDED TIME SCALE LINE_SYNC FRAME_SYNC vert active Pixel Count 0 malo m 0 m m 1 0 1 2 l la le Pixel Clock JIMIN horz active IO m 6 m 4 m 2 Pixel gt 0 123 45 6 m 5_m 3 m 1 Line 0 1 2 3 horz active start 4 4 horz active end m 3 5 x increment 1 6 vert active start 3 vert active end n 2 n y increment 1 n 5 Pixels digitized n 4 n 3 n 2 n 1 Line count 1 EXPANDED TIME SCALE n2 n1 o LINE_SYNC FRAME_SYNC Se vert active Pixel Count m 7 m 6 m 5 m 4 m 3 m 2 m 1 0 m 1 lo m 1 0 me Pixel Clock LIIITE horz active Figure 8 Variable Scan Timing and Data Storage 24 Principles of Operation Sync Signal Insertion Sync Sentinel The Sync Sentinel circuitry allows you to control when sync signals occur on the board This is especially useful for noisy input sources such as VCRs where the DT3152 frame grabber may interpret a noise spike in the video signal as a horizontal or vertical sync or the board may miss some syncs that are below the threshold You can enable or disable the Sync Sentinel through software By default the Sync Sentinel is enabled When the Sync Sentinel is enabled you determine the window in which
2. 84 Programming Flowcharts Set the Standard Controls for the Input Source Use OLC_FG_CTL_INPUT_FILTER Filter settings are Set the hardware filter with AC none AC 50 Hz OlFgSetInputControlValue AC 60 HZ DC none The default is AC none Set the vi ith Use OLC_FG_CTL_VIDEO_TYPE to select a et the video type wit composite or variable scan video input The default is OlFgSetinputControlValue composite Yes Set the horizontal and vertical sync transitions with OlFgSetInputControlValue Using variable scan Use OLC_FG_CTL_VARSCAN_FLAGS to select field sync transitions Use OLC_FG_CTL_CSYNC_SOURCE to select any of the video input channels Set the input sync source with OlFgSetInputControlValue Use OLC_FG_CTL_CSYNC_THRESH to Sch In a wiin set the sync threshold to either 50 75 100 ge Mpu ONTO AUE or 125 mV The default is 125 mV Go to the next page gt 85 86 Chapter 4 Set the Standard Controls for the Input Source cont C Continued from previous page D Using Sync Sentinel No Enable the Sync Sentinel with OlFgSetInputConirolValue Use OLC_FG_CTL_SYNC_SENTINEL The default is enabled True Set the horizontal sync insert position with OlFgSetinputControlValue Use OLC_FG_CTL_HSYNC_INSERT_POS The default is 10150 101 5
3. Troubleshooting E Mail and Fax Support You can also get technical support by e mailing or faxing the Technical Support Department e 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 A summary of the issue you are experiencing Your contract number if applicable and Your product serial number or purchase date 5 Omitting any of the above information may delay our ability to resolve your issue e Fax Please photocopy and complete the form on page 108 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 109 Chapter 5 110 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 M
4. Set the horizontal sync search position with OlFgSetinputControlValue Use OLC_FG_CTL_HSYNC_SEARCH_POS The default is 9500 95 0 Set the vertical sync insert position with OlFgSetInputControlValue Use the key OLC_FG_CTL_VSYNC_INSERT_POS The default is 11500 115 y Set the vertical sync search position with OlFgSetInputControlValue Use OLC_FG_CTL_VSYNC_SEARCH_POS The y default is 5000 50 0 q Go to the next page Programming Flowcharts Set the Standard Controls for the Input Source cont Continued from previous page D Use OLC_FG_CTL_BACK_PORCH_START to set the Sn re ai We back porch start position in the horizontal signal The Saale default value is 60 for 60 Hz and 80 for 50 Hz y Set the clamp start and end with Use OLC_FG_CTL_CLAMP_START to set the clamping OlFgSetInputControlValue start position and OLC_FG_CTL_CLAMP_END to set the clamping end position of the active video area The default clamp start is 93 for 60 Hz and 90 for 50 Hz The default clamp end is 95 for 60 Hz and 93 for 50 Hz V Use OLC_FG_CTL_FIRST_ACTIVE Set the first active pixel with PIXEL to set the first active pixel on the line The default OlFgSetinputControlValue is 125 for 60 Hz and 160 for 50 Hz Set th we ith Use OLC_FG_CTL_ACTIVE_PIXEL_COUNT to set the et the active pixel count wit number of
5. a rectangular region in frame from frame in device memory Copy pixel data to a frame buffe with OlFgCopyFrameRect No From a rectangular region to a user buffer to a user buffer with Copy pixel data contiguously OlFgReadFrameRect Froma contiguous location to a user buffer a user buffer with Copy pixel data contiguously to OlFgReadContiguousPixels From any locations to a user buffer to a user buffer with OlFgReadPixelList Copy pixel data contiguously y Go to the next page 92 Programming Flowcharts Process the Acquired Image cont C Continued from previous page rite data to frame in device memory From to a rectangular region in frame Yes Copy pixel data to a frame buffer with OIFgCopyFrameRect No Froma user buffer to a rectangular region Write pixel data to a rectangular region in frame buffer with OlFgWriteFrameRect From a user buffer to a contiguous location Yes Write pixel data to contiguous locations in a frame buffer with OlFgWriteContiguousPixels From any locations to a user buffer frame buffer with Write pixel data to arbitrarily specified locations in a OlFgWritePixelList No C Go to next page gt 93 Chapte
6. 1990 Details high definition television concepts Brooktree Corporation Brooktree Applications Handbook Graphics and Imaging Products San Diego Brooktree Corporation 1991 Product data book and application examples 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 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 About this Manual 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 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 pro
7. Check your wiring and tighten any loose connections or cushion vibration sources see the instructions in the DT3152 Getting Started Manual Electrical noise exists Check your connections see the instructions in the DT3152 Getting Started Manual The board is overheating Check environmental and ambient temperature consult the board s specifications on page 113 of this manual and the documentation provided by your computer manufacturer for more information Data appears to be invalid Wiring is not connected properly Check your wiring and fix any open connections see the instructions in the DT3152 Getting Started Manual Computer does not boot Board is not seated properly Check that the slot in which your DT3152 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 DT3152 Getting Started Manual The power supply of the computer is too small to handle all the system resources Check the power requirements of your system resources and if needed get a larger power supply consult the board s specifications on page 113 of this manual 104 Troubleshooting Table 17 Troubleshooting Problems cont Symptom Possible Cause Possible Solution System lockup Board is not seated Check that the slot in which your DT3152 properly board is loca
8. Supported Device Driver Capabilities 47 DT3152 Device Driver Capabilities o ooo oooooo 48 Initialized Control Values 00 0 eee eee eee 68 vi Contents Chapter 4 Programming Flowcharts 71 Single Frame Acquisition 0 0000 0000 cece 73 Multiple Frame Acquisition 000000 000008 76 Passthru without Overlays 6 c cece eee eee 79 Passthru with Overlays 00 0 cece eee eee 81 Chapter 5 Troubleshooting oooooooomooo 101 General Checklist 000 000 eee cee ee eens 102 Service and Support 0 106 Telephone Technical Support 22 2222 106 E Mail and Fax Support 222222ceneeennnnnn 109 World Wide Web 0 00 ccc cence eee eens 109 If Your Board Needs Factory Service oooooooommmoo 110 Appendix A Specifications o oooo o 111 Appendix B Connector Pin Assignments 115 Connector J2 Pin Assignments 6 060 e cece eee 116 Connector J4 Pin Assignments 6 000 c cece eee 118 Appendix C Modifying the Device Driver 121 Windows 98 and Windows Me Procedures 122 Adding a Board to the Device Driver Configuration 122 Modifying a Board in the Device Driver Configuration 124 Uninstalling the Device Driver 22222 126 Windows 2000 Procedures 0 0c cece ee
9. Yes Yes Provides Trigger OLC_FG_IC_DOES_TRIGGER Yes Trigger Types OLC_FG_IC_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_EXTERNAL_LINE Yes Supported Device Driver Capabilities Table 7 Input Signal Capabilities for the DT3152 Device Driver cont Capability DT3152 Support 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 Number of LUTs OLC_FG_ILUT_COUNT 1 Maximum Index Number Allowed in ILUT OLC_FG_IC_MAX_ILUT_INDEX 255 Maximum Value Allowed in ILUT OLC_FG_IC_MAX_ILUT_VALUE 255 Dt3152QueryInputControlValue Gain DT3152_INPUT_CTL_GAIN 50 for gain of 0 5 100 for gain of 1 200 for gain of 2 400 for gain of 4 nominal 50 Hz 100 60 Hz 100 Reference uV DT3152_INPUT_CTL_REFERENCE min 0 max 1 275 000 nominal 50 Hz 700 000 60 Hz 660 000 granularity 5 000 Offset uV DT3152_INPUT_CTL_OFFSET min 4 075 200 max 1 066 800 nominal 50 Hz 0 60 Hz 53 855 granularity 8 400 53 Chapter 3 a The legal white level setting is affected by the current black level setting The maximum white level setting is 2 5
10. 0 OlFgSetinputVideoSource y Set the standard controls for the input source see page 85 y Set the DT3152 specific controls for the input source see page 91 y Enable based source mode with OlFgEnableBasedSourceMode y Write new values into the Input LUT The default is identity the grayscale value with OlFgWritelnputLUT is not modified y Set up an acquisition trigger for the input channel with OlFgSetTriggerlnfo y Go to the next page The default is a software trigger er 73 Chapter 4 74 Single Frame Acquisition cont C Continued from previous page J y Create a frame buffer with OIFgAllocateBuiltInFrame Perform an asynchronous acquire Acquire to host memory No Allocate a user buffer with GlobalAlloc using the GPTR flag Acquire the frame to host memory with OIFgAsyncAcquireFrameToHost Acquire the frame to device memory with OlFgAsyncAcquireFrameToDevice y Check the status of the operation with OIFglsAsyncAcquireJobDone Job done No Stop asynchronous acquire Stop the acquisition with Y Go to the next page OlFgCancelAsyncAcquireJob Programming Flowcharts Single Frame Acquisition cont C Continued from previous pa
11. 19 Figure 16 illustrates the continuous output of frames vertical periods Vertical syn Aa Sl ertical sync li igi Camera and Board Trigger Figure 16 Continuous Output 140 Asynchronous Reset Cameras Single frame output The camera does not output data until triggered When the camera is triggered the camera outputs a single frame along with a single vertical sync The board then captures the image and waits for the next trigger vertical sync Figure 17 illustrates single frame output Vertical sync Camera trigger Figure 17 Single Frame Output Note that in this mode the board does not require an external trigger to start acquiring data 141 Appendix D 142 A A D offset 12 53 A D reference 13 53 accessories 5 AC coupled signals 10 acquisition modes 44 65 multiple frame 76 single frame 73 active area 30 56 active area query 56 active line count 34 58 active pixel count 57 active video area 29 adding boards to the driver configuration Windows 2000 127 Windows 98 122 Windows Me 122 Windows XP 133 aliasing 18 asynchronous acquisition 44 asynchronous bitmap passthru 39 61 95 asynchronous direct passthru 61 95 asynchronous reset cameras 140 B back porch 56 start 32 bitmap passthru 39 95 extended 61 Index black levels 11 51 blanking 33 blanking information 29 block diagram 8 bytes per pixel 60 C cables
12. 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 107 Chapter 5 108 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
13. Frame Grabber then click Properties Click the Properties tab Double click Multimedia Drivers Click DT3152 MACH Series Frame Grabber then click Properties Click Settings Click Add New Enter a name for the device then click Add Select Enable Board to activate the board If you want to retain the settings but disable the board and therefore not use the memory remove the checkmark next to Enable Board For Video Format indicate the video format of your video input source 50 or 60 Hz For Desired Memoty Size select the amount of contiguous memory in MB that you want to allocate in your system to hold the acquired frames A 60 Hz 640 by 480 image requires 308 KB per frame a 50 Hz 768 by 576 image requires 443 KB per frame The actual amount of memory that the device driver can allocate depends on your system resources It is recommended that you select only as much memory as you need to leave memory for other devices Once you enter the desired memory size the device driver allocates as much memory as possible to match the value you entered the actual memory size allocated is shown in the Actual Memory Size text box when you restart your system Modifying the Device Driver 20 21 22 Modifying a Board in the Device Driver Configuration Click Done The DT3152 Device Driver Configuration dialog box is redisplayed with the name of the board you just added Click Close to finish A dialog box appea
14. Service and Support 2 6 106 If Your Board Needs Factory Service 222222222 110 101 Chapter 5 102 General Checklist Should you experience problems using the DT3152 board please follow these steps 1 Read all the documentation provided for your product Make sure that you have added any Read This First information to your manual and that you have used this information Check the Imaging OMNI CD for any README files and ensure that you have used the latest installation and configuration information available Check that your system meets the requirements stated in the DT3152 Getting Started Manual Check that you have installed your hardware properly using the instructions in the DT3152 Getting Started Manual Check that you have installed and configured the device driver properly using the instructions in the DT3152 Getting Started Manual Search the DT Knowledgebase in the Support section of the Data Translation web site at www datatranslation com for an answer to your problem If you still experience problems try using the information in Table 17 to isolate and solve the problem If you cannot identify the problem refer to page 106 Troubleshooting Table 17 Troubleshooting Problems Symptom Possible Cause Possible Solution Board does not The board is Check that the slot in which your DT3152 respond incorrectly aligned in board is located is a PCI slot and t
15. as noninterlaced with a sync phase of 50 the even field is continuously selected If the phase is 1 the odd field is continuously selected 27 Chapter 2 You can alternate the phase at each vertical sync by setting the phase at 50 and setting up the DT3152 board as interlaced The even and odd fields are then alternately selected for a true interlaced image Whenever the board is set up as interlaced the phase alternates between 1 and whatever phase is specified These different setups are illustrated in Figure 9 Mode Noninterlaced Phase 1 Horizontal Sync Out Vertical Sync Out Mode Noninterlaced Phase 50 Horizontal Sync Out odd field Vertical Sync Out Mode Interlaced Phase 1 50 even field Horizontal Sync Out Vertical Sync Out Sf 1 Even Figure 9 Sync Out Phase Adjustment 28 Principles of Operation Video Area The video image area is composed of pixels and lines of video The total video area is the complete set of horizontal and vertical input lines from which you extract the active video area and the frame within the active video area that you want to digitize The total video area includes all parts of the signal including nonvisual portions such as horizontal and vertical blanking information Blanking informatio
16. board as the sync basis This process is called gen locking Gen locking allows you to synchronize signals when switching among channels You can enable or disable Sync Master mode through software When Sync Master mode is enabled the horizontal sync signal is output on pin 9 LINE_CLOCK of connector J4 the vertical sync signal is output on pin 10 FRAME CLOCK of connector J4 Both are active low TTL signals Using software you can specify the following e The width of the sync signals The width of the horizontal sync signal can range from 250 ns to 950 000 000 ns nominal is 4 800 ns The width of the vertical sync signal can range from 250 ns to 950 000 000 ns nominal is 190 000 ns for 60 Hz image formats and 160 000 ns for 50 Hz image formats The frequency of the sync signals The horizontal sync frequency can range from 1 Hz to 2 MHz nominal is 15 75 kHz for 60 Hz image formats and 15 625 kHz for 50 Hz image formats The vertical sync frequency can range from 1 Hz to 200 kHz nominal is 60 Hz for 60 Hz image formats and 50 Hz for 50 Hz image formats e The phase between the horizontal sync and vertical sync signals The phase is specified as a percentage of the horizontal period multiplied by 100 and ranges from 100 1 to 9 900 99 nominal is 5 000 50 With interlaced cameras that accept horizontal and vertical syncs you can use the phase adjustment to control which field is output By setting up the board
17. is interlaced this value may exceed the active line count The active line count specifies the number of lines per field for a noninterlaced frame If the frame is interlaced the maximum number of lines per frame is the active line count multiplied by 2 36 Principles of Operation Types of Frames You can use software to specify the type of frames to acquire A frame can be either interlaced or noninterlaced as follows e Interlaced frame Consists of two consecutive fields each containing Active Line Count lines 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 1 3 5 and so on e Noninterlaced frame Consists of a single field containing Active Line Count lines where the start of the field is identified by the falling edge of the vertical sync Through software you can select one of the following types of frame acquisitions e Interlaced frames starting with the next even field the default e Interlaced frames starting with the next odd field e Interlaced frames starting with the next field odd or even or e Noninterlaced frames Scaling Frames You can scale a frame by discarding pixels lines or both through software This is useful if you want to reduce the size of an image You provide a scale factor for both the horizon
18. modes 61 scaling 42 62 snapshot 62 source origin 41 61 start 95 with DDI 63 with overlays 81 without overlays 79 passthru look up table LUT 42 adding colors 43 modifying 42 phase adjustment 28 56 physical specifications 113 pin assignments J2 116 J4 118 pixel active number per line 32 first active 32 57 modifying value 19 total number per line 30 57 total per line 29 pixel clock 18 52 external 19 52 internal 18 query 52 Index power specifications 113 programmable A D 51 programmable A D query 51 programming flow diagrams 71 programming flowcharts multiple frame acquisition 76 passthru with overlays 81 passthru without overlays 79 single frame acquisition 73 R range between lines 60 range between pixels 59 ranges 12 reference 13 53 related documents xi removing boards from the driver configuration Windows 2000 130 Windows XP 137 returning boards to the factory 110 RGB value for passthru LUT 42 RGB values for palette 62 RMA 110 RS 170 9 S scaling input 37 59 60 passthru 42 62 service and support procedure 106 setting the input controls 85 91 single frame acquisition 44 73 to device asynchronous 65 to device synchronous 65 to host asynchronous 65 to host synchronous 65 software supported 4 source origin 41 61 x value 61 y value 61 specifications digital input 112 digital output 112 environmental 113 physical 113 power 113 status code 72 storage modes 38 suggested
19. n c n c n c n c n c n c Figure 14 Connector J2 Table 22 lists the J2 pins by signal name and by the corresponding EP306 BNC connector assignments 116 Connector Pin Assignments Table 22 J2 Connector Pin Assignments J2 Pin EP306 BNC Connector Signal Name _ EXT_CLK LINE_SYNC EXT_TRIGGER FRAME_SYNG VID3 wp oOo AJ oa oO N VID2 VID1 VIDO o lo I NI oOo ay AJ OJN not connected o ojojo not connected _ o not connected N not connected _ wo 12 not connected gt 13 not connected _ al GND 117 Appendix B 118 Connector J4 Pin Assignments Connector J4 is a 15 pin male D shell connector that provides the digital output signals and signals required by many variable scan cameras through the EP306 cable Figure 15 illustrates the pin locations for connector J4 DIG_OUTO 8 o Ol 15 GND DIG_OUT1 7 O o 14 nic DIG_OUT2 6 O O 13 nic DIG_OUT3 5 O o O 12 n c DIG_OUT4 4 a O 11 ne DIG_OUT5 3 O 10 FRAME CLOCK DIG_OUT6 2 O OJ 9 LINE CLOCK DIG OUT7 1 O Figure 15 Connector J4 Table 23 lists the J4 pins by signal name and by the corresponding EP306 BNC connector assignments Connector Pin Assignments Table 23 J4 Connector Pin Assignments J4 Pin EP306 BNC Connector Signal Name DIG_OUT7 DI
20. pixels per line in the active area The default OlFgSetinputControlValue is 640 for 60 Hz and 768 for 50 Hz C Go to the next page 87 Chapter 4 Set the Standard Controls for the Input Source cont Continued from previous page D y Set the first active line with OlFgSetInputConirolValue Use OLC_FG_CTL_FIRST_ACTIVE_LINE to set the active video signal within the field as a line offset from the beginning of the vertical sync The default value is 16 for 60 Hz and 20 for 50 Hz yY 3 Use OLC_FG_CTL_ACTIVE_LINE_COUNT to set the Set the active line count with number of lines per field or noninterlaced frame in the OlFgSetinputControlValue active area The default value is 240 for 60 Hz and 288 for 50 Hz Y Set the total pixels per line with Use OLC_FG_CTL_TOTAL_PIX_PER_LINE to set the total number of pixels in a single horizontal line of video OlFgSetinputControlValue The default is 794 for 60 Hz and 960 for 50 Hz Use OLC_FG_CTL_TOTAL_LINES_PER_FLD to set the total number of lines in a single field of video The default is 262 for 60 Hz and 312 for 50 Hz y Set the total lines per field with OlFgSetInputControlValue y C Go to the next page D 88 Programming Flowcharts Set the Standard Controls for the Input Source cont Continued from previous page Set the top of the
21. sources that are not synchronized with each other or if the sync signals occur at random intervals you can disable the Sync Sentinel This allows the DT3152 board to wait until a sync signal actually occurs before starting the acquisition Note Instead of disabling the Sync Sentinel you can set the sync search position to a very low value such as 4 and set the sync insert position as far after the falling edge of sync as possible This allows the DT3152 board to search for the sync for almost the entire line and or field Enabling Sync Master mode automatically disables the Sync Sentinel For more information about Sync Master mode refer to page 26 If you are using an asynchronous reset camera make sure that the Sync Sentinel is disabled For more information about using the DT3152 board with asynchronous reset cameras refer to Appendix D Sync Master Mode Note Enabling Sync Master mode automatically disables the Sync Sentinel For more information about the Sync Sentinel refer to page 25 Typically the camera generates the sync signals composite or variable scan for the DT3152 frame grabber board and the board locks to them Principles of Operation If this is not appropriate for your application you can use Sync Master mode to set up the DT3152 board to generate the sync signals to drive one or more cameras The video signal from the camera is then digitized as usual using the syncs generated by the
22. the ILUT and passes the output value to the frame region of interest Pixel values range from 0 to 255 The DT3152 frame grabber board supports one ILUT Using software you can specify the relationship between the pixel input value and the ILUT output value by loading the ILUT with different processing setups For example you can pass an image unaltered the default setting known as identity or you can perform pixel point operations such as image multiplication and division intensity correction and reverse video before passing the image on 19 Chapter 2 20 As an example assume that the ILUT is loaded with the identity pattern An input value of 0 black in monochrome mode has an output value of 0 black in monochrome mode An input value of 1 has an output value of 1 An input value of 2 has an output value of 2 and so on up to an input value of 255 which has an output value of 255 or white in monochrome mode As another example if you load the ILUT with an inverse or negative pattern an input of 0 has an output value of 255 an input value of 1 has an output pattern of 254 and so on up to an input value of 255 which has an output value of 0 or black in monochrome mode Note that in addition to ILUTs passthru operations make use of passthru LUTs For more information about passthru LUTs refer to page 42 Principles of Operation Sync Signals This section describes the following aspects of the sync
23. the sync threshold to determine when the sync is asserted The sync period is defined as the portion of the sync signal that falls below the sync threshold The sync is then used to generate the horizontal and vertical timing for the input section of the DT3152 board On the DT3152 you can program the sync threshold Possible threshold limits are 50 mV 75 mV 100 mV and 125 mV nominal is 125 mV Principles of Operation Variable Scan Video Signals When using variable scan video signals the horizontal line and vertical frame sync come directly from the video source Two inputs are provided on connector J2 to accept separate horizontal and vertical sync signals LINE_SYNC pin 2 is used to indicate the start of a line FRAME_SYNC pin 4 is used to indicate the start of a frame By default the DT3152 uses the rising edge of the external sync signals to reset the horizontal and vertical counters In cases where the video is referenced to the falling edge of the external LINE_SYNC and FRAME_SYNC signals you can invert the sync signals on the board using software A variable scan acquisition is initiated and controlled like any other single frame or multiple frame acquisition Figure 8 on page 24 illustrates variable scan timing and data storage 23 Chapter 2
24. the sync can be detected by specifying a horizontal search position a horizontal insert position a vertical search position and a vertical insert position The horizontal sync search position is the pixel location within a line at which the DT3152 board begins to search for the horizontal sync If the horizontal sync is not detected before the horizontal sync insert position is reached the DT3152 board inserts a horizontal sync to synchronize to the video signal The default value for the horizontal search position is 95 0 of the total pixels per line The default value for the horizontal insert position is 101 5 of the total pixels per line The vertical sync search position is the line location within a field at which the DT3152 board begins to search for the vertical sync If the vertical sync is not detected before the vertical sync insert position is reached the DT3152 board inserts a vertical sync to stay in syne with the video signal The default value for the vertical search position is 50 0 of the total lines per field The default value for the vertical insert position is 115 of the total lines per field By setting the sync search position immediately before the falling edge of the sync and setting the sync insert position immediately after the falling edge of the sync you can prevent the DT3152 board from searching for syncs except where they are expected 25 Chapter 2 26 If you are switching among multiple input
25. with the Microsoft C compiler What You Should Learn from this Manual This manual provides detailed information about the features of the DT3152 board and the DT3152 Device Driver to allow you to access the board s capabilities using software It is organized as follows e Chapter 1 Overview describes the major features of the board as well as the supported software and accessories for the board e Chapter 2 Principles of Operation describes all of the board s features and how to use them in your application e Chapter 3 Supported Device Driver Capabilities describes the capabilities supported by the DT3152 Device Driver and the initialized control values About this Manual Chapter 4 Programming Flowcharts describes the processes you must follow to program the DT3152 board using the DT Open Layers Frame Grabber SDK Chapter 5 Troubleshooting provides information that you can use to resolve problems with the board and the device driver should they occur Appendix A Specifications lists the specifications of the board Appendix B Connector Pin Assignments shows the pin assignments for the connectors on the board Appendix C Modifying the Device Driver describes how to add modify and remove a board from the device driver configuration and uninstall the device driver if necessary Appendix D Asynchronous Reset Cameras describes additional in
26. 4 Acquisition page 65 Digital VO page 67 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 on the functions refer to the Frame Grabber SDK User s Manual and online help 49 Chapter 3 Table 6 General Device Capabilities for the DT3152 Device Driver Capability DT3152 Support OllmgQueryDeviceCaps Device Signature OLC_IMG_DC_OL_SIGNATURE Ox44544F4C Device ID OLC_IMG_DC_DEVICE_ID 0x2A Device Name OLC_IMG_DC_DEVICE_NAME DT3152 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 No Sections Supported OLC_IMG_DC_SECTIONS Supports Input Operations OLC_FG_SECTION_INPUT Yes Supports Linear Memory Operations OLC_FG_SECTION_LINEAR No Supports Camera Control Operations OLC_FG_SECTION_CAMCTL Yes Supports Management of Device Memory OLC_FG_SECTION_MEMORY Yes Supports passthru OLC_FG_SECTION_PASSTHRU Yes Supports DDI OLC_FG_SECTION_DDI Yes 50 Supported Device Driver Capabilities Table 7 Input Signal Capabilities for the DT3152 Device Driver Capability DT3152 Support OlFgQueryInputCaps Number of Input Sources OLC_FG_INPUT_SOURCE_COUNT
27. 4 Supports Input Filter Selection OLC_FG_IC_DOES_INPUT_FILTER Yes Supports Input Filter Query OLC_FG_IC_DOES_QUERY_INPUT_FILTER Yes Supported Filters OLC_FG_IC_INPUT_FILTER_LIMITS AC Coupled no Input Filter OLC_FG_FILT_AC_NONE Yes AC Coupled 50 Hz Input Filter OLC_FG_FILT_AC_50 Yes AC Coupled 60 Hz Input Filter OLC_FG_FILT_AC_60 Yes DC Coupled no Input Filter OLC_FG_FILT_DC_NONE Yes Supports Programmable A D OLC_FG_IC_DOES_PROG_A2D Yes Supports Programmable A D Query OLC_FG_IC_DOES_QUERY_PROG_A2D Yes Voltage Range of Black Level in uV OLC_FG_IC_BLACK_LEVEL_LIMITS min 4 066 8002 max 1 075 200 nominal 50 Hz 0 60 Hz 53 855 granularity 8 400 51 Chapter 3 Table 7 Input Signal Capabilities for the DT3152 Device Driver cont 52 Capability DT3152 Support Voltage Range of White Level in pV OLC_FG_IC_WHITE_LEVEL_LIMITS min 08 max 1 275 000 nominal 50 Hz 700 000 60 Hz 714 880 granularity 5 000 Supports Programmable Pixel Clock OLC_FG_IC_DOES_PIXEL_CLOCK Yes Supports Pixel Clock Query OLC_FG_IC_DOES_QUERY_PIXEL_CLOCK Yes Range of Internal Input Clock Frequency in Hz OLC_FG_IC_CLOCK_FREQ_LIMITS min 1000 max 20 000 000 nominal 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 Supports External Clock OLC_FG_CLOCK_EXTERNAL
28. 4 BNC connectors on the other end One EP306 cable accommodates all the signals from the J2 connector on the DT3152 board the other EP306 cable accommodates all the signals from the J4 connector on the board Refer to Appendix B for connector information Chapter 1 Principles of Operation Video Input Signals eeri sensis euy iari as 9 SYNC Sigal bho yeaa tie he wee T EPPS ae eee ae a oe 21 Passthru Modes cor ii te ee ee 39 Acquisition Operations ooocoooccrocccnrorrrrac 44 Digital Output Signals ps recre respsicsrer eits kevret Irit 45 Chapter 2 This chapter describes the features of the DT3152 board from a functional point of view To aid the discussions in this chapter refer to the block diagram of the DT3152 shown in Figure 1 4 Inputs Input Offset AD Ref ROI et Input 8 bit 8 bit p gt Multiplexer gt Chrom Filter PGA Composite Palette gt S 0 5 1 a Ly ync 2 4 20 MH Matching L Multiplexer 2 Input i ut lt lt ADC Lur 8 gt DC Coupled Input gt Digital a Outputs J 1024 gt Pixel gt FIFO Vertical H Sync and Internal Horizontal VSync Sync Sync Generator Outputs yg Ext H Sync p zi PCI Bus Interrupt ripper Interfac
29. 5 116 camera control operations 50 capabilities 48 CCIR 9 channels 10 chrominance notch filter 11 51 clamp end position 32 57 clamp start position 32 57 clamping circuit 10 11 clock sources 18 52 color keying 63 color overlays 63 composite sync 22 54 from specific input 54 threshold limits 54 threshold list 54 connector J2 116 J4 118 continuous acquire 61 continuous acquire passthru mode 40 controls setting DT3152 specific input source 91 setting for the input source 85 143 Index 144 Sync Master 55 conventions used x customer service 110 D DC coupled signals 10 51 DDI 43 50 device ID 50 device memory 50 65 66 device name 50 device signature 50 device type 50 diagrams programming 71 Digital Clock Sync Circuitry 18 digital input specifications 112 digital output 45 specifications 112 direct passthru 95 drawing acquired frames 66 DT Vision Foundry 4 DT3152 Device Driver 4 Windows 2000 procedures 127 Windows 98 procedures 122 Windows Me procedures 122 Windows XP procedures 133 DT3152_INPUT_CTL_GAIN 53 DT3152_INPUT_CTL_OFFSET 53 DT3152_INPUT_CTL_REFERENCE 53 DT3152_SYNC_CTL_HORIZ_FREQ 55 DT3152_SYNC_CTL_HPULSE_ WIDTH 55 DT3152_SYNC_CTL_PHASE 56 DT3152_SYNC_CTL_VERT_FREQ 55 DT3152_SYNC_CTL_VPULSE_ WIDTH 56 Dt3152DeviceFrameReady 78 Dt3152EnableFieldCallback 78 Dt3152EnableSyncMasterMode 91 Dt3152QueryInputControl Value 53 Dt3152QuerySyncMasterControl Value 55 Dt3152SetInputContr
30. 50 000 greater than the black level setting The minimum white level setting must be greater than the black level setting b The maximum number of entries allowed in the ILUT is 255 since the index value is zero based Table 8 Sync Signal Capabilities for the DT3152 Device Driver Capability DT3152 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 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 Yes Video Sources OLC_FG_IC_CSYNC_SOURCE_LIMITS Composite Sync from Current Input Only OLC_FG_CSYNC_CURRENT_SRC No Composite Sync from Any Specified Input OLC_FG_CSYNC_SPECIFIC_SRC Yes 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 min 50 max 125 nominal 125 count 25 Composite Sync Threshold List OLC_FG_IC_CSYNC_THRESH_LIST 50 75 100 125 54 Supported Device Driver Capabilities Table 8 Sync Signal Capabilities for the DT3152 Device Driver cont Capability DT3152 Support Supports Sync Sentinel OLC_FG_IC_DOES_SYNC_SENTINEL Yes Supports Sync Sentinel Query OLC_FG_IC_DOES_QUERY_SYNC_SENTINEL Yes Sync Sentinel Types OLC_
31. By default the offset is 53 86 mV for 60 Hz and 0 V for 50 Hz Gain Gain is the value you use after the offset is applied to multiply the amplitude of the signal thereby increasing or decreasing the overall range of the signal To maintain the accuracy of the ADC at low light levels and to support a wider range of video inputs the DT3152 provides gains of 0 5 1 2 and 4 By default the gain is 1 To determine the gain to use calculate the maximum voltage of your video signal after the offset is applied Then use the values in Table 1 to determine the gain to use Principles of Operation Table 1 Gain Values If Use a Gain of Vmax Offset gt 1 28 V 0 5 0 64 V lt Vmax Offset lt 1 28 V 1 0 32 V lt Vmax offset 0 64 V 2 Vmax Offset 0 32 V 4 Reference Reference is the maximum voltage after offset and gain have been applied that you want to digitize Reference is defined as follows reference gain V max offset The DT3152 board digitizes the signal between 0 0 V and the reference voltage The DT3152 Device Driver supports a minimum reference of 0 V and a maximum reference of 1 28 V in 256 steps of 5 mV Note however that the hardware uses 64 steps of 19 mV By default the reference used by the device driver is 660 mV for 60 Hz and 715 mV for 50 Hz Note For proper operation once offset and gain are applied the difference between the adjusted minimum volta
32. C coupled video signal has chrominance information on it as is the case with the NTSC and PAL video formats you can use software to apply a chrominance notch filter to remove the chrominance information The chrominance notch filter for 60 Hz is set to 3 58 MHz while the chrominance filter for 50 Hz is set to 4 43 MHz By default no filter is selected Black and White Levels Black level is defined by DT Open Layers as the voltage below which all other voltages are digitized to black White level is defined as the voltage above which all other voltages are digitized to white For ease of use both of these voltages are measured at the camera s output On the DT3152 board if you are using a gain of 1 use software to set a black level and a white level If however you need to use a gain other than 1 use software to set the offset gain and reference value The following subsections describe how to use the offset gain and reference settings on the DT3152 board to adjust the black and white levels of the video signal 11 Chapter 2 12 Offset The offset is the voltage you apply to the minimum value V min of your video signal to zero it The offset is defined as follows offset Y min All data below 0 V is digitized as black pixels The DT3152 Device Driver supports a minimum offset of 1 08 V and a maximum offset of 1 07 V in increments of 8 4 mV Note however that the hardware uses 64 steps of 33 6 mV
33. CTS DATA TRANSLATION INC SHALL HAVE NO LIABILITY FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES OF ANY KIND ARISING OUT OF THE SALE INSTALLATION OR USE OF ITS PRODUCTS CUSTOMER SERVICE POLICY a Data Translation Inc will repair or replace at its option any faulty item within ten days after receipt of said part regardless of its warranty status b A Quick Turnaround Plan is available to expedite servicing Contact the Data Translation Customer Service Department for details o If a product should fail during the warranty period it will be repaired free of charge For out of warranty repairs the customer will be invoiced for repair charges RETURN REPAIR PROCEDURES Upon determining that repair services are required or to return a product to Data Translation contact the Data Translation Customer Service Department at 508 481 3700 extension 394 to obtain a Return Material Authorization RMA number Have the following information ready when you call complete product model number product serial number name address and telephone number of person returning product and any special repair instructions Carefully package the product in anti static packaging making sure the RMA number appears on the outside of the package Ship prepaid to Customer Service Department Data Translation Inc 100 Locke Drive Marlboro MA 01752 1192 USA On completion of required service an invoice is issued stating charges when appl
34. C_DOES_ACTIVE_VIDEO 56 OLC_FG_IC_DOES_DRAW ACQUIRED_FRAME 66 147 Index 148 OLC_FG_IC_DOES_FRAME_SELECT 59 OLC_FG_IC_DOES_INPUT_FILTER 3l OLC_FG_IC_DOES_PIXEL_CLOCK 52 OLC_FG_IC_DOES_PROG_A2D 51 OLC_FG_IC_DOES_QUERY_ ACTIVE_VIDEO 56 OLC_FG_IC_DOES_QUERY_FRAME _SELECT 59 OLC_FG_IC_DOES_QUERY_INPUT_ FILTER 51 OLC_FG_IC_DOES_QUERY_PIXEL_ CLOCK 52 OLC_FG_IC_DOES_QUERY_PROG_ A2D 51 OLC_FG_IC_DOES_QUERY_SYNC_ SENTINEL 55 OLC_FG_IC_DOES_QUERY_VIDEO_ SELECT 54 OLC_FG_IC_DOES_SYNC SENTINEL 55 OLC_FG_IC_DOES_TRIGGER 52 OLC_FG_IC_DOES_VIDEO_SELECT 54 OLC_FG_IC_FRAME HEIGHT_ LIMITS 59 OLC_FG_IC_FRAME_HINC_LIMITS 59 OLC_FG_IC_FRAME_LEFT_LIMITS 59 OLC_FG_IC_FRAME_TOP_LIMITS 59 OLC_FG_IC_FRAME_TYPE_LIMITS 60 OLC_FG_IC_FRAME_VINC_LIMITS 60 OLC_FG_IC_FRAME_WIDTH_ LIMITS 59 OLC_FG_IC_INPUT_FILTER_LIMITS 51 OLC_FG_IC_MAX_FRAME_SIZE 60 OLC_FG_IC_MAX_ILUT_INDEX 53 OLC_FG_IC_MAX_ILUT_VALUE 53 OLC_FG_IC_MULT_FRAME_OPS 66 OLC_FG_IC_MULT_TRIGGER_ MODE_LIMITS 53 OLC_FG_IC_MULT_TRIGGER_TYPE _LIMITS 52 OLC_FG_IC_PIXEL_DEPTH 60 OLC_FG_IC_SINGLE_FRAME_OPS 65 OLC_FG_IC_SYNC_SENTINEL_ TYPE_LIMITS 55 OLC_FG_IC_TOTAL_LINES_PER FLD_LIMITS 58 OLC_FG_IC_TOTAL_PIX_PER_LINE _LIMITS 57 OLC_FG_IC_VIDEO_TYPE_LIMITS 54 OLC_FG_IC_WHITE_LEVEL_LIMITS 52 OLC_FG_ILUT_COUNT 53 OLC_FG_INPUT_SOURCE_COUNT 51 OLC_FG_MC_MEMORY_TYPES 64 OLC_FG_MC_VOL_COUNT 64 OLC_FG_MEM_NON_VOLATILE 64 OLC_FG_MEM_VOLATILE 64
35. DATA TRANSLATION UM 14358 J DT3152 User s Manual Ninth Edition August 2003 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 1995 to 2003 by Data Translation Inc All rights reserved No part of this publication may be reproduced stored in a retrieval system or transmitted in any form by any means electronic mechanical by photocopying recording or otherwise without the prior written permission of Data Translation Inc 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 DT Open Layers Frame Grabber SDK Imaging O
36. 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 Yes Dt3152QuerySyncMasterControlValue Horizontal Frequency Hz DT3152_SYNC_CTL_HORIZ_FREQ min 1 max 2 000 000 nominal 50 Hz 15 625 60 Hz 15 750 Vertical Frequency Hz min 1 DT3152_SYNC_CTL_VERT_FREQ max 200 000 nominal 50 Hz 50 60 Hz 60 Horizontal Sync Pulse Width ns DT3152_SYNC_CTL_HPULSE_WIDTH min 250 max 950 000 000 nominal 50 Hz 4 800 60 Hz 4 800 55 Chapter 3 Table 8 Sync Signal Capabilities for the DT3152 Device Driver cont Capability DT3152 Support Vertical Sync Pulse Width ns DT3152_SYNC_CTL_VPULSE_WIDTH min 250 max 950 000 000 nominal 50 Hz 160 000 60 Hz 190 000 Phase of total line x 100 min 100 1 DT3152_SYNC_CTL_PHASE max 9 900 99 nominal 50 Hz 5 000 50 60 Hz 5 000 50 Table 9 Active Video Area Capabilities for the DT3152 Device Driver Capability DT3152 Support OlFgQueryInputCaps Supports Defining of Active Video Area OLC_FG_IC_DOES_ACTIVE_VIDEO Yes Supports 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 4095 nominal 50 Hz 80 60 Hz 60 granularity 1 56 Supported Device Driver Ca
37. G_CTL_FRAME_TOP 68 89 OLC_FG_CTL_FRAME_TYPE 69 OLC_FG_CTL_FRAME_WIDTH 68 89 Index OLC_FG_CTL_HOR_FRAME_INC68 90 OLC_FG_CTL_HSYNC_INSERT_POS 68 86 OLC_FG_CTL_HSYNC_SEARCH_ POS 68 86 OLC_FG_CTL_ILUT 69 OLC_FG_CTL_INPUT_FILTER 68 85 OLC_FG_CTL_SYNC_SENTINEL 68 86 OLC_FG_CTL_TOTAL_LINES_PER FLD 88 OLC_FG_CTL_TOTAL_PIX_PER LINE 88 OLC_FG_CTL_VARSCAN_FLAGS 85 OLC_FG_CTL_VER_FRAME_INC 68 90 OLC_FG_CTL_VIDEO_TYPE 68 85 OLC_FG_CTL_VSYNC_INSERT_POS 68 86 OLC_FG_CTL_VSYNC_SEARCH_ POS 68 86 OLC_FG_CTL_WHITE_LEVEL 68 OLC_FG_DDI_COLOR_KEY_ CONTROL 63 OLC_FG_DDI_COLOR_OVERLAY 63 OLC_FG_DDI_FAST_PASSTHRU 63 OLC_FG_DDI_MULTIPLE_ SURFACES 63 OLC_FG_DDI_OVERLAYS 63 OLC_FG_DDI_PASSTHRU_SYNC_ EVENT 63 OLC_FG_DDI_TRANSLUCENT_ OVERLAYS 63 OLC_FG_FILT_AC_50 51 OLC_FG_FILT_AC_60 51 OLC_FG_FILT_AC_NONE 51 OLC_FG_FILT_DC_NONE 51 OLC_FG_FRM_IL_FRAME_EVEN 60 OLC_FG_FRM_IL_FRAME_NEXT 60 OLC_FG_FRM_IL_FRAME_ODD 60 OLC_FG_FRM_NON_INTERLACED 60 OLC_FG_IC_ACTIVE_HEIGHT_ LIMITS 58 OLC_FG_IC_ACTIVE_LINE_LIMITS 58 OLC_FG_IC_ACTIVE_PIXEL_LIMITS OF OLC_FG_IC_ACTIVE_WIDTH_ LIMITS 57 OLC_FG_IC_BACK_PORCH_START_ LIMITS 56 OLC_FG_IC_BLACK_LEVEL_LIMITS 51 OLC_FG_IC_CLAMP_END_LIMITS 57 OLC_FG_IC_CLAMP_START_ LIMITS 57 OLC_FG_IC_CLOCK_FREO_LIMITS 52 OLC_FG_IC_CLOCK_SOURCE_ LIMITS 52 OLC_FG_IC_CSYNC_SOURCE_ LIMITS 54 OLC_FG_IC_CSYNC_THRESH_LIST 54 OLC_FG_IC_CSYNC_THRESH_LIST_ LIMITS 54 OLC_FG_I
38. G_OUT6 DIG_OUT5 DIG_OUT4 DIG_OUT3 pO oOo AJ oa oO N DIG_OUT2 _ DIG_OUT1 DIG_OUTO oO O N oJ a AJ OJN LINE_CLOCK o ojojo FRAME_CLOCK _ k o not connected z N not connected 4 wo 12 not connected mb gt 13 not connected al GND 119 Appendix B 120 a A Modifying the Device Driver Windows 98 and Windows Me Procedures Windows 2000 Procedures 0 0 00 cece eee ee eee Windows XP Procedures 0 00 00 ce eee cece eee 121 Appendix C 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 124 and Uninstalling the device driver if necessary on page 126 Adding a Board to the Device Driver Configuration To add a new board to the DT3152 Device Driver configuration after system startup perform the following steps 1 122 If you have not already done so install the additional board in your computer following the instructions in the DT3152 Getting Started Manual then power up your computer and any attached peripherals Note On power up the PCI bus takes one available interrupt from system resources for the DT3152 board If
39. MNI CD 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 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 S
40. M_IL_FRAME_NEXT Yes Acquire the Even Field OLC_FG_FRM_FIELD_EVEN No Acquire the Odd Field OLC_FG_FRM_FIELD_ODD No Acquire the Next Field OLC_FG_FRM_FIELD_NEXT No Acquire the Next Noninterlaced Frame OLC_FG_FRM_NON_INTERLACED Yes Maximum Number of Pixels in Frame OLC_FG_IC_MAX_FRAME_SIZE 4 194 304 Number of Bytes in a Pixel OLC_FG_IC_PIXEL_DEPTH Supported Device Driver Capabilities Table 11 Passthru Capabilities for the DT3152 Device Driver Capability DT3152 Support OlFgQueryPassthruCaps Supports Passthru Section OLC_FG_PC_DOES_PASSTHRU Yes Passthru Modes OLC_FG_PC_PASSTHRU_MODE_LIMITS Supports Sync Bitmap OLC_FG_PASSTHRU_SYNC_BITMAP Yes Supports Async Bitmap OLC_FG_PASSTHRU_ASYNC_BITMAP Yesab Supports Sync Direct OLC_FG_PASSTHRU_SYNC_DIRECT No Supports Async Direct OLC_FG_PASSTHRU_ASYNC_DIRECT No Supports Continuous Acquire OLC_FG_PASSTHRU_ASYNC_BITMAP_EXTENDED Yes Source Origin OLC_FG_PC_DOES_SOURCE_ORIGIN Yes Available Range For the X Value of the Source Origin OLC_FG_PC_SRC_ORIGIN_X_LIMITS min O max 4095 nominal 0 Available range for the Y value of the source origin OLC_FG_PC_SRC_ORIGIN_Y_LIMITS granularity 1 min 0 max 4095 nominal 0 granularity 1 61 Chapter 3 62 Table 11 Passthru Capabilities for the DT3152 Device Driver cont Capability DT3152 Support Scaling OLC_FG_PC_DOES_SCALING Yes Range of Legal
41. OLC_FG_ACQ_FRAME_TO_FIT No Single Frame to Host 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 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 65 Chapter 3 Table 14 Acquisition Capabilities for the DT3152 Device Driver cont Capability DT3152 Support OLC_FG_IC_MULT_FRAME_OPS Multiple Frames to Host 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 Multiple Frames to Device 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 Multiple Frames 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 Multiple Frames 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 Supports Drawing Ac
42. OLC_FG_MODE_EACH 53 OLC_FG_MODE_START 53 Index OLC_FG_PASSTHRU_ASYNC_ BITMAP 61 OLC_FG_PASSTHRU_ASYNC_ BITMAP_EXTENDED 61 OLC_FG_PASSTHRU_ASYNC_ DIRECT 61 OLC_FG_PASSTHRU_SYNC_ BITMAP 61 OLC_FG_PC_DOES_PASSTHRU 61 OLC_FG_PC_DOES_PASSTHRU_ SNAPSHOT 62 OLC_FG_PC_DOES_SCALING 62 OLC_FG_PC_MAX_PALETTE_ INDEX 62 OLC_FG_PC_MAX_PALETTE_ VALUE 62 OLC_FG_PC_MAX_PLUT_INDEX 62 OLC_FG_PC_MAX_PLUT_VALUE 62 OLC_FG_PC_PASSTHRU_MODE_ LIMITS 61 OLC_FG_PC_SCALE_HEIGHT_ LIMITS 62 OLC_FG_PC_SCALE_WIDTH_ LIMITS 62 OLC_FG_PC_SRC_ORIGIN_X_ LIMITS 61 OLC_FG_PC_SRC_ORIGIN_Y_ LIMITS 61 OLC_FG_PS_DOES_SOURCE_ ORIGIN 61 OLC_FG_SECTION_CAMCTL 50 OLC_FG_SECTION_DDI 50 OLC_FG_SECTION_INPUT 50 OLC_FG_SECTION_MEMORY 50 OLC_FG_SECTION_PASSTHRU 50 OLC_FG_SYNC_SENTINEL_ VARIABLE 55 OLC_FG_TRIG_EXTERNAL_LINE 52 OLC_FG_TRIGGER_TYPE_LIMITS 52 OLC_FG_VID_COMPOSITE 54 OLC_FG_VID_VARSCAN 54 OLC_IMG_DC_DEVICE_ID 50 OLC_IMG_DC_DEVICE_NAME 50 OLC_IMG_DC_OL_DEVICE_TYPE 50 OLC_IMG_DC_OL_SIGNATURE 50 OLC_IMG_DC_SECTIONS 50 OLC_IMG_DEV_MONO_FRAME_ GRABBER 50 OlFgAcquireFrameToDevice 75 OlFgAcquireFrameToHost 75 OlFgAcquireMultipleToDevice 77 OlFgAllocateBuiltInFrame 74 77 95 97 OlFgAsyncAcquireFrameToDevice 74 OlFgAsyncAcquireFrameToHost 74 OlFgAsyncAcquireMultipleTo Device 77 OlFgCancelAsyncAcquireJob 74 77 OIFgCopyFrameRect 92 93 OlFgCreateSurface 82 OlFgDestroyFrame 75 78 80 84
43. OlFgDestroySurface 84 OlFgEnableBasedSourceMode 73 76 79 81 OlFgEnableOverlays 84 98 OlFgEraseSurface 82 OlFgExtendPassthruPalette 96 OlFgGetPassthruSyncEvent 99 OlFgGetSurfaceDC 82 99 OlFgIsAsyncAcquireJobDone 74 77 OlFgLoadDefaultPassthruLUT 96 OlFgLoadPassthruLUT 96 OlFgMapFrame 94 149 Index 150 OlFgQueryCameraControlCaps 67 OlFgQueryDDICaps 63 OlFgQueryMemoryCaps 64 OlFgQueryPassthruCaps 61 OlFgReadContinguousPixels 92 OlFgReadFrameRect 92 OlFgReadPixelList 92 OlFgReleaseSurfaceDC 82 99 OlFgSetDigitalOutputMask 75 78 80 84 OlFgSetInputControl Value 85 86 87 88 89 90 92 93 94 OlFgSetInputVideoSource 73 76 79 81 OlFgSetMultipleTriggerInfo 76 OlFgSetOverlayColorKey 98 OlFgSetPassthruScaling 79 82 OlFgSetPassthruSourceOrigin 79 81 OlFgSetTranslucentOverlay 98 OlFgSetTriggerInfo 73 OlFgSetVisibleSurface 98 99 OlFgStartAsyncPassthruBitmap 95 OlFgStartAsyncPassthruEx 95 OlFgStartSyncPassthruBitmap 95 OIFgStopAsyncPassthru 80 84 OlFgUnmapFrame 94 OlFgWriteContiguousPixels 93 OlFgWriteFrameRect 93 OlFgWriteInputLUT 73 76 79 81 OlFgWritePixelList 93 OlImgCloseDevice 75 78 80 84 OllmgOpenDevice 73 76 79 81 OllmgQueryDeviceCaps 50 OllmgQueryInputCaps 51 54 56 59 65 OlImgSetTimeoutPeriod 73 76 79 81 origin source 41 61 overlays 43 63 P PAL 9 passthru 39 50 61 bitmap passthru mode 39 continuous acquire mode 40 event synchronization 63 look up table LUT 42 62
44. Select Enable Board to activate the board If you want to retain the settings but disable the board and therefore not use the memory remove the checkmark next to Enable Board For Video Format indicate the video format of your video input source 50 or 60 Hz 123 Appendix C 124 19 20 21 22 23 For Desired Memory Size select the amount of contiguous memory in MB that you want to allocate in your system to hold the acquired frames A 60 Hz 640 by 480 image requires 308 KB per frame a 50 Hz 768 by 576 image requires 443 KB per frame The actual amount of memory that the device driver can allocate depends on your system resources It is recommended that you select only as much memory as you need to leave memory for other devices Once you enter the desired memory size the device driver allocates as much memory as possible to match the value you entered the actual memory size allocated is shown in the Actual Memory Size text box when you restart your system Click Done The DT3152 Device Driver Configuration dialog box is redisplayed you can see the name of the board you just added Click Close to end the DT3152 configuration If you made any changes to the default settings click OK to confirm that you need to restart Windows before the changes will take effect Click OK to restart Windows For proper operation it is very important that you restart Windows when prompted Modifying a Board in the De
45. T3152 Device Driver However if you are no longer using the DT3152 board with the supported software you can uninstall the DT3152 Device Driver from the system by performing the following steps 1 Open the Control Panel 2 Double click Sounds and Audio Devices 3 Click the Hardware tab 4 Double click DT Open Layers DT3152 MACH Series Frame Grabber 5 Click the Driver tab then click Uninstall 6 Click OK 7 Click OK 8 Restart your system to cause the new configuration to take effect 138 Asynchronous Reset Cameras 139 Appendix D Note If you are using an asynchronous reset camera make sure that the Sync Sentinel is disabled For more information about the Sync Sentinel refer to page 25 The DT3152 frame grabber board supports asynchronous reset cameras Asynchronous reset cameras can continuously output frames of data and or output a single frame of data as follows e Continuous output The camera continuously outputs frames of data along with horizontal and vertical syncs When the camera is triggered the current frame is reset and the camera begins to output new frames from the top In this mode you must use an external trigger with the DT3152 board and the external trigger event must occur before the first line that you want to digitize If desired you can use the trigger that resets the camera to also trigger the board For more information about external board triggers refer to page
46. Values for Height OLC_FG_PC_SCALE_HEIGHT_LIMITS min 1 max 4096 nominal 50 Hz 576 60 Hz 480 granularity 1 Range of Legal Values for Width OLC_FG_PC_SCALE_WIDTH_LIMITS min 4 max 4096 nominal 50 Hz 768 60 Hz 640 granularity 4 Passthru LUT OLC_FG_PC_DOES_PASSTHRU_LUT Yes Number of Extra Palette Entries OLC_FG_PC_MAX_PALETTE_INDEX 15 Maximum RGB Value for Palette OLC_FG_PC_MAX_PALETTE_VALUE 255 Maximum Index Number Allowed in Passthru LUT OLC_FG_PC_MAX_PLUT_INDEX 255 Maximum RGB Value for Passthru LUT OLC_FG_PC_MAX_PLUT_VALUE 255 Passthru Snapshot OLC_FG_PC_DOES_PASSTHRU_SNAPSHOT Yes a This mode is available when the graphics adapter is in 256 color mode b This mode is available when the graphics adapter is in 65536 color 16 bit mode providing that the graphics adapter supports DDI c The maximum number of entries allowed in the passthru LUT is 255 since the index value is zero based Supported Device Driver Capabilities Table 12 Overlay Capabilities for the DT3152 Device Driver Capability DT3152 Support OlFgQueryDDICaps Passthru with DDI OLC_FG_DDI_FAST_PASSTHRU Yes Overlay support OLC_FG_DDI_OVERLAYS Yes Translucent overlay capability OLC_FG_DDI_TRANSLUCENT_OVERLAYS Yes Color overlay capability OLC_FG_DDI_COLOR_OVERLAY Yes Multiple overlay surface capability OLC_FG_DDI_MULTIPLE_SURFACES Yes Color keying filteri
47. and then returns control to you immediately allowing you to perform other operations while data is acquired The DT3152 board uses the following memory locations e Device memory A contiguous location in system memory that is managed by the DT3152 Device Driver You define the size of this memory location when you configure the device driver Host memory Host memory does not have to be contiguous You must allocate and manage this memory location Both device memory and host memory are volatile memory locations meaning that their contents may be overwritten with each acquisition You can acquire a single frame to either device memory or host memory you can acquire multiple frames to device memory only Principles of Operation Digital Output Signals The DT3152 board provides eight digital output lines on pins 1 to 8 on the board s J4 connector These digital output signals are simple register driven TTL level signals that you can use for any purpose such as controlling or actuating external devices A bit value of 0 identifies a low TTL level a bit value of 1 identifies a high TTL level Use software to write the digital output values 45 Chapter 2 46 9 Z Supported Device Driver Capabilities DT3152 Device Driver Capabilities Initialized Control Values 00 0 cece eee 47 Chapter 3 DT3152 Device Driver Capabilities Because the Frame Grabber SDK is intended to be used w
48. any devices are using this interrupt problems may arise Verify that no other devices in your system are using the same interrupt that the DT3152 board is using and ensure that PCI interrupts are enabled in your system BIOS Start Windows 98 or Windows Me The Found New Hardware dialog box appears Click Next For Windows Me click Specify the location of the device Advanced then click Next Modifying the Device Driver 10 11 12 13 14 15 16 17 18 Click Search for the best driver for your device Recommended then click Next Click Specify a location and uncheck all other options Insert the Imaging OMNI CD into the CD ROM drive Click Browse browse to x DRIVERS DT3152 WIN98 where x is the letter of your CD ROM drive and click Open Click OK Click Next Click Next The files are copied Click Finish Remove the Imaging OMNI CD from the CD ROM then click Yes to restart the system When the system restarts the driver configuration dialog box appears Click OK then click OK Click Add New to add a DT3152 board to the configuration The DT3152 Installation dialog box appears for the new board Enter a board name alias which can be any name you choose then click Add The board name is used by supported software such as DT Acquire and the Frame Grabber SDK Only one name alias per installed DT3152 board is allowed The DT3152 Configuration dialog box appears
49. apabilities Table 10 Frame Capabilities for the DT3152 Device Driver Capability DT3152 Support OlFgQueryInputCaps Supports Frame Selection OLC_FG_IC_DOES_FRAME_SELECT Yes Supports Frame Selection Query OLC_FG_IC_DOES_QUERY_FRAME_SELECT Yes Range of Frame Top Control OLC_FG_IC_FRAME_TOP_LIMITS min 0 max 4095 nominal 0 granularity 1 Range of Frame Left Control OLC_FG_IC_FRAME_LEFT_LIMITS min 0 max 4095 nominal 0 granularity 1 Range of Frame Height Control OLC_FG_IC_FRAME_HEIGHT_LIMITS min 1 max 4096 nominal 50 Hz 576 60 Hz 480 granularity 1 Range of Frame Width Control OLC_FG_IC_FRAME_WIDTH_LIMITS min 4 max 4096 nominal 50 Hz 768 60 Hz 640 granularity 4 Range Between Pixels Scale factor horizontal OLC_FG_IC_FRAME_HINC_LIMITS min 1 max 16 nominal 1 granularity 1 59 Chapter 3 60 Table 10 Frame Capabilities for the DT3152 Device Driver cont Capability DT3152 Support Range Between Lines Scale factor vertical OLC_FG_IC_FRAME_VINC_LIMITS min 1 max 16 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 Yes Acquire Interlaced Frame Starting on Odd Field OLC_FG_FRM_IL_FRAME_ODD Yes Acquire Interlaced Frame Starting on Next Field OLC_FG_FR
50. aterial 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 board Place ina 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 111 Appendix A The input impedance for the video input signal is 75 Q Table 18 lists the digital output electrical specifications for the DT3152 board Table 18 Digital Output Electrical Specifications Minimum Maximum Feature Specification Specification High Level Output Current IOH 2 0 mA Low Level Output Current IOL 20 mA High Level Output Voltage VOH 2 4 V Low Level Output Voltage VOL 0 5 V Table 19 lists the digital input electrical specifications for the DT3152 frame grabber board Table 19 Digital Input Electrical Spec
51. both synchronous and asynchronous bitmap passthru mode In a synchronous operation you cannot perform another operation until the operation is stopped In an asynchronous operation the operation starts but gives control to you immediately allowing you to perform other operations while data is displayed 39 Chapter 2 40 Bitmap passthru mode requires a frame in device memory into which the image is captured 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 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 You can add overlays to bitmap passthru operations A bitmap passthru operation continues until you stop it You can stop an asynchronous bitmap passthru operation using software To stop a synchronous bitmap passthru operation click the mouse or press a key Continuous Acquire Passthru Mode The DT3152 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 sof
52. d GDI functions Change contents of a surface Yes Erase the contents of a surface with OIFgEraseSurface Release the surface DC with OlFgReleaseSurfaceDC Yes Create another overlay No C Go to the next page Programming Flowcharts Passthru with Overlays cont C Continued from previous page Enable overlay before passthru starts Set up and enable overlays see page 98 Start a passthru operation see page 95 Start a passthru operation see page 95 y Set up and enable overlays see page 98 y Execute an overlay animation sequence see page 99 Change the passthru LUT see page 96 Acquire a single image for processing see page 97 O Go to the next page D 83 Chapter 4 Passthru with Overlays cont x 2 Continued from previous page Stop asynchronous passthru with OIFgStopAsyncPassthru stop synchronous passthru with a mouse or keyboard event Disable overlays with OIFgEnableOverlays y Destroy surfaces with OlFgDestroySurface Write to the digital output lines with OlFgSetDigitalOutputMask y Release the frame buffer with OlFgDestroyFrame y Cse the device using GlingCigsebeviee
53. d that you select only as much memory as you need to leave memory for other devices Once you enter the desired memory size the device driver allocates as much memory as possible to match the value you entered the actual memory size allocated is shown in the Actual Memory Size text box when you restart your system Click Done then click Close to end the DT3152 configuration If you made any changes to the default settings click OK to confirm that you need to restart Windows before the changes take effect Click OK to close the DT3152 MACH Series Frame Grabber Properties dialog box then click OK to close the Multimedia Properties or Sounds and Multimedia Properties dialog box Close the Control Panel 125 Appendix C 15 Restart Windows for your changes to take effect For proper operation it is very important that you restart Windows Uninstalling the Device Driver Generally you will always require the DT3152 Device Driver However if you are no longer using the DT3152 board with the supported software you can uninstall the DT3152 Device Driver from the system To uninstall the device driver perform the following steps 1 Click Start Programs Data Translation Inc MACHUnLd 2 Click DT3152 3 Click OK The DT3152 device driver is uninstalled 4 Click Cancel to exit from the MACHUnLd utility 126 Modifying the Device Driver Windows 2000 Procedures This section describes the following procedures
54. e Control V Sync Bus Master r Y Y L 4 A Horizontal _ Horizontal Syne in Format Pixel Digital Control Clock Clock Multi 001 to Synch P plexer Burst Slow Scan 20 MHz Transfer Vertical Sync In Control External Trigger y j External Pixel Clock PCI Bus Figure 1 DT3152 Block Diagram Principles of Operation Video Input Signals This section describes the following aspects of the supported input signals Video signal types Video input channels Chrominance notch filter Black and white levels Pixel clock External trigger and Input look up table LUT Video Signal Types The DT3152 can acquire monochrome images from following types of standard composite video input signals RS 170 Standard for 60 Hz monochrome video signals A video frame consists of 525 lines 480 lines of which are visible CCIR Standard for 50 Hz monochrome video signals A video frame consists of 625 lines 576 lines of which are visible NTSC Standard for 60 Hz color video signals color is superimposed over the monochrome RS 170 image A video frame consists of 525 lines 480 lines of which are visible PAL Standard for 50 Hz color video signals color is superimposed over the monochrome RS 170 image A video frame consists of 625 lines 576 lines of which are visible In addition the DT3152 can acquire monochrome images from nonstandard video sources such as slow scan SEM and high resolution cameras Th
55. e 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 techniques 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 About this Manual Ulichney Robert Digital Halftoning Cambridge MA The MIT Press 1987 Describes image manipulation creation and analysis in the digital environment Watkinson John The Art of Digital Video Stoneham MA Focal Press 1990 Provides an in depth descrip
56. e Set the clock frequency with frequency of the internal clock source The default OlFgSetInputControlValue frequency is 12 500 000 Hz for 60 Hz and 15 000 000 Hz for 50 Hz 90 Programming Flowcharts Set the DT3152 Specific Controls for the Input Source Yes Disable Sync Master mode with Dt3152EnableSyncMasterMode Using Sync Master mode Set the Sync Master control values with Dt3152SetSyncMasterControlValue No Set the horizontal frequency between 1 Hz and 2 MHz the width of the horizontal sync pulses between 250 ns and 950 000 000 ns and the amount the vertical sync is shifted relative to the horizontal sync between 100 1 and 9900 99 of the total line Set the vertical frequency between 1 Hz and 200 kHz and the width of the vertical sync pulses between 250 ns and 950 000 000 ns y Enable Sync Master mode with Dt3152EnableSyncMasterMode Set the input control values with Dt3152SetInputControlValue Set the gain to 0 5 specify 50 1 specify 100 2 specify 200 or 4 specify 400 the default is 1 Set the reference from 0 to 1 275 000 uV The default for 50 Hz is 700 000 uV The default for 60 Hz is 660 000 uV Set the offset from 4 075 200 uV to 1 066 800 uV The default for 50 Hz is O UV The default for 60 Hz is 53 855 UV 91 Chapter 4 Process the Acquired Image Read data From to N Yes
57. e eee 127 Adding a Board to the Device Driver Configuration 127 Modifying a Board in the Device Driver Configuration 129 Removing a Board from the Device Driver Configuration 130 Uninstalling the Device Driver 2 2 222 131 vii Contents Windows XP Procedures 0 0 00 00 cc eee eee eee 133 Adding a Board to the Device Driver Configuration 133 Modifying a Board in the Device Driver Configuration 135 Removing a Board from the Device Driver Configuration 137 Uninstalling the Device Driver 2 2 2 222 138 Appendix D Asynchronous Reset Cameras 139 Index A rn a ee ee 143 viii About this Manual This manual describes the features of the DT3152 frame grabber board and how to use the DT3152 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 the DT3152 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 Millennium Edition Windows 2000 or Windows XP operating system and
58. el and living expenses or expenses for installation training file conversion costs optional products and services directories shipping charges or the cost of any recommended hardware third party software or third party software maintenance fees or operating system upgrade 7 WARRANTY LIMITATION EXCEPT AS EXPRESSLY STATED IN THIS SUPPORT POLICY THERE ARE NO EXPRESS OR IMPLIED WARRANTIES WITH RESPECT TO THE SUPPORT SERVICES PROVIDED HEREUNDER INCLUDING THE FIXING OF ERRORS THAT MAY BE CONTAINED IN THE APPLICABLE DATA TRANSLATION SOFTWARE INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE THE WARRANTIES AND REMEDIES SET FORTH IN THIS SUPPORT POLICY ARE EXCLUSIVE AND ARE IN LIEU OF ALL OTHER WARRANTIES WHETHER ORAL OR WRITTEN EXPRESS OR IMPLIED 8 GENERAL PROVISIONS Upon the election by Licensee to obtain Support Services the terms of this Support Policy shall be governed by and are made a part of the Agreement
59. ertical reference point which is defined as the beginning of the vertical sync Note that the frame is an area that you establish within the active video area For more information about frames refer to page 34 First Active Line Frame To Vertical Reference P Point Frame Height 1121 3100 Active Video Vertical Sync Blanking Active Line Count Total Lines Per Field Figure 11 Vertical Video Signal You can use software to define the vertical input settings for the DT3152 Table 4 lists the settings you can program 33 Chapter 2 Table 4 Vertical Input Settings Nominal Seiting Description Range Values First Active Line The position of the first active 0 to 4095 50 Hz 20 video signal within the field lines 60 Hz 16 as a line offset from the beginning of the vertical sync Active Line Count The number of lines per field 1 to 40964 50 Hz 288 or noninterlaced frame inthe lines 60 Hz 240 active video area a The granularity is 1 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 ROI This section describes the following aspects of frames e Frame size e Frame type e Scaling frames and e 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 t
60. es adjusting the source origin Source origin Acquired image Displayed image Figure 13 Source Origin Example 41 Chapter 2 The source origin is a pixel position in the image Values range from 0 the default to 4 095 in both directions When set the passthru image shifts to the new position Passthru Scaling Using software you can scale the passthru image to the height and width that most closely match the requested size Unlike hardware scaling see page 37 where the hardware scales the image before the image is transferred to system memory passthru scaling is done in software after the image is transferred to system memory For the width values range from 4 to 4 096 pixels default is 768 for 50 Hz image formats and 640 for 60 Hz image formats in increments of 4 For the height values range from 1 to 4 096 lines default is 576 for 50 Hz image formats and 480 for 60 Hz image formats in increments of 1 Passthru LUT In addition to the ILUT described on page 19 you can use the passthru LUT to affect the displayed image during passthru By using the passthru LUT with the ILUT you can change the display image without altering the ILUT itself This allows you to display reversed or otherwise enhanced images without disrupting the underlying color settings When using the passthru LUT the values in the ILUT are applied to the image first Then the values in the passthru LUT are applied By default passth
61. ese nonstandard video sources must provide their own control signals Chapter 2 Video Input Channels The DT3152 supports four monochrome video inputs The board can accept an AC coupled video input signal from one of four software selectable video channels 0 to 3 or a DC coupled input from video channel 3 only The channel is software selectable To accept a DC coupled signal from channel 3 you must install jumper W1 on the board Refer to the DT3152 Getting Started Manual for more information AC coupling allows the video signal to pass through the clamping circuit while DC coupling causes the signal to bypass the capacitor that is in line with the video signal as well as the clamping circuit before the video multiplexer refer to Figure 2 for an illustration of the clamping circuit By default an AC coupled signal type is selected VIDO De 1 07V 0 5 1 2 4 o 50H o VID1 C2 Lon OFFSET GAIN o H o VID2 60Hz AC o O VID3 oi CLAMP H o yn SYNC o N___ HORZ SYNC STRIPPER__vV LINE_SYNC 10 9 NX VERTICAL SYNC FRAME_SYNC o Figure 2 Video Selection Principles of Operation The clamping circuit selectively holds the blanking level portion of the video signal Refer to page 30 for more information on clamping as it relates to the active image area Chrominance Notch Filter If an A
62. formation on using asynchronous reset cameras with the DT3152 An index complete this manual Conventions Used in this Manual The following conventions are used in this manual e Notes provide 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 Items that you select or type are shown in bold e Courier font is used to represent source code About this Manual Related Information Refer to the following documents for more information on using the DT3152 board DT3152 Getting Started Manual UM 18302 included on the Imaging OMNI CD provided with the DT3152 board describes how to set up install and wire signals to the DT3152 board how to install the DT3152 Device Driver and how to verify the operation of the board Frame Grabber SDK User s Manual UM 13442 and online help included on the Imaging OMNI CD provided with the DT3152 board describe the Dynamic Linkable Library DLL that you can use to write image acquisition application programs 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 Vi
63. frame with OlFgSetinputControlValue Set the left of the frame with OlFgSetInputControlValue Set the height of the frame with OlFgSetinputControlValue y Set the width of the frame with OlFgSetInputControlValue y C Go to the next page Use OLC_FG_CTL_FRAME_TOP to set the first line of video relative to the active video area to digitize The default is 0 Use OLC_FG_CTL_FRAME_LEFT to set the first pixel of video relative to the active video area to digitize The default is 0 Use OLC_FG_CTL_FRAME_HEIGHT to set the number of lines per field of video or noninterlaced frame to digitize The default is 480 for 60 Hz and 576 for 50 Hz Use OLC_FG_CTL_FRAME_WIDTH to set the number of pixels per line of video to digitize The default is 640 for 60 Hz and 768 for 50 Hz 89 Chapter 4 Set the Standard Controls for the Input Source cont Continued from previous page with OIFgSetinputControlValue horizontal scale factor The default is 1 Set the vertical frame increment Use OLC_FG_CTL_VER_FRAME_INC to set the with OlFgSetInputControlValue vertical scale factor The default is 1 Use OLC_FG_CTL_CLOCK_SOURCE to set the pixel clock to internal or external The default is internal Set the clock source with OlFgSetInputControlValue Use OLC_FG_CTL_CLOCK_FREQ to set th
64. ge a diria to Allocate user buffer with GlobalAlloc len ost using the GPTR flag acquire memory Acquire the frame with OlFgAcquireFrameToHost No Acquire the frame to device memory with OlFgAcquireFrameToDevice k l A Process the acquired image see page 92 y Write to the digital output lines with OlFgSetDigitalOutputMask y Release the frame buffer with OlFgDestroyFrame Y Close the device using OllmgCloseDevice Y If applicable deallocate the memory with GlobalFree 75 Chapter 4 Multiple Frame Acquisition Open the device and get the device ID x with OllmgOpenDevice Set the timeout period with OllmgSetTimeoutPeriod y The input channel can be 0 to 3 corresponding Choose an input source with to VIDO to VID3 The default is 0 OlFgSetinputVideoSource y Set the standard controls for the input source see page 85 y Set the DT3152 specific controls for the input source see page 91 y Enable based source mode with OIFgEnableBasedSourceMode Write new values into the Input LUT The default is identity the grayscale value with OlFgWritelnputLUT is not modified Set up an acquisition trigger for the input The default is a software trigger channel with OlFgSetMultipleTr
65. ge 0 V and the reference voltage should not be less than 500 mV 13 Chapter 2 An Example Using A D Offset Gain and Reference Figure 3 shows a signal in which part of the image is below 0 0 V and part is above 1 0 V 2 0 V 1 15V 1 0V Reference 1 05V E ov M Offset Gain 1 95V Figure 3 Original Signal To adjust the black and white levels so that the DT3152 board digitizes the signal between 9 4 V and 1 1 V perform the steps in the following sections Step 1 Adjust the Offset To digitize the data below 0 0 V shift the signal up by setting the offset to V min In our example Vmin 9 4 V therefore V min 0 4 V Since the voltage step for offset is 8400 uV and you want an offset as close to 0 4 V 400000 uV as possible calculate the best fit based on a step of 8400 pV using the following equations 14 Principles of Operation 2 0 V 1 5V 0 5 V OV 9 5 V 400000 pV 8400 pV 47 62 48 round to nearest whole number 48 8400 pV 403200 pV multiply for actual offset offset 0 4032 V Figure 4 shows the effect of using an offset of 0 4032 V Signal with offset 0 4 032 a N Figure 4 Use of Offset to Adjust the Black Level Original signal with offset 0 V Since the image has been shifted up by 0 4032 V a voltage level of 9 4032 V relative to the camera s output is now digitized as black Step 2 Apply the Ga
66. gramming 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 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 xiii About this Manual xiv 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 Reid Christopher E and Thomas B Passin Signal Processing in C Somerset NJ John Wiley amp Sons Inc Rimmer Stev
67. h before the horizontal sync and back porch after the horizontal sync 31 Chapter 2 32 Table 3 lists the horizontal input settings you can program on the DT3152 board Table 3 Horizontal Input Settings Nominal Setting Description Range Values Back Porch Start The beginning of that portion 0 to 40954 50 Hz 80 of the blanking information that pixels 60 Hz 60 occurs after the horizontal sync signal and before the start of the active video area Clamp Start The position at which the 0 to 40952 50 Hz 90 clamping circuit starts holding pixels 60 Hz 93 the blanking level portion of the video signal to a reference level Clamp End The position at which the 0 to 40952 50 Hz 93 clamping circuit stops holding pixels 60 Hz 95 the blanking level portion of the video signal to a reference level First Active Pixel The position of the first active 0 to 40952 50 Hz 160 video signal on the line as a pixels 60 Hz 125 pixel value offset from the beginning of the horizontal sync Active Pixel Count The number of pixels per line 4 to 40962 50 Hz 768 in the active video area pixels 60 Hz 640 a The granularity is 1 Principles of Operation Vertical Video Signal Each field of video contains vertical sync information blanking information and lines of active video Figure 11 shows the components of a single vertical field of video Line measurements are relative to the v
68. hat the a PCI expansion slot board is correctly seated in the slot see the instructions in the DT3152 Getting Started Manual The interrupt level is An interrupt conflict exists in your system unacceptable The most common interrupt conflict occurs with a PCI device and a device that is plugged into the ISA bus To resolve this problem change the interrupt setting usually by changing a jumper on the ISA device An interrupt conflict can also occur if a PCI device was not designed to share interrupts To resolve this problem 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 try removing the network device installing the DT3152 board and rebooting the system then reinserting the network device The board is Contact Data Translation for technical damaged support refer to page 106 103 Chapter 5 Table 17 Troubleshooting Problems cont Symptom Possible Cause Possible Solution Intermittent operation Loose connections or vibrations exist
69. he 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 34 Principles of Operation Table 5 shows the settings you can program on a DT3152 board to define the frame Table 5 Frame Settings for the DT3152 Board Nominal Setting Description Range Values Frame Left The first pixel in the region 0 to 40958 0 of interest relative to the first active pixel to digitize Frame Width The number of pixels per 4 to 4096 pixels 50 Hz 768 line of video to digitize 60 Hz 640 Frame Top The first line of the region of 0 to 4095 lines 0 interest relative to the first active line to digitize Frame Height The number of lines per 1 to 4096 lines 50 Hz 576 frame of video or 60 Hz 480 noninterlaced frame to digitize a The granularity is 1 b The granularity is 4 Note The maximum number of pixels allowed in a frame is 4 194 304 The spatial relationship between the frame the active video area and the total video area is shown in page 36 35 Chapter 2 First Active Pixel Frame Left First Active Line Frame Total Lines Top per Field Frame Width Active Pixel Count Total Pixels per Line Figure 12 Spatial Relationship Note The frame height is specified in lines per frame not lines per field If the frame
70. icable and the work that has been completed Data Translation Support Policy Data Translation Inc Data Translation offers support upon the following terms and conditions at prices published by Data Translation from time to time Current price information is available from Data Translation or its authorized distributor If Licensee elects to obtain support services from Data Translation Licensee must complete the Support Order Form attached hereto and submit to Data Translation the completed form along with Licensee s purchase order for support Support will only be provided for all not less than all Licensed Processors as defined in the Data Translation Software License Agreement 1 DEFINITIONS Capitalized terms used herein and not otherwise defined shall have the meanings assigned thereto in the applicable Data Translation Software License Agreement the Agreement The following terms have the meanings set forth below Enhanced Release means a new release of any Product that contains new features and may contain corrections to previously identified errors Enhanced Releases are designated in the tenths digit of the release designation e g 1 2 is an Enhanced Release from 1 1 x Maintenance Release means a new release of any Product that contains corrections to previously identified errors Maintenance Releases are designated in the hundredths digit of the release designation e g 1 2 2 is a Maintenance Release f
71. ifications Minimum Maximum Feature Specification Specification Input High Level Vip 2 0 V 9 0 V Input Low Level V1 0 3 V 0 8 V Input Capacitance C n 6 pF 112 Specifications Table 20 lists the power specifications for the DT3152 board Table 20 Power Specifications Feature Specification 5 V 2A 12 V 100 mA 42V 100 mA Table 21 lists the physical and environmental specifications for the DT3152 board Table 21 Physical and Environmental Specifications Feature Specification Dimensions 6 875 inches long x 4 2 inches high not including faceplate and connectors Weight 5 3 ounces 150 grams Operating temperature 0 to 50 C 32 to 122 F Storage temperature 25 to 70 C 43 to 158 F Humidity 0 to 90 noncondensing 113 Appendix A 114 Connector Pin Assignments Connector J2 Pin Assignments 0 00 rrenen 116 Connector J4 Pin Assignments 0000 c eee ee eee 118 115 Appendix B Connector J2 Pin Assignments Connector J2 is a 15 pin male D shell connector that accepts the video input signals through the EP306 cable or a user designed cable Figure 14 illustrates the pin locations for connector J2 VIDO VID1 VID2 VID3 FRAME_SYNC EXT_TRIGGER LINE_SYNC EXT_CLK NO A a DN o 000000 0000000 Co 15 14 13 12 11 10 GND
72. iggerlinfo a Go to the next page 76 Programming Flowcharts Multiple Frame Acquisition cont d Continued from previous page A Create frame buffers with OIFgAllocateBuiltInFrame Yes Perform an asynchronous acquire Acquire the frames to device memory with OlFgAsyncAcquireMultipleToDevice Acquire the frame synchronously to device memory with OlFgAcquireMultipleToDevice Y Check the status of the operation with OIFglsAsyncAcquireJobDone Stop asynchronous acquire Job done 4 Stop the acquisition with Go to the next page OlFgCancelAsyncAcquireJob 77 Chapter 4 78 Multiple Frame Acquisition cont Continued from previous page gt a continuous acquire Win 3 1 only Enable callbacks with Dt3152EnableFieldCallback y No Start the continuous operation with Dt3152StartContinAcquireToDevice When finished stop the continuous operation with Dt3152StopContinAcquireToDevice AA Clear the flag to the frame buffer with Dt3152DeviceFrameReady v Process the acquired image see page 92 l Write to the digital output lines with OlFgSetDigitalOutputMask Release each frame buffer with OlFgDestroyFrame Cl
73. in 2 222222200 15 Step 3 Apply the Reference 16 Pixel Clock co iii ei cia een 18 Internal Pixel Clock o ooooooooooomooo 18 External Pixel Clock o ooooooooooooooooo 19 External Trigo ii ea 19 Input Look Up Table 2 2 22 23 200450234 be 19 Contents Sye Signals ica ea Es 21 Sync Signal Selection 222ccceeeeeeeeeeeenn 21 Composite Video Signal oooooocooooroomm 22 Variable Scan Video Signals 23 Sync Signal Insertion Sync Sentinel 25 Sync Master Mode 0 6 e cence eee 26 Video Arei ca ker era 29 Active Video Area 0 0 cece eens 30 Horizontal Video Signal 22e20 31 Vertical Video Signal 0 0 cece eee eee 33 Frame Region of Interest 2 22222 ssnenenenn 34 Frame Size 2s does on pee ede aaa fee 34 Types Of Frames anne 37 Scaling Frames u nee in 37 Frame Storage Mode 22222eeeenenens 38 Passthru Modes irreal 39 Passthru Modes 0 c eee cee eee ee ences 39 Bitmap Passthru Mode 0000000 39 Continuous Acquire Passthru Mode 40 Source Origi sereia ae eek 41 Passthr Scaling ss capa 00 asies ne 42 Passthru LU Tatil 42 Overlays un een det dei 43 Acquisition Operations ooooooooooccooronorrrar nenn 44 Digital Output Signals 222 222222ceeeeeeeeeennn 45 Chapter 3
74. in With an offset of 0 4032 V the maximum point on the signal is now 1 5032 V However the ADC on the DT3152 board can digitize voltages between 0 0 V and 1 28 V only Therefore to digitize the part of the signal between 1 28 V and 1 5032 V you need to decrease the amplitude of the video signal Referring to Table 1 on page 13 since V max Offset 1 5032 V which is greater than 1 28 V use a gain of 0 5 Figure 5 shows the effect of gain on the video signal 15 Chapter 2 20V Signal with offset 0 4032 V 15V gain 1 10V _ 05V E ov Signal with offset 0 4032 V 95V gain 0 5 Figure 5 Use of Gain to Adjust the Amplitude of the Signal Step 3 Apply the Reference Using the equation reference gain Vmax offset with the offset equal to 0 4032 V Vinax equal to 1 1 V and the gain equal to 0 5 reference is determined as follows reference 0 5 1 1 V 0 4032 V reference 0 7516 V 16 Principles of Operation 2 0 V 1 5V 1 0 V 0 5 V ov 9 5 V Since the voltage step for reference is 5000 pV and you want the reference as close to 0 7516 V 751600 uV as possible calculate the best fit for reference based on a step of 5000 pV using the following equations 751600 pV 5000 pV 150 32 pV 150 round to nearest whole number 150 pV 5000 pV 750000 pV multiply for actual reference reference 0 75 V Values greater than 0 75 V are dig
75. in Windows 2000 e Adding a board to the device driver configuration on this page e Modifying the board settings in the device driver configuration on page 129 e Removing a board from the device driver configuration on page 130 and e Uninstalling the device driver if necessary on page 131 Adding a Board to the Device Driver Configuration To add a board to the DT3152 Device Driver configuration perform the following steps 1 If you have not already done so install the additional board in your computer following the instructions in the DT3152 Getting Started Manual then power up your computer and any attached peripherals Note On power up the PCI bus takes one available interrupt from system resources for the DT3152 board If any devices are using this interrupt problems may arise Verify that no other devices in your system are using the same interrupt that the DT3152 board is using and ensure that PCI interrupts are enabled in your system BIOS 2 Start Windows 2000 The Found New Hardware dialog box appears 3 Click Next 4 Click Search for a suitable driver for my device recommended then click Next 127 Appendix C 128 ED NN et 11 12 13 14 15 16 17 18 19 Uncheck all checkboxes then click Next Click Disable the device then click Finish Open the Control Panel Double click Sounds and Multimedia Click the Hardware tab Click DT3152 MACH Series
76. io Devices Click Hardware Double click DT Open Layers DT3152 MACH Series Frame Grabber Click Properties Click the Properties tab Double click Multimedia Drivers Click DT3152 MACH Series Frame Grabber then click Properties Click Settings 135 Appendix C 136 10 11 12 13 14 15 16 Select the name of the board that you want to modify then click Modify Another DT3152 Device Driver Configuration dialog box appears Select Enable Board to activate the board If you want to retain the settings but disable the board and therefore not use the memory remove the checkmark next to Enable Board For Video Format indicate the video format of your video input source 50 or 60 Hz For Desired Memory Size select the amount of contiguous memory in MB that you want to allocate in your system to hold the acquired frames A 60 Hz 640 by 480 image requires 308 KB per frame a 50 Hz 768 by 576 image requires 443 KB per frame The actual amount of memory that the device driver can allocate depends on your system resources It is recommended that you select only as much memory as you need to leave memory for other devices Once you enter the desired memory size the device driver allocates as much memory as possible to match the value you entered the actual memory size allocated is shown in the Actual Memory Size text box when you restart your system Click Done The DT3152 Device Driver Configurat
77. ion dialog box reappears with the name of the board you just modified Click Close Restart your system to cause the new configuration to take effect Modifying the Device Driver Removing a Board from the Device Driver Configuration To remove a board from the DT3152 Device Driver configuration perform the following steps 1 2 3 4 eS N 9 10 11 12 13 14 15 Open the Control Panel Double click Sounds and Audio Devices Click Hardware Double click DT Open Layers DT3152 MACH Series Frame Grabber Click Properties Click the Properties tab Double click Multimedia Drivers Click DT3152 MACH Series Frame Grabber then click Properties Click Settings Select the name of the board that you want to remove then click Remove Repeat step 10 until all the DT3152 boards you want to remove are removed Click Close The Drivers dialog box appears The DT3152 Device Driver is still installed in the system but the board has been removed If you want to uninstall the driver at this point continue with step 5 on page 138 Otherwise continue with the next step Click OK then click OK to finish Restart the system for the changes to take effect 137 Appendix C Uninstalling the Device Driver Note Ensure that you remove all the DT3152 boards in your system using the preceding section before uninstalling the device driver Generally you will always require the D
78. ital output lines with OlFgSetDigitalOutputMask y Release the frame buffer with OlFgDestroyFrame Close the device using OllmgCloseDevice 80 Programming Flowcharts Passthru with Overlays Open the device and get the device ID with OllmgOpenDevice Set the timeout period with OllmgSetTimeoutPeriod v 5 The input channel can be 0 to 3 corresponding Choose an input source with to VIDO to VID3 The default is 0 OlFgSetInputVideoSource y Set the standard controls for the input source see page 85 v Set the DT3152 specific controls for the input source see page 91 y Enable based source mode with OIFgEnableBasedSourceMode y Write new values into the Input LUT The default is identity the grayscale value with OIFgWritelnputLUT is not modified y Set the source origin with OlFgSetPassthruSourceOrigin C Go to the next page D The default is 0 81 Chapter 4 82 Passthru with Overlays cont Continued from previous page y Scale passthru image with OlFgSetPassthruScaling The default is 480 for 60 Hz and 576 for 50 Hz y Create a surface for each overlay with OlFgCreateSurface 4 y Get a surface DC with OlFgGetSurfaceDC Draw an image on the surface with standar
79. ith all DT Open Layers frame grabbers the DT3152 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 DT3152 board you can use query keys provided by the standard Frame Grabber SDK functions and DT3152 SDK Extension functions These functions either return information about a specific capability or return the current value of a specific capability The tables in this chapter list the capabilities supported by the DT3152 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 DT3152 board supports the capability 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 50 Input signals page 51 Sync signals page 54 Active video area page 56 Frames page 59 Passthru page 61 48 Supported Device Driver Capabilities For capabilities Refer to the table that apply to starting on Overlay page 63 Memory page 6
80. itized to white Figure 6 shows the effect of using a reference value of 0 75 V a gain value of 0 5 and an offset of 0 4032 The DT3152 board can now digitize the entire video signal from 0 4 V to 1 1 V relative to the camera output Signal with offset 0 4032 V reference 1 0 V gain 1 Reference 75 V Signal with offset 0 4032 V reference 0 75 V gain 0 5 Figure 6 Use of Reference Offset and Gain 17 Chapter 2 18 Pixel Clock The frequency of the pixel clock determines the video input signal digitization rate To determine the appropriate pixel clock frequency divide the number of pixels per line including the active pixels and blank pixels by the length of the horizontal line in time Note According to sampling theory Nyquist Theorem specify a frequency that is at least twice as fast as the input s highest frequency component Doing so avoids an error condition called aliasing in which high frequency input components erroneously appear as lower frequencies after sampling For example to accurately sample a 20 kHz signal specify a sampling frequency of at least 40 kHz Using the Digital Clock Sync Circuitry which has no more than 4 ns jitter the board synchronizes the pixel clock to the first frame of an asynchronous external video source Synchronization occurs when a horizontal sync is received or is inserted The DT3152 supports an internal and external pixel cloc
81. k described in the following subsections Internal Pixel Clock The DT3152 frame grabber board provides a programmable clock that generates the base frequency for video input timing The clock is subsequently phase adjusted and divided down to produce the desired digitization rate You can program the pixel clock for any frequency from 1 kHz to 20 MHz limited by the granularity of the pixel clock controller The default frequency is 12 5 MHz for 60 Hz image formats and 15 MHz for 50 Hz image formats Principles of Operation External Pixel Clock Pin 1 EXT_CLK of connector J2 on the DT3152 board is provided for connecting an external pixel clock The frequency of the external pixel clock can range between 0 and 20 MHz 200 mV peak to peak External Trigger The DT3152 frame grabber provides pin 3 EXT_TRIGGER on connector J2 for connecting an external trigger input Using an external trigger you can synchronize an acquisition with an external event By default the external trigger is disabled Through software you can enable the external trigger and specify whether you want image acquisition to start on a low to high edge rising edge transition or a high to low falling edge transition on pin 3 of connector J2 Input Look Up Table An input look up table ILUT allows you to change the value of an incoming pixel When the ILUT gets an input pixel value it retrieves the output value for that particular pixel from
82. l 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 DT3152 Getting Started Manual for information on installing and using this utility 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 DT3152 board using the Microsoft C compiler in Windows 98 Windows Me Windows 2000 or Windows XP DT Active Open Layers Order this optional software package if you want to use an ActiveX control to access the capabilities of the DT3152 board using Microsoft Visual Basic or Visual C 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 oriented image processing tools Refer to Data Translation s imaging product catalog for information on additional software packages available for the DT3152 board Overview Accessories To connect the DT3152 board to your video input source you need either two EP306 cables available from Data Translation or user designed cables The EP306 is a 5 foot cable with a 15 pin D shell connector on one end and 1
83. ls 9 51 horizontal 31 vertical 33 video sources 54 video types 54 Visual Basic programs 4 Visual C programs 4 volatile memory 64 W white levels 11 52 Index Windows 2000 adding a board to the driver configuration 127 modifying a board in the driver configuration 129 removing a board from the driver configuration 130 uninstalling the device driver 131 Windows 98 adding boards to the driver configuration 122 Windows Me adding boards to the driver configuration 122 modifying boards in the driver configuration 124 uninstalling the device driver 126 Windows XP adding a board to the driver configuration 133 modifying a board in the driver configuration 135 removing a board from the driver configuration 137 uninstalling the device driver 138 World Wide Web 109 writing programs in Visual Basic 4 writing programs in Visual C 4 X x coordinate see source origin Y y coordinate see source origin 153 Index 154 Warranty and Service Policy WARRANTY Data Translation for the effective period of the warranty set out below warrants that its standard hardware products and software media will be free from defects in materials and workmanship under normal use and service Data Translation s obligation under this warranty shall not arise until the Buyer returns the defective product freight prepaid to Data Translation s facility or another specified location The only responsibility of Data Translati
84. materials during normal business hours excluding holidays observed by Data Translation The troubleshooting of faulty Licensee programming logic may also be subject to Specialized Application Support Charges and is not covered under this Support Policy Direct authoring or development of customized application code is not provided hereunder but may be available on a per call basis upon payment of Specialized Application Support Charges 4 LICENSEE S OBLIGATIONS Licensee agrees a that the Designated Contact persons identified on the Support Order Form or such other replacement individuals as Licensee may designate in writing to Data Translation shall be the sole contacts for the coordination and receipt of the Support Services set forth in Section 2 of this Support Policy b to maintain for the term of the support an internet address for electronic mail communications with Data Translation c to provide reasonable supporting data including written descriptions of problems as requested by Data Translation and to aid in the identification of reported problems d to install and treat all software releases delivered under this Support Policy as Software in accordance with the terms of the Agreement and e to maintain the Agreement in force and effect 5 TERM AND TERMINATION 5 1 Term For each Product comprising the Software Support Services will begin on the later of the date the Software warranty granted in the Agreeme
85. meras for more information on using the DT3152 board with asynchronous reset cameras refer to Appendix D Synchronizes to any one of four video inputs or to an external sync input Provides Sync Master mode for driving camera timing Accepts separate horizontal and vertical sync inputs for variable scan devices Provides a programmable internal pixel clock and accepts an external pixel clock input Provides digital video synchronization for reduced pixel jitter and good VCR VTR acquisition Accepts an external trigger with selectable polarity Overview Provides hardware clipping Provides real time scaling via decimation 1 Provides a 256 x 8 bit input look up table ILUT Provides a 256 x 8 bit passthru look up table Supports a programmable region of interest ROI Provides a software selectable chrominance notch filter for 50 Hz and 60 Hz AC coupled signals Provides programmable A D reference offset and gain 0 5 1 2 and 4 settings to adjust black and white levels and Provides eight TTL level digital output signals for general purpose use Chapter 1 Supported Software The following software is available for use with the DT3152 board DT3152 Device Driver This software is provided on the Imaging OMNICD which is shipped with the board You must install this device driver to use a DT3152 board with any of the supported software packages or utilities Refer to the DT3152 Getting Started Manua
86. n 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 The total pixels per line can be calculated as follows ac pixel clock frequency MHz Total pixels per lin horizontal frequency kHz The total lines per field can be calculated as follows horizontal frequency kHz Total lines per field vertical frequency Hz You can use software to define the total video area for the DT3152 frame grabber board Table 2 lists the settings you can program 29 Chapter 2 Table 2 Total Video Area Settings field is defined as the area between two consecutive vertical sync signals Nominal Setting Description Range Values Total Pixels per Line The total number of pixels ina 4 to 4096 50 Hz 960 single horizontal line of video pixels 60 Hz 794 where a horizontal line is defined as the area between two consecutive horizontal sync signals Total Lines per Field The total number of lines ina 1 to 40962 50 Hz 312 single field of video where a lines 60 Hz 262 a The granularity is 1 The following sections describe the active video area and the frame within the active video area that you want to digitize Active Vide
87. ng OLC_FG_DDI_COLOR_KEY_CONTROL Yes 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 a This mode is available when the graphics adapter is in 65536 color 16 bit mode providing that the graphics adapter supports DDI 63 Chapter 3 Table 13 Memory Capabilities for the DT3152 Device Driver Capability DT3152 Support OIFgQueryMemoryCaps Memory Types OLC_FG_MC_MEMORY_TYPES Volatile Memory OLC_FG_MEM_VOLATILE Yes Nonvolatile Memory OLC_FG_MEM_NON_VOLATILE No Number of Volatile Buffer Handles OLC_FG_MC_VOL_COUNT Device memory size divided by maximum number of pixels in frame Number of Nonvolatile Buffer Handles OLC_FG_MC_NONVOL_COUNT N A 64 Supported Device Driver Capabilities Table 14 Acquisition Capabilities for the DT3152 Device Driver Capability DT3152 Support OlFgQueryInputCaps Acquisition Types OLC_FG_IC_SINGLE_FRAME_OPS Single Frame to Host 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 Device Supports Full Frame Acquisition OLC_FG_ACQ_FRAME Yes Supports Subframe Acquisition OLC_FG_ACQ_SUBFRAME No Supports Frame to Fit Acquisition
88. ns in the DT3152 Getting Started Manual then power up your computer and any attached peripherals Note On power up the PCI bus takes one available interrupt from system resources for the DT3152 board If any devices are using this interrupt problems may arise Verify that no other devices in your system are using the same interrupt that the DT3152 board is using and ensure that PCI interrupts are enabled in your system BIOS 2 Start Windows XP The Found New Hardware dialog box appears 3 Click Next 4 Click Install from a list or specific location advanced then click Next 133 Appendix C 134 10 11 12 13 14 15 16 17 18 19 20 Uncheck all checkboxes then click Next Click Finish The Technial Support page appears Click Cancel Open the Control Panel Double click Sounds and Audio Devices Click Hardware Double click DT Open Layers DT3152 MACH Series Frame Grabber Click Properties Double click Multimedia Drivers Click DT3152 MACH Series Frame Grabber then click Properties Click Settings Click Add New to add a DT3152 board to the configuration The DT3152 Installation dialog box appears for the new board Enter any unique name or alias for the DT3152 board then click Add Only one alias per installed board is allowed The DT3152 Configuration dialog box appears Select Enable Board to activate the board If you want to retain the settings bu
89. nt expires or the date of Licensee s election to obtain Support Services and will apply to such Product for an initial term of one 1 year unless an alternative commencement date is identified in the Support Order Form The initial term will automatically be extended for additional terms of one 1 year unless Support Services are terminated at the expiration of the initial term or any additional term by either party upon thirty 30 days prior written notice to the other party 5 2 Default If Licensee is in default of its obligations under the Agreement except for Licensee s obligation to maintain valid licenses for the Software in which case termination is immediate and such default continues for thirty 30 days following receipt of written notice from Data Translation Data Translation may in addition to any other remedies it may have terminate the Support Services 6 CHARGES TAXES AND PAYMENTS 6 1 Payment The Support Fee in respect of the initial term and as adjusted pursuant to Section 5 2 in respect of additional terms is payable in full prior to the commencement of the initial term or any additional term as applicable 6 2 Changes From Term to Term The Support Fee and the terms and conditions of this Support Policy may be subject to change effective at the end of the initial term or any additional term by giving Licensee at least sixty 60 days prior written notice 6 3 Taxes The charges specified in this S
90. o 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 the visible portion of those lines containing visible pixel data Using software you can define the active area for the DT3152 board The following sections describe how to use the settings of the board to define the horizontal and vertical components of the active video area 30 Principles of Operation Horizontal Video Signal Each line of video contains horizontal sync information blanking information and active video Figure 10 shows the components of a single horizontal line of video Pixel measurements are relative to the horizontal reference point which is defined as the beginning of the horizontal sync Note that the frame is an area that you establish within the active video area For more information about frames refer to page 34 Frame Left Frame Width First Active Pixel Horizontal Reference Color Point Burst Active Video Clamp Start ee Clamp End Front Back Front Porch Porch Porch Horizontal Sync Blanking Active Pixel Count Total Pixels per Line Figure 10 Horizontal Video Signal In the horizontal video signal blanking occurs during the horizontal sync and image border periods which are defined by the front porc
91. olValue 91 Dt3152SetSyncMasterControl Value 91 Dt3152StartContinAcquireToDevice 78 Dt3152StopContinAcquireToDevice 78 DT Acquire 4 DT Active Open Layers 4 E e mail support 109 environmental specifications 113 EP306 cable 5 116 external pixel clock 19 52 external trigger 19 52 F factory service 110 false coloring 42 fax support 109 features 2 filters 11 51 first active line 34 58 first active pixel 32 57 formats 9 Index frame 31 33 first line top 34 35 first pixel left 34 height 34 35 59 left 35 59 select query 59 selection 59 top 59 types 60 width 34 35 59 Frame Grabber SDK 4 full frame acquisition asynchronous 65 66 synchronous 65 66 G gain 12 53 gen locking 27 GLOBAL LAB Image 2 4 GlobalAlloc 74 75 H hardware input scaling 37 59 60 help 102 horizontal frequency 27 55 sync pulse width 55 sync signal 25 31 timing 21 video signal 31 host memory 65 I ILUT 19 53 initialized control values 68 input channels 10 51 input controls 85 91 input filter query 51 input filters 11 51 input look up table 19 53 input operations 50 input ranges 12 input scaling 37 59 60 input video select query 54 input video selection 10 54 interlaced frame 37 next field acquire 60 odd field acquire 60 interlaced video signal 27 internal pixel clock 18 frequency 52 interrupt conflicts PCI and ISA 122 127 133 J J2 connector 116 J4 connector 118 L line
92. on under this warranty is at its option to replace or repair free of charge any defective component part of such products EFFECTIVE PERIOD OF WARRANTY All boards modules systems and software media are warranted for one year from date of invoice Products repaired or replaced within this warranty period maintain their original warranty Products repaired or replaced outside the warranty period are warranted for 30 days from invoiced date of return RETURN OUTSIDE USA Contact the local sales representative or factory for authorization and shipping instructions LIMITATIONS ON WARRANTY The warranty set forth above does not extend to and shall not apply to Products which have been repaired or altered by other than Data Translation personnel unless Buyer has properly altered or repaired the products in accordance with procedures previously approved in writing by Data Translation 2 Products which have been subject to misuse neglect accident or improper installation THE WARRANTY AND REMEDIES SET FORTH ABOVE ARE IN LIEU OF ALL OTHER WARRANTIES EXPRESSED OR IMPLIED ORAL OR WRITTEN EITHER IN FACT OR BY OPERATION OF LAW STATUTORY OR OTHERWISE INCLUDING WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE WHICH DATA TRANSLATION SPECIFICALLY DISCLAIMS DATA TRANSLATION INC NEITHER ASSUMES NOR AUTHORIZES ANY OTHER LIABILITY IN CONNECTION WITH THE SALES INSTALLATION OR USE OF ITS PRODU
93. ose the device using OllmgCloseDevice x x Programming Flowcharts Passthru without Overlays Open the device and get the device ID with OllmgOpenDevice y Set the timeout period with OllmgSetTimeoutPeriod y Choose an input source with OlFgSetinputVideoSource y Set the standard controls for the input source see page 85 y Set the DT3152 specific controls for the input source see page 91 Enable based source mode with OlFgEnableBasedSourceMode y Write new values into the Input LUT with OlFgWritelnputLUT y Set the source origin with OlFgSetPassthruSourceOrigin Scale passthru image with OlFgSetPassthruScaling y 4 Go to the next page The input channel can be 0 to 3 corresponding to VIDO to VID3 The default is 0 The default is identity the grayscale value is not modified The default is 0 The default for 50 Hz is 576 by 768 The default for 60 Hz is 480 by 640 79 Chapter 4 Passthru without Overlays cont Continued from previous page y Start the passthru operation see page 95 Change the passthru LUT see page 96 Acquire a single image for processing see page 97 Stop asynchronous passthru with OlFgStopAsyncPassthru stop synchronous passthru with amouse or keyboard event Write to the dig
94. ovision of or support for Products other than those identified in the Agreement as to which the applicable license and support fees shall have been paid including without limitation compilers debuggers linkers or other third party software or hardware tools or components used in conjunction with any Product b services required as a result of neglect misuse accident relocation or improper operation of any Product or component thereof or the failure to maintain proper operating and environmental conditions c support for processors other than Licensed Processors or for Products modified by or on behalf of Licensee d repair or restoration of any Software arising from or caused by any casualty act of God riot war failure or interruption of any electrical power air conditioning telephone or communication line or any other like cause It is Licensee s responsibility to have adequate knowledge and proficiency with the use of the compilers and various software languages and Data Translation Support Policy operating systems used with the Products and this Support Policy does not cover training of or detailed direction on the correct use of these compilers operating systems or components thereof On site assistance shall not be provided hereunder but may be available on a per call basis at Data Translation s then current rates Specialized Application Support Charges for labor travel time transportation subsistence and
95. pShot Add overlay to the snapshot with OlFgAddOverlayToFrame Process the acquired image see page 92 97 Chapter 4 Set up and Enable Overlays ee Set the visible surface with N OlFgSetVisibleSurface y Set the source keying color with OlFgSetOverlayColorKey Vv Toggle the overlay s translucence with OlFgSetTranslucentOverlay Enable overlays with OIFgEnableOverlays 98 Programming Flowcharts Execute an Overlay Animation Sequence Get a handle to a WIN32 event synchronization object with OlFgGetPassthruSyncEvent y Get a surface DC to surface 1 with OlFgGetSurfaceDC y Draw an image on surface 1 with standard GDI functions y 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 y Get a surface DC to surface 2 with OlFgGetSurfaceDC y Draw an image on surface 2 with standard GDI functions y Release the surface 2 DC with OlFgReleaseSurfaceDC Vv Wait for a WIN32 event synchronization object et surface 2 as the visible surfac with OlFgSetVisibleSurface gt 99 Chapter 4 100 Y Troubleshooting General Checklist ssiri arii a i 102
96. pabilities Table 9 Active Video Area Capabilities for the DT3152 Device Driver cont Capability DT3152 Support Range of Clamp Start Position OLC_FG_IC_CLAMP_START_LIMITS min 0 max 4095 nominal 50 Hz 90 60 Hz 93 granularity 1 Range of Clamp End Position OLC_FG_IC_CLAMP_END_LIMITS min 0 max 4095 nominal 50 Hz 93 60 Hz 95 granularity En Range of Total Pixels Per Line Control OLC_FG_IC_TOTAL_PIX_PER_LINE_LIMITS Range of First Active Pixel Position OLC_FG_IC_ACTIVE_PIXEL_LIMITS min 4 max 4096 nominal 50 Hz 960 60 Hz 794 granularity _ min 0 max 4095 nominal 50 Hz 160 60 Hz 125 granularity _ Range of Active Pixels Count OLC_FG_IC_ACTIVE_WIDTH_LIMITS min 4 max 4096 nominal 50 Hz 768 60 Hz 640 granularity 1 57 Chapter 3 58 Table 9 Active Video Area Capabilities for the DT3152 Device Driver cont Capability DT3152 Support Range of Total Lines per Field Control OLC_FG_IC_TOTAL_LINES_PER_FLD_LIMITS min 1 max 4096 nominal 50 Hz 312 60 Hz 262 granularity 1 Range of First Active Line Position OLC_FG_IC_ACTIVE_LINE_LIMITS min 0 max 4095 nominal 50 Hz 20 60 Hz 16 granularity 1 Range of Active Lines Count OLC_FG_IC_ACTIVE_HEIGHT_LIMITS min 1 max 4096 nominal 50 Hz 288 60 Hz 240 granularity 1 Supported Device Driver C
97. quired Frame OLC_FG_IC_DOES_DRAW_ACQUIRED_FRAME Yes 66 Supported Device Driver Capabilities Table 15 Digital I O Capabilities for the DT3152 Device Driver Capability DT3152 Support OlFgQueryCameraControlCaps Number of Digital Output Lines OLC_FG_CC_DIG_OUT_COUNT 8 67 Chapter 3 Initialized Control Values Table 16 lists the default control values after opening or initializing the DT3152 Device Driver Table 16 Default Control Values Control Name Value OLC_FG_CTL_INPUT_FILTER OLC_FG_FILT_AC_NONE OLC_FG_CTL_BLACK_LEVEL 50 Hz 0 uV 60 Hz 53 855 uV OLC_FG_CTL_WHITE_LEVEL 50 Hz 700 000 uV 60 Hz 714 880 uV OLC_FG_CTL_VIDEO_TYPE OLC_FG_VID_COMPOSITE OLC_FG_CTL_CSYNC_SOURCE OLC_FG_CSYNC_SPECIFIC_SRC OLC_FG_CTL_CSYNC_THRESH 125 mV OLC_FG_CTL_SYNC_SENTINEL TRUE OLC_FG_CTL_HSYNC_INSERT_POS 10150 101 5 OLC_FG_CTL_HSYNC_SEARCH_POS 9500 95 0 OLC_FG_CTL_VSYNC_INSERT_POS 11500 115 OLC_FG_CTL_VSYNC_SEARCH_POS 5000 50 0 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 Hz 60 Hz 12 500 000 Hz 68 Supported Device Driver Capabilities Table 16 Defaul
98. r 4 Process the Acquired Image cont C Continued from previous page Mapa frame buffer to application memory Yes Map the frame buffer to application s virtual address space with OIFgMapFrame Manipulate process image using your own functions Unmap the frame buffer with OlFgUnmapFrame 94 Programming Flowcharts Start the Passthru Operation Perform a continuous acquire passthru da Get multiple frame IDs with OlFgAllocateBuiltinFrame Start the passthru acquisition with OlFgStartAsyncPassthruEx Y No Get a single frame ID with OlFgAllocateBuiltinFrame Perform an asynchronous bitmap passthru Start the passthru with OlFgStartAsyncPassthruBitmap Start the passthru with OlFgStartSyncPassthruBitmap 95 Chapter 4 Change the Passthru LUT Load monochrome values in Load default grayscale values with passthru OlFgLoadDefaultPassthruLUT LUT Load color values in passthru LUT Yes Load RGB TRIPLE values with OlFgLoadPassthruLUT Extend passthru palette Add colors to palette with OIFgExtendPassthruPalette 96 Programming Flowcharts Take a Snapshot Create a frame buffer with OIFgAllocateBuiltInFrame Acquire the image with OIFgPassthruSna
99. reading xii support e mail 109 fax 109 telephone 106 World Wide Web 109 switching input sources 27 sync insert position 25 horizontal 68 vertical 68 Sync Master controls 55 horizontal frequency 55 horizontal sync pulse width 55 phase 56 vertical frequency 55 vertical sync pulse width 56 sync out phase adjustment 28 56 sync search position 26 horizontal 68 vertical 68 Sync Sentinel 25 55 query 55 types 55 151 Index 152 sync signals 21 54 selection 21 sync modes 26 sync signal insertion Sync Sentinel 25 threshold 22 54 synchronous acquisition 44 synchronous bitmap passthru 39 61 95 synchronous continuous acquire passthru 40 synchronous direct passthru 95 T technical support 106 e mail 109 fax 109 telephone 106 World Wide Web 109 telephone support 106 threshold 22 54 total lines per field 29 total pixels per line 29 total video area 29 translucent overlays 63 triggering each frame acquire 53 triggers 52 external 19 52 multiple modes 53 multiple types 52 types 52 troubleshooting procedure 102 service and support procedure 106 troubleshooting table 103 U uninstalling device drivers Windows 2000 131 Windows Me 126 Windows XP 138 V variable scan signals 23 54 variable Sync Sentinel 55 VCRs 25 vertical frequency 55 sync pulse width 56 sync signals 33 timing 21 video signal 33 video area active 29 frame 34 total 29 video formats 9 video input channels 10 video input signa
100. rom 1 2 1 Major Release means a new version of any Product that involves major feature changes Major Releases are designated in the ones digit of the release designation e g 2 0 3 0 etc are Major Releases 2 DATA TRANSLATION S OBLIGATIONS Subject to the terms of the Agreement and this Support Policy Data Translation will provide the following support services Support Services for the Products comprising the Software as they may be used with the Licensed Processors a problem reporting tracing and monitoring by internet electronic mail b telephone support for problem determination verification and resolution or instruction as to work around as applicable on a call back basis during Data Translation s normal weekday business hours of 8 30 a m to 5 p m Eastern Time excluding holidays c one 1 copy of each Maintenance Release for the Products comprising the Software d commercially reasonable efforts to diagnose and resolve defects and errors in the Software and Documentation and e furnishing of the maintenance and technical support described above for the current release and the immediately previous Enhanced Release of the Software Support Services will be delivered in English Enhanced Releases and Major Releases can be purchased by Licensee at a discount of twenty five percent 25 off the then current list prices for such releases 3 EXCLUSIONS Support Services do not include a the pr
101. rs indicating that you must restart Windows 2000 for the changes to take effect Click Restart Now to restart your system To modify the board settings in the DT3152 Device Driver configuration perform the following steps 1 2 3 4 u 10 Open the Control Panel Double click Sounds and Multimedia Click the Hardware tab Click DT3152 MACH Series Frame Grabber then click Properties Click the Properties tab Double click Multimedia Drivers Click DT3152 MACH Series Frame Grabber then click Properties Click Settings Select the name of the board that you want to modify then click Modify Another DT3152 Device Driver Configuration dialog box appears Select Enable Board to activate the board If you want to retain the settings but disable the board and therefore not use the memory remove the checkmark next to Enable Board 129 Appendix C 130 11 12 13 14 15 For Video Format indicate the video format of your video input source 50 or 60 Hz For Desired Memoty Size select the amount of contiguous memory in MB that you want to allocate in your system to hold the acquired frames A 60 Hz 640 by 480 image requires 308 KB per frame a 50 Hz 768 by 576 image requires 443 KB per frame The actual amount of memory that the device driver can allocate depends on your system resources It is recommended that you select only as much memory as you need to leave memory for other de
102. rt the system for the changes to take effect Uninstalling the Device Driver Note Ensure that you remove all the DT3152 boards in your system using the preceding section before uninstalling the device driver Generally you will always require the DT3152 Device Driver However if you are no longer using the DT3152 board with the supported software you can uninstall the DT3152 Device Driver from the system by performing the following steps 1 2 3 Open the Control Panel Double click Sounds and Multimedia Click the Hardware tab 131 Appendix C 4 Click DT3152 MACH Series Frame Grabber then click Properties 5 Click the Driver tab then click Uninstall 6 Click OK 7 Click OK 8 Restart your system to cause the new configuration to take effect 132 Modifying the Device Driver Windows XP Procedures This section describes the following procedures in Windows XP e Adding a board to the device driver configuration on this page e Modifying the board settings in the device driver configuration on page 135 e Removing a board from the device driver configuration on page 137 and e Uninstalling the device driver if necessary on page 138 Adding a Board to the Device Driver Configuration To add a board to the DT3152 Device Driver configuration perform the following steps 1 If you have not already done so install the additional board in your computer following the instructio
103. ru operations load the Windows system palette with 128 grayscale RGB values for display and use the default passthru LUT of 256 monotonically increasing grayscales If desired you can use software to modify the passthru LUT so that the DT3152 frame grabber board uses false coloring 42 Principles of Operation For each entry in the passthru LUT the index of the closest matching RGB value in the Windows system palette is used If you want an exact color to display during passthru you can use software to load that color into the system palette This guarantees that the color is available when the board attempts to find the closest match in the Windows system palette Overlays Note Overlays can be used for bitmap passthru operations only They cannot be used for direct passthru operations Overlays require a 16 bit color display adapter and Direct Draw Interface DDI support For bitmap passthru operations only you can add overlays to the display using software Overlays allow you to place an image on top of another image that was captured using passthru 43 Chapter 2 Acquisition Operations The DT3152 frame grabber board can acquire images either synchronously or asynchronously as follows e Synchronous acquisition All your system resources are devoted to the acquisition You cannot perform another operation until the synchronous acquisition completes e Asynchronous acquisition The operation starts
104. s first active 34 58 number per field 30 34 58 total per field 29 look up table input 19 53 passthru 42 62 145 Index 146 M memory device 65 66 host 65 types 64 volatile 44 modifying a board in the driver configuration Windows 2000 129 Windows Me 124 Windows XP 135 monochrome frame grabber 9 multiple frame acquisition 44 76 to device asynchronous 66 to device synchronous 66 multiple surface overlay 63 multiple trigger modes 53 multiple trigger types 52 multiple surface overlay 43 N noise 25 noninterlaced frame 37 noninterlaced frame next acquire 60 noninterlaced video signals 27 notch filter 11 51 NTSC 9 number of bytes per pixel 60 digital output lines 67 extra palette entries 62 ILUT 53 ILUT entries 53 input sources 51 pixels per frame 60 volatile buffer handles 64 Nyquist Theorem 18 O offset 12 53 OLC_FG_ACQ_FRAME 65 66 OLC_FG_CC_DIG_OUT_COUNT 67 OLC_FG_CLOCK_EXTERNAL 52 OLC_FG_CLOCK_INTERNAL 52 OLC_FG_CSYNC_SPECIFIC_SRC 54 OLC_FG_CTL_ACTIVE_LINE_ COUNT 88 OLC_FG_CTL_ACTIVE_PIXEL_ COUNT 87 OLC_FG_CTL_BACK PORCH _ START 87 OLC_FG_CTL_BLACK LEVEL 68 OLC_FG_CTL_CLAMP_END 87 OLC_FG_CTL_CLAMP_START 87 OLC_FG_CTL_CLOCK_FREO 68 90 OLC_FG_CTL_CLOCK_SOURCE 69 90 OLC_FG_CTL_CSYNC_SOURCE 68 85 OLC_FG_CTL_CSYNC_THRESH 68 85 OLC_FG_CTL_FIRST_ACTIVE_ LINE 88 OLC_FG_CTL_FIRST_ACTIVE_ PIXEL 87 OLC_FG_CTL_FRAME_HEIGHT 68 89 OLC_FG_CTL_FRAME_LEFT 68 89 OLC_F
105. signals e Sync signal selection e Sync signal insertion Sync Sentinel and e Sync Master mode Sync Signal Selection To digitize the incoming video signal the DT3152 frame grabber requires both a horizontal and a vertical sync signal Figure 7 illustrates the process of generating the horizontal and vertical sync signals video inputs line sync frame sync specified input source Input source mux variable scan edge selection external sync timing composite extraction composite information sync amp variable scan for Current input source threshold acquisition VIDEO_TYPE CSYNC_SOURCE Video to CSYNC_THRESH digitize Figure 7 Horizontal and Vertical Timing 21 Chapter 2 22 The way in which the board determines the sync information depends on whether composite or variable scan video signals are connected to the board Refer to the following subsections for more information Composite Video Signal On the DT3152 board the composite video sync signal can come from one of the following sources e The current channel being digitized In this case the composite sync signal is stripped from the video signal by the Sync Stripper circuitry and fed into the sync circuitry e One of the unused video input channels In this case the sync signal is fed directly into the sync circuitry The voltage level of the analog sync signal is compared with
106. 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 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 108 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 106 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
107. sual C GLOBAL LAB Image 2 User s Manual UM 17790 and GLOBAL LAB Image 2 API Manual UM 17792 available from Data Translation describe how to use GLOBAL LAB Image 2 and GLOBAL LAB Image 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 PCI Specification PCI Local Bus Specification PCI Special Interest Group Hillsboro OR Revision 2 0 503 696 2000 Bt254 Monolithic CMOS Triple 8 bit Image Digitizer Brooktree Corporation 619 452 7580 xi About this Manual xii e SAA7116 Digital Video to PCI Interface Philips Semiconductors 800 234 7381 Additionally it may be helpful to read other material in order 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
108. t Control Values cont Control Name Value OLC_FG_CTL_CLOCK_SOURCE OLC_FG_CLOCK_INTERNAL OLC_FG_CTL_FRAME_TYPE OLC_FG_FRM_IL_FRAME_EVEN OLC_FG_CTL_ILUT 0 69 Chapter 3 70 Y Programming Flowcharts Single Frame Acquisition oooooooocoooorrooconon roo 73 Multiple Frame Acquisition 22eceeeeeeeeeeennnn 76 Passthru without Overlays oooocoooooooooccconn noo 79 Passthru with OverlayS oooooooccococcorocccoon roo 81 71 Chapter 4 72 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 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 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 y The input channels can be 0 to 3 corresponding Choose an input source with to VIDO to VID3 The default is
109. t disable the board and therefore not use the memory remove the checkmark next to Enable Board Select the Video Format as either 50 Hz or 60 Hz For Desired Memory Size select the amount of contiguous memory in MB that you want to allocate in your system to hold the acquired frames A 60 Hz 640 by 480 image requires 308 KB per frame a 50 Hz 768 by 576 image requires 443 KB per frame The actual amount of memory that the device driver can allocate depends on your system resources It is recommended that you select only as much memory as you need to leave memory for Modifying the Device Driver 21 22 23 other devices Once you enter the desired memory size the device driver allocates as much memory as possible to match the value you entered the actual memory size allocated is shown in the Actual Memory Size text box when you restart your system Click Done The DT3152 Configuration dialog box is redisplayed you can see the name of the board you just added Click Close to finish A dialog box appears indicating that you must restart Windows XP for the changes to take effect Remove the Imaging OMNI CD from the CD ROM then click Restart Now to restart the system Modifying a Board in the Device Driver Configuration To modify the board settings in the DT3152 Device Driver configuration perform the following steps 1 2 3 4 BS el She Sol Open the Control Panel Double click Sounds and Aud
110. tal direction range between pixels and the vertical direction range between lines The minimum scale factor is 1 the default the maximum scale factor is 16 For example to scale an image so that every 16th pixel is displayed set the horizontal scale factor to 16 To scale the image so that every other line is displayed set the vertical scale factor to 2 For a one to one representation set the scale factor to 1 37 Chapter 2 Frame Storage Mode On the DT3152 board frame data is stored in monochrome format or 8 bits per pixel 38 Principles of Operation Passthru Modes In a passthru operation the DT3152 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 operations e Passthru modes e Source origin e Passthru scaling e Passthru look up table and e Overlays Passthru Modes The DT3152 board supports bitmap passthru mode and continuous acquire passthru mode This section describes these modes Bitmap Passthru Mode The DT3152 board supports
111. tatement 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 met pas de bruits radio lectriques d passant les limites applicables aux appareils num riques de la class A prescrites dans le Reglement sur le brouillage radio lectrique dict par le Ministere des Communications du Canada Table of Contents About this Manual oooooooooomommmmom oo ix Intended Audience 0 ce ccc cect ence eens ix What You Should Learn from this Manual ix Conventions Used in this Manual 0 00 cece eee x Related Information ennaa ccc cece cece ene nee xi Where to Get Help 0 0 0 xv Chapter 1 Overview 00000 cece o 1 Features ar ee ae aes 2 Supported Software 0 aE nenn 4 Accessories aussah ideas es es 5 Chapter 2 Principles of Operation 7 Video Input Signals 0 eee ee eee 9 Video Signal Types u sistas setae 9 Video Input Channels n naa 0 0 nananana eee ee 10 Chrominance Notch Filter o o ooooooomoooo 11 Black and White Levels o oooooooooomomoo 11 Reference vitara le n ete keds hs 13 An Example Using A D Offset Gain and Reference 14 Step 1 Adjust the Offset 222222200 14 Step 2 Apply the Ga
112. ted 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 DT3152 Getting Started Manual Interrupt level is An interrupt conflict exists in your system unacceptable The most common interrupt conflict occurs with a PCI device and a device that is plugged into the ISA bus To resolve this problem change the interrupt setting usually by changing a jumper on the ISA device An interrupt conflict can also occur if a PCI device was not designed to share interrupts To resolve this problem 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 try removing the network device installing the DT3152 board and rebooting the system then reinserting the network device 105 Chapter 5 Service and Support If you have difficulty using the DT3152 board Data Translation s Technical Support Department is available to provide prompt technical assistance Support upgrades technical information and
113. tion of digital video fundamentals Where to Get Help Should you run into problems installing or using the DT3152 board our Technical Support Department is available to provide technical assistance Refer to Chapter 5 for more information If you are outside the U S or Canada call your local distributor whose number is listed in your Data Translation product handbook or contact the Data Translation web site www datatranslation com XV About this Manual xvi Overview Features iii da au 2 Supported Software oo tesise ssri ceeded ana obese cues 4 Accessories Chapter 1 Features The DT3152 is a high accuracy programmable monochrome frame grabber board for the PCI bus It is suitable for both image analysis and machine vision applications The DT3152 accepts video signals in many different monochrome and variable scan video formats and digitizes the signal The board 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 DT3152 board are summarized as follows Operates on the PCI local bus interface Can acquire images up to 4 096 pixels per line by 4 096 lines per frame Digitizes 8 bit monochrome video from any one of four video input channels Supports asynchronous reset ca
114. tware 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 Principles of Operation 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 This mode also has a synchronization mechanism using a WIN32 event object Using this object you can synchronize your application with the DT3152 board to process data as it becomes available Continuous acquire passthru operations continue until you stop them using software Source Origin Typically the upper left corner of the display and the upper left corner of the acquired image are identical However you can select any point in the acquired image to become the upper left corner of the display source origin This allows you to pan and scroll the image on the display to display part of the acquired image during passthru Figure 13 illustrat
115. upport Policy are exclusive of taxes Licensee will pay or reimburse Data Translation for all taxes imposed on Licensee or Data Translation arising out of this Support Policy except for any income tax imposed on Data Translation by a governmental entity Such charges shall be grossed up for any withholding tax imposed on Data Translation by a foreign governmental entity 6 4 Additional Charges Licensee agrees that Data Translation or its authorized distributor will have the right to charge in accordance with Data Translation s then current policies for any services resulting from Data Translation Support Policy a Licensee s modification of the Software b Licensee s failure to utilize the then current release or the immediately previous Enhanced Release of the Software c Licensee s failure to maintain Data Translation Support Services throughout the term of the Agreement d problems errors or inquiries relating to computer hardware or software other than the Software or e problems errors or inquiries resulting from the misuse or damage or of the Software or from the combination of the Software with other programming or equipment to the extent such combination has not been authorized by Data Translation Pursuant to Section 2 4 of the Agreement the Support Fee will also be adjusted in accordance with Data Translation s then current fee schedule as additional Licensed Processors are added Support Fees do not include trav
116. vice Driver Configuration To modify a board in the device driver configuration perform the following steps 1 2 Open the Control Panel For Windows 98 double click Multimedia The Multimedia Properties dialog appears For Windows Me double click Sounds and Multimedia The Sounds and Multimedia Properties dialog appears Modifying the Device Driver 10 11 12 13 14 Click the Devices tab then double click Media Control Devices Double click DT3152 Mach Series Frame Grabber The DT3152 Device Driver Properties dialog box appears Click Use this Media Control device then click Settings The DT3152 Device Driver Configuration dialog box appears Select the name of the DT3152 board that you want to modify Click Modify to modify the board The DT3152 Configuration dialog box appears Select Enable Board to activate the board If you want to retain the settings but disable the board and therefore not use the memory remove the checkmark next to Enable Board For Video Format indicate the video format of your video input source 50 or 60 Hz For Desired Memory Size select the amount of contiguous memory in MB that you want to allocate in your system to hold the acquired frames A 60 Hz 640 by 480 image requires 308 KB per frame a 50 Hz 768 by 576 image requires 443 KB per frame The actual amount of memory that the device driver can allocate depends on your system resources It is recommende
117. vices Once you enter the desired memory size the device driver allocates as much memory as possible to match the value you entered the actual memory size allocated is shown in the Actual Memory Size text box when you restart your system Click Done The DT3152 Device Driver Configuration dialog box reappears with the name of the board you just modified Click Close Restart your system to cause the new configuration to take effect Removing a Board from the Device Driver Configuration To remove a board from the DT3152 Device Driver configuration perform the following steps 1 2 3 4 a Open the Control Panel Double click Sounds and Multimedia Click the Hardware tab Click DT3152 MACH Series Frame Grabber then click Properties Click the Properties tab Double click Multimedia Drivers Modifying the Device Driver 10 11 12 13 14 15 Click DT3152 MACH Series Frame Grabber then click Properties Click Settings Select the name of the board that you want to remove then click Remove Repeat step 9 until all the DT3152 boards you want to remove are removed Click Close The Drivers dialog box appears The DT3152 Device Driver is still installed in the system but the board has been removed Click OK If you want to uninstall the driver at this point continue with step 5 on page 131 Otherwise continue with the next step Click OK then click OK to finish Resta
Download Pdf Manuals
Related Search
Related Contents
Betriebsanleitung VEGAPULS 66 Email GB D Vector Enhanced Motion Sensor VE700 Installation Lead Management Mode d`Emploi le Guide du Photographe de Presse (2007) Politiciens, médias et cynisme politique des citoyens Analyse Valueline VLVB34250B30 IC-F3202DEX/F4202DEX Series Manual User`s Manual PDFファイル OSD Menu Setting Copyright © All rights reserved.
Failed to retrieve file