Measurement Control Functions - Leica TPS1200 Series Reference Manual

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

Advertisement

GeoCOM Reference Manual

17.5 MEASUREMENT CONTROL FUNCTIONS

17.5.1
TMC_DoMeasure - carrying out a distance measurement
TMC_DoMeasure.......................................................................................................................................................................................................................................................................
........
................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ 2008
2008 ................................................................................................................................................................................................................................................................TMC_DoMeasu
re
C-Declaration
TMC_DoMeasure(TMC_MEASURE_PRG Command,
VB-Declaration
VB_TMC_DoMeasure(ByVal Command As Long,
ASCII-Request
%R1Q,2008:Command[long],Mode[long]
ASCII-Response
%R1P,0,0:RC
Remarks
This function carries out a distance measurement according to the TMC measurement mode like single distance,
tracking,... . Please note that this command does not output any values (distances). In order to get the values you
have to use other measurement functions such as
TMC_GetFullMeas
The result of the distance measurement is kept in the instrument and is valid to the next
command where a new distance is requested or the distance is clear by the measurement program
Note: If you perform a distance measurement with the measure program TMC_DEF_DIST, the distance sensor
will work with the set EDM mode, see TMC_SetEdmMode.
Parameters
Command
Mode
Return-Code Names and Return-Code Values
GRC_OK
See Also
TMC_SetEdmMode
TMC_GetCoordinate
TMC_GetSimpleMea
TMC_GetAngle1
TMC_GetAngle5
Example
GRC_TYPE Result;
short
nCnt;
// set average mode
Result=TMC_SetEdmMode(EDM_CONT_EXACT);
// perform a single distance measurement
Result=TMC_DoMeasure(TMC_DEF_DIST);
nCnt=0;
while(nCnt<100)
{// wait on the distance data max. 100x100ms
Result=TMC_GetCoordinate(100,Coordinate,
nCnt++;
}
// to complete the measurement, and clear data
TMC_DoMeasure(TMC_CLEAR);
// set standard mode
TMC_SetEdmMode(EMD_SINGLE_STANDARD);
Leica TPS1200 – Version 1.50
TMC_INCLINE_PRG Mode)
ByVal Mode As Long)
or else
TMC_GetAngle
in
in
0
Theodolite Measurement and Calculation – TMC
TMC_GetCoordinate
.
TMC measurement mode.
Inclination sensor measurement mode.
Execution successful.
TMC_AUTO_INC);
,
TMC_GetSimpleMea,
TMC_DoMeasure
.
TMC_CLEAR
157

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tm30Ts30Tps1200+

Table of Contents