background image

Principles of Operation

13

2

2

2

2

2

2

2

2

2

Reference

The 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-LS board digitizes the signal between 0. 0V and the 
reference voltage. All data above the reference voltage is digitized as 
white pixels. 

The DT3152-LS 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.

For area-scan operations, the default reference is 660 mV for 60 Hz 
and 700 mV for 50 Hz. For line-scan operations, the default reference 
is 700 mV. 

Note:

For proper operation, once offset and gain are applied, the 

difference between the adjusted minimum voltage (0 V) and the 
reference voltage should not be less than 500 mV.

Table 1: Gain Values

If..

Use a Gain of..

V

max

 + offset > 1.28 V

0.5

0.64 V < V

max

 + offset 

 1.28 V

1

0.32 V < V

max

 + offset 

 0.64 V

2

V

max

 + offset 

 0.32 V

4

Summary of Contents for MACH Series

Page 1: ...MACH Series UM 16481 F DT3152 LS User s Manual...

Page 2: ...ringements 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 o...

Page 3: ...fications 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 verified to meet FCC requ...

Page 4: ......

Page 5: ...Supported Software 4 Accessories 6 Chapter 2 Principles of Operation 7 Video Input Signal 9 Video Signal Types 9 Video Input Channels 10 Chrominance Notch Filter 11 Black and White Levels 11 Offset 12...

Page 6: ...on and Line Sync Output Signals 31 Video Area 34 Active Video Area 35 Horizontal Video Signal 36 Vertical Video Signal 39 Frame Region of Interest 40 Frame Size 40 Types of Frames 44 Scaling Frames 45...

Page 7: ...one Technical Support 132 E Mail and Fax Support 135 World Wide Web 135 If Your Board Needs Factory Service 136 Appendix A Specifications 137 Appendix B Connector Pin Assignments 141 Connector J1 Pin...

Page 8: ...ows 2000 Procedures 164 Adding a Board to the Device Driver Configuration 164 Modifying a Board in the Device Driver Configuration 166 Uninstalling the Device Driver 169 Windows XP Procedures 170 Addi...

Page 9: ...plication programs using the device driver and the Frame Grabber SDK it is also assumed that you are familiar with the Microsoft Windows 95 Windows 98 Windows Me Millennium Edition Windows NT 4 0 Wind...

Page 10: ...nments shows the pin assignments for the connectors on the DT3152 LS board Appendix C Modifying the Device Driver describes how to add modify or remove a DT3152 LS board from the device driver configu...

Page 11: ...rs 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 programm...

Page 12: ...Hill 1990 Details high definition television concepts Brooktree Corporation Brooktree Applications Handbook Graphics and Imaging Products San Diego Brooktree Corporation 1991 Product data book and app...

Page 13: ...ins 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 Te...

Page 14: ...g 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...

Page 15: ...video fundamentals Where to Get Help Should you run into problems installing or using the DT3152 LS frame grabber board the Technical Support Department is available to provide technical assistance Re...

Page 16: ...About this Manual xvi...

Page 17: ...1 1 Overview Features 2 Supported Software 4 Accessories 6...

Page 18: ...in real time In line scan mode the board also continuously acquires images to the computer s system memory while displaying them in real time The board transfers image data to the host computer using...

Page 19: ...ity Provides hardware clipping In area scan mode provides real time scaling via decimation Provides a 256 x 8 bit input look up table ILUT Provides a 256 x 8 bit passthru look up table Supports a prog...

Page 20: ...ity LS Acquire This software is provided on the Imaging OMNI CD which is shipped with the board This utility allows you to verify the line scan operations of your board during startup Refer to the DT3...

Page 21: ...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 additi...

Page 22: ...other end One EP306 cable accommodates all the signals from the J1 connector on the DT3152 LS board the other EP306 cable accommodates all the signals from the J2 connector on the board Refer to Appen...

Page 23: ...Principles of Operation Video Input Signal 9 Sync Signals 22 Master Clock Integration and Line Sync Output Signals 31 Video Area 34 Passthru Operations 46 Acquisition Operations 52 Digital I O Signals...

Page 24: ...Input Offset 8 bit A D Ref 8 bit 4 Inputs ROI Palette Matching LUT 1024 Pixel FIFO PCI Bus Interface Bus Master Interrupt Control 20 MHz ADC Input LUT DC Coupled Input 4 Digital Inputs PGA 0 5 1 2 4 I...

Page 25: ...nes 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...

Page 26: ...efer to the DT3152 LS 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 t...

Page 27: ...on it as is the case with the NTSC and PAL video formats you can use software to apply the chrominance notch filter The chrominance notch filter for 60 Hz is set to 3 58 MHz while the chrominance fil...

Page 28: ...er that the hardware uses 64 steps of 33 6 mV For area scan mode the default offset is 53 86 mV for 60 Hz and 0 V for 50 Hz For line scan mode the default offset is 0 V Gain Gain is the value you use...

Page 29: ...orts 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 For area scan operations the default reference is 660 mV fo...

Page 30: ...of the image is below 0 0 V and part is above 1 0 V Figure 3 Original Signal To adjust the black and white levels so that the DT3152 LS board digitizes the signal between 0 4 V and 1 1 V perform the...

Page 31: ...00 V and you want an offset as close to 0 4 V 400000 V as possible calculate the best fit based on a step of 8400 V using the following equations 400000 V 8400 V 47 62 48 round to nearest whole number...

