Leica TPS1200 Series Reference Manual page 130

Geodetic measurement instruments
Hide thumbs Also See for TPS1200 Series:
Table of Contents

Advertisement

GeoCOM Reference Manual
14.4.3
IMG_TakeTccImage – capture a telescopic image
EDM_Laserpointer.............................................................................................................................................................................................................................................................................
................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ 1004
1004 ................................................................................................................................................................................................................................................................EDM_Laserpoin
ter
C-Declaration
IMG_TakeTccImage (IMG_MEM_TYPE eMemType, unsigned short& runImageNumber)
VB-Declaration
VB_IMG_TakeTccImage ( MemType As Long, ImageNumber As Integer ) As Integer
ASCII-Request
%R1Q,23402: eMemType
ASCII-Response
%R1P,0,0:RC,runImageNumber
Remarks
Parameters
eMemType
runImageNumber
Return-Code Names and Return-Code Values
GRC_OK
GRC_IVRESULT
GRC_FATAL
GRC_NA
See Also
IMG_GetTccConfig
IMG_SetTccConfig
Example
GRC_TYPE rc;
IMG_MEM_TYPE eMemType;
IMG_TCC_CONFIG Parameters;
short nTimeout;
// Set parameters
eMemType = IMG_PC_CARD;
Parameters.ulImageNumber = 999;
Parameters.ulQuality = 50;
// Automatic exposure time and two-times sub-sampling
Parameters.ulSubFunctNumber = 6;
strcpy(Parameters.szFileNamePrefix, "def");
rc = IMG_SetTccConfig(eMemType, Parameters);
if (rc != GRC_OK)
{
return rc;
}
// Increase geocom timeout, because image capture and readout takes long time
COM_GetTimeOut(nTimeout);
COM_SetTimeOut(200);
// Take image
rc = IMG_TakeTccImage(eMemType, unBuf);
if (rc != GRC_OK)
{
// Restore geocom timeout
COM_SetTimeOut(nTimeout);
return rc;
}
// Image "def999.jpg" is now stored on CF-Card
// Restore geocom timeout
COM_SetTimeOut(nTimeout);
Leica TPS1200 – Version 1.50
In
Memory device type
Out
Number of the currently captured image
0
Execution successful.
3
Not supported by Telescope Firmware
4
CF card is not available full
27
Imaging license key not available
Image Processing – IMG
130

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tm30Ts30Tps1200+

Table of Contents