GeoCOM Reference Manual
Provided Samples
Leica TPS1200 – Version 1.50
204
C-1.3
TCC Image Grabber Sample Program
The sample program shows how to use the imaging and file transfer commands with C++ .NET. The sample program
allows to take an image with the on-axis ATR camera and show it on the PC. Please note that a valid GeoCOM imaging
license key is required for this feature.
In order to execute this example program, install Microsoft Visual Studio 2005 (or later) on your hard disk and copy the
following files in a directory of your choice:
\SAMPLES\TCCImageGrabber\
GeoComDllSample.sln
Visual Studio .NET solution.
\SAMPLES\TCCImageGrabber\GeoComDllSample\
GeoComDllSample.vcproj
Visual Studio .NET project.
\SAMPLES\TCCImageGrabber\GeoComDllSample\
*.cpp
C++ source files
\SAMPLES\TCCImageGrabber\GeoComDllSample\
*.h
C++ header files
\SAMPLES\TCCImageGrabber\GeoComDllSample\
*.resx
Resource files
\SAMPLES\TCCImageGrabber\GeoComDllSample\
com_pub.hpp
Header file for GeoCOM
\SAMPLES\TCCImageGrabber\GeoComDllSample\
release\GeoComS2K.lib
GeoCOM Library
\SAMPLES\TCCImageGrabber\release\
GeoComS2K.dll
Contains the implementation of GeoCOM
\SAMPLES\TCCImageGrabber\release\
GeoComDllSample.exe
Executable of the sample
Connect the theodolite with the preferred serial port on your personal computer and invoke the executable file. Press the
Com Port Settings button to select the communication parameters (Port, Baudrate, Mode) and start the application with
the button Grab Image. The image is stored on the external CF-Card and is subsequently transferred to the PC. Exit
terminates the application.
It may be necessary to install the Microsoft Visual C++ 2005 Redistributable Package (x86) on your computer if it does
not have Visual C++ 2005 installed. The Microsoft Visual C++ 2005 SP1 Redistributable Package (x86) installs
runtime components of Visual C++ Libraries and can be downloaded from the Microsoft Home Page.
Содержание TM30 Series
Страница 1: ...Leica TPS1200 Leica TS30 TM30 GeoCOM Reference Manual Version 1 50 English...
Страница 120: ...GeoCOM Reference Manual File Transfer FTR Leica TPS1200 Version 1 50 120 while bLast TRUE FTR_AbortList...
Страница 136: ...GeoCOM Reference Manual Motorisation MOT Leica TPS1200 Version 1 50 136 handle error...