Page 32: ...can digitize voltages between 0 0 V and 1 28 V only To digitize the part of the signal between 1 28 V and 1 5032 V you must decrease the amplitude of the video signal Referring to Table 1 on page 13...

Page 33: ...the reference as close to 0 7516 V 751600 V as possible calculate the best fit for reference based on a step of 50 0 0 V using the following equations 751600 V 5000 V 150 32 V 150 round to nearest who...

Page 34: ...crements of PixelPeriod which is equal to 1 pixel clock frequency To determine the appropriate pixel clock frequency divide the number of pixels per line including the active pixels and blank pixels b...

Page 35: ...curs when a horizontal sync is received or is inserted The DT3152 LS board supports an internal and external pixel clock as described in the following sections Internal Pixel Clock The DT3152 LS board...

Page 36: ...eo source External Trigger The DT3152 LS frame grabber board provides pin 3 EXT_TRIGGER on connector J1 for connecting an external trigger input Using an external trigger you can synchronize an acquis...

Page 37: ...perations such as image multiplication and division intensity correction and reverse video before passing the image on As an example assume that the ILUT is loaded with the identity pattern An input v...

Page 38: ...gnal Line scan operations require a horizontal sync signal only vertical sync signals are ignored Figure 7 illustrates the process of generating the horizontal and vertical sync signals Figure 7 Horiz...

Page 39: ...gitized In this case the sync signal is stripped from the video signal by the Sync Stripper circuitry and fed into the sync circuitry One of the unused input channels In this case the sync signal from...

Page 40: ...line FRAME_SYNC pin 4 is used to indicate the start of a frame By default the DT3152 LS uses the rising edge of the external sync signals to reset the horizontal and vertical counters In cases where...

Page 41: ...E_SYNC vert active Pixel Count Pixel Clock horz active Pixel Line 0 1 2 3 4 5 6 m 5 m 3 m 1 m 6 m 4 m 2 0 1 2 3 4 5 6 n 6 n 5 n 4 n 3 n 2 n 1 horz active start 4 horz active end m 3 x increment 1 vert...

Page 42: ...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 LS board begins to sea...

Page 43: ...m intervals you can disable the Sync Sentinel This allows the DT3152 LS board to wait until a sync signal actually occurs before starting the acquisition Note Instead of disabling the Sync Sentinel yo...

Page 44: ...for your application you can use Sync Master mode to set up the DT3152 LS board to generate the sync signals to drive one or more cameras The video signal from the camera is then digitized as usual us...

Page 45: ...Hz image formats 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 nom...

Page 46: ...justment Mode Noninterlaced Phase 1 Mode Noninterlaced Phase 50 Mode Interlaced Phase 1 50 Horizontal Sync Out Vertical Sync Out odd field even field 1 Odd 1 Even Horizontal Sync Out Vertical Sync Out...

Page 47: ...generates RS 422 master clock output signal MCLK_OUT on pin 2 of connector J2 and master clock output signal MCLK_OUT on pin 1 of connector J2 Using software you can set the frequency of the master cl...

Page 48: ...to low or low to high of the line sync pulse becomes active If the specified edge is high to low the low portion of the pulse is active if the specified edge is low to high the high portion of the pul...

Page 49: ...e master clock output signal integration output signal and line sync output signal are output to the video source using the values you specify regardless of whether an acquisition is being performed A...

Page 50: ...ea 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 pe...

Page 51: ...e active area for the DT3152 LS 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 Table 2 Total Video...

Page 52: ...that you establish within the active video area For more information about frames refer to page 46 Figure 10 Horizontal Video Signal In the horizontal video signal blanking occurs during the horizonta...

Page 53: ...0 to 4095a pixels 50 Hz 80 60 Hz 60 Clamp Start The position at which the clamping circuit starts holding the blanking level portion of the video signal to a reference level 0 to 4095a pixels a The g...

Page 54: ...0 to 8191a pixels a The granularity is 1 90 Clamp End The position at which the clamping circuit stops holding the blanking level portion of the video signal to a reference level 0 to 8191a pixels 95...

Page 55: ...al sync Note that the frame is an area that you establish within the active video area For more information about frames refer to page 46 Figure 11 Vertical Video Signal For area scan operations only...

Page 56: ...rame is the first pixel of video relative to the active video area The width of the frame is the number of pixels per line of video The height of the frame is the number of lines per field Table 5 Ver...

Page 57: ...Range Nominal Values Frame Left The first pixel in the region of interest relative to the first active pixel to digitize 0 to 4095a a The granularity is 1 0 Frame Width The number of pixels per line o...

Page 58: ...l relationship between the frame the active video area and the total video area for line scan mode is shown in Figure 13 Table 7 Frame Settings for the DT3152 LS Board in Line Scan Mod e Setting Descr...

Page 59: ...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 mul...

Page 60: ...ive 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...

Page 61: ...rough software This is useful if you want to reduce the size of an image You provide a scale factor for both the horizontal direction range between pixels and the vertical direction range between line...

Page 62: ...or the purpose of focusing or positioning the camera For line scan operations only in addition to displaying the passthru data you can continuously store the data in user buffers in host memory if des...

Page 63: ...e 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 automatica...

Page 64: ...lipping 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 th...

Page 65: ...to display part of the acquired image during passthru Figure 14 illustrates adjusting the source origin Figure 14 Source Origin Example The source origin is a pixel position in the image For area sca...

