GeoCOM Reference Manual
Communication Settings
Leica TPS1200 / TS30 / TM30 – Version 1.50
32
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 Out
COM_ASCII
or
COM_BINARY
Return-Code Names and Return-Code Values
GRC_OK
0 Execution
successful.
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");
}