Camera Link PCI Express (PCIe) Gen1 Framegrabbers
Image Capture and Display
EDT, Inc.
2012 March 16
7
For demonstration or debugging purposes, you can run this application when no board is installed in the
system; the image window then shows a test pattern. To do so, at the command line, enter...
initcam -u dmy0 -f
configuration_file
pdvshow -dmy0
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 changed 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
PdvShow
Help
.
Compiling PdvShow
To experiment with example code in this application, use the source code indicated below.
•
For Windows, look in
pdvshow
in the appropriate Visual Studio project subfolder. For details, see the
README
file in the
pdvshow
subfolder of the main distribution folder (by default,
C:\EDT\Pdv
).
NOTE
The
pdvshow
executable comes already built on Windows distributions, so you need not compile it
unless you wish to experiment with the source code.
•
For Linux, see the source code and the
README
file in the
pdv_flshow
subdirectory of the main dis-
tribution directory (by default,
/opt/EDTpdv
).
•
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
README
in the
pdv_flshow
subdirectory of the main distribution directory (by default,
/opt/EDTpdv
).
If the open-source FTLK library (required by
pdv_flshow
) is not installed,
make pdvshow
will try to install
it. If the installation fails, you will need to install FLTK 1.1.9 by hand.
To install FLTK 1.1.9:
1.
In
pdv_flshow
, open
fltk-1.1.9-source.tar.gz
and run...
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...
make pdvshow