Page 66: ...d 480 for 60 Hz image formats in increments of 1 Passthru Look Up Table In addition to the ILUT described on page 21 you can use the passthru LUT to affect the displayed image during passthru By using...

Page 67: ...arantees 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 area scan operations only They cannot be use...

Page 68: ...ed by the DT3152 LS 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 t...

Page 69: ...nstalled The speed of the PCI bus allows the DT3152 LS to transfer an unlimited number of consecutive frames across the bus in real time You can acquire and store consecutive images up to the capacity...

Page 70: ...9 on connector J1 connector provide digital inputs 0 and 1 Pins 10 and 9 of connector J2 connector provide digital inputs 2 and 3 These digital I O signals are simple register driven TTL level signal...

Page 71: ...55 3 Supported Device Driver Capabilities DT3152 LS Device Driver Capabilities 56 Initialized Control Values 89...

Page 72: ...ific capability The tables in this chapter list the capabilities supported by the DT3152 LS board and the information needed to query the board The left column of the tables lists the capabilities alo...

Page 73: ...pabilities Table 14 on page 70 Memory capabilities Table 15 on page 71 Acquisition capabilities Table 16 on page 71 Digital I O capabilities Table 17 on page 73 Line scan General device capabilities T...

Page 74: ...CE_TYPE Monochrome Frame Grabber OLC_IMG_DEV_MONO_FRAME_GRABBER Color Frame Grabber OLC_IMG_DEV_COLOR_FRAME_GRABBER Yes No Sections Supported OLC_IMG_DC_SECTIONS Supports Input Operations OLC_FG_SECTI...

Page 75: ...ed no Input Filter OLC_FG_FILT_AC_NONE AC Coupled 50 Hz Input Filter OLC_FG_FILT_AC_50 AC Coupled 60 Hz Input Filter OLC_FG_FILT_AC_60 DC Coupled no Input Filter OLC_FG_FILT_DC_NONE Yes Yes Yes Yes Su...

Page 76: ...CK_EXTERNAL Yes Yes Provides Trigger OLC_FG_IC_DOES_TRIGGER Yes Trigger Types OLC_FG_TRIGGER_TYPE_LIMITS Supports Externally Triggered Acquisition OLC_FG_TRIG_EXTERNAL_LINE Yes Multiple Trigger Types...

Page 77: ...x 1 275 000 nominal 50 Hz 700 000 60 Hz 660 000 granularity 5 000 Offset V DT3152_INPUT_CTL_OFFSET min 1 075 200 max 1 066 800 nominal 50 Hz 0 60 Hz 53 855 granularity 8 400 a The legal white level se...

Page 78: ...ce OLC_FG_VID_VARSCAN Yes Yes Video Sources OLC_FG_IC_CSYNC_SOURCE_LIMITS Composite Sync from Current Input Only OLC_FG_CSYNC_CURRENT_SRC Composite Sync from Any Specified Input OLC_FG_CSYNC_SPECIFIC_...

Page 79: ...nal 50 Hz 15 625 60 Hz 15 750 Vertical Frequency Hz DT3152_SYNC_CTL_VERT_FREQ min 1 max 200 000 nominal 50 Hz 50 60 Hz 60 Horizontal Sync Pulse Width ns DT3152_SYNC_CTL_HPULSE_WIDTH min 250 max 950 00...

Page 80: ...ack Porch Start Position OLC_FG_IC_BACK_PORCH_START_LIMITS min 0 max 4095 nominal 50 Hz 80 60 Hz 60 granularity 1 Range of Clamp Start Position OLC_FG_IC_CLAMP_START_LIMITS min 0 max 4095 nominal 50 H...

Page 81: ...Hz 640 granularity 1 Range ofTotal 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_A...

Page 82: ...ITS 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 mi...

Page 83: ...ield OLC_FG_FRM_IL_FRAME_ODD Acquire Interlaced Frame Starting on Next Field OLC_FG_FRM_IL_FRAME_NEXT Acquire the Even Field OLC_FG_FRM_FIELD_EVEN Acquire the Odd Field OLC_FG_FRM_FIELD_ODD Acquire th...

Page 84: ...Supports Async Bitmap OLC_FG_PASSTHRU_ASYNC_BITMAP Supports Sync Direct OLC_FG_PASSTHRU_SYNC_DIRECT Supports Async Direct OLC_FG_PASSTHRU_ASYNC_DIRECT Yesa Yesa b No No Source Origin OLC_FG_PC_DOES_SO...

Page 85: ...mum RGB Value for Palette OLC_FG_PC_MAX_PALETTE_VALUE Maximum Index Number Allowed in Passthru LUT OLC_FG_PC_MAX_PLUT_INDEX Maximum RGB Value for Passthru LUT OLC_FG_PC_MAX_PLUT_VALUE Yes 15 255 255c...

Page 86: ...ng that the graphics adapter supports DDI Translucent overlay capability OLC_FG_DDI_TRANSLUCENT_OVERLAYS Yesa Color overlay capability OLC_FG_DDI_COLOR_OVERLAY Yesa Multiple overlay surface capability...

Page 87: ...f Nonvolatile Buffer Handles OLC_FG_MC_NONVOL_COUNT N A Table 16 Acquisition Capabilities Area Scan Mod e Capability DT3152 LS Support OlFgQueryInputCaps Acquisition Types single frame OLC_FG_IC_SINGL...

