EXAMPLE PROGRAMS:
This directory contains a number of programming examples, which are designed to compile and run on all supported operating systems. They are intendedas a guide to the main acquisition modes of each of the Snapper families. Each program supports a number of compiler switches to control the various operating specific modes. The Snapper specific modes are generally selected via global variables located at the start of each example source file. All the compiler switches and global variable options are described at the start of each example program source file.
DIRECTORY STRUCTURE:
The sub directories are organised as follows:
d16\d16ansq |
Snapper-Dig16 areascan example |
d16\d16asq |
Snapper-Dig16 areascan example using sequence mode |
s24\s24ansq |
Snapper-24 areascan example |
s24\s24asq |
Snapper-24 areascan example using sequence mode |
s16\s16ansq |
Snapper-16 areascan example |
misc\snapscan |
Program to scan for all Snapper devices |
(Note that the Snapper-24 examples also apply to the Snapper-8 products).
There are also some support directories:
lib\src\xpl |
Source code to operating system specific functions used within the example programs |
lib\src\include |
Header files for the above source code |
FILE EXTENSIONS:
The following files extensions are used:
*.lmk |
LynxOS GNU makefile |
*.log |
ASCII text log file containing all debug information |
*.mak |
Microsoft Visual C4.0 makefile |
*.mcp |
Metrowerks Codewarrior 3.1 project files |
*.mdp |
Microsoft Visual C4.0 project workspace file |
*.r |
MacOS resource text files |
*.smk |
Solaris GNU makefile |
*.tif |
Last image acquired by example application stored in TIFF format |
*.txt |
PC format text file ( CRLF, no^Z ) |