GeoCOM Reference Manual
Central Services – CSV
Leica TPS1200 – Version 1.50
104
11.4.2
CSV_GetInstrumentName – getting the Leica specific instrument name
CSV_GetInstrumentName.............................................................................................................................................................................................................................................................................
entName
.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 5004
5004 ................................................................................................................................................................................................................................................................CSV_GetInstrum
C-Declaration
CSV_GetInstrumentName(char *Name)
VB-Declaration
VB_CSV_GetInstrumentName(Name As String)
ASCII-Request
%R1Q,5004:
ASCII-Response
%R1P,0,0:
RC,Name[string]
Remarks
Gets the instrument name, for example: TS30 0,5”
Parameters
Name
Out
The instrument name
Return-Code Names and Return-Code Values
GRC_OK
0 Execution
successful.
Example
GRC_TYPE rc;
rc = CSV_GetInstrumentName(szName);
if (rc == GRC_OK)
{
// use instrument name
}
else
{
// instrument name not set yet
// (incomplete calibration data)
}