Page 88: ...Frame to Fit Acquisition OLC_FG_ACQ_FRAME_TO_FIT Yes No No Yes No No Acquisition Types multiple frame OLC_FG_IC_MULT_FRAME_OPS Multiple Frames to Host sync Supports Full Frame Acquisition OLC_FG_ACQ_F...

Page 89: ...n OLC_FG_ACQ_FRAME Supports Subframe Acquisition OLC_FG_ACQ_SUBFRAME Supports Frame to Fit Acquisition OLC_FG_ACQ_FRAME_TO_FIT No No No Yes No No Supports Drawing Acquired Frame OLC_FG_IC_DOES_DRAW_AC...

Page 90: ...ICE_TYPE Monochrome Frame Grabber OLC_IMG_DEV_MONO_FRAME_GRABBER Color Frame Grabber OLC_IMG_DEV_COLOR_FRAME_GRABBER Yes No Sections Supported OLC_IMG_DC_SECTIONS Supports Input Operations OLC_FG_SECT...

Page 91: ...Input Filter OLC_FG_FILT_AC_NONE AC Coupled 50 Hz Input Filter OLC_FG_FILT_AC_50 AC Coupled 60 Hz Input Filter OLC_FG_FILT_AC_60 DC Coupled no Input Filter OLC_FG_FILT_DC_NONE Yes No No Yes Supports P...

Page 92: ...ly 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 N A Multiple Trigge...

Page 93: ..._CTL_OFFSET min 1 075 200 max 1 066 800 nominal 0 granularity 8 400 a The legal white level setting is affected by the current black level setting The maximum white level setting is 2 550 000 greater...

Page 94: ..._FG_CSYNC_CURRENT_SRC Composite Sync from Specific Input OLC_FG_CSYNC_SPECIFIC_SRC Composite Sync from External Sync Line OLC_FG_CSYNC_EXTERNAL_LINE N A N A N A Composite Sync Threshold Limits in mV O...

Page 95: ...ntegration Active Edge Line Sync Output Pulse LS_INTGR_LO_TO_HI or LS_INTGR_HI_TO_LO Maximum Number of Pixel Clocks for Each Edge 8 191 Table 22 Active Video Area Capabilities Line Scan Mod e Capabili...

Page 96: ...1 nominal 20 granularity 1 Range of Active Pixels Count OLC_FG_IC_ACTIVE_WIDTH_LIMITS N Aa Range ofTotal Lines per Field Control OLC_FG_IC_TOTAL_LINES_PER_FLD_LIMITS N Aa Range of First Active Line Po...

Page 97: ...ELECT No Range of Frame Top Control OLC_FG_IC_FRAME_TOP_LIMITS N Aa Range of Frame Left Control OLC_FG_IC_FRAME_LEFT_LIMITS N Aa Range of Frame Height Control OLC_FG_IC_FRAME_HEIGHT_LIMITS min 1 max d...

Page 98: ..._FRM_FIELD_ODD Acquire the Next Field OLC_FG_FRM_FIELD_NEXT Acquire the Next Noninterlaced Frame OLC_FG_FRM_NON_INTERLACED N Ab N Ab N Ab N Ab N Ab N Ab N Ab Maximum Number of Pixels in Frame OLC_FG_I...

Page 99: ...OLC_FG_PASSTHRU_SYNC_DIRECT Supports Async Direct OLC_FG_PASSTHRU_ASYNC_DIRECT No Noa No No Source Origin OLC_FG_PC_DOES_SOURCE_ORIGIN Available Range For the X Value of the Source Origin OLC_FG_PC_SR...

Page 100: ...itmap passthru operation use the function OlFgStartAsyncLsPassthru included in the Line Scan SDK Extensions Table 25 Overlay Capabilities Line Scan Mode Capability DT3152 LS Support OlFgQueryDDICaps P...

Page 101: ..._SYNC_EVENT No Table 26 Memory Capabilities Line Scan Mod e Capability DT3152 LS Support OlFgQueryMemoryCaps Memory Types OLC_FG_MC_MEMORY_TYPES Volatile Memory OLC_FG_MEM_VOLATILE Nonvolatile Memory...

Page 102: ...ull Frame Acquisition OLC_FG_ACQ_FRAME Supports Subframe Acquisition OLC_FG_ACQ_SUBFRAME Supports Frame to Fit Acquisition OLC_FG_ACQ_FRAME_TO_FIT Single Frame to Host async Supports Full Frame Acquis...

Page 103: ...n OLC_FG_ACQ_FRAME Supports Subframe Acquisition OLC_FG_ACQ_SUBFRAME Supports Frame to Fit Acquisition OLC_FG_ACQ_FRAME_TO_FIT Multiple Frames to Device async Supports Full Frame Acquisition OLC_FG_AC...

Page 104: ...rite to these output lines using OlFgSetLsDigIo OlFgGetLsDigIo Value digital inputs and digital outputs 0 to 255b b The digital inputs correspond to bits 0 to 3 of this value the digital outputs corre...

Page 105: ...TE_LEVEL 50 Hz 700 000 V 60 Hz 714 880 V 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_BACK_PORCH_START 50 Hz 8...

Page 106: ..._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_SOURCE OLC_FG_CLOCK_INTERNAL OLC_FG_CTL_CLOCK_FREQ 50 Hz 15 000 000 Hz 60 Hz 12 500 000 Hz OLT_FG_TRI...

