Hide thumbs Also See for DT3153:
Table of Contents

Advertisement

Quick Links

UM-15478-H
DT3153
User's Manual

Advertisement

Table of Contents
loading

Summary of Contents for Data Translation DT3153

  • Page 1 UM-15478-H DT3153 User’s Manual...
  • Page 2 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.
  • Page 3 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.
  • Page 5: Table Of Contents

    Table of Contents About this Manual ........Intended Audience.
  • Page 6 Chapter 3: Supported Device Driver Capabilities..DT3153 Device Driver Capabilities ......
  • Page 7 Contents Appendix A: Specifications ......Appendix B: Connector Pin Assignments ... . . Video Input Connector J1 .
  • Page 8 Contents viii...
  • Page 9: About This Manual

    What You Should Learn from this Manual This manual provides detailed information about the features of the DT3153 board and the DT3153 Device Driver to allow you to access the board’s capabilities using software. It is organized as follows: •...
  • Page 10: Conventions Used In This Manual

    About this Manual • Chapter “Programming Flowcharts,” describes the processes you must follow to program the DT3153 board using the DT-Open Layers Frame Grabber SDK and Color SDK Extensions. • Chapter “Troubleshooting,” provides information that you can use to resolve problems with the board and the device driver, should they occur.
  • Page 11: Related Information

    • DT3153 Getting Started Manual (UM-18304), included on the Imaging OMNI CD provided with the DT3153 board, describes how to set up, install, and wire signals to the DT3153 board, how to install the DT3153 Device Driver, and how to verify the operation of the board.
  • Page 12 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.
  • Page 13 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.
  • Page 14 About this Manual Pratt, William K. Digital Image Processing. Somerset, NJ: John Wiley & 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 &...
  • Page 15: Where To Get Help

    Watkinson, John. The Art of Digital Video. Stoneham, MA: Focal Press, 1990. Provides an in-depth description of digital video fundamentals. Where to Get Help Should you run into problems installing or using the DT3153 board, our Technical Support Department is available to provide technical assistance. Refer to Chapter 5 for more information.
  • Page 16 About this Manual...
  • Page 17: Chapter 1: Overview

    Overview Features ..........Supported Software .
  • Page 18: Features

    PCI bus. It is suitable for both color image analysis and machine vision applications. The DT3153 board digitizes the video signal, and 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 32-bit images in real-time.
  • Page 19: Supported Software

    • DT3153 Device Driver − This software is provided on the Imaging OMNI CD, which is shipped with the board. You must install this device driver to use a DT3153 board with any of the supported software packages or utilities. Refer to the DT3153 Getting Started Manual for information on installing the device driver.
  • Page 20: Accessories

    Chapter 1 Accessories To connect the DT3153 board to your video input source, you need either a EP306 cable (available from Data Translation) or a user-designed cable. The EP306 is a 5-foot cable with a 15-pin, D-shell connector on one end and 14 BNC connectors on the other end.
  • Page 21: Chapter 2: Principles Of Operation

    Principles of Operation Video Input Signals ........Sync Signals.
  • Page 22 Chapter 2 This chapter describes the features of the DT3153 board from a functional point of view. To aid the discussions in this chapter, refer to the block diagram of the DT3153, shown in Figure Video Scaled Image Clock (YUV or RGB)
  • Page 23: Video Input Signals

    • Pixel clock, and • External trigger. Signal Types The DT3153 can acquire images from the following signal types: • Composite (CVBS) − The Color Video Broadcast Standard, where a single composite video signal contains both luminance and chrominance information. The signal passes through high- and low-pass filters on the board to separate the chrominance and luminance signals.
  • Page 24: Video Formats

    480 lines. For 50 Hz, a video frame is displayed as 768 x 576 lines. Videos Input Channels The DT3153 provides three video input channels that you can use as follows: • Three composite video inputs, connected to channels VID0_IN, VID1_IN, or VID2_IN;...
  • Page 25: Color Controls

    255; the nominal value is 128. Pixel Clock The DT3153 generates a 12.5 MHz pixel clock signal for 60 Hz image formats and a 15 MHz pixel clock signal for 50 Hz image formats. Pixels are available to the DT3153 frame grabber board in increments of PixelPeriod, which is equal to 1 /clock frequency.
  • Page 26: External Trigger

    Chapter 2 External Trigger The DT3153 frame grabber provides pin 1 (EXT_TRIG) on connector J1 for connecting an external trigger input. Using an external trigger, you can synchronize frame acquisitions with external events. You can enable and invert the external trigger using software. When...
  • Page 27: Sync Signals

    Sync Master Mode On the DT3153, you can enable or disable Sync Master mode. In Sync Master mode, the DT3153 board generates the following sync signals: • A horizontal sync signal (HSYNC_OUT), output on pin 9 of connector J1.
  • Page 28: Video Area

    Chapter 2 Video Area The total video area is a complete set of horizontal and vertical input lines from which you extract the active video area and the frame within the active video area. The total video area includes all parts of the signal, including nonvisual portions such as horizontal and vertical blanking information.
  • Page 29: Horizontal Video Signal

    Pixel measurements are relative to the horizontal reference point, which is defined as the beginning of the horizontal sync. The settings for the horizontal video signal are fixed on the DT3153 board.
  • Page 30: Vertical Video Signal

    Line measurements are relative to the vertical reference point, which is defined as the beginning of the vertical sync. Lines themselves are measured in terms of pixels. The settings for the vertical video signal are fixed on the DT3153 board.
  • Page 31: Frame (Region Of Interest)

    The width of the frame is the number of pixels per line of video. The height of the frame is the number of lines per field. Table 1 shows the settings you can program on the DT3153 board to define the frame. Figure 4 illustrates these relationships.
  • Page 32 Chapter 2 Table 1: Frame Settings for the DT3153 Board Nominal Setting Description Range Values Frame Left The first pixel in the region 50 Hz: 0 to 767 of interest, relative to the 60 Hz: 0 to 636 first active pixel, to digitize.
  • Page 33: Types Of Frames

    Figure 4: Spatial Relationship of Video Signal Types of Frames The DT3153 board can acquire interlaced frames only. The video signal is defined as two consecutive fields, where the start of each field is identified by the falling edge of the vertical sync.
  • Page 34: Scaling Frames

    • Interlaced frames, starting on the next odd field, or • Interlaced frames, starting on the next field (odd or even). Scaling Frames The DT3153 can perform simultaneous, interpolated, arbitrary scaling in real-time. This feature is useful if you want to reduce the size of an image.
  • Page 35 Principles of Operation Address 0 Byte Format Address DWORD Format Y3U2Y4V2 Y1U1Y2V1 Figure 5: YUV Mode (16-Bit Data Format) Address Byte Format RGB1 RGB2 RGB3 RGB4 Address DWORD Format RGB1 RGB2 RGB3 RGB4 Figure 6: RGB16 (16-Bit) Color Data Format...
  • Page 36 Chapter 2 Address 0 Byte Format Address DWORD Format R2G2B2X1 R1G1B1X1 Figure 7: RGB 32-Bit Color Data Format...
  • Page 37: Passthru

    Principles of Operation Passthru The DT3153 board can continuously capture and display video data; this operation is called passthru. The goal of passthru is to allow you 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.
  • Page 38: Source Origin

    Chapter 2 removed from the passthru window client area, Windows automatically restores the correct underlying image data. 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.
  • Page 39: Passthru Scaling

    Principles of Operation Passthru Scaling Using software, the DT3153 board can scale the passthru image to the height and width that most closely match the requested size. Unlike hardware scaling (see page 18), 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.
  • Page 40: Acquisition Modes

    Using the DT3153, you can acquire a single full frame or multiple full frames. Single frames are stored in an area in system memory that...
  • Page 41 PCI bus assigns the interrupt to the board automatically when it is installed. The speed of the PCI bus allows the DT3153 to transfer an unlimited number of consecutive frames across the bus in real time. You can acquire consecutive images, up to the capacity of available system RAM.
  • Page 42: Digital I/O Signals

    Chapter 2 Digital I/O Signals The DT3153 board provides four digital I/O lines (pins 2, 3, 4, and 12) on connector J1. These digital lines are simple register-driven, TTL-level inputs and outputs that you can use for any purpose, such as controlling or actuating external devices.
  • Page 43: Chapter 3: Supported Device Driver Capabilities

    Capabilities DT3153 Device Driver Capabilities ......Initialized Control Values ....... .
  • Page 44: Dt3153 Device Driver Capabilities

    DT3153 Device Driver Capabilities Because the Frame Grabber SDK is intended to be used with all DT-Open Layers frame grabbers, the DT3153 may not support all of the Frame Grabber SDK capabilities or may support the Frame Grabber SDK capabilities differently from other boards.
  • Page 45 Supported Device Driver Capabilities For capabilities Refer to the table that apply to ... starting on ... Overlay page 43 Memory page 44 Acquisition page 45 Digital I/O page 47 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.
  • Page 46 Chapter 3 Table 3: General Device Capabilities for the DT3153 Device Driver Capability DT3153 Support OlImgQueryDeviceCaps Device Signature OLC_IMG_DC_OL_SIGNATURE Ox44544F4C Device ID OLC_IMG_DC_DEVICE_ID 0x2C Device Name OLC_IMG_DC_DEVICE_NAME “DT3153” Device Type OLC_IMG_DC_OL_DEVICE_TYPE Monochrome Frame Grabber OLC_IMG_DEV_MONO_FRAME_GRABBER Color Frame Grabber OLC_IMG_DEV_COLOR_FRAME_GRABBER Sections Supported...
  • Page 47 Supported Device Driver Capabilities Table 3: General Device Capabilities for the DT3153 Device Driver (cont.) Capability DT3153 Support DtColorQueryInterface Color SDK Capabilities OLT_QUERY_COLOR_INTERFACE Supports Signal Type COLOR_INTERFACE_SIGNAL_TYPE True Supports Storage Mode COLOR_INTERFACE_STORAGE_MODE True Supports Image Parameter COLOR_INTERFACE_IMAGE_PARAMETER True Supports Hardware Scaling...
  • Page 48 Chapter 3 Table 4: Input Signal Capabilities for the DT3153 Device Driver Capability DT3153 Support OlFgQueryInputCaps Number of Input Sources OLC_FG_IC_INPUT_SOURCE_COUNT Supports Input Filter Selection OLC_FG_IC_DOES_INPUT_FILTER Supports Input Filter Query OLC_FG_IC_DOES_QUERY_INPUT_FILTER Supported Filters OLC_FG_IC_INPUT_FILTER_LIMITS AC Coupled, no Input Filter OLC_FG_FILT_AC_NONE...
  • Page 49 Supported Device Driver Capabilities Table 4: Input Signal Capabilities for the DT3153 Device Driver (cont.) Capability DT3153 Support Range of Internal Input Clock Frequency, in Hz OLC_FG_IC_CLOCK_FREQ_LIMITS Fixed 50 Hz: 15,000,000 60 Hz: 12,500,000 Clock Sources OLC_FG_IC_CLOCK_SOURCE_LIMITS Supports Internal Clock...
  • Page 50 Chapter 3 Table 4: Input Signal Capabilities for the DT3153 Device Driver (cont.) Capability DT3153 Support DtColorSignalType Signal Type in the Color SDK Extensions OLT_SIGNAL_TYPE Supports Monochrome Signal Type OLC_MONO_SIGNAL Supports Y/C Signal Type (Luminance/Chrominance) OLC_YC_SIGNAL Support Composite Signal Type...
  • Page 51 Supported Device Driver Capabilities Table 4: Input Signal Capabilities for the DT3153 Device Driver (cont.) Capability DT3153 Support Image Parameters in the Color SDK Extensions (cont.) Hue Values OLC_SET_HUE min: 0 max: 255 nominal: 128 granularity: 1 Red Level Values...
  • Page 52 Chapter 3 Table 5: Sync Signal Capabilities for the DT3153 Device Driver (cont.) Capability DT3153 Support 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_SRC Composite Sync from External Sync Line OLC_FG_CSYNC_EXTERNAL_LINE...
  • Page 53 Supported Device Driver Capabilities Table 6: Active Video Area Capabilities for the DT3153 Device Driver Capability DT3153 Support OlFgQueryInputCaps Supports Defining of Active Video Area OLC_FG_IC_DOES_ACTIVE_VIDEO Supports Active Video Area Query OLC_FG_IC_DOES_QUERY_ACTIVE_VIDEO Range of Back Porch Start Position OLC_FG_IC_BACK_PORCH_START_LIMITS Range of Clamp Start Position...
  • Page 54 Chapter 3 Table 7: Frame Capabilities for the DT3153 Device Driver Capability DT3153 Support OlFgQueryInputCaps Supports Frame Selection OLC_FG_IC_DOES_FRAME_SELECT Supports Frame Selection Query OLC_FG_IC_DOES_QUERY_FRAME_SELECT Range of Frame Top Control OLC_FG_IC_FRAME_TOP_LIMITS min: 0 max: 50 Hz: 575 60 Hz: 479 nominal: 0...
  • Page 55 Supported Device Driver Capabilities Table 7: Frame Capabilities for the DT3153 Device Driver (cont.) Capability DT3153 Support Range of Frame Width Control OLC_FG_IC_FRAME_WIDTH_LIMITS min: 4 max: 50 Hz: 768 60 Hz: 640 nominal: 50 Hz: 768 60 Hz: 640 granularity: 4...
  • Page 56 Chapter 3 Table 7: Frame Capabilities for the DT3153 Device Driver (cont.) Capability DT3153 Support Maximum Number of Pixels in Frame OLC_FG_IC_MAX_FRAME_SIZE 50 Hz: 442368 60 Hz: 307200 Number of Bytes in a Pixel OLC_FG_IC_PIXEL_DEPTH 2 or 4 DtColorHardwareScaling Hardware Scaling in Color SDK Extensions...
  • Page 57 Supported Device Driver Capabilities Table 8: Passthru Capabilities for the DT3153 Device Driver Capability DT3153 Support OlFgQueryPassthruCaps Supports Passthru Section OLC_FG_PC_DOES_PASSTHRU Passthru Modes OLC_FG_PC_PASSTHRU_MODE_LIMITS Supports Sync Bitmap OLC_FG_PASSTHRU_SYNC_BITMAP Supports Async Bitmap OLC_FG_PASSTHRU_ASYNC_BITMAP Supports Sync Direct OLC_FG_PASSTHRU_SYNC_DIRECT Supports Async Direct OLC_FG_PASSTHRU_ASYNC_DIRECT...
  • Page 58 Chapter 3 Table 8: Passthru Capabilities for the DT3153 Device Driver (cont.) Capability DT3153 Support Passthru Scaling OLC_FG_PC_DOES_SCALING Range of Legal Values for Height min: 1 OLC_FG_PC_SCALE_HEIGHT_LIMITS max: 50 Hz: 576 60 Hz: 480 nominal: 50 Hz: 576 60 Hz: 480...
  • Page 59 Supported Device Driver Capabilities Table 9: Overlay Capabilities for the DT3153 Device Driver Capability DT3153 Support OlFgQueryDDICaps Passthru with DDI OLC_FG_DDI_FAST_PASSTHRU Overlay support OLC_FG_DDI_OVERLAYS Translucent overlay capability OLC_FG_DDI_TRANSLUCENT_OVERLAYS Color overlay capability OLC_FG_DDI_COLOR_OVERLAY Multiple overlay surface capability OLC_FG_DDI_MULTIPLE_SURFACES Color keying (filtering)
  • Page 60 Chapter 3 Table 10: Memory Capabilities for the DT3153 Device Driver Capability DT3153 Support OlFgQueryMemoryCaps Memory Types OLC_FG_MC_MEMORY_TYPES Volatile Memory OLC_FG_MEM_VOLATILE Nonvolatile Memory OLC_FG_MEM_NON_VOLATILE Number of Volatile Buffer Handles OLC_FG_MC_VOL_COUNT Device memory size divided by maximum number of pixels in...
  • Page 61 Supported Device Driver Capabilities Table 11: Acquisition Capabilities for the DT3153 Device Driver Capability DT3153 Support OlFgQueryInputCaps Acquisition Types OLC_FG_IC_SINGLE_FRAME_OPS -Single Frame to Host Supports Full Frame Acquisition OLC_FG_ACQ_FRAME Supports Subframe Acquisition OLC_FG_ACQ_SUBFRAME Supports Frame-to-Fit Acquisition OLC_FG_ACQ_FRAME_TO_FIT -Single Frame to Device...
  • Page 62 Chapter 3 Table 11: Acquisition Capabilities for the DT3153 Device Driver (cont.) Capability DT3153 Support Acquisition Types (cont.) OLC_FG_IC_MULT_FRAME_OPS -Multiple Frames to Host Supports Full Frame Acquisition OLC_FG_ACQ_FRAME Supports Subframe Acquisition OLC_FG_ACQ_SUBFRAME Supports Frame-to-Fit Acquisition OLC_FG_ACQ_FRAME_TO_FIT -Multiple Frames to Device...
  • Page 63 DtColorDigitalIOControl Number of Digital Input/Output Lines a. The DT3153 supports for digital I/O lines, each of which can be configured for input or output. Use the DtColorDigitalIOControl function to determine the configuration of the digital I/O lines, return the value of the digital input lines, or...
  • Page 64: Initialized Control Values

    Chapter 3 Initialized Control Values Table 13 lists the default control values after opening or initializing the DT3153 Device Driver. Table 13: Default Control Values Control Name Value OLC_FG_CTL_INPUT_FILTER OLC_FG_CTL_BLACK_LEVEL OLC_FG_CTL_WHITE_LEVEL OLC_FG_CTL_VIDEO_TYPE OLC_FG_VID_COMPOSITE OLC_FG_CTL_CSYNC_SOURCE OLC_FG_CSYNC_CURRENT_SRC OLC_FG_CTL_CSYNC_THRESH OLC_FG_CTL_SYNC_SENTINEL TRUE OLC_FG_CTL_HSYNC_INSERT_POS OLC_FG_CTL_HSYNC_SEARCH_POS...
  • Page 65 Supported Device Driver Capabilities Table 13: Default Control Values (cont.) Control Name Value OLC_FG_CTL_ILUT DtColorSignalType OLC_COMPOSITE_SIGNAL DtColorStorageMode OLC_IMAGE_RGB DtColorImageParameters Brightness Contrast V Saturation U Saturation Red Level Green Level Blue Level DtColorHardwareScaling Horizontal scale factor Vertical scale factor DtColorDigitalIOControl Digital I/O Configuration 0 (all inputs) DtColorSyncMasterMode Enable/Disable...
  • Page 66 Chapter 3...
  • Page 67: Chapter 4: Programming Flowcharts

    Programming Flowcharts Single-Frame Acquisition ....... . Multiple-Frame Acquisition ......Passthru without Overlays .
  • Page 68 Chapter 4 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.
  • Page 69: Single-Frame Acquisition

    Programming Flowcharts Single-Frame Acquisition Open the device and get the device ID with OlImgOpenDevice. Set the timeout period with OlImgSetTimeoutPeriod. Select input channel 0, 1, or 2. Choose an input channel with The default is 0. OlFgSetInputVideoSource. Set the standard controls for the input source (see page 65).
  • Page 70 Chapter 4 Single-Frame Acquisition (cont.) Continued from previous page. Acquire to Perform an Allocate a user buffer with host asynchronous GlobalAlloc() using the GPTR flag. memory? acquisition? Acquire the frame to host memory with OlFgAsyncAcquireFrameToHost. Acquire the frame to device memory with OlFgAsyncAcquireFrameToDevice.
  • Page 71 Programming Flowcharts Single-Frame Acquisition (cont.) Continued from previous page. Perform a Acquire to Allocate user buffer with GlobalAlloc() synchronous host using the GPTR flag. acquisition? memory? Acquire the frame with OlFgAcquireFrameToHost. Acquire the frame to device memory with OlFgAcquireFrameToDevice. Process the acquired image (see page 67).
  • Page 72: Multiple-Frame Acquisition

    Chapter 4 Multiple-Frame Acquisition Open the device and get the device ID with OlImgOpenDevice. Set the timeout period with OlImgSetTimeoutPeriod. Select input channel 0, 1, or 2. The Choose an input channel with default is 0. OlFgSetInputVideoSource. Set the standard controls for the input source (see page 65).
  • Page 73 Programming Flowcharts Multiple-Frame Acquisition (cont.) Continued from previous page. Create frame buffers with OlFgAllocateBuiltInFrame. Perform an Acquire frames to device memory with asynchronous OlFgAsyncAcquireMultipleToDevice. acquire? Check the status of the operation with OlFgAsyncAcquireJobDone. Acquire frames synchronously to device memory with OlFgAcquireMultipleToDevice.
  • Page 74 Chapter 4 Multiple-Frame Acquisition (cont.) Continued from previous page. Read or write to the digital I/O lines with DtColorDigitalIOControl. Release each frame buffer with OlFgDestroyFrame. Close the device using OlImgCloseDevice.
  • Page 75: Passthru Without Overlays

    Programming Flowcharts Passthru without Overlays Open the device and get the device ID with OlImgOpenDevice. Set the timeout period with OlImgSetTimeoutPeriod. Select input channel 0, 1, or 2. The Choose an input channel with default value is 0. OlFgSetInputVideoSource. Set the standard controls for the input source (see page 65).
  • Page 76 Chapter 4 Passthru without Overlays (cont.) Continued from previous page. Set the source origin with OlFgSetPassthruSourceOrigin. The default is 480 by 640 for 60 Hz and Scale passthru image with 576 by 768 for 50 Hz. OlFgSetPassthruScaling. Start the passthru operation (see page 70).
  • Page 77: Passthru With Overlays

    Programming Flowcharts Passthru with Overlays Open the device and get the device ID with OlImgOpenDevice. Set the timeout period with OlImgSetTimeoutPeriod. Select input channel 0, 1, or 2. The Choose an input channel with default value is 0. OlFgSetInputVideoSource. Set the standard controls for the input source (see page 65).
  • Page 78 Chapter 4 Passthru with Overlays (cont.) Continued from previous page. The default is 480 by 640 for 60 Hz, and Scale passthru image with 576 by 768 for 50 Hz. OlFgSetPassthruScaling. Create a surface for each overlay with OlFgCreateSurface. Get a surface DC with OlFgGetSurfaceDC.
  • Page 79 Programming Flowcharts Passthru with Overlays (cont.) Continued from previous page. Enable overlay before Set up and enable overlays passthru (see page 72). starts? Start a passthru operation (see page 70). Start a passthru operation (see page 70). Set up and enable overlays (see page 72).
  • Page 80 Chapter 4 Passthru with Overlays (cont.) Continued from previous page. Stop asynchronous passthru with OlFgStopAsyncPassthru; stop synchronous passthru with a mouse or keyboard event. Disable overlays with OlFgEnableOverlays. Read or write to the digital I/O lines with DtColorDigitalIOControl. Destroy all the surfaces with OlFgDestroySurface.
  • Page 81 Programming Flowcharts Set the Standard Controls for the Input Channel Use the key OLC_FG_CTL_VIDEO_TYPE to select Set the input sync source with a composite sync source and OlFgSetInputControlValue. OLC_FG_CTL_CSYNC_SOURCE to select the composite sync on the current channel only. Use the key OLC_FG_CTL_FRAME_TOP to set the Set the top of the frame with first line of video, relative to the active video area, to OlFgSetInputControlValue.
  • Page 82 Chapter 4 Set the Color Controls for the Input Channel Set the input signal type with If acquiring color images, specify either a Y/C or composite signal type (the default) for the input DtColorSignalType. channel. Set the brightness (default is 163), contrast Set the color parameters with (default = 233), V-saturation (default = 235), DtColorImageParameters.
  • Page 83 Programming Flowcharts Process the Acquired Image Draw the contents of the frame with DtColorDrawAcquiredFrame. Move From/to Copy pixel data to a frame buffer data from a rectangle in with OlFgCopyFrameRect. frame frame buffer? buffer? From a Copy pixel data contiguously rectangle to a to a user buffer with user buffer?
  • Page 84 Chapter 4 Process the Acquired Image (cont.) Continued from previous page. From/to Move data Copy pixel data to a frame buffer a rectangle in to a frame with OlFgCopyFrameRect. a frame buffer? buffer? From a Write pixel data from a user buffer user buffer to to a rectangular region in a frame a rectangle?
  • Page 85 Programming Flowcharts Process the Acquired Image (cont.) Continued from previous page. image to Map the frame buffer with application OlFgMapFrame. memory? Manipulate/process image using your own functions. Unmap the frame to buffer with OlFgUnmapFrame. Return to main flowchart.
  • Page 86 Chapter 4 Start the Passthru Operation Get a single frame ID with OlFgAllocateBuiltInFrame. Perform an asynchronous Start the passthru with bitmap OlFgStartAsyncPassthruBitmap. passthru? Start the passthru with OlFgStartSyncPassthruBitmap.
  • Page 87 Programming Flowcharts Take a Snapshot Create a frame buffer with OlFgAllocateBuiltInFrame. Acquire the image with OlFgPassthruSnapShot. Add overlay Add overlay to the snapshot with OlFgAddOverlayToFrame. snapshot? Process the acquired image (see page 67).
  • Page 88 Chapter 4 Set up and Enable Overlays Set the visible surface with OlFgSetVisibleSurface. Set the source keying color with OlFgSetOverlayColorKey. Toggle the overlay’s translucence with OlFgSetTranslucentOverlay. Enable overlays with OlFgEnableOverlays.
  • Page 89 Programming Flowcharts Execute an Overlay Animation Sequence Get a handle to a WIN32[event] synchronization object with OlFgGetPassthruSyncEvent. Get a surface DC to surface #1 with OlFgGetSurfaceDC. Draw an image on surface #1 with standard GDI functions. Release the surface #1 DC with OlFgReleaseSurfaceDC.
  • Page 90 Chapter 4...
  • Page 91: Chapter 5: Troubleshooting

    Troubleshooting General Checklist ........Service and Support .
  • Page 92: General Checklist

    Chapter 5 General Checklist Should you experience problems using the DT3153 board, please follow these steps: 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.
  • Page 93 Symptom Possible Cause Possible Solution Board does not The board is Check that the slot in which your DT3153 respond. incorrectly aligned in board is located is a PCI slot and that the a PCI expansion slot. board is correctly seated in the slot; see the instructions in the DT3153 Getting Started Manual.
  • Page 94 DT3153 Getting Started Manual. Computer does Board is not seated Check that the slot in which your DT3153 not boot. properly. board is located is a PCI slot, that the board is correctly seated in the slot, and that the board is secured in the slot with a screw;...
  • Page 95 Possible Cause Possible Solution System lockup. Board is not seated Check that the slot in which your DT3153 properly. board is located is a PCI slot, that the board is correctly seated in the slot, and that the board is secured in the slot with a screw;...
  • Page 96: Service And Support

    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.
  • Page 97 If you are located outside the USA, call your local distributor. The name and telephone number of you nearest distributor are provided in your Data Translation catalog. If you are leaving a message to request a support call, please include the following information: •...
  • Page 98 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:__________________________...
  • Page 99: E-Mail And Fax Support

    Troubleshooting E-Mail and Fax Support You can also get technical support by e-mailing or faxing the Technical Support Department: • E-mail: You can reach Technical Support at the following address: tsupport@datx.com Ensure that you provide the following minimum information: − Your name, −...
  • Page 100: If Your Board Needs Factory Service

    Chapter 5 If Your Board Needs Factory Service If your board must be returned to Data Translation, perform the following steps: Record the board’s serial number, then contact the Customer Service Department at (508) 481-3700 (if you are in the USA) and obtain a Return Material Authorization (RMA).
  • Page 101: Appendix A: Specifications

    Specifications...
  • Page 102 High-Level Output Voltage (VOH) 2.4 V − Low-Level Output Voltage (VOL) 0.5 V Table 16 lists the input electrical specifications for the external trigger signal on the DT3153 board. Table 16: Digital Input Electrical Specifications Minimum Maximum Feature Specification Specification Input High Level (V 2.0 V...
  • Page 103 Specifications Table 17 lists the power, physical, and environmental specifications. Table 17: Power, Physical, and Environmental Specifications Feature Specification Power consumption 5 V @ 2 A ±12 V@ 100 mA Operating temperature 0° C to 50° C (32° F to 122° F) −...
  • Page 104 Appendix A...
  • Page 105: Appendix B: Connector Pin Assignments

    Connector Pin Assignments Video Input Connector J1 ....... . Video Coaxial Connector J2 ......
  • Page 106: Video Input Connector J1

    Appendix B Video Input Connector J1 Connector J1 is a 15-pin, male, D-shell connector that brings out all the signals from the board. You can access all the signals using the EP306 cable or a user-designed cable. Figure 8 illustrates the pin locations for connector J1.
  • Page 107 Connector Pin Assignments Table 18: J1 Pin Assignments J1 Pin EP306 BNC Connector Signal Name EXT_TRIG D_IO2 D_IO1 D_IO0 CHROM_IN VID2_IN VID1_IN VID0_IN HSYNC_OUT VSYNC_OUT CSYNC_OUT D_IO3 not connected not connected −...
  • Page 108: Video Coaxial Connector J2

    Appendix B Video Coaxial Connector J2 The video coaxial connector, J2, is a female coaxial connector that connects to the VIDEO OUT jack using a 75 Ω coaxial cable with a male connector. Use this connector only if you are using a single composite input signal.
  • Page 109: Appendix C: Modifying The Device Driver

    Modifying the Device Driver Windows 98 and Windows Me Procedures ....Windows 2000 Procedures ....... Windows XP Procedures .
  • Page 110: Windows 98 And Windows Me Procedures

    98). Adding a Board to the Device Driver Configuration To add a new board to the DT3153 Device Driver configuration after system startup, perform the following steps: If you have not already done so, install the additional board in...
  • Page 111 When the system restarts, the driver configuration dialog box appears. 14. Click OK, then click OK. 15. Click Add New to add a DT3153 board to the configuration. The DT3153 Installation dialog box appears for the new board. 16. Enter a board name (alias), which can be any name you choose, then click Add.
  • Page 112: Modifying A Board In The Device Driver Configuration

    Actual Memory Size text box when you restart your system. 20. Click Done. The DT3153 Device Driver Configuration dialog box is redisplayed; you can see the name of the board you just added. 21. Click Close to end the DT3153 configuration.
  • Page 113 Click Use this Media Control device, then click Settings. The DT3153 Device Driver Configuration dialog box appears. Select the name of the DT3153 board that you want to modify. Click Modify to modify the board. The DT3153 Configuration dialog box appears.
  • Page 114: Uninstalling The Device Driver

    For proper operation, it is very important that you restart Windows. Uninstalling the Device Driver Generally, you will always require the DT3153 Device Driver. However, if you are no longer using the DT3153 board with the supported software, you can uninstall the DT3153 Device Driver from the system.
  • Page 115: Windows 2000 Procedures

    103). Adding a Board to the Device Driver Configuration To add a board to the DT3153 Device Driver configuration, perform the following steps: If you have not already done so, install the additional board in your computer following the instructions in the DT3153 Getting Started Manual, then power up your computer and any attached peripherals.
  • Page 116 Click Disable the device, then click Finish. Open the Control Panel. Double-click Sounds and Multimedia. Click the Hardware tab. 10. Click DT3153 MACH Series Frame Grabber, then click Properties. 11. Click the Properties tab. 12. Double-click Multimedia Drivers. 13. Click DT3153 MACH Series Frame Grabber, then click Properties.
  • Page 117: Modifying A Board In The Device Driver Configuration

    22. Click Restart Now to restart your system. Modifying a Board in the Device Driver Configuration To modify the board settings in the DT3153 Device Driver configuration, perform the following steps: Open the Control Panel. Double-click Sounds and Multimedia.
  • Page 118: Removing A Board From The Device Driver Configuration

    15. 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 DT3153 Device Driver configuration, perform the following steps: Open the Control Panel. Double-click Sounds and Multimedia.
  • Page 119: Uninstalling The Device Driver

    Click Settings. Select the name of the board that you want to remove, then click Remove. 10. Repeat step 9 until all the DT3153 boards you want to remove are removed. 11. Click Close. The Drivers dialog box appears. The DT3153 Device Driver is still installed in the system, but the board has been removed.
  • Page 120 Appendix C Click DT3153 MACH Series Frame Grabber, then click Properties. Click the Driver tab, then click Uninstall. Click OK. Click OK. Restart your system to cause the new configuration to take effect.
  • Page 121: Windows Xp Procedures

    110). Adding a Board to the Device Driver Configuration To add a board to the DT3153 Device Driver configuration, perform the following steps: If you have not already done so, install the additional board in your computer following the instructions in the DT3153 Getting Started Manual, then power up your computer and any attached peripherals.
  • Page 122 16. Click Add New to add a DT3153 board to the configuration. The DT3153 Installation dialog box appears for the new board. 17. Enter any unique name (or alias) for the DT3153 board, then click Add. Only one alias per installed board is allowed.
  • Page 123: Modifying A Board In The Device Driver Configuration

    Actual Memory Size text box when you restart your system. 21. Click Done. The DT3153 Configuration dialog box is redisplayed; you can see the name of the board you just added. 22. Click Close to finish.
  • Page 124 Actual Memory Size text box when you restart your system. 14. Click Done. The DT3153 Device Driver Configuration dialog box reappears with the name of the board you just modified. 15. Click Close.
  • Page 125: Removing A Board From The Device Driver Configuration

    Click Settings. 10. Select the name of the board that you want to remove, then click Remove. 11. Repeat step 10 until all the DT3153 boards you want to remove are removed. 12. Click Close. The Drivers dialog box appears. The DT3153 Device Driver is still installed in the system, but the board has been removed.
  • Page 126: Uninstalling The Device Driver

    Generally, you will always require the DT3153 Device Driver. However, if you are no longer using the DT3153 board with the supported software, you can uninstall the DT3153 Device Driver from the system by performing the following steps: Open the Control Panel.
  • Page 127: Index

    Index color keying color overlays accessories Color SDK Extensions acquisition modes COLOR_INTERFACE_DIGITAL_IO active video area active video area, see video area COLOR_INTERFACE_DRAW_ adding boards to the driver ACQUIRED_FRAME configuration COLOR_INTERFACE_HARDWARE_ Windows 2000 SCALING Windows 98 COLOR_INTERFACE_IMAGE_ Windows Me PARAMETER Windows XP COLOR_INTERFACE_SIGNAL_ adding overlays to an image TYPE...
  • Page 128 DT Vision Foundry DT3153 Device Driver types Windows 2000 procedures width Windows 98 procedures Frame Grabber SDK Windows Me procedures full frame acquisition Windows XP procedures...
  • Page 129 Index ILUTs memory image parameters device image processing host input look-up tables memory types input scaling modifying a board in the driver initialized control values configuration input controls Windows 2000 input look-up tables Windows Me input operations Windows XP input scaling monochrome format input sources, number of monochrome storage mode...
  • Page 130 Index OLC_FG_DDI_COLOR_KEY_ OLC_FG_IC_FRAME_LEFT_LIMITS CONTROL OLC_FG_DDI_COLOR_OVERLAY OLC_FG_IC_FRAME_TOP_LIMITS OLC_FG_DDI_FAST_PASSTHRU OLC_FG_DDI_MULTIPLE_ OLC_FG_IC_FRAME_TYPE_LIMITS SURFACES OLC_FG_DDI_OVERLAY_ON_ OLC_FG_IC_FRAME_VINC_LIMITS FRAME OLC_FG_DDI_OVERLAYS OLC_FG_IC_FRAME_WIDTH_ OLC_FG_DDI_PASSTHRU_SYNC_ LIMITS EVENT OLC_FG_IC_ILUT_COUNT OLC_FG_DDI_TRANSLUCENT_ OLC_FG_IC_INPUT_SOURCE_ OVERLAYS COUNT OLC_FG_FRM_IL_FRAME_EVEN OLC_FG_IC_MAX_FRAME_SIZE OLC_FG_FRM_IL_FRAME_NEXT OLC_FG_IC_MULT_TRIGGER_ OLC_FG_FRM_IL_FRAME_ODD MODE_LIMITS OLC_FG_IC_CLOCK_FREQ_LIMITS OLC_FG_IC_MULT_TRIGGER_TYPE _LIMITS OLC_FG_IC_CLOCK_SOURCE_ OLC_FG_IC_PIXEL_DEPTH LIMITS OLC_FG_IC_SINGLE_FRAME_OPS OLC_FG_IC_CSYNC_SOURCE_ LIMITS OLC_FG_IC_TRIG_EXTERNAL_ OLC_FG_IC_DOES_DRAW_ LINE ACQUIRED_FRAME OLC_FG_IC_VIDEO_TYPE_LIMITS...
  • Page 131 Index OLC_FG_PC_DOES_PASSTHRU_ OlFgAsyncAcquireFrameToDevice SNAPSHOT OLC_FG_PC_PASSTHRU_MODE_ OlFgAsyncAcquireFrameToHost LIMITS OlFgAsyncAcquireJobDone OLC_FG_PC_PC_DOES_SCALING OlFgAsyncAcquireMultipleTo OLC_FG_PC_SCALE_HEIGHT_ Device LIMITS OlFgCancelAsyncAcquireJob OLC_FG_PC_SCALE_WIDTH_ OlFgCopyFrameRect LIMITS OlFgCreateSurface OLC_FG_SECTION_DDI OlFgDestroyFrame OLC_FG_SECTION_INPUT OlFgDestroySurface OLC_FG_SECTION_MEMORY OlFgEnableBasedSourceMode OLC_FG_SECTION_PASSTHRU OLC_FG_TRIG_EXTERNAL_LINE OlFgEnableOverlays OLC_FG_TRIGGER_TYPE_LIMITS OlFgEraseSurface OLC_FG_VID_COMPOSITE OlFgGetPassthruSyncEvent OLC_IMAGE_MONO OlFgGetSurfaceDC OLC_IMAGE_RGB OlFgIsAsyncAcquireJobDone OLC_IMAGE_YUV OlFgMapFrame OLC_IMG_DC_DEVICE_ID OlFgQueryCameraControlCaps OLC_IMG_DC_DEVICE_NAME OlFgQueryDDICaps OLC_IMG_DC_OL_SIGNATURE OlFgQueryMemoryCaps...
  • Page 132 Index OlFgStartAsyncPassthruBitmap physical specifications OlFgStartSyncPassthruBitmap pin assignments OlFgStopAsyncPassthru pixel clock OlFgUnmapFrame pixel clock query OlFgWriteContiguousPixels pixels OlFgWriteFrameRect per frame OlFgWritePixelList range between OlImgCloseDevice total per line OlImgOpenDevice power specifications OlImgQueryDeviceCaps programming flow diagrams OlImgQueryInputCaps multiple frame acquisition passthru with overlays OlImgSetTimeoutPeriod passthru without overlays single frame acquisition...
  • Page 133 Index passthru width technical support service and support procedure e-mail setting color input controls setting standard input controls telephone signal types World-Wide Web single frame acquisitions telephone support to device, asynchronous total lines per field to device, synchronous total pixels per line to host, asynchronous total video area, see video area to host, synchronous...
  • Page 134 Index video input channels World-Wide Web video input connector writing programs in Visual Basic video input signals writing programs in Visual C++ video sources video types Visual Basic programs Y/C signals Visual C++ programs YUV signal type volatile buffer handles YUV storage mode volatile memory V-saturation...
  • Page 135 CUSTOMER SERVICE POLICY charge, any defective component part of such products. a. Data Translation, Inc. will repair or replace, at its option, any faulty item within ten days after receipt EFFECTIVE PERIOD OF WARRANTY of said part regardless of its warranty status.
  • Page 137 Data Translation, Inc. (Data Translation) offers used with the Licensed Processors: support upon the following terms and conditions at prices published by Data Translation from time to (a) problem reporting, tracing and monitoring by time. Current price information is available from internet electronic mail;...
  • Page 138 Data Translation's by either party upon thirty (30) days prior written then current rates (Specialized Application Support notice to the other party.
  • Page 139 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 travel and living...

Table of Contents