Leica TPS1200 Series Reference Manual page 32

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

Advertisement

GeoCOM Reference Manual
5.4.8 COM_GetComFormat – getting the transmission data format
COM_GetComFormat................................................................................................................................................................................................................................................................
........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ -
C-Declaration
COM_GetComFormat( COM_FORMAT &eComFormat )
VB-Declaration
VB_COM_GetComFormat( eComFormat As Long )
ASCII-Request
-
ASCII-Response
-
Remarks
This function gets the actual transmission data format.
Parameters
eComFormat
Return-Code Names and Return-Code Values
GRC_OK
See Also
COM_SetComFormat
Example
GRC_TYPE
rc;
COM_FORMAT
eComFormat;
COM_GetComFormat(eComFormat);
if (eComFormat == COM_ASCII)
{
printf("ASCII mode in use.\n");
}
else
{
printf("BINARY mode in use.\n");
}
Leica TPS1200 / TS30 / TM30 – Version 1.50
Out
or
COM_ASCII
0
Execution successful.
Communication Settings
COM_BINARY
32

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tm30Ts30Tps1200+

Table of Contents