Page 107: ...50 Hz 0 V 60 Hz 53 855 V DT3152_SYNC_CTL_HORIZ_FREQ 50 Hz 15 625 Hz 60 Hz 15 750 Hz DT3152_SYNC_CTL_VERT_FREQ 50 Hz 50 Hz 60 Hz 60 Hz DT3152_SYNC_CTL_HPULSE_WIDTH 4 800 ns DT3152_SYNC_CTL_VPULSE_WIDTH...

Page 108: ...000 OLC_FG_CTL_FRAME_HEIGHT 1 OLC_FG_CTL_CLOCK_SOURCE OLC_FG_CLOCK_INTERNAL OLC_FG_CTL_CLOCK_FREQ 1 000 000 Hz OLT_FG_TRIGGER OLC_FG_TRIGGER_NONE OLC_FG_CTL_ILUT 0 OLC_FG_PC_SRC_ORIGIN_X_LIMITS 0 OLC_...

Page 109: ...93 4 Programming Flowcharts Single Area Scan Acquisition 95 Multiple Area Scan Acquisition 98 Line Scan Acquisition 101 Area Scan Passthru without Overlays 103 Area Scan Passthru with Overlays 105...

Page 110: ...xtensions 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 s...

Page 111: ...Mode Write new values into the Input LUT with OlFgWriteInputLUT Select input channel 0 to 3 corresponding to VID0 to VID3 The default is 0 Set the DT3152 LS specific controls for the input source see...

Page 112: ...AcquireFrameToHost No Acquire the frame to device memory with OlFgAsyncAcquireFrameToDevice Check the status of the operation with OlFgIsAsyncAcquireJobDone Stop asynchronous acquire Yes Stop the acqu...

Page 113: ...o host memory Yes No Process the acquired image see page 118 Acquire the frame with OlFgAcquireFrameToHost Acquire the frame to device memory with OlFgAcquireFrameToDevice Allocate user buffer with Gl...

Page 114: ...ues into the Input LUT with OlFgWriteInputLUT Select input channel 0 to 3 corresponding to VID0 to VID3 The default is 0 Set the DT3152 LS specific controls for the input source see page 117 The defau...

Page 115: ...OlFgAsyncAcquireMultipleToDevice Acquire the frame synchronously to device memory with OlFgAcquireMultipleToDevice Check the status of the operation with OlFgAsyncAcquireJobDone Go to the next page Pr...

Page 116: ...ultiple Area Scan Acquisition cont Close the device using OlImgCloseDevice Continued from previous page Release each frame buffer with OlFgDestroyFrame Write to the digital output lines with OlFgSetDi...

Page 117: ...117 The default is identity the grayscale value is not modified Set the timeout period with OlImgSetTimeoutPeriod Allocate a user buffer with GlobalAlloc using the GPTR flag Acquire one or more lines...

Page 118: ...r to window with OlFgDrawAcquiredLines Close the device using OlImgCloseDevice Write to the digital output lines with OlFgSetLsDigIo Deallocate the memory with GlobalFree Read the digital input lines...

Page 119: ...dSourceMode Write new values into the Input LUT with OlFgWriteInputLUT Select input channel 0 to 3 corresponding to VID0 to VID3 The default is 0 Set the DT3152 LS specific controls for the input sour...

Page 120: ...onous passthru with OlFgStopAsyncPassthru stop synchronous passthru with a mouse or keyboard event Change the passthru LUT see page 122 Close the device using OlImgCloseDevice Acquire a single image f...

Page 121: ...OlFgEnableBasedSourceMode Write new values into the Input LUT with OlFgWriteInputLUT Select input channel 0 to 3 corresponding to VID0 to VID3 The default is 0 Set the DT3152 LS specific controls for...

Page 122: ...e Get a surface DC with OlFgGetSurfaceDC Draw an image on the surface with standard GDI functions Release the surface DC with OlFgReleaseSurfaceDC Scale passthru image with OlFgSetPassthruScaling Go t...

Page 123: ...see page 124 Enable overlay before passthru starts Yes No Set up and enable overlays see page 124 Start a passthru operation see page 121 Start a passthru operation see page 121 Go to the next page E...

Page 124: ...vice Release the frame buffer with OlFgDestroyFrame Disable overlays with OlFgEnableOverlays Destroy all the surfaces with OlFgDestroySurface Stop asynchronous passthru with OlFgStopAsyncPassthru stop...

Page 125: ...is identity the grayscale value is not modified Set the timeout period with OlImgSetTimeoutPeriod Set the source origin with OlFgSetPassthruSourceOrigin Enable line scan mode with OlFgEnableLsMode Se...

Page 126: ...T see page 122 Close the device using OlImgCloseDevice Start the line scan passthru with OlFgStartAsyncLsPassthru Deallocate the memory with GlobalFree Write to the digital output lines with OlFgSetLs...

Page 127: ...able scan input Yes No Set the properties of the input signal with OlFgSetInputControlValue Use the key OLC_FG_CTL_VARSCAN_FLAGS to select line line scan and area scan or frame area scan only sync tra...

Page 128: ...For area scan mode only use the key OLC_FG_CTL_HSYNC_INSERT_POS The default is 10150 101 5 Set the horizontal sync search position with OlFgSetInputControlValue For area scan mode only use the key OLC...

