EDT, Inc.
2019 April 29
13
VisionLink F-series
Example and Utility Applications
From Your Application
To see all of the routines needed for user applications to send and receive serial commands: In the EDT API (see
), follow the link to the EDT digital imaging library, and then
—
under Modules at the
bottom of the page
—
to Communications / Control.
From Camera Manufacturer’s Application
Most Camera Link camera makers supply a Windows-based graphical camera control application that lets you send and
receive serial commands using a board-specific serial dynamic link library (DLL). Your EDT installation package
provides a DLL named
clseredt.dll
which, per the Camera Link 2.0 specification, is installed at...
•
%PROGRAMFILES%\Cameralink\Serial
(64-bit version); or
•
%PROGRAMFILES(X86)%\CameraLink\Serial
(32-bit version)
Camera GUIs typically provide some method for specifying the DLL pathname; for details, see your camera
documentation.
If it becomes necessary to rename the file or copy it to a different location, be sure to recopy any newer versions of the
file to the appropriate location when you reinstall the EDT installation package.
NOTE
Some camera manufacturers' control applications do not use this DLL method but instead depend on COM port
emulation for serial communication. In such cases, use the provided COM port emulation method; for details, see
README.pdvcom
in your installation directory.
Example and Utility Applications
EDT provides a variety of example, utility, and diagnostic applications. All can be run from the command line, using Unix-
style options and arguments.
To help those developing applications, EDT provides C source code for all of the examples. The source code file is the
name of the application with a
.c
extension (e.g., “
take.c
”). Starti
ng with the source for
simple_take
or
simplest_take
is recommended.
The most commonly useful options for these programs are described below. Placeholders shown in italics should be
replaced with your own values. For a complete list of usage options, at the command line, enter the application name
with the
--help
option to display the help message.
pciload
Used to query the boards or, optionally, to update and verify the
board’s
flash PROM. After installation, you may want
to run
pciload
with no arguments and review the output to help verify that the board and driver did install correctly.
To use
pciload
to update and verify the flash PROM, see
Firmware: FPGA Configuration (.bit) Files on page 22
setdebug
A debug and diagnostic utility. The options shown here may be useful to you. Options not shown here, as a rule, are
specific to driver internals and are useful (and safe) only with guidance from EDT engineers.
-u
unit
The unit number, if multiple boards are installed; default is 0 (first board).
-c
channel
The channel, on multichannel boards; default is 0 (first channel).
-d 0
Unique to
setdebug
. Displays current board register values.
-v
Unique to
setdebug
. Displays version information for library and driver.
-h
Displays full list of options.