GeoCOM Reference Manual
Contents
1
.................................................................................................................................................................. 5
GEOCOM
1.1
I
NTRODUCTION
.................................................................................................................................................... 5
1.2
TPS1200
S
YSTEM
S
OFTWARE
............................................................................................................................. 5
1.3
P
RINCIPLES OF
G
EO
COM
O
PERATION
................................................................................................................. 6
2
GENERAL CONCEPTS OF USING GEOCOM .................................................................................................. 7
2.1
INTRODUCTION
.................................................................................................................................................... 7
2.2
G
ENERAL
C
ONCEPT OF
O
PERATION
..................................................................................................................... 7
2.3
ASCII
P
ROTOCOL
................................................................................................................................................ 7
2.4
F
UNCTION
C
ALL
P
ROTOCOL
-
C/C++ .................................................................................................................. 8
2.5
F
UNCTION
C
ALL
P
ROTOCOL
-
VBA..................................................................................................................... 9
3
FUNDAMENTALS OF PROGRAMMING GEOCOM ..................................................................................... 10
3.1
INTRODUCTION
.................................................................................................................................................. 10
3.2
ASCII
P
ROTOCOL
P
ROGRAMMING
.................................................................................................................... 10
3.3
C/C++
-
P
ROGRAMMING
.................................................................................................................................... 12
3.4
VBA
-
P
ROGRAMMING
...................................................................................................................................... 14
3.5
U
NITS OF
V
ALUES
............................................................................................................................................. 16
3.6
TPS1200
I
NSTRUMENT
M
ODES OF
O
PERATION
................................................................................................. 16
3.7
C
OMMON
C
OMMUNICATION
E
RRORS
................................................................................................................ 16
4
REMARKS ON THE DESCRIPTION ................................................................................................................. 19
4.1
S
TRUCTURE OF
D
ESCRIPTIONS
........................................................................................................................... 19
5
COMMUNICATION SETTINGS......................................................................................................................... 21
5.1
USAGE ............................................................................................................................................................. 21
5.2
C
ONSTANTS AND
T
YPES
.................................................................................................................................... 21
5.3
G
ENERAL
G
EO
COM
F
UNCTIONS
....................................................................................................................... 22
5.4
C
LIENT
S
PECIFIC
G
EO
COM
F
UNCTIONS
............................................................................................................ 24
6
ALT USER - AUS ................................................................................................................................................... 38
6.1
U
SAGE
............................................................................................................................................................... 38
6.2
C
ONSTANTS AND
T
YPES
.................................................................................................................................... 38
6.3
F
UNCTIONS
........................................................................................................................................................ 39
7
AUTOMATION - AUT .......................................................................................................................................... 43
7.1
U
SAGE
............................................................................................................................................................... 43
7.2
C
ANCEL
L
ING
/
A
BORTING CURRENT FUNCTIONS
............................................................................................... 43
7.3
C
ONSTANTS AND
T
YPES
.................................................................................................................................... 43
7.4
F
UNCTIONS
........................................................................................................................................................ 45
8
BASIC APPLICATIONS – BAP ........................................................................................................................... 69
8.1
USAGE ............................................................................................................................................................. 69
8.2
C
ONSTANTS AND
T
YPES
.................................................................................................................................... 69
8.3
F
UNCTIONS
........................................................................................................................................................ 71
9
BASIC MAN MACHINE INTERFACE – BMM ................................................................................................ 89
9.1
USAGE
................................................................................................................................................................ 89
9.2
C
ONSTANTS AND
T
YPES
.................................................................................................................................... 89
9.3
F
UNCTIONS
........................................................................................................................................................ 90
10
COMMUNICATIONS – COM.......................................................................................................................... 94
10.1
USAGE ............................................................................................................................................................. 94
10.2
C
ONSTANTS AND
T
YPES
.................................................................................................................................... 94
10.3
F
UNCTIONS
........................................................................................................................................................ 95
11
CENTRAL SERVICES – CSV ........................................................................................................................ 101
11.1
INTRODUCTION
................................................................................................................................................ 101
11.2
U
SAGE
............................................................................................................................................................. 101
11.3
C
ONSTANTS AND
T
YPES
.................................................................................................................................. 101
11.4
F
UNCTIONS
...................................................................................................................................................... 103
Leica TPS1200 / TS30 / TM30 – Version 1.50
2