Page 129: ...e pixel with OlFgSetInputControlValue Use the key OLC_FG_CTL_FIRST_ACTIVE_ PIXEL to set the first active pixel on the line For area scan mode the default is 125 for 60 Hz and 160 for 50 Hz For line sc...

Page 130: ...noninterlaced frame in the active area The default value is 240 for 60 Hz and 288 for 50 Hz This is not used for line scan mode Set the active line count with OlFgSetInputControlValue For area scan mo...

Page 131: ...o set the first pixel of video relative to the active video area to digitize The default is 0 This is not used for line scan mode Set the height of the frame with OlFgSetInputControlValue Use the key...

Page 132: ...FgSetInputControlValue Set the clock source with OlFgSetInputControlValue Set the clock frequency with OlFgSetInputControlValue Use the key OLC_FG_CTL_CLOCK_SOURCE to set the pixel clock to internal o...

Page 133: ...t the gain to 0 5 50 1 100 2 200 or 4 400 the default is 1 Set the reference from 0 to 1 275 000 V For area scan mode the default is 700 000 V for 50 Hz and 660 000 V for 60 Hz For line scan mode the...

Page 134: ...e in frame buffer No Yes From a contiguous location to a user buffer No Yes Copy pixel data contiguously to a user buffer with OlFgReadContiguousPixel From a rectangle to a user buffer No Copy pixel d...

Page 135: ...OlFgCopyFrameRect From to a rectangle in frame buffer No Yes From a user buffer to a contiguous location No Yes Write pixel data from a user buffer to a contiguous location with OlFgWriteContiguousPi...

Page 136: ...lication memory Yes Map the frame to application s virtual address space with OlFgMapFrame area scan mode only Manipulate process image using your own functions Continued from previous page Unmap the...

Page 137: ...Start the Passthru Operation in Area Scan Mode Create a frame buffer with OlFgAllocateBuiltInFrame Perform anasynchronous passthru Yes No Start the passthru with OlFgStartAsyncPassthruBitmap Start th...

Page 138: ...hrome values in passthru LUT Yes Load default grayscale values with OlFgLoadDefaultPassthruLUT No Load color values in passthru LUT Yes Load RGBTRIPLE values with OlFgLoadPassthruLUT Extend passthru p...

Page 139: ...23 4 4 4 4 4 4 4 4 4 Take a Snapshot in Area Scan Mode Acquire the image with OlFgPassthruSnapShot Add overlay to snapshot Yes Add overlay to the snapshot with OlFgAddOverlayToFrame Process the acquir...

Page 140: ...rlays in Area Scan Mode Set the visible surface with OlFgSetVisibleSurface Enable overlays with OlFgEnableOverlays Set the source keying color with OlFgSetOverlayColorKey Toggle the overlay s transluc...

Page 141: ...et surface 1 as the visible surface with OlFgSetVisibleSurface Get a surface DC to surface 2 with OlFgGetSurfaceDC Draw an image on surface 2 with standard GDI functions Release the surface 2 DC with...

Page 142: ...Chapter 4 126...

Page 143: ...127 5 Troubleshooting General Checklist 128 Service and Support 132 If Your Board Needs Factory Service 136...

Page 144: ...heck that your system meets the requirements stated in the DT3152 LS Getting Started Manual 4 Check that you have installed your hardware properly using the instructions in the DT3152 LS Getting Start...

Page 145: ...anging 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 th...

Page 146: ...invalid Wiring is not connected properly Check your wiring and fix any open connections see the instructions in the DT3152 LS Getting Started Manual Computer does not boot Board is not seated properl...

Page 147: ...ice 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 th...

Page 148: ...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...

Page 149: ...l please include the following information 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...

Page 150: ...____ graphics adapter _____________________________ data bus _________________________ I have the following boards and applications installed in my system ____________________________ ________________...

Page 151: ...of the issue you are experiencing Your contract number if applicable and Your product serial number or purchase date Omitting any of the above information may delay our ability to resolve your issue F...

Page 152: ...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 2 Using the origina...

Page 153: ...137 A Specifications...

Page 154: ...board Table 32 Digital Input Electrical Specifications Feature Minimum Specification Maximum Specification Input High Level VIH 2 0 V 9 0 V Input Low Level VLL 0 3 V 0 8 V Input Capacitance CIN 6 pF T...

Page 155: ...able 34 Power Specifications Feature Specification 5 V 2 A 12 V 100 mA 12 V 100 mA Table 35 Physical and Environmental Specifications Feature Specification Dimensions 6 875 inches long x 4 2 inches hi...

Page 156: ...Appendix A 140...

Page 157: ...141 B Connector Pin Assignments Connector J1 Pin Assignments 142 Connector J2 Pin Assignments 144...

Page 158: ...ble or a user designed cable Figure 15 illustrates the pin locations for connector J1 Figure 15 Connector J1 Table 36 lists the J1 pins by signal name and by the corresponding EP306 BNC connector assi...

Page 159: ...B B Table 36 J1 Pin Assignments J1 Pin EP306 BNC Connector Signal Name 1 7 EXT_CLK 2 6 LINE_SYNC 3 5 EXT_TRIGGER 4 4 FRAME_SYNC 5 3 VID3 6 2 VID2 7 1 VID1 8 0 VID0 9 8 D_IN1 10 9 D_IN0 11 10 D_OUT3 12...

