Академический Документы
Профессиональный Документы
Культура Документы
ate built-in function for setting velopment. Given that it is not TYPE TMC_STATION_Type
parameters, measuring, geo- necessary to load the program dE0 AS Double easting co-ordinate
detic calculations, and many onto the instrument, the code- dN0 AS Double northing co-
ordinate
other tasks. compile-test cycle can be car- dH0 AS Double height co-ordinate
ried out quickly and easily. dHi AS Double instrument height
With these tools at hand, the
programmer can quickly build On-Line Documentation: GB END TMC_STATION_Type
sophisticated geodetic applica- Studio is delivered with a Other pre-defined types allow
tions. comprehensive on-line refer- the manipulation of measure-
ence guide in addition to sam- ments, instrument corrections,
ple applications and detailed offsets, and point data.
descriptions of the Geobasic
The GeoBASIC IDE Automatic unit handling:
programming process.
One of the problems of writing
The GeoBASIC IDE is made What are the differences applications that will be used
up of the following compo- between BASIC and Geo- in different countries, is that
nents: BASIC? the units of measurement used
GB Studio: GBStudio is a The main differences between often change. This problem is
development environment that a standard BASIC language solved using GeoBASIC since
includes a source editor, com- and GeoBASIC are due to the all programs are developed
piler, project manager and a origin of the language as a using SI units. When the user
source level debugger. develoment tool for survey changes a measurement unit
applications. These differ- in the instrument configuration,
The user interface is similar to the screen output from the
ences include:
that of other Windows de- GeoBASIC program changes
velopment environments and Predefined data structures: automatically without the pro-
thus allows rapid debugging of GeoBASIC includes a set of grammer having to intervene.
programs. pre-defined structured types
(strings, arrays, and struc- Multi-language support:
TPS1100 Simulator: The GeoBASIC programs can be
tures). The definitions of such
simulator reproduces the be- translated to an infinite number
predefined types are imple-
haviour of a TPS1100 instru- of languages using a simple
mented in the GeoBASIC com-
ment, thus eliminating the translation tool.
piler and are accessible to the
need to have an instrument
programmer as any other de- Pre-defined dialogs: In order
on-hand during program de-
fined types. to minimise the code needed
For example for the programming of repeti-
the pre- tive tasks such as the user
defined type interface, GeoBASIC includes
used to store a series of pre-defined dialogs,
an instrument such as the standard meas-
station is de- urement dialog, that a pro-
fined as fol- grammer can call with a few
lows: lines of code.
Geodesy Maths Functions:
One of the most appealing
GeoBASIC features for survey
application developers are the
GeoMath functions. With one
line of code, the programmer
can call a vast library of func-
tions for all sorts of geometric
calculations. These functions
range from the very simple:
TPS 1100 Simulator
TPS NEWS 2002 Issue 02
Ds
Summary infinte, being limited only by the
imagination of the programmer.
Hi GeoBASIC is a powerful pro-
gramming environment that is If you are a programmer, take
hc simple to use and tailored to the the plunge and try the GeoBA-
needs of on-board survey appli- SIC programming experience. If
cations. The GeoBASIC IDE not, get in touch with your local
takes advantage of the in-built Leica dealer to find out how
survey functionality of TPS1100 your ideas can be made into a
total stations thus simplifying GeoBASIC reality.
the programmers task.
Kevin Grist
The range of applications that kevin.grist@leica-geosystems.com
H i2 = hc2 + Ds2 2 hc Ds cos can be written in GeoBASIC is
News
A new version of Leica Survey Office 2.0 was released last month. It includes a modernized user interface
and a number of new features. The major new features are:
Publishing
If you have an article you would like
published in TPS News 2002 which
may be of interest to other readers, Leica Geosystems AG
CH-9435 Heerbrugg
please contact Anna McKenzie at
(Switzerland)
Anna.McKenzie@leica-geosystems.com Phone +41 71 727 31 31
Fax +41 71 727 46 73
The next issue of TPS News will be www.leica-geosystems.com
th
published on 25 March.