Communication Settings; Usage; Constants And Types - Leica TPS1200 Series Reference Manual

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

Advertisement

GeoCOM Reference Manual
5 C
OMMUNICATION

5.1 USAGE

This subsystem provides functions which influences GeoCOM as a whole and functions, which relate to the client side
only. If a function influences the client side only then there is no ASCII request defined.

5.2 CONSTANTS AND TYPES

Serial Port Selector
This enumeration type denotes the hardware serial port.
enum COM_PORT
{
COM_1
= 0,
COM_2
= 1,
COM_3
= 2,
COM_4
= 3
};
Transmission Data Format
This value tells if the transmission takes place in a readable ASCII data format or in a data size optimised binary data
format.
enum COM_FORMAT
{
COM_ASCII
COM_BINARY = 1
};
Baud Rate
enum COM_BAUD_RATE
{
COM_BAUD_38400 = 0,
COM_BAUD_19200 = 1,
COM_BAUD_9600
COM_BAUD_4800
COM_BAUD_2400
COM_BAUD_115200 = 5,
COM_BAUD_57600 = 6
};
MS-Windows Data Types
One of the described functions uses the predefined type
MS-Windows development environment for this data type.
Note:
depends on whether the pre-processor symbol
HWND
is automatically defined. Otherwise the user must
Leica TPS1200 / TS30 / TM30 – Version 1.50
S
ETTINGS
// port 1
// port 2
// port 3
// port 4
= 0,
// Force ASCII comm.
// Enable binary comm.
// default baud rate
= 2,
= 3,
= 4,
of MS-Windows. Please refer to the documentation of
HWND
is defined. When MFC libraries are used,
STRICT
or he will get unresolved externals.
#define STRICT

Communication Settings

STRICT
21

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tm30Ts30Tps1200+

Table of Contents