Page 160: ...ugh the EP306 cable Figure 16 illustrates the pin locations for connector J2 Figure 16 Connector J2 Table 37 lists the J2 pins by signal name and by the corresponding EP306 BNC connector assignments M...

Page 161: ...J2 Signal Pin Assignment s J2 Pin EP306 BNC Connector Signal Name 1 7 MCLK_OUT 2 6 MCLK_OUT 3 5 LINE_IN 4 4 LINE_IN 5 3 LINE_OUT 6 2 LINE_OUT 7 1 INTEGRATE 8 0 INTEGRATE 9 8 D_IN3 10 9 D_IN2 11 10 MCL...

Page 162: ...Appendix B 146...

Page 163: ...147 C Modifying the Device Driver Windows 95 Windows 98 and Windows Me Procedures 148 Windows NT 4 0 Procedures 158 Windows 2000 Procedures 164 Windows XP Procedures 170...

Page 164: ...uration To add a new board to the DT3152 LS Device Driver configuration after system startup perform the following steps 1 Open the Control Panel then double click Multimedia The Multimedia Properties...

Page 165: ...ension tab of the DT3152LS Configuration dialog box c For Video Format indicate the video format that you want for the default setting by clicking 50 Hz or 60 Hz d For Memory Size select the amount of...

Page 166: ...f the board you just added 11 Click Close to end the DT3152 LS configuration 12 If you made any changes to the default settings click OK to confirm that you need to restart Windows before the changes...

Page 167: ...Settings The DT3152 LS Device Driver Configuration dialog box appears 5 Select the name of the DT3152 LS board that you want to modify 6 Click Modify to modify the board The DT3152 LS Configuration di...

Page 168: ...Configuration dialog box you can enable the board for both 2 Dimensional Mode and Line Scan mode at the same time However to maximize system memory enable only one mode at a time 9 Click OK The DT315...

Page 169: ...n click Remove The Confirm Device Removal dialog box appears 4 Click OK 5 Click Refresh The New Hardware Found dialog box appears stating that a new PCI Multimedia Video Device was found 6 In version...

Page 170: ...ear to overwrite newer files click Yes to keep the newer files A dialog box appears stating that the files are being copied i Click Finish A dialog box appears asking whether you want to restart your...

Page 171: ...LS MACH Series Frame Grabber Properties dialog box appears 4 Click Use this Media Control device then click Settings The DT3152 LS Device Driver Configuration dialog box appears 5 Select the name of t...

Page 172: ...same slot that contains the DT3152 LS board be sure to perform the following steps before you install the new board To uninstall the device driver perform the following steps 1 Open the Control Panel...

Page 173: ...System then click the Device Manager tab 9 Double click Sound video and game controllers then click DT3152 LS MACH Series Frame Grabber 10 Click Remove The Confirm Device Removal dialog appears 11 Cli...

Page 174: ...onfiguration perform the following steps 1 From the My Computer icon double click Control Panel 2 Double click Multimedia 3 Click Devices 4 Double click Other Multimedia Devices 5 Click DT Open Layers...

Page 175: ...Hz 768 by 576 image requires 443 KB per frame The upper limit depends on your system s resources The recommended minimum is 1 MB 10 To configure the board for line scan one dimensional operations per...

Page 176: ...icon double click Control Panel 2 Double click the Multimedia icon 3 Click Devices 4 Click Other Multimedia Devices 5 Click DT Open Layers DT3152 LS Mach Series Frame Grabber 6 Click Properties click...

Page 177: ...e General tab of the DT3152LS Configuration dialog box and then click Enable Line Scan Mode b Click the Line Scan tab of the DT3152LS Configuration dialog box c Enter the number of 500 KB FIFO buffers...

Page 178: ...click Use this Device then click Settings The DT3152 LS Configuration dialog box appears 7 Select the name of the board that you want to remove then click Remove 8 Repeat step 7 until all the DT3152 L...

Page 179: ...are you can uninstall the DT3152 LS Device Driver from the system by performing the following steps 1 From the My Computer icon double click the Control Panel 2 Double click the Multimedia icon 3 Clic...

Page 180: ...ration To add a board to the DT3152 LS Device Driver configuration perform the following steps 1 From the My Computer icon double click Control Panel 2 Double click Sounds and Multimedia 3 Click Hardw...

Page 181: ...r line scan one dimensional operations perform the following steps a Click the General tab of the DT3152LS Configuration dialog box and then click Enable Line Scan Mode b Click the Line Scan tab of th...

Page 182: ...k DT Open Layers DT3152 LS MACH Series Frame Grabber 5 Click Properties 6 Double click Multimedia Drivers 7 Click Driver then click Properties 8 Click Settings 9 Select the name of the board for which...

Page 183: ...b of the DT3152LS Configuration dialog box c Enter the number of 500 KB FIFO buffers to use A typical number is nine FIFO buffers The default is 0 If when running your program you encounter overflow e...

Page 184: ...Drivers 7 Click Driver then click Properties 8 Click Settings 9 Select the name of the board for which you want to modify the settings then click Remove 10 Repeat step 9 until all the DT3152 LS boards...

Page 185: ...using the DT3152 LS board with the supported software you can uninstall the DT3152 LS Device Driver from the system by performing the following steps 1 From the My Computer icon double click Control...

Page 186: ...ion To add a board to the DT3152 LS Device Driver configuration perform the following steps 1 From the My Computer icon double click Control Panel 2 Double click Sounds and Audio Devices 3 Click Hardw...

