Leica TPS1200 Series Reference Manual page 171

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

Advertisement

GeoCOM Reference Manual
17.6.11
TMC_GetStation - getting the station coordinates of the instrument
TMC_GetStation ............................................................................................................................................................................................................................................................................ .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 2009
2009 ................................................................................................................................................................................................................................................................TMC_GetStation
C-Declaration
TMC_GetStation(TMC_STATION &Station)
VB-Declaration
VB_TMC_GetStation(Station As TMC_STATION)
ASCII-Request
%R1Q,2009:
ASCII-Response
%R1P,0,0:RC,E0[double],N0[double],H0[double],Hi[double]
Remarks
This function is used to get the station coordinates of the instrument.
Parameters
Station
Return-Code Names and Return-Code Values
GRC_OK
See Also
TMC_SetStation
Example
GRC_TYPE
TMC_STATION Station, NullStation;
NullStation.dE0 = 0;
NullStation.dN0 = 0;
NullStation.dH0 = 0;
NullStation.dHi = 0;
// reset station coordinates to 0
rc = TMC_GetStation(Station);
if ((Station.dE0 != 0)||
(Station.dN0 != 0)||
(Station.dH0 != 0)||
(Station.dHi != 0))
{
rc = TMC_SetStation(NullStation);
if (rc == GRC_OK)
{
// reset of station successful
}
else
{
// reset not successful (subsystem busy)
}
}
Leica TPS1200 – Version 1.50
Out
0
rc;
Theodolite Measurement and Calculation – TMC
Instrument station co-ordinates [m].
Execution successful.
171

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tm30Ts30Tps1200+

Table of Contents