GeoCOM Reference Manual
Communications – COM
Leica TPS1200 – Version 1.50
95
10.3
FUNCTIONS
10.3.1
COM_GetSWVersion - retrieving server instrument version
COM_GetSWVersion...................................................................................................................................................................................................................................................
110 .................................................................................................................................................................................................................................................................COM_GetSWVe
C-Declaration
.........................
rsion
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ 110
COM_GetSWVersion( short
&nRel,
short &nVer,
short &nSubVer )
VB-Declaration
VB_COM_GetSWVersion( nRel
As Integer,
nVer
As
Integer,
nSubVer As Integer)
ASCII-Request
%R1Q,110:
ASCII-Response
%R1P,0,0:
RC, nRel[short], nVer[short], nSubVer[short]
Remarks
This function displays the current GeoCOM release (release, version and subversion) of the instrument.
Parameters
nRel Out
Software release.
nVer Out
Software version.
nSubVer Out
Software subversion (reserved).
Return-Code Names and Return-Code Values
GRC_OK
0 Execution
successful.
See Also
CSV_GetSWVersion
Example
GRC_TYPE rc;
short
nRel, nSubVer, nVer;
COM_GetSWVersion(nRel, nVer, nSubVer);
printf(„TPS1200 GeoCOM Release:\n“);
printf(„Release %02d\n“, nRel);
printf(„Version %02d\n“, nVer);
printf(„Subversion %02d\n“, nSubVer);