Page 187: ...r line scan one dimensional operations perform the following steps a Click the General tab of the DT3152LS Configuration dialog box and then click Enable Line Scan Mode b Click the Line Scan tab of th...

Page 188: ...ck DT Open Layers DT3152 LS MACH Series Frame Grabber 5 Click Properties 6 Double click Multimedia Drivers 7 Click Driver then click Properties 8 Click Settings 9 Select the name of the board for whic...

Page 189: ...b of the DT3152LS Configuration dialog box c Enter the number of 500 KB FIFO buffers to use A typical number is nine FIFO buffers The default is 0 If when running your program you encounter overflow e...

Page 190: ...ers 7 Click Driver then click Properties 8 Click Settings 9 Select the name of the board for which you want to modify the settings then click Remove 10 Repeat step 9 until all the DT3152 LS boards you...

Page 191: ...owever if you are no longer using the DT3152 LS board with the supported software you can uninstall the DT3152 LS Device Driver from the system by performing the following steps 1 From the My Computer...

Page 192: ...Appendix C 176...

Page 193: ...177 D Asynchronous Reset Cameras...

Page 194: ...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...

Page 195: ...d 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 18 illustrates single frame output Figure 18...

Page 196: ...Appendix D 180...

Page 197: ...thru 83 asynchronous bitmap passthru mode 46 68 asynchronous reset cameras 178 B back porch 64 bitmap passthru mode 46 black levels 11 59 75 blanking 39 blanking information 34 block diagram 8 bytes p...

Page 198: ...ET 61 77 DT3152_INPUT_CTL_REFERENCE 61 77 DT3152_SYNC_CTL_HORIZ_FREQ 63 DT3152_SYNC_CTL_HPULSE_ WIDTH 63 DT3152_SYNC_CTL_PHASE 63 DT3152_SYNC_CTL_VERT_FREQ 63 DT3152_SYNC_CTL_VPULSE_ WIDTH 63 Dt3152En...

Page 199: ...mory 71 72 73 I ILUT 21 61 76 image processing ILUT 21 61 76 increment between lines 67 increment between pixels 66 initialized control values 89 input channels 10 59 input controls 111 117 input filt...

Page 200: ...29 67 notch filter 11 59 75 notch filter see input filter NTSC 9 number of bytes per pixel 67 82 digital input lines 54 digital output lines 54 73 88 extra palette entries 69 84 ILUT entries 61 ILUTs...

Page 201: ...114 OLC_FG_CTL_TOTAL_PIX_PER_ LINE 89 114 OLC_FG_CTL_VARSCAN_FLAGS 111 OLC_FG_CTL_VER_FRAME_INC 90 116 OLC_FG_CTL_VIDEO_TYPE 89 111 OLC_FG_CTL_VSYNC_INSERT_POS 90 112 OLC_FG_CTL_VSYNC_SEARCH_ POS 90...

Page 202: ...QUERY_ACTIVE _VIDEO 64 79 OLC_FG_IC_DOES_QUERY_FRAME _SELECT 66 OLC_FG_IC_DOES_QUERY_INPUT_ FILTER 59 75 OLC_FG_IC_DOES_QUERY_PIXEL_ CLOCK 60 76 OLC_FG_IC_DOES_QUERY_PROG_ A2D 59 75 OLC_FG_IC_DOES_QUE...

Page 203: ...PC_DOES_PASSTHRU 68 83 OLC_FG_PC_DOES_SCALING 69 OLC_FG_PC_MAX_PALETTE_ INDEX 69 84 OLC_FG_PC_MAX_PALETTE_ VALUE 84 OLC_FG_PC_MAX_PLUT_INDEX 69 84 OLC_FG_PC_MAX_PLUT_VALUE 69 84 OLC_FG_PC_PASSTHRU_MOD...

Page 204: ...FgLoadPassthruLUT 122 OlFgMapFrame 120 OlFgQueryCameraControlCaps 73 88 OlFgQueryDDICaps 70 84 OlFgQueryInputCaps 59 62 64 66 71 75 78 79 81 86 OlFgQueryMemoryCaps 71 85 OlFgQueryPassthruCaps 68 83 Ol...

Page 205: ...J1 142 J2 144 pixel 18 active number per line 37 first active 37 38 65 80 modifying value 21 total number per line 35 64 65 total per line 34 pixel clock 18 60 75 external 20 60 76 internal 19 query...

Page 206: ...elephone 132 World Wide Web 135 switching input sources 28 sync insert position 27 horizontal 90 vertical 90 Sync Master mode 63 horizontal frequency 63 horizontal sync pulse width 63 phase 63 vertica...

Page 207: ...ignals 39 timing 22 video signal 39 video area active 34 frame 40 total 34 video input channels 10 video input connector 142 video input signals 9 59 75 horizontal 36 vertical 39 video signal type 9 c...

Page 208: ...iver configuration 155 uninstalling the device driver 156 updating the device driver 153 Windows NT 4 0 adding boards to the driver configuration 158 modifying a board in the driver configuration 160...

Page 209: ...ITTEN 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 TRANS...

Page 210: ......

Page 211: ...rising 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 a...

Page 212: ...ware warranty granted in the Agreement 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 comm...

Page 213: ...re added Support Fees do not include travel and living expenses or expenses for installation training file conversion costs optional products and services directories shipping charges or the cost of a...

Page 214: ......

Reviews: