Leica tps1100 Reference Manual page 16

Hide thumbs Also See for tps1100:
Table of Contents

Advertisement

GeoCOM Reference Manual
Enumerations
If the corresponding C-parameter is an enumeration data type, then the
enumeration value of the ASCII parameter is equal to the implicit value of
the declaration of the C-data type. For clarification, we will give always the
name and the associated value in the description of an enumeration data
type.
Structures
Structure data types will be converted into a comma separated list of
elements. One element's representation conforms to the data type
representation of its base type. If an element itself is a structure then depth
first conversion will take place. If this rule does not apply then the types
and their ASCII parameters are described explicitly.
Arrays
An array will be converted into a comma-separated list of elements. One
element's representation conforms to the data type representation of its
base type.
Example for Enumeration Data Types and Structures
The following example gives a typical data type declaration and the
corresponding procedure declaration used in this manual for
TMC_GetSimpleMea
Calculation:
Constants and Types
typedef long SYSTIME;
struct TMC_HZ_V_ANG
{
double dHz;
double dV;
}
enum TMC_INCLINE_PRG
{
TMC_MEA_INC,
TMC_AUTO_INC,
TMC_PLANE_INC
}
TPS1100 - Version 1.05
Fundamentals of Programming GeoCOM
from the subsystem Theodolite Measurement and
// encoded as 0
//
//
1
2
3-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents