
GeoBASIC Reference Manual
6. System Functions
TPS1100-Version
1.30
6-106
Example
Start a distance measure, perform measure.
DIM iRetCode
AS Integer
DIM iWaitTime AS Integer
DIM Polar
AS TMC_Distance_Type
DIM lError
AS Logical
DIM lDone
AS Logical
'start distance measurement
ON ERROR RESUME
' to get valid angles
TMC_DoMeasure( TMC_DEF_DIST )
iWaitTime = -1
lDone
= FALSE
lError = FALSE
DO
'display measured values
TMC_GetPolar( iWaitTime, Polar, iRetCode )
SELECT CASE iRetCode
CASE RC_OK
'display all data
'e.g. set lDone here
CASE else
'handle error
lError = TRUE
END SELECT
LOOP UNTIL lError OR lDone
'stop distance measurement
TMC_DoMeasure( TMC_CLEAR )
Содержание tps1100
Страница 1: ...GeoBASIC FOR TPS1100 User Manual Version 2 10 1997 2001 Leica Geosystems AG Heerbrugg Switzerland ...
Страница 150: ...GeoBASIC FOR TPS1100 Reference Manual Version 2 10 1997 2001 Leica Geosystems AG Heerbrugg Switzerland ...
Страница 411: ...GeoBASIC Reference Manual 6 System Functions TPS1100 Version 1 30 6 7 6 5 35 CSV_LibCallAvailable 6 213 ...
Страница 620: ...TPS1100 Version 2 10 6 1 ...
Страница 621: ......
Страница 623: ...TPS1100 Version 2 10 6 1 ...
Страница 624: ......
Страница 1053: ...TPS1100 Version 1 30 E 1 Appendix E GEOFONT ...
Страница 1154: ...GeoBASIC Reference Manual Appendix J List of Predefined Identifiers TPS1100 Version 1 30 J 9 TMC_SetOffsetDist 6 128 ...