Leica tps1100 Reference Manual page 50

Hide thumbs Also See for tps1100:
Table of Contents

Advertisement

GeoCOM Reference Manual
COM_GetComFormat(eComFormat);
if (eComFormat == COM_ASCII)
{
printf(„ASCII mode in use.\n");
}
else
{
printf(„BINARY mode in use.\n");
}
5.3.10 COM_SetComFormat - Set Transmission Data Format
COM_ SetComFormat......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... -
C-Declaration
COM_SetComFormat( COM_FORMAT eComFormat )
VB-Declaration
VB_COM_SetComFormat( ByVal eComFormat As Long )
ASCII-Request
-
ASCII-Response
-
Remarks
GeoCOM chooses during start-up the default transmission data-format. If the TPS
Firmware Release is 2.00 or higher, then, this will be binary mode. Nevertheless,
one can force ASCII data format for special purposes, e.g. debugging.
In the case of an ASCII request, the server side will be set only. The server always
replies in the data-format that it has received the request. In this context this RPC
can be used to deny binary data format.
Parameters
EComFormat
Return Codes
RC_OK
RC_COM_PORT_NOT_OPEN
RC_COM_NO_BINARY
See Also
COM_SetComFormat
TPS1100 - Version 1.05
Out
COM_ASCII
On successful completion.
Port not open for transmission.
TPS Firmware does not support
binary data transmission format.
Communication Settings
or
COM_BINARY
5-17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents