
GeoBASIC User Manual
11 — Porting a TPS1000 Originated Program
TPS1100-Version 2.10
11-1
11 P
ORTING A
TPS1000 O
RIGINATED
P
ROGRAM
The implementation of the TPS1100 theodolite series includes several new
concepts compared to the firmware of TPS1000 theodolites. To follow up these
new concepts and to take care of functionality that has been changed or removed in
the implementation of TPS1100 firmware, GeoBASIC programs, once developed
for TPS1000 hardware, cannot be compiled without changing the source code.
In this chapter we will cover this subject and we try to give some guidelines to
help the developer to port the source code onto the new platform. During the
design phase of GeoBASIC for TPS1100 systems we took certain care to make the
migration as smooth as possible. Although all programs’ source code has to be
changed, the effort to port it will be for the most applications not that high.
In the very end this means also that the developer has to maintain two source code
bases.
11.1 TPS1100 HARDWARE RELATED CHANGES
11.1.1 Display Line Length
The TPS1100 series instruments use a different liquid crystal display. The
difference means also that one can use only 29 characters per line. To be
‘independent’ of the display length we defined the string type
DisplayLine
. It
does not contain the string length in the name, hence this should help in future to
port applications. To be compatible with older, TPS1000 GeoBASIC programs we
did not change all
String30
declarations. Of course only 29 characters will be
printed out to the display.
11.1.2 Keyboard
The number of keys has been reduced, there is no
CONT
-Key any longer. Remove
all
MMI_CONT_KEY
appearances in the source code. We deleted the definition of
this constant to make it more obvious to the programmer that he has to change the
source code and think about any button assignments.
Содержание 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 ...