FCC Compliance: EDT devices described herein are in compliance with part 15 of the FCC Rules. Operation is subject to two
conditions: (1) The device may not cause harmful interference, and (2) the device must accept any interference received,
including interference that may cause undesired operation.
This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to part 15 of FCC Rules.
These limits are designed to provide reasonable protection against harmful interference in a commercial environment. This
equipment generates, uses, and can radiate radio frequency energy and, if not installed and used as described in the user’s
guide, may cause harmful interference to radio communications. Operating this equipment in a residential area is likely to cause
harmful interference, in which case the user will be required to correct the interference at his or her own expense.
Caution: Changes or modifications not expressly approved by Engineering Design Team, Inc. could void your warranty to
operate this equipment.
EDT, Inc.ii
Terms of Use Agreement
Definitions. This agreement, between Engineering Design Team, Inc. (“Seller”) and the user or distributor (“Buyer”), covers the
use and distribution of the following items provided by Seller: a) the binary and all provided source code fo r any and all device
drivers, software libraries, utilities, and example applications (collectively, “Software”); b) the binary and all provided source code
for any and all configurable or programmable devices (collectively, “Firmware”); and c) the computer boards and all other physical
components (collectively, “Hardware”). Software, Firmware, and Hardware are collectively referred to as “Products.” This
agreement also covers Seller’s published Limited Warranty (“Warranty”) and all other published manuals and product information
in physical, electronic, or any other form (“Documentation”).
License. Seller grants Buyer the right to use or distribute Seller’s Software and Firmware Products solely to enable Seller’s
Hardware Products. Seller’s Software and Firmware must be used on the same computer as Seller’s Hardware. Seller’s Products
and Documentation are furnished under, and may be used only in accordance with, the terms of this agreement. By using or
distributing Seller’s Products and Documentation, Buyer agrees to the terms of this agreement, as well as any additional
agreements (such as a nondisclosure agreement) between Buyer and Seller.
Export Restrictions. Buyer will not permit Seller’s Software, Firmware, or Hardware to be sent to, or used in, any other country
except in compliance with applicable U.S. laws and regulations. For clarification or advice on such laws and regulations, Buyer
should contact: U.S. Department of Commerce, Export Division, Washington, D.C., 20230, U.S.A.
Limitation of Rights. Seller grants Buyer a royalty-free right to modify, reproduce, and distribute executable files using the
Seller’s Software and Firmware, provided that: a) the source code and executable files will be used only with Seller’s Hardware;
b) Buyer agrees to indemnify, hold harmless, and defend Seller from and against any claims or lawsuits, including attorneys’ fees,
that arise or result from the use or distribution of Buyer’s products containing Seller’s Products. Seller’s Hardware may not be
copied or recreated in any form or by any means without Seller’s express written consent.
No Liability for Consequential Damages. In no event will Seller, its directors, officers, employees, or agents be liable to Buyer
for any consequential, incidental, or indirect damages (including damages for business interruptions, loss of business profits or
information, and the like) arising out of the use or inability to use the Products, even if Seller has been advised of the possibility
of such damages. Because some jurisdictions do not allow the exclusion or limitation of liability for consequential or incidental
damages, the above limitations may not apply to Buyer. Seller’s liability to Buyer for actual damages for any cause whatsoever,
and regardless of the form of the action (whether in contract, product liability, tort including negligence, or otherwise) will be
limited to fifty U.S. dollars ($50.00).
Limited Hardware Warranty. Seller warrants that the Hardware it manufactures and sells shall be free of defects in materials
and workmanship for a period of 12 months from date of shipment to initial Buyer. This warranty does not apply to any product
that is misused, abused, repaired, or otherwise modified by Buyer or others. Seller’s sole obligation for breach of this warranty
shall be to repair or replace (F.O.B. Seller’s plant, Beaverton, Oregon, USA) any goods that are found to be non-conforming or
defective as specified by Buyer within 30 days of discovery of any defect. Buyer shall bear all installation and transportation
expenses, and all other incidental expenses and damages.
Limitation of Liability. In no event shall Seller be liable for any type of special consequential, incidental, or penal damages,
whether such damages arise from, or are a result of, breach of contract, warranty, tort (including negligence), strict liability, or
otherwise. All references to damages herein shall include, but not be limited to: loss of profit or revenue; loss of use of the goods
or associated equipment; costs of substitute goods, equipment, or facilities; downtime costs; or claims for damages. Seller shall
not be liable for any loss, claim, expense, or damage caused by, contributed to, or arising out of the acts or omissions of Buyer,
whether negligent or otherwise.
No Other Warranties. Seller makes no other warranties, express or implied, including without limitation the implied warranties
of merchantability and fitness for a particular purpose, regard ing Seller’s Products or Documentation. Seller does not warrant,
guarantee, or make any representations regarding the use or the results of the use of the Products or Documentation or their
correctness, accuracy, reliability, currentness, or otherwise. All risk related to the results and performance of the Products and
Documentation is assumed by Buyer. The exclusion of implied warranties is not permitted by some jurisdictions. The above
exclusion may not apply to Buyer.
Disclaimer. Seller’s Products and Documentation, including this document, are subject to change without notice. Documentation
does not represent a commitment from Seller.
Included Files ........................................................................................................................................ 1
Power Over Camera Link (PoCL).......................................................................................................... 2
Related Resources................................................................................................................................ 2
Units, Connectors, and Channels ................................................................................................................ 8
Serial Communication.................................................................................................................................. 9
Camera Link PCI Express (PCIe) Gen1 FramegrabbersOverview
Camera Link PCI Express (PCIe) Gen1
Framegrabbers
Overview
This guide covers current and legacy EDT Camera Link PCI Express (PCIe) Gen1 framegrabbers, which
provide fast image capture and DMA between an external Camera Link camera and a host computer.
Current products in this group are called the “DVa” series. This series includes:
PCIe8 DVa C-Link Current standard framegrabber for PCIe Gen1 (x8)
PCIe4 DVa C-LinkCurrent standard framegrabber for PCIe Gen1 (x4)
PCIe4 DVa FOXCurrent fiberoptic framegrabber for PCIe Gen1 (x4)
Legacy products in this group are called the “DV” (with no “a”) series. This series includes:
PCIe8 DV C-LinkLegacy standard framegrabber for PCIe Gen1 (x8)
PCIe4 DV C-LinkLegacy standard framegrabber for PCIe Gen1 (x4)
Companion products to the above (not covered in this guide – see Related Reso urces on page 2) include:
EDT simulatorsExample: PCIe8 DVa CLS – for simulation of Camera Link image data
EDT fiber extendersExample: RCX C-Link – to extend Camera Link 100+ kilometers over fiber
EDT coax extendersExample: RCX C-Link Coax2 – to extend Camera Lin k 600 feet over co ax
Included Files
For the products covered in this guide, your EDT installation package includes device drivers for supported
operating systems, as well as source code and binaries for:
•GUI capture and display application (
•Standalone initialization applications (
•Command-line capture and display applications (
•Command-line serial communication tool (
•Diagnostic tools (
•API libraries (
•Makefiles for Windows (
•Camera configuration files (
pdvshow)
initcam, camconfig)
take, simple_take, simplest_take, simple_*)
serial_cmd)
pciload, dvinfo, pdb)
libpdv, libedt, and associated source files)
makefile.nt) and Linux / Mac OS (makefile)
camera_config/*.cfg)
•Board firmware files (
For detailed descriptions of selected program s , see Example and Utility Applications on page 10. For a
more comprehensive list of programs, see the
source code and header files, see the EDT library and API (Related Resources on page 2).
EDT, Inc.2012 March 161
flash/* directories)
README file in your EDT installation package. For additional
Camera Link PCI Express (PCIe) Gen1 FramegrabbersOverview
CAUTION! Never plug a non-PoCL device (camera, cable, extender, etc.) into an EDT board that
has the PoCL jumpers in the “enabled” position. Doing so will cause a short – indicated by a red
LED (which may be obscured by your backpanel) on the back of the board, near the associated
connector – and may damage your equipment.
Power Over Camera Link (PoCL)
EDT PCIe “DVa”-series framegrabbers support Power Over Camera Link (PoCL) via polyfuse technology
using dedicated power.
When your board is shipped, PoCL is disabled. To enable PoCL, use the jumpers provided on the bo ard,
as shown in Appendix B: Board Diagrams on page 26.
For details on PoCL pin assignments, see Appendix A: Pin Assignments on page 25.
Related Resources
To find product-specific information that is related to a particular EDT product, go to www.edt.com and open
the relevant product page to find links to that product’s datasheet (specifications) and user’s guide.
To find general technical information that is not related to a particular EDT product (for example, ca ble
pinouts for multiple products), go to www.edt.com and look in Product Documentation.
The resources below may be helpful or necessary for your applications.
EDT ResourcesDescriptionDetailWeb link
• Documentation for each particular productDatasheets and user’s guides www.edt.com (find product page)
• User’s guide – legacy digital imaging products PCI products
• User’s guides for cabling and pinoutsCabling and pinouts for
PCI and PMC
• Application programming interface (API)HTML and PDF versions“ (Product Documentation)
• Installation packages (Windows, Linux, and
MacOS included; others by request
Standards / SpecificationsDescriptionPertains toDocumentationWeb link
• PCI / PCIePCI / PCIe busPCI Special Interest Group
• Camera LinkCamera LinkMachine Vision Online (MVO) www.machinevisiononline.org
• IRIG-BIRIG-B time codeInter-Range Instrumentation
Software / firmware
downloads
(PCI SIG)
Group, mod B
“ (Product Documentation)
“ (Product Documentation)
“ (Product Documentation)
www.pcisig.com
irigb.com
EDT, Inc.2012 March 162
Camera Link PCI Express (PCIe) Gen1 FramegrabbersRequirements
Requirements
EDT framegrabbers are high-speed DMA devices that require adequate bandwidth for reliable operation.
The requirements will vary by camera (since different cameras run at different speeds), so you should select
and configure your camera and system with the proper requirements in mind, as shown in Table 1.
Table 1. Requirements for I/O, bus type, throughput, cabling
Current series PCIe4 DVa FOXCamera Link in (over fiber) PCIe x4 Up to 680 MB/sFiberopticWindows,
(“DVa”)PCIe4 DVa C-LinkCamera Link inUp to 510 MB/sCamera Link Linux, MacOS
PCIe8 DVa C-LinkPCIe x8Up to 1.2 GB/s(others
Legacy series PCIe4 DV C-LinkCamera Link inPCIe x4Up to 200 MB/sCamera Linkby
(“DV” – no “a”) PCIe8 DV C-LinkPCIe x8Up to 1.2 GB/srequest)
IMPORTANT NOTATIONS
* For bus type, follow these recommendations for optimal performance:
• Typically, these products will not work in a a bus slot dedicated to graphics cards.
• Typically, these products will work in a bus slot with more lanes than the number specified here, but not in a bus slot with fewer.
• Typically, although these products will work in a bus slot newer than PCIe Gen1 (such as PCIe Gen2 or Gen3), the resulting per-
formance still will not exceed Gen1 specifications.
For details on requirements and bandwidth issues, see Problems With Bandwidth on page 22
.
**Cabling (standard or PoCL, as required) can be from EDT or a third party. For further documentation on cabling and pins, see
Related Resources on page 2 and Appendix A: Pin Assignments on page 25
.
Installation
For all supported operating systems (see Requirements on page 3), EDT provides installation packages,
available from two sources:
•The common installation disk that ships with all EDT products (with instructions on the disk sleeve); or
•Our archived and (frequently updated) current installation package downloads at www.edt.com (see
Related Resources on page 2).
NOTETo be sure that you are using the latest possible version of the appropriate installation package while
at the same time avoiding needless problems with version compatibility, EDT recommends:
— For a new application, download the latest package (see Related Resources on page 2).
— For applications that utilize third-party software, use the version of the EDT installation package that
the software was built with, or recompile / relink the application with the latest package (see Related
Resources on page 2).
EDT, Inc.2012 March 163
Camera Link PCI Express (PCIe) Gen1 FramegrabbersProgramming Interface
To install your Camera Link PCIe framegrabber:
1. Uninstall any previously installed EDT installation packages.
2. Do one of the following:
— For Windows, Linux, or MacOS, follow the instructions on your EDT installation disk sleeve or down-
load the latest package and instructions from www.edt.com (see Related Resources on page 2).
— For VxWorks, see Append ix D: VxWo rk s or www.edt.com/support.html, or contact EDT.
— For Solaris, contact EDT.
3. To install the board into your computer, follow the instructions from the board manufacturer.
4. Cable the board to the camera, using the cabling specified in Requirements on page 3.
5. To verify that the driver installed successfully and that the board is recognized, run
command line (for details on
pciload, see Example and Utility Applications on page 10).
Programming Interface
EDT provides a common application programming interface (API) for all supported operating systems, so
an application written for one EDT digital imaging product will work with the others with minimal modification;
any exceptions – such as differences between Windows, Linux, and MacOS – will be noted in this guide.
To interface to the Camera Link PCIe board, use subroutines from the EDT digital imaging library and, if
necessary, from the EDT DMA library; routines in both libraries are documented in the EDT API.
•The EDT digital imaging library provides a C language interface to your Camera Link PCIe board, and
it also handles error recovery, bookkeeping, and camera shutter triggering and timing. EDT recommends using it for all programming specific to Camera Link PCIe products.
•The lower-level EDT DMA library
needed functionality that is not provided in the EDT digital imaging library.
All of these resources are provided in your EDT installation package (see Related Resources on page 2).
Building or Rebuilding an Application
By default, EDT’s installation package is copied into th e directory C:\EDT\pdv (Windows) or /opt/EDTpdv
(Linux / Mac OS). The package includes executables and C source code for all examples, diagnostics, and
utilities. If you want to rebuild a program, you’ll need to use a compiler and either the
Visual Studio 6.0 or later) or the Unix
1. Do one of the following:
edt_ subr outines should be accessed directly only when they provide
make utility, as described below.
pciload from the
nmake application (for
— For Windows, run Pdv Utilities.
— For Linux or Mac OS, navigate to the installation directory in a terminal window.
2. Enter...
make file
...where file is the name of the example program you wish to build.
3. To rebuild the examples, utilities, and diagnostics, navigate to the installation directory and run...
make
...or, on Windows, as an alternative you can use the included Visual Studio 2008 project.
EDT, Inc.2012 March 164
Camera Link PCI Express (PCIe) Gen1 FramegrabbersSetting the Camera Model
Setting the Camera Model
After installing the board and its driver, configure it for the camera you will use.
Your EDT installation package provides example configuration fil es fo r vari ous ca mera models; if no file is
provided for your camera, or if you wish to modify the directives of an existing configuration file, co nsult the
EDT Camera Configuration Guide (see Related Resources on page 2).
NOTEFor a medium- or full-mode camera, you may need to fir st reprogra m the flash me mory for m edium- or
full-mode operation. For details, see Table 4 on page 18.
Next, initialize (configure) the driver for your camera model, using one of the methods in Table 2.
Table 2. Initialization Methods by Operating System
OSPdvShowCommand line
WindowsTo configure the driver for your camera:
1. Double-click the PdvShow desktop icon.
2. In dialog box, select your camera model.
3. Click OK.
To reconfigure for a different camera or operating mode:
1. Double-click the PdvShow desktop icon.
2. Execute Camera > Setup.
3. In dialog box, select your camera model.
4. Click OK.
Linux or
Mac OS
VxWorksSee Appendix D: VxWorks or www.edt.com/support.html, or contact EDT.
OtherContact EDT.
To configure the driver for your camera:
1. Navigate to the installation directory...
/opt/EDTpdv.
2. At the prompt, enter...
camconfig
3. In dialog box, select your camera model.
4. Click OK.
To reconfigure for a different camera model or operating
mode, rerun
camconfig.
Use the initcam utility. At a command prompt, enter...
initcam -f camera_config/file.cfg
...where file is the name of the camera configuration file that matches
your camera model and operating mode.
This utility optionally lets you specify a unit
-c flag). Thus, if you wish to configure the camera on DMA channel 1,
See the application initcam (in this guide) and the Camera Configuration Guide (Related Resources).
Follow the above procedure for Windows.
NOTE: If you do not have “.” in your path, you’ll need to precede commands
with “
./” as in the example below.
Example:
./initcam -f camera_config/file.cfg
(-u flag) and DMA channel
EDT, Inc.2012 March 165
Camera Link PCI Express (PCIe) Gen1 FramegrabbersImage Capture and Display
Image Capture and Display
For capturing and displaying images, your EDT software conta ins a GUI in an application called PdvShow.
The Windows version of this GUI is shown in Figure 1.
Figure 1. Windows GUI for PdvShow
Running PdvShow
To run PdvShow...
•For Windows, double-click the PdvShow desktop icon, or enter
•For Linux, run
•For Mac OS, there is no PdvShow, but you can experiment by exploring this user’s guide and the
pdv_flshow
The command-line invocation allows you to specify options – for example...
pdvshow -pdvU_C
...where U is the unit number (useful if you have more than one Camera Link PCIe device) and C is the
DMA channel number for multichannel devices. For example...
pdvshow -pdv0_1
...runs PdvShow using board 0, DM A channel 1. This is useful if, for example, you are u sing one board with
two base-mode cameras, and you want PdvShow to access the camera on DM A channel 1.
NOTEIn Windows, the command line is a property of the icon.To use an icon to access a unit or DMA channel
other than 0 (the default): copy and rename the PdvShow icon; then change its shortcut properties to
use the command line with the option
make pdvshow to build the FLTK application, and then enter pdvshow at the prompt.
subdirectory of the main distribution directory (by default, /opt/EDTpdv).
-pdvU_C where U is the unit and C is the DMA channel.
pdvshow at a command-line prompt.
EDT, Inc.2012 March 166
Camera Link PCI Express (PCIe) Gen1 FramegrabbersImage Capture and Display
For demonstration or debugging purposes, you can run this application when no bo ard is installed in the
system; the image window then shows a test pattern. To do so, at the command line, enter...
If you have not yet initialized the driver, select your camera or simulator from the list and click OK.
If the image window shows incorrect data (usually because the camera model has been chan ged since the
last driver initialization), select Camera > Setup to select the correct camera model.
To access camera controls, use the PdvShow toolbar and menus. For details, see PdvShowHelp.
Compiling PdvShow
To experiment with example code in this application, use the source code indicated below.
•For Windows, look in
README file in the pdvshow subfolder of the main distribution folder (by default, C:\EDT\Pdv).
pdvshow in the appropriate Visual Studio project subfolder. For details, see the
NOTEThe
unless you wish to experiment with the source code.
•For Linux, see the source code and the
tribution directory (by default,
•For Mac OS, there is no PdvShow, but you can experiment by exploring the information in this guide.
For more about the cross-platform FLTK-based version of PdvShow, see
subdirectory of the main distribution directory (by default, /opt/EDTpdv).
If the open-source FTLK library (required by
it. If the installation fails, you will need to install FLTK 1.1.9 by hand.
To install FLTK 1.1.9:
1. In
gunzip fltk-1.1.9-source.tar.gz
tar –xf fltk-1.1.9-source.tar
...to install fltk-1.1.9.
2. In
fltk-1.1.9, run...
make
make install
3. In pdv_flshow, run...
pdvshow executable comes already built on Windows distributions, so you need not compile it
README file in the pdv_flshow subdirectory of the main dis-
/opt/EDTpdv).
README in the pdv_flshow
pdv_flshow) is not installed, make pdvshow will try to install
pdv_flshow, open fltk-1.1.9-source.tar.gz and run...
make pdvshow
EDT, Inc.2012 March 167
Camera Link PCI Express (PCIe) Gen1 FramegrabbersUnits, Connectors, and Channels
Unit 0,
Connector 0
(primary)
Unit 0,
Connector 1
(secondary)
Unit 1,
Connector 0
(primary)
Unit 1,
Connector 1
(secondary)
Unit ordering is system-dependent, starting with unit 0.
Connector ordering always starts with the connector nearest
the PCIe bus, which EDT software always calls connector 0.
Units, Connectors, and Channels
This section covers how to work with multiple units, connectors, and channels, which are defined as follows:
unitEDT product (board)
connectorphysical connector (for example, a fiberoptic or MDR26 connector)
channelDMA channel or, sometimes, simulation channel
Typically, an EDT Camera Link (C-Link) board has two MDR26 connectors and one simulation channel,
while an EDT fiberoptic (FOX) board has one to four fiberoptic connectors with no simulation channel.
In base mode, each camera requires one connector on the EDT board, and each connector provides one
DMA channel. Thus, in base mode, an EDT framegrabber with two connectors has two DMA channels.
In medium or full mode, each camera requires two connectors on the EDT board. In this case, the two
connectors work together to support one DMA channel.
NOTEIn EDT hardware, the connectors are labeled 0 and 1 on some boards, but 1 and 2 on others.
Regardless of the labels on the hardware, the software always counts the connectors in order as 0
(primary), 1 (secondary), and so on, with 0 being the connector closest to the PCIe bus.
If you install one board in your host system, the system will assign the default unit number (0) to that board.
If you install multiple boards, the system will assign a unique unit number to each board, starting with 0 (the
sequence is system-dependent). Typically, the unit number is an argument when invoking an application
(such as
take or pdvshow) or a parameter passed into one of the EDT subroutines.
Figure 2 shows an example of how the software numbers the units ( boards) and connectors. The defa ult for
the first unit number, connector number, and DMA channel number is always 0, with additional units,
connectors, and DMA channels numbered as 1, 2, and so on.
Figure 2. Example of Unit Numbering and Connector Numbering
EDT, Inc.2012 March 168
If your EDT board is connected to multiple cameras, the software provides a unique handle to represent
each camera. Unless you specify a different unit number, DMA channel number, or both, any application
(either your own or EDT’s) seeking access to the cameras will default to unit 0, connector 0.
Loading...
+ 30 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.