Summary of Contents for Data Translation MACH Series
Page 1
UM-16481-F MACH Series DT3152-LS 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 verified to meet FCC requirements under test conditions that included use of shielded cables and connectors between system components.
Page 8
Contents Windows NT 4.0 Procedures ......Adding a Board to the Device Driver Configuration..Modifying a Board in the Device Driver Configuration .
About this Manual This manual describes the features of the DT3152-LS frame grabber board and how to use the DT3152-LS 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-LS frame grabber board to perform machine vision and/or image analysis operations.
About this Manual • Chapter “Supported Device Driver Capabilities,” describes the capabilities supported by the DT3152-LS Device Driver and the initialized control values. • Chapter “Programming Flowcharts,” describes the processes you must follow to program the DT3152-LS board using the DT-Open Layers...
• DT-Active Open Layers User’s Manual (UM-17325), available from Data Translation, describes DT-Active Open Layers, an ActiveX control, which allows you to use Data Translation PCI frame grabber boards within graphical programming environments such as Microsoft® Visual Basic® and Visual C++®.
Page 12
(800) 234-7381. Additionally, it may be helpful to read other material to gain a better understanding of image processing concepts, algorithms, and their applications. Data Translation's Technical Support Department recommends the following resources for understanding image processing concepts, processing, and coding: Baxes, Gregory A.
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 &...
Technical Support Department. 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).
Chapter 1 Features The DT3152-LS is a high-accuracy, programmable, monochrome frame grabber board for the PCI bus. It is suitable for both image analysis and machine vision applications, and is particularly useful when acquiring snapshots of moving or rotating objects, such as parts on a production line, for analysis.
Page 19
Overview • Accepts and provides separate control signals for variable-scan devices; • Accepts and provides synchronization signals for most line-scan cameras (line-sync, pixel clock, and integration output); • Provides a programmable internal pixel clock and accepts an external pixel clock input; •...
Chapter 1 Supported Software The following software is available for use with the DT3152-LS frame grabber board: • DT3152-LS 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 DT3152-LS board with any of the supported software packages or utilities.
Page 21
• 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-LS board.
Chapter 1 Accessories To connect the DT3152-LS frame grabber 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 14 BNC connectors on the other end.
Principles of Operation Video Input Signal ........Sync Signals.
Page 24
Chapter 2 The DT3152-LS is a programmable, monochrome frame grabber board for the PCI bus that can perform two-dimensional (area-scan) or one-dimensional (line-scan) acquisitions. This chapter describes the features of the DT3152-LS board from a functional point of view. To aid the discussions in this chapter, refer to the block diagram of the DT3152-LS board, shown in Figure 4 Inputs...
Principles of Operation Video Input Signal This section describes the following aspects of the video input signal: • Video signal types, • Video input channels, • Chrominance notch filter, • Black and white levels, • Pixel clock, • External trigger, and •...
Chapter 2 Video Input Channels The DT3152-LS frame grabber board supports four monochrome video inputs. The DT3152-LS 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.
Principles of Operation The clamping circuit selectively holds the blanking level portion of the video signal. Refer to page 35 for more information on clamping as it relates to the active video area. Chrominance Notch Filter While it is possible to acquire monochrome images from color signals, the color content of these signals can cause interference patterns that degrade the image.
Chapter 2 The following sections describe how to use the offset, gain, and reference settings on the DT3152-LS board to adjust the black and white levels of the video signal. Offset The offset is the voltage you apply to the minimum value (V ) of your video signal to zero it.
Principles of Operation Table 1: Gain Values If.. Use a Gain of.. + offset > 1.28 V + offset ≤ 1.28 V 0.64 V < V + offset ≤ 0.64 V 0.32 V < V + offset ≤ 0.32 V Reference The reference is the maximum voltage (after offset and gain have been applied) that you want to digitize.
Chapter 2 An Example Using 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.5 V Reference= 1 1.0 V 0.5 V Offset = 0 Gain = 1 −0.5 V...
Principles of Operation Step 1. Adjust the Offset To digitize the data below 0.0 V, shift the signal up by setting the offset to −V = −0.4 V; therefore, . In our example, V −V = 0.4 V. Since the voltage increment for offset is 8400 µ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...
Chapter 2 Note that since the image has been shifted up by 0.4032 V, a voltage level of −0.4032 V, relative to the camera's output, is now digitized as black. Step 2. Apply the Gain With an offset of 0.4032 V, the maximum point on the signal is now 1.5032 V.
Principles of Operation Step 3. Apply the Reference Using the equation reference = gain (Vmax + offset), with the offset equal to 0.4032 V, V 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 Since the voltage increment for reference is 5000 µV and you want the...
Chapter 2 2.0 V Signal with offset = 0.4032 V; reference = 1.0 V; gain = 1 1.5 V 1.0 V Reference = .75 V 0.5 V Signal with offset = 0.4032 V; −0.5 V reference = 0.75 V; gain = 0.5 Figure 6: Use of Reference, Offset, and Gain Pixel Clock The pixel clock determines the video input signal digitization rate.
Principles of Operation Note: According to sampling theory (Nyquist Theorem), specify a frequency that is at least twice as fast as the input’s highest frequency component. This prevents an error condition called aliasing, in which high frequency input components erroneously appear as lower frequencies after sampling.
Chapter 2 External Pixel Clock For area-scan operations, pin 1 (EXT_CLK) of connector J1 on the DT3152-LS 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). For line-scan operations, pin 12 (MCLK_IN−) and pin 11 (MCLK_IN+) of the J2 connector are provided for connecting the RS-422, master clock input signals from the video source.
Principles of Operation 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 the ILUT and passes the output value to the frame (region of interest).
Chapter 2 Sync Signals This section describes the following aspects of the sync signals: • Sync source, • Sync Sentinel, and • Sync Master Mode. Sync Source To digitize the incoming video signal, the DT3152-LS frame grabber board requires sync signals. Area-scan operations require both a horizontal and a vertical sync signal.
Principles of Operation For line-scan operations, signals LINE_IN− (pin 4) and LINE_IN+ (pin 3) are provided on connector J2 to accept the horizontal (line) sync signals directly from the video source. For area-scan operations, the way in which the DT3152-LS board determines the sync source depends on whether composite or variable-scan video signals are connected to the board.
Chapter 2 Variable-Scan Signals (Area-Scan Mode Only) For variable-scan video signals (area-scan operations only), the horizontal (line) and vertical (frame) syncs come directly from the video source. Two inputs are provided on connector J1 to accept separate horizontal and vertical sync signals. LINE_SYNC (pin 2) is used to indicate the start of a line.
Page 41
Principles of Operation clock.freq horiz.freq = Total number of pixels = Total number of lines horiz.freq per line per frame vert.freq Line count EXPANDED TIME SCALE LINE_SYNC FRAME_SYNC vert active Pixel Count 0 m-1 0 m-1 0 m-1 m-1 Pixel Clock ||||||||||||||||||||||||||||| horz active m-6 m-4 m-2...
Chapter 2 Sync Sentinel Note: The Sync Sentinel can be used for area-scan operations only. It cannot be used for line-scan operations. The Sync Sentinel circuitry allows you to control when sync signals occur on the DT3152-LS frame grabber board. This is especially useful for noisy input sources, such as VCRs, where the DT3152-LS board 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...
Page 43
Principles of Operation 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-LS board from searching for syncs except where they are expected.
Chapter 2 Sync Master Mode Note: Sync Master mode can be used for area-scan operations only. It cannot be used for line-scan operations. Enabling Sync Master mode automatically disables the Sync Sentinel. For more information about the Sync Sentinel, refer to page Typically, the camera generates the sync signals (composite or variable-scan) for the DT3152-LS frame grabber board, and the board...
Page 45
Principles of Operation Using software, you can specify the following: • 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,0 0 0ns for 6 0Hz image formats and 160,000 ns for 50 Hz image formats).
Page 46
Chapter 2 Mode: Noninterlaced Phase: 1% Horizontal Sync Out Vertical Sync Out odd field Mode: Noninterlaced Phase: 50% Horizontal Sync Out Vertical Sync Out even field Mode: Interlaced Phase: 1, 50% Horizontal Sync Out Vertical Sync Out 1 Even Figure 9: Sync Out Phase Adjustment...
Principles of Operation Master Clock, Integration, and Line-Sync Output Signals Note: The output signals described in this section can be used for line-scan operations only. They cannot be used for area-scan operations. For line-scan operations, the DT3152-LS frame grabber board can generate the following output signals: •...
Page 48
Chapter 2 For example, if you set the edge of the integration output pulse to low-to-high and the pixel clock value to 4095 and then set the edge of the integration output pulse to high-to-low and the pixel clock value to 5000, the integration output signal goes high at pixel count 4095 and goes low at pixel count 5000.
Page 49
Principles of Operation Note: The 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. Acquisition starts when you issue a software command.
Chapter 2 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.
Principles of Operation Table 2: Total Video Area Settings (Area-Scan Mode Only ) Nominal Setting Description Range Values Total Pixels per Line The total number of pixels in a 4 to 4096 50 Hz: 960 single horizontal line of video, pixels 60 Hz: 794 where a horizontal line is...
Chapter 2 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.
Page 53
Principles of Operation Table 3 lists the horizontal input settings you can program when performing area-scan operations. Table 4 lists the horizontal input settings you can program when performing line-scan operations. Table 3: Horizontal Input Settings in Area-Scan Mode Nominal Setting Description Range...
Page 54
Chapter 2 Table 4: Horizontal Input Settings in Line-Scan Mode Nominal Setting Description Range Values Back Porch Start Not used for line-scan operations. applicable applicable Clamp Start The position at which the 0 to 8191 clamping circuit starts holding pixels the blanking level portion of the video signal to a reference level.
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 vertical reference point, which is defined as the beginning of the vertical sync.
Chapter 2 Table 5: Vertical Input Settings (Area-Scan Mode Onl y) Nominal Setting 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.
Page 57
Principles of Operation Note: For line-scan operations, only the frame height and the frame width are significant. Table 6 shows the settings you can program on a DT3152-LS board to define the frame in area-scan mode. Table 6: Frame Settings for the DT3152-LS Board in Area-Scan Mod e Nominal Setting Description...
Page 58
Chapter 2 Table 7 shows the settings you can program on a DT3152-LS board to define the frame in line-scan mode. Table 7: Frame Settings for the DT3152-LS Board in Line-Scan Mod e Nominal Setting Description Range Values Frame Left Not used for line-scan Not applicable operations.
Page 59
Principles of Operation First Active Pixel Frame Left Total Video Area First Active Line Active Video Area Frame Total Lines Active Frame per Field Frame Line Height Count Frame Width Active Pixel Count Total Pixels per Line Figure 12: Spatial Relationship (Area-Scan Mode) Note: The frame height is specified in lines per frame, not lines per field.
Chapter 2 First Active Pixel Frame Width Digitized Frame Frame Height Active Video Area Figure 13: Spatial Relationship (Line-Scan Mode) Types of Frames For area-scan operations only, you can use software to specify the type of frames to acquire. A frame can be either interlaced or noninterlaced, as follows: •...
Principles of Operation Through software, you can select one of the following types of frame acquisitions: • Interlaced frames, starting with the next even field (the default), • Interlaced frames, starting with the next odd field;, • Interlaced frames, starting with the next field (odd or even), or •...
Chapter 2 Passthru Operations In a passthru operation, the DT3152-LS frame grabber board continuously captures image data, converts the data to a bitmap, and transfers the bitmap to the display memory of the video board. Image data in display memory is continuously overwritten. 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.
Principles of Operation Area-Scan Operations For area-scan operations, the DT3152-LS board supports 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.
Chapter 2 Line-Scan Operations For line-scan operations, the DT3152-LS board supports asynchronous, continuous-acquire passthru mode. Since it is asynchronous, the operation starts and then returns control to you immediately, allowing you to perform other operations while data is acquired and/or displayed. Using software, you can set up the continuous-acquire passthru operation so that data is continuously displayed but not stored (in this mode, the board behaves like asynchronous bitmap passthru...
Principles of Operation 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).
Chapter 2 Passthru Scaling Passthru scaling is supported for area-scan images only. 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 45), where the hardware scales the image before the image is transferred to system memory, passthru scaling is done through software after the image is transferred to system memory.
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.
Chapter 2 Acquisition Operations The DT3152-LS frame grabber board can acquire images either synchronously or asynchronously, as follows: • Synchronous acquisition − All your system resources are devoted to the acquisition. You cannot perform another operation until the synchronous acquisition completes. •...
Page 69
Principles of Operation An interrupt is generated whenever an even field, an odd field, or a noninterlaced frame is acquired; the PCI bus assigns the interrupt to the DT3152-LS board automatically when it is installed. The speed of the PCI bus allows the DT3152-LS to transfer an unlimited number of consecutive frames across the bus in real time.
Chapter 2 Digital I/O Signals For line-scan operations, the DT3152-LS frame grabber board provides four digital input lines and four digital output lines. For area-scan operations, the DT3152-LS frame grabber board provides four digital output lines only. Pins 14 to 11 on connector J1 provide digital outputs 0 to 3. Pins 10 and 9 on connector J1 connector provide digital inputs 0 and 1.
Chapter 3 DT3152-LS Device Driver Capabilities Because the Frame Grabber SDK is intended to be used with all DT-Open Layers frame grabber boards, the DT3152-LS board may not support all 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-LS frame grabber board, you can use the query functions provided by the standard Frame Grabber SDK functions, DT3152...
Page 74
Chapter 3 Table 8: General Device Capabilities - Area-Scan Mod e Capability DT3152-LS Support OlImgQueryDeviceCaps Device Signature OLC_IMG_DC_OL_SIGNATURE Ox44544F4C Device ID OLC_IMG_DC_DEVICE_ID 0x2E Device Name OLC_IMG_DC_DEVICE_NAME “DT3152LS” 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 OLC_IMG_DC_SECTIONS Supports Input Operations OLC_FG_SECTION_INPUT...
Page 75
Supported Device Driver Capabilities Table 9: Input Signal Capabilities - Area-Scan Mod e Capability DT3152-LS Support OlFgQueryInputCaps Number of Input Sources OLC_FG_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 AC Coupled, 50 Hz Input Filter OLC_FG_FILT_AC_50...
Page 76
Chapter 3 Table 9: Input Signal Capabilities - Area-Scan Mode (cont.) Capability DT3152-LS Support Supports Programmable Pixel Clock OLC_FG_IC_DOES_PIXEL_CLOCK Supports Pixel Clock Query OLC_FG_IC_DOES_QUERY_PIXEL_CLOCK 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...
Page 77
Supported Device Driver Capabilities Table 9: Input Signal Capabilities - Area-Scan Mode (cont.) Capability DT3152-LS Support Maximum Index Number Allowed in ILUT OLC_FG_IC_MAX_ILUT_INDEX Maximum Value Allowed in ILUT OLC_FG_IC_MAX_ILUT_VALUE 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:...
Page 78
Chapter 3 Table 10: Sync Signal Capabilities - Area-Scan Mod e Capability DT3152-LS Support OlFgQueryInputCaps Supports Input Video Selection OLC_FG_IC_DOES_VIDEO_SELECT Supports Input Video Selection Query OLC_FG_IC_DOES_QUERY_VIDEO_SELECT Video Types OLC_FG_IC_VIDEO_TYPE_LIMITS Supports Composite Video Source OLC_FG_VID_COMPOSITE Supports Variable Scan Video Source OLC_FG_VID_VARSCAN Video Sources OLC_FG_IC_CSYNC_SOURCE_LIMITS Composite Sync from Current Input Only...
Page 80
Chapter 3 Table 11: Active Video Area Capabilities - Area-Scan Mod e Capability DT3152-LS 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 min: 0 max: 4095 nominal: 50 Hz: 80 60 Hz: 60...
Page 81
Supported Device Driver Capabilities Table 11: Active Video Area Capabilities - Area-Scan Mode (cont.) Capability DT3152-LS Support Range of First Active Pixel Position OLC_FG_IC_ACTIVE_PIXEL_LIMITS min: 0 max: 4095 nominal: 50 Hz: 160 60 Hz: 125 granularity: 1 Range of Active Pixels Count OLC_FG_IC_ACTIVE_WIDTH_LIMITS min: 4 max: 4096...
Page 82
Chapter 3 Table 12: Frame Capabilities - Area-Scan Mode Capability DT3152-LS 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: 4095 nominal: 0 granularity: 1 Range of Frame Left Control OLC_FG_IC_FRAME_LEFT_LIMITS min: 0 max: 4095...
Page 83
Supported Device Driver Capabilities Table 12: Frame Capabilities - Area-Scan Mode (cont.) Capability DT3152-LS 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 Acquire Interlaced Frame Starting on Odd Field OLC_FG_FRM_IL_FRAME_ODD...
Page 84
Chapter 3 Table 13: Passthru Capabilities - Area-Scan Mode Capability DT3152-LS 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 Source Origin OLC_FG_PC_DOES_SOURCE_ORIGIN Available Range For the X Value of the Source Origin OLC_FG_PC_SRC_ORIGIN_X_LIMITS min: 0 max: 4095...
Page 85
Supported Device Driver Capabilities Table 13: Passthru Capabilities - Area-Scan Mode (cont.) Capability DT3152-LS Support Scaling OLC_FG_PC_DOES_SCALING Range of Legal 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...
Page 86
Chapter 3 Table 14: Overlay Capabilities - Area-Scan Mod e Capability DT3152-LS 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) OLC_FG_DDI_COLOR_KEY_CONTROL Add overlay to image OLC_FG_DDI_OVERLAY_ON_FRAME User-managed DDI surface support OLC_FG_DDI_USER_SURFACE_PTR...
Page 87
Supported Device Driver Capabilities Table 15: Memory Capabilities - Area-Scan Mod e Capability DT3152-LS 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 frame Number of Nonvolatile Buffer Handles OLC_FG_MC_NONVOL_COUNT Table 16: Acquisition Capabilities - Area-Scan Mod e...
Page 90
Chapter 3 Table 18: General Device Capabilities - Line-Scan Mode Capability DT3152-LS Support OlImgQueryDeviceCaps Device Signature OLC_IMG_DC_OL_SIGNATURE Ox44544F4C Device ID OLC_IMG_DC_DEVICE_ID 0x2E Device Name OLC_IMG_DC_DEVICE_NAME “DT3152LS” 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 OLC_IMG_DC_SECTIONS Supports Input Operations OLC_FG_SECTION_INPUT Supports Linear Memory Operations...
Page 91
Supported Device Driver Capabilities Table 19: Input Signal Capabilities - Line-Scan Mode Capability DT3152-LS Support OlFgQueryInputCaps Number of Input Sources OLC_FG_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 AC Coupled, 50 Hz Input Filter OLC_FG_FILT_AC_50 AC Coupled, 60 Hz Input Filter...
Page 92
Chapter 3 Table 19: Input Signal Capabilities - Line-Scan Mode (cont.) Capability DT3152-LS Support Supports Pixel Clock Query OLC_FG_IC_DOES_QUERY_PIXEL_CLOCK Range of Internal Input Clock Frequency, in Hz OLC_FG_IC_CLOCK_FREQ_LIMITS min: 1000 max: 20,000,000 nominal: 1,000,000 Clock Sources OLC_FG_IC_CLOCK_SOURCE_LIMITS Supports Internal Clock OLC_FG_CLOCK_INTERNAL Supports External Clock OLC_FG_CLOCK_EXTERNAL...
Page 93
Supported Device Driver Capabilities Table 19: Input Signal Capabilities - Line-Scan Mode (cont.) Capability DT3152-LS Support 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: 100 Reference, µV DT3152_INPUT_CTL_REFERENCE min: 0...
Page 94
Chapter 3 Table 20: Sync Capabilities - Line-Scan Mo d e Capability DT3152-LS Support OlFgQueryInputCaps Supports Input Video Selection OLC_FG_IC_DOES_VIDEO_SELECT Supports Input Video Selection Query OLC_FG_IC_DOES_QUERY_VIDEO_SELECT Video Types OLC_FG_IC_VIDEO_TYPE_LIMITS Supports Composite Video Source OLC_FG_VID_COMPOSITE Supports Variable Scan Video Source OLC_FG_VID_VARSCAN Video Sources OLC_FG_IC_CSYNC_SOURCE_LIMITS Composite Sync from Current Input...
Page 95
Supported Device Driver Capabilities Table 21: Output Signal Capabilities - Line-Scan Mod e Capability DT3152-LS Support OlFgSetLsDriveClkDiv Master Clock Divider Value to 2 OlFgSetLsLineDrive Active Edge (Line-Sync Output Pulse) LS_SYNC_LO_TO_HI or LS_SYNC_HI_TO_LO Maximum Number of Pixel Clock Pulses for Each Edge 8,191 OlFgSetLsIntegration Active Edge (Line-Sync Output Pulse)
Page 96
Chapter 3 Table 22: Active Video Area Capabilities - Line-Scan Mode (cont.) Capability DT3152-LS Support Range of Clamp End Position OLC_FG_IC_CLAMP_END_LIMITS min: 0 max: 8191 nominal: 95 granularity: 1 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: 0 max: 8191...
Page 97
Supported Device Driver Capabilities Table 23: Frame Capabilities - Line-Scan Mod e Capability DT3152-LS 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 Range of Frame Left Control OLC_FG_IC_FRAME_LEFT_LIMITS Range of Frame Height Control OLC_FG_IC_FRAME_HEIGHT_LIMITS min: 1 max: depends on...
Page 98
Chapter 3 Table 23: Frame Capabilities - Line-Scan Mode (cont.) Capability DT3152-LS Support Frame Types OLC_FG_IC_FRAME_TYPE_LIMITS Acquire Interlaced Frame Starting on Even Field OLC_FG_FRM_IL_FRAME_EVEN Acquire Interlaced Frame Starting on Odd Field OLC_FG_FRM_IL_FRAME_ODD Acquire Interlaced Frame Starting on Next Field OLC_FG_FRM_IL_FRAME_NEXT Acquire the Even Field OLC_FG_FRM_FIELD_EVEN Acquire the Odd Field...
Page 99
Supported Device Driver Capabilities Table 24: Passthru Capabilities - Line-Scan Mod e Capability DT3152-LS 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 Source Origin OLC_FG_PC_DOES_SOURCE_ORIGIN Available Range For the X Value of the Source Origin OLC_FG_PC_SRC_ORIGIN_X_LIMITS...
Page 100
Chapter 3 Table 24: Passthru Capabilities - Line-Scan Mode (cont.) Capability DT3152-LS Support Passthru LUT OLC_FG_PC_DOES_PASSTHRU_LUT Number of Extra Palette Entries OLC_FG_PC_MAX_PALETTE_INDEX Maximum 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 Passthru Snapshot OLC_FG_PC_DOES_PASSTHRU_SNAPSHOT...
Page 101
Supported Device Driver Capabilities Table 25: Overlay Capabilities - Line-Scan Mode (cont.) Capability DT3152-LS Support Add overlay to image OLC_FG_DDI_OVERLAY_ON_FRAME User-managed DDI surface support OLC_FG_DDI_USER_SURFACE_PTR Passthru event synchronization support OLC_FG_DDI_PASSTHRU_SYNC_EVENT Table 26: Memory Capabilities - Line-Scan Mod e Capability DT3152-LS Support OlFgQueryMemoryCaps Memory Types OLC_FG_MC_MEMORY_TYPES...
Page 102
Chapter 3 Table 27: Acquisition Capabilities - Line-Scan Mod e Capability DT3152-LS Support OlFgQueryInputCaps Acquisition Types OLC_FG_IC_SINGLE_FRAME_OPS -Single Frame to Host (sync) Supports Full Frame Acquisition OLC_FG_ACQ_FRAME Supports Subframe Acquisition OLC_FG_ACQ_SUBFRAME Supports Frame-to-Fit Acquisition OLC_FG_ACQ_FRAME_TO_FIT - Single Frame to Device (sync) Supports Full Frame Acquisition OLC_FG_ACQ_FRAME Supports Subframe Acquisition...
Page 103
Supported Device Driver Capabilities Table 27: Acquisition Capabilities - Line-Scan Mode (cont.) Capability DT3152-LS Support OLC_FG_IC_MULT_FRAME_OPS -Multiple Frames to Host (sync) Supports Full Frame Acquisition OLC_FG_ACQ_FRAME Supports Subframe Acquisition OLC_FG_ACQ_SUBFRAME Supports Frame-to-Fit Acquisition OLC_FG_ACQ_FRAME_TO_FIT -Multiple Frames to Device (sync) Supports Full Frame Acquisition OLC_FG_ACQ_FRAME Supports Subframe Acquisition OLC_FG_ACQ_SUBFRAME...
Page 104
Chapter 3 Table 28: Digital I/O Capabilities - Line-Scan Mod e Capability DT3152-LS Support OlFgQueryCameraControlCaps Number of Digital Output Lines OLC_FG_CC_DIG_OUT_COUNT OlFgGetLsDigIo Value (digital inputs and digital outputs) 0 to 255 OlFgSetLsDigIo Value (digital output) 0 to 15 a. Write to these output lines using OlFgSetLsDigIo. b.
Supported Device Driver Capabilities Initialized Control Values The following tables list the default control values after opening or initializing the DT3152-LS device driver. For area-scan mode, refer to Table 29. For line-scan mode, refer to Table Table 29: Default Control Values for Area-Scan Mod e Control Name Value OLC_FG_CTL_INPUT_FILTER...
Page 106
Chapter 3 Table 29: Default Control Values for Area-Scan Mode (cont.) Control Name Value OLC_FG_CTL_ACTIVE_LINE_COUNT 50 Hz: 288 lines 60 Hz: 240 lines 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 OLC_FG_CTL_FRAME_LEFT OLC_FG_CTL_FRAME_WIDTH 50 Hz: 768 60 Hz: 640 OLC_FG_CTL_FRAME_HEIGHT...
Page 110
Chapter 4 This chapter provides a series of flowcharts that show the steps required to perform imaging operations using DT-Open Layers. For illustration purposes, the functions in the Frame Grabber SDK, DT3152 SDK Extensions, and Line-Scan SDK Extensions are shown; however, the concepts apply to all DT-Open Layers software.
Programming Flowcharts Single, Area-Scan Acquisition Open the device and get the device ID with OlImgOpenDevice. Disable line-scan mode, if necessary, with Set line-scan mode to FALSE. OlFgEnableLsMode. Set the timeout period with OlImgSetTimeoutPeriod. Select input channel 0 to 3 (corresponding to Choose an input source with VID0 to VID3).
Page 112
Chapter 4 Single, Area-Scan Acquisition (cont.) Continued from previous page. Create a frame buffer with OlFgAllocateBuiltInFrame. Acquire to Perform an Allocate a user buffer with host asynchronous GlobalAlloc() using the GPTR flag. memory? acquire? Acquire the frame to host memory with OlFgAsyncAcquireFrameToHost.
Page 113
Programming Flowcharts Single, Area-Scan Acquisition (cont.) Continued from previous page. Perform a Acquire to Allocate user buffer with GlobalAlloc() synchronous host using the GPTR flag. acquire? memory? Acquire the frame with OlFgAcquireFrameToHost. Acquire the frame to device memory with OlFgAcquireFrameToDevice. Process the acquired image (see page...
Chapter 4 Multiple, Area-Scan Acquisition Open the device and get the device ID with OlImgOpenDevice. Disable line-scan mode, if necessary, with Set line-scan mode to FALSE. OlFgEnableLsMode. Set the timeout period with OlImgSetTimeoutPeriod. Select input channel 0 to 3 (corresponding to Choose an input source with VID0 to VID3).
Page 115
Programming Flowcharts Multiple, Area-Scan Acquisition (cont.) Continued from previous page. Create frame buffers with OlFgAllocateBuiltInFrame. Perform an Acquire the frames to device memory with asynchronous OlFgAsyncAcquireMultipleToDevice. acquire? Check the status of the operation with OlFgAsyncAcquireJobDone. Acquire the frame synchronously to device memory with OlFgAcquireMultipleToDevice.
Page 116
Chapter 4 Multiple, Area-Scan Acquisition (cont.) Continued from previous page. Write to the digital output lines with OlFgSetDigitalOutputMask. Release each frame buffer with OlFgDestroyFrame. Close the device using OlImgCloseDevice.
Programming Flowcharts Line-Scan Acquisition Open the device and get the device ID with OlImgOpenDevice. Enable line-scan mode with Set line-scan mode to TRUE. OlFgEnableLsMode. Set the timeout period with OlImgSetTimeoutPeriod. Choose an input source with Select input channel 0 to 3 (corresponding to OlFgSetInputVideoSource.
Page 118
Chapter 4 Line-Scan Acquisition (cont.) Continued from previous page. Check the status of the operation with OlFgIsAcquireLinesDone. Job done? Draw contents of user buffer to window with OlFgDrawAcquiredLines. Read the digital input lines with OlFgGetLsDigIo. Write to the digital output lines with OlFgSetLsDigIo.
Programming Flowcharts Area-Scan Passthru without Overlays Open the device and get the device ID with OlImgOpenDevice. Disable line-scan mode, if necessary, with Set line-scan mode to FALSE. OlFgEnableLsMode. Set the timeout period with OlImgSetTimeoutPeriod. Select input channel 0 to 3 (corresponding to Choose an input source with VID0 to VID3).
Page 120
Chapter 4 Area-Scan Passthru without Overlays (cont.) Continued from previous page. Start the passthru operation (see page 121). Change the passthru LUT (see page 122). Acquire a single image for processing (see page 123). Stop asynchronous passthru with OlFgStopAsyncPassthru; stop synchronous passthru with a mouse or keyboard event.
Programming Flowcharts Area-Scan Passthru with Overlays Open the device and get the device ID with OlImgOpenDevice. Disable line-scan mode, if necessary, with Set line-scan mode to FALSE. OlFgEnableLsMode. Set the timeout period with OlImgSetTimeoutPeriod. Select input channel 0 to 3 (corresponding to Choose an input source with VID0 to VID3).
Page 122
Chapter 4 Area-Scan Passthru with Overlays (cont.) Continued from previous page. Scale passthru image with OlFgSetPassthruScaling. Create a surface for each overlay with OlFgCreateSurface. Get a surface DC with OlFgGetSurfaceDC. Draw an image on the surface with standard GDI functions. Change Erase the contents of a surface contents of a...
Page 123
Programming Flowcharts Area-Scan Passthru with Overlays (cont.) Continued from previous page. Enable overlay before Set up and enable overlays passthru (see page 124). starts? Start a passthru operation (see page 121). Start a passthru operation (see page 121). Set up and enable overlays (see page 124).
Page 124
Chapter 4 Area-Scan 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. Destroy all the surfaces with OlFgDestroySurface. Write to the digital output lines with OlFgSetDigitalOutputMask.
Page 125
Programming Flowcharts Line-Scan (Continuous-Acquire) Passthru Open the device and get the device ID with OlImgOpenDevice. Enable line-scan mode with Set line-scan mode to TRUE. OlFgEnableLsMode. Set the timeout period with OlImgSetTimeoutPeriod. Select input channel 0 to 3 (corresponding to Choose an input source with VID0 to VID3).
Page 126
Chapter 4 Line-Scan (Continuous-Acquire) Passthru (cont.) Continued from previous page. Allocate user buffers, a list of pointers to the user buffers, and a list of buffer-done flags with GlobalAlloc(), using the GPTR flag. Start the line-scan passthru with OlFgStartAsyncLsPassthru. Change the passthru LUT (see page 122).
Page 127
Programming Flowcharts Set the Standard Controls for the Input Source Use the key OLC_FG_CTL_INPUT_FILTER. The Set the hardware filter with default is AC none. OlFgSetInputControlValue. For area-scan mode, use the key OLC_FG_CTL_VIDEO_TYPE to select a composite Set the video type with or variable-scan video input;...
Page 128
Chapter 4 Set the Standard Controls for the Input Source (cont). Continued from previous page. Using Enable/disable Sync Sentinel with Sync OlFgSetInputControlValue. Sentinel? For area-scan mode only, use the key OLC_FG_CTL_SYNC_SENTINEL. The default is enabled (True). Sync Sentinel is not used in line-scan mode.
Page 129
Programming Flowcharts Set the Standard Controls for the Input Source (cont). Continued from previous page. For area-scan mode only, use the key OLC_FG_CTL_BACK_PORCH_START to set the back Set the back porch start with porch start position in the horizontal signal. The default OlFgSetInputControlValue.
Page 130
Chapter 4 Set the Standard Controls for the Input Source (cont). Continued from previous page. For area-scan mode only, use the key Set the first active line with OLC_FG_CTL_FIRST_ACTIVE_LINE to set the active OlFgSetInputControlValue. video signal within the field as a line offset from the beginning of the vertical sync.
Page 131
Programming Flowcharts Set the Standard Controls for the Input Source (cont). Continued from previous page. For area-scan mode only, use the key OLC_FG_CTL_FRAME_TOP to set the first line of video, relative to the active video area, to digitize. The Set the top of the frame with default is 0.
Page 132
Chapter 4 Set the Standard Controls for the Input Source (cont). Continued from previous page. For area-scan mode only, use the key OLC_FG_CTL_HOR_FRAME_INC to set the Set the horizontal frame increment horizontal scale factor. The default is 1. This is not with OlFgSetInputControlValue.
Page 133
Programming Flowcharts Set the DT3152-LS Specific Controls for the Input Source Using area-scan mode? Set the horizontal frequency (fro m 1Hz Using to 2 MHz); the vertical frequency (from Sync Master 1 Hz to 20 0kHz); the width of the mode? horizontal sync pulses (from 250 ns to 950,000,000 ns;...
Page 134
Chapter 4 Process the Acquired Area-Scan Image Read From/to Copy pixel data to a frame data from a rectangle in buffer with frame buffer? frame buffer? OlFgCopyFrameRect. From a Copy pixel data contiguously rectangle to a to a user buffer with user buffer? OlFgReadFrameRect.
Page 135
Programming Flowcharts Process the Acquired Area-Scan Image (cont.) Continued from previous page. Write From/to data to a rectangle in Copy pixel data to a frame buffer frame buffer? frame buffer? with OlFgCopyFrameRect. From a Write pixel data from a user buffer user buffer to to a rectangle in frame buffer with a rectangle?
Page 136
Chapter 4 Process the Acquired Area-Scan Image (cont.) Continued from previous page. Map the frame to application’s virtual image to address space with OlFgMapFrame application (area-scan mode only). memory? Manipulate/process image using your own functions. Unmap the frame buffer to application’s virtual address space with OlFgUnmapFrame.
Page 137
Programming Flowcharts Start the Passthru Operation in Area-Scan Mode Create a frame buffer with OlFgAllocateBuiltInFrame. Perform Start the passthru with an asynchronous OlFgStartAsyncPassthruBitmap. passthru? Start the passthru with OlFgStartSyncPassthruBitmap.
Page 138
Chapter 4 Change the Passthru LUT in Area-Scan Mode Load monochrome Load default grayscale values with values in OlFgLoadDefaultPassthruLUT. passthru LUT? Load Load RGBTRIPLE values with color values OlFgLoadPassthruLUT. in passthru LUT? Extend Add colors to palette with passthru OlFgExtendPassthruPalette. palette?
Page 139
Programming Flowcharts Take a Snapshot in Area-Scan Mode Acquire the image with OlFgPassthruSnapShot. Add overlay Add overlay to the snapshot with OlFgAddOverlayToFrame. snapshot? Process the acquired image (see page 118).
Page 140
Chapter 4 Set up and Enable Overlays in Area-Scan Mode 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 141
Programming Flowcharts Execute an Overlay Animation Sequence In Area-Scan Mode 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.
Chapter 5 General Checklist Should you experience problems using the DT3152-LS frame grabber 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. Check the Imaging OMNI CD for any README files and ensure that you have used the latest installation and configuration information available.
Page 145
If you still have an interrupt conflict, try removing the network device, installing the DT3152-LS board and rebooting the system, then reinserting the network device. The board is Contact Data Translation for technical damaged. support; refer to page 132.
Page 146
Chapter 5 Table 31: Troubleshooting Problems (cont.) Symptom Possible Cause Possible Solution Intermittent Loose connections or Check your wiring and tighten any loose operation. vibrations exist. connections or cushion vibration sources; see the instructions in the DT3152-LS Getting Started Manual. Electrical noise exists.
Page 147
Troubleshooting Table 31: Troubleshooting Problems (cont.) Symptom Possible Cause Possible Solution System lockup. Board is not seated Check that the slot in which your properly. DT3152-LS 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;...
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 149
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 150
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:__________________________...
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, −...
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 154
Appendix A The input impedance for the video input signal is 75 Ω. Table 32 lists the digital input electrical specifications for the DT3152-LS frame grabber board. Table 32: Digital Input Electrical Specifications Minimum Maximum Feature Specification Specification Input High Level (V 2.0 V 9.0 V −0.3 V...
Page 155
Specifications Table 34 lists the power specifications for the DT3152-LS board. Table 34: Power Specifications Feature Specification +5 V +12 V 100 mA −12 V 100 mA Table 35 lists the physical and environmental specifications for the DT3152-LS board. Table 35: Physical and Environmental Specifications Feature Specification Dimensions...
Appendix B Connector J1 Pin Assignments Connector J1 is a 15-pin, male, D-shell connector that accepts the video input signals through the EP306 cable or a user-designed cable. Figure 15 illustrates the pin locations for connector J1. VID0 VID1 D_OUT0 VID2 D_OUT1 VID3...
Appendix B Connector J2 Pin Assignments Connector J2 is a 15-pin, male, D-shell connector that provides the signals required by many line-scan cameras through the EP306 cable. Figure 16 illustrates the pin locations for connector J2. INTEGRATE − INTEGRATE + FRAME_CLK LINE_OUT −...
Page 161
Connector Pin Assignments Table 37: J2 Signal Pin Assignment s J2 Pin EP306 BNC Connector Signal Name MCLK_OUT+ MCLK_OUT− LINE_IN+ LINE_IN− LINE_OUT+ LINE_OUT− INTEGRATE+ INTEGRATE− D_IN3 D_IN2 MCLK_IN+ MCLK_IN− LINE_CLK FRAME_CLK...
Control Devices. In Windows 98 or Windows Me, click the Devices tab, then double-click Media Control Devices. Double-click DT3152-LS MACH Series Frame Grabber. The DT3152-LS Device Driver Properties dialog box appears. Click Use this Media Control device, then click Settings.
Page 165
Modifying the Device Driver 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-LS board is allowed. The DT3152-LS Configuration dialog box appears.
Page 166
12. 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. 13. Click OK to close the DT3152-LS MACH Series Frame Grabber Properties dialog box, then click OK to close the Multimedia Properties dialog box.
Control Devices. In Windows 98 or Windows Me, click the Devices tab, then double-click Media Control Devices. Double-click DT3152-LS Mach Series Frame Grabber. The DT3152-LS Device Driver Properties dialog box appears. Click Use this Media Control device, then click Settings.
Page 168
11. If you made any changes to the default settings, click OK to confirm that you need to restart Windows before the changes take effect. 12. Click OK to close the DT3152-LS MACH Series Frame Grabber Properties dialog box, then click OK to close the Multimedia Properties dialog box.
Click the Device Manager tab, click View devices by type, then double-click Sound, video and game controllers. A list of sound, video, and game controller hardware is displayed. Click DT3152-LS MACH Series Frame Grabber, then click Remove. The Confirm Device Removal dialog box appears.
Page 170
Appendix C Click Next. d. Click Specify a location, then ensure that the rest of the selections are unchecked. Insert the updated Imaging OMNI CD into the CD-ROM drive. Click Browse, browse to x:\DRIVERS\DT3152LS\WIN98 where x is the letter of your CD-ROM drive), then click OK. g.
To remove another board, repeat steps 5 to 6; otherwise, click Close and continue with step 8. Click OK to close the DT3152-LS MACH Series Frame Grabber Properties dialog box, then click OK to close the Multimedia Properties dialog box.
Control Devices. In Windows 98 or Windows Me, click the Devices tab, then double-click Media Control Devices. Double-click DT3152-LS MACH Series Frame Grabber. The DT3152-LS MACH Series Frame Grabber Properties dialog box appears. Click Remove. The Remove Confirmation dialog box appears.
Page 173
The Control Panel is displayed. Double-click System, then click the Device Manager tab. 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. Click OK to confirm removal.
From the My Computer icon, double-click Control Panel. Double-click Multimedia. Click Devices. Double-click Other Multimedia Devices. Click DT-Open Layers DT3152-LS MACH Series Frame Grabber. Click Properties, click Use this device, then click Settings. The DT3152-LS Configuration dialog box appears. Click Add New.
Page 175
Modifying the Device Driver To configure the board for area-scan (two-dimensional) operations, perform the following steps: On the General tab of the DT3152LS Configuration dialog box, click Enable 2 Dimensional Mode. b. Click the 2 Dimension tab of the DT3152LS Configuration dialog box.
Double-click the Multimedia icon. Click Devices. Click Other Multimedia Devices. Click DT-Open Layers DT3152-LS Mach Series Frame Grabber. Click Properties, click Use this device, then click Settings. The DT3152-LS Device Driver Configuration dialog box appears. Select the name of the board for which you want to modify the settings, then click Modify.
Page 177
Modifying the Device Driver 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 memory (in MB) that you want to allocate in your system to hold the acquired frames.
Double-click the Multimedia icon. Click Devices. Double-click Other Multimedia Devices. Click DT-Open Layers DT3152-LS Mach Series Frame Grabber. Click Properties, click Use this Device, then click Settings. The DT3152-LS Configuration dialog box appears. Select the name of the board that you want to remove, then click Remove.
From the My Computer icon, double-click the Control Panel. Double-click the Multimedia icon. Click Devices. Double-click Other Multimedia Devices. Click DT-Open Layers DT3152-LS Mach Series Frame Grabber. Click Remove. Click Yes to confirm that you want to uninstall the driver from your system.
To add a board to the DT3152-LS Device Driver configuration, perform the following steps: From the My Computer icon, double-click Control Panel. Double-click Sounds and Multimedia. Click Hardware. Double-click DT-Open Layers DT3152-LS MACH Series Frame Grabber. Click Properties. Double-click Multimedia Drivers. Click Driver, then click Properties.
Page 181
Modifying the Device Driver b. Click the 2 Dimension tab of the DT3152LS Configuration dialog box. 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 memory (in MB) that you want to allocate in your system to hold the acquired frames.
To modify the board settings in the DT3152-LS Device Driver configuration, perform the following steps: From the My Computer icon, double-click Control Panel. Double-click Sounds and Multimedia. Click Hardware. Double-click DT-Open Layers DT3152-LS MACH Series Frame Grabber. Click Properties. Double-click Multimedia Drivers. Click Driver, then click Properties.
Page 183
Modifying the Device Driver d. For Memory Size, select the amount of 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 upper limit depends on your system’s resources.
Page 184
To remove a board from the DT3152-LS Device Driver configuration, perform the following steps: From the My Computer icon, double-click Control Panel. Double-click Sounds and Multimedia. Click Hardware. Double-click DT-Open Layers DT3152-LS MACH Series Frame Grabber. Click Properties. Double-click Multimedia Drivers. Click Driver, then click Properties.
From the My Computer icon, double-click Control Panel. Double-click Sounds and Multimedia. Click Hardware. Double-click DT-Open Layers DT3152-LS MACH Series Frame Grabber. Click Properties. Double-click Multimedia Drivers. Click Driver, then click Uninstall.
To add a board to the DT3152-LS Device Driver configuration, perform the following steps: From the My Computer icon, double-click Control Panel. Double-click Sounds and Audio Devices. Click Hardware. Double-click DT-Open Layers DT3152-LS MACH Series Frame Grabber. Click Properties. Double-click Multimedia Drivers. Click Driver, then click Properties.
Page 187
Modifying the Device Driver b. Click the 2 Dimension tab of the DT3152LS Configuration dialog box. 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 memory (in MB) that you want to allocate in your system to hold the acquired frames.
To modify the board settings in the DT3152-LS Device Driver configuration, perform the following steps: From the My Computer icon, double-click Control Panel. Double-click Sounds and Audio Devices. Click Hardware. Double-click DT-Open Layers DT3152-LS MACH Series Frame Grabber. Click Properties. Double-click Multimedia Drivers. Click Driver, then click Properties.
Page 189
Modifying the Device Driver d. For Memory Size, select the amount of 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 upper limit depends on your system’s resources.
To remove a board from the DT3152-LS Device Driver configuration, perform the following steps: From the My Computer icon, double-click Control Panel. Double-click Sounds and Audio Devices. Click Hardware. Double-click DT-Open Layers DT3152-LS MACH Series Frame Grabber. Click Properties. Double-click Multimedia Drivers. Click Driver, then click Properties.
DT3152-LS Device Driver from the system by performing the following steps: From the My Computer icon, double-click Control Panel. Double-click Sounds and Audio Devices. Click Hardware. Double-click DT-Open Layers DT3152-LS MACH Series Frame Grabber. Click Driver. Click Uninstall. Click OK.
Page 194
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 The DT3152-LS 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: •...
Page 195
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 18 illustrates single-frame output.
Index black levels blanking A/D offset blanking information A/D reference block diagram accessories bytes per pixel AC-coupled signals acquisition active area active area query cables active line count camera control operations active pixel count capabilities active video area CCIR adding boards to the driver channels configuration chrominance filter, see input filter...
Page 198
Index controls DT3152_SYNC_CTL_PHASE initialized values DT3152_SYNC_CTL_VERT_FREQ setting DT3152-LS specific input DT3152_SYNC_CTL_VPULSE_ source WIDTH setting for the input source Dt3152EnableSyncMasterMode Sync Master DT3152-LS Device Driver conventions used Windows 2000 procedures customer service Windows 95 procedures Windows 98 procedures Windows Me procedures Windows NT 4.0 procedures DC-coupled signals Windows XP procedures...
Page 199
Index first active pixel image processing format of video ILUT frame increment between lines first line (top) increment between pixels first pixel (left) initialized control values height input channels select query input controls selection input filter types input filter query width input look-up table Frame Grabber SDK...
Page 200
Index look-up table number of input bytes per pixel passthru digital input lines LS-Acquire digital output lines extra palette entries ILUT entries ILUTs memory indexes in ILUT device indexes in passthru LUT host input sources types pixels per frame volatile RGB values in passthru LUT modifying a board in the driver volatile buffer handles...
Page 205
Index OlFgWritePixelList modifying value OlImgCloseDevice total number per line total per line OlImgOpenDevice pixel clock external OlImgQueryDeviceCaps internal OlImgSetTimeoutPeriod query power specifications origin, source programmable A/D overlays programmable A/D query programming flowcharts area-scan passthru with overlays area-scan passthru without overlays passthru area-scan, multiple-frame acquisition area-scan with overlays...
Page 206
Index sync insert position RS-170 horizontal vertical Sync Master mode horizontal frequency scaling horizontal sync pulse width input phase passthru vertical frequency service and support procedure vertical sync pulse width setting the input controls sync out phase adjustment signal type, see video signal type sync search position single-frame acquisition horizontal...
Page 207
Index translucent overlays video area triggering each frame acquire active triggers frame external total multiple-frame modes video input channels multiple-frame types video input connector types video input signals troubleshooting horizontal procedure vertical service and support procedure video signal type table composite variable-scan video sources...
Page 208
Index Windows 98 adding boards to the driver x-coordinate, see source origin configuration modifying boards in the driver configuration removing boards from the driver y-coordinate, see source origin configuration uninstalling the device driver updating the device driver Windows Me adding boards to the driver configuration modifying boards in the driver configuration...
Page 209
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 211
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 212
Data Translation's by either party upon thirty (30) days prior written then current rates (Specialized Application Support notice to the other party.
Page 213
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...