GeoCOM Reference Manual
Central Services – CSV
Leica TPS1200 – Version 1.50
109
11.4.7
CSV_GetSWVersion – getting the software version
CSV_GetSWVersion..............................................................................................................................................................................................................................................................................
rsion
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ 5034
5034 ................................................................................................................................................................................................................................................................CSV_GetSWVe
C-Declaration
CSV_GetSWVersion2(short &nRelease, short &nVersion,
short &nSubVersion)
VB-Declaration
VB_CSV_GetSWVersion2(nRelease As Integer,
nVersion As Integer,
nSubVersion As Integer)
ASCII-Request
%R1Q,5034:
ASCII-Response
%R1P,0,0:
RC,nRelease,nVersion,nSubVersion[all short]
Remarks
Returns the system software version.
Parameters
nRelease
Out Release
nVersion
Out Version
nSubVersion
Out Sub
Version
Return-Code Names and Return-Code Values
GRC_OK
0 Execution
successful.
Example
GRC_TYPE rc;
short nRel, nVers, nSubVers;
char szBuffer[17]
rc = CSV_GetSWVersion(nRel, nVers, nSubVers)
sprintf(szBuffer, "Version %02d.%02d.%02d",
nRel, nVers, nSubVers);
Returns:
nRel = 2, nVers = 20, nSubVers = 0
szBuffer = “Version 02.20.00”