|
|
|
General
X-Scan is linked to the PC via an RS-232 cable. The PC sends a
command string to the detector through an RS-232 cable and vice
versa. Upon receiving the command, X-Scan reads the string and interprets
the command according to the same protocol. If the command is correct,
X-Scan will perform the required operations. Then X-Scan returns
a string containing the operation results and the data required
by the PC. The reply string is obtained and analysed by the PC to
identify whether the command has been successfully executed or an
error has occurred.
The low-level (hardware-related) operation of X-Scan, i.e., the
implementation of the communication protocol, is encapsulated in
a C++ class named Fastscan, which can be exported from the dynamic-link
library dtfscan32.dll (where32 refers to the version number 3.2).
For end users, to program the X-Scan means to construct an object
Fastscan and then call its public member methods to control the
detector.
Environment and Compatibility
Programming with X-Scan and dtfscan32.dll requires:
- Microsoft Visual C++ 6.0 or later
- MFC 4.2 or later
The library dtfscan32.dll is independent of the framegrabber driver
or other image processing libraries. The structure of the X-scan user
interface application might be a good example to show how dtfscan32.dll
works in an application, demonstrated in the following picture:
|
The structure of applications based on X-Scan
|
| |
At present, X-View controls X-Scan through the DT library dtfscan32.dll.
All the other applications must behave similarly. X-View requires
a Coreco PC-DIG framegrabber board, the IFC libraries for image grabbing
and image processing. However, applications based on X-Scan may use
other framegrabbers (as long as the framegrabber is compatible with
the X-Scan hardware) and other image processing libraries, since dtfscan32.dll
is independent of these libraries.
|
|
home
| hardware | software
| applications and images |
specs and characteristics | build your
own x-scan
legal notice © Detection Technology Inc. 2004
|
| |