GeoCOM Reference Manual
Central Services – CSV
Leica TPS1200 – Version 1.50
105
11.4.3
CSV_GetDeviceConfig – getting the instrument configuration
CSV_GetDeviceConfig..............................................................................................................................................................................................................................................................................
Config
........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ 5035
5035 ................................................................................................................................................................................................................................................................CSV_GetDevice
C-Declaration
CSV_GetDeviceConfig(TPS_DEVICE &Device);
VB-Declaration
VB_CSV_GetDeviceConfig(Device As TPS_DEVICE)
ASCII-Request
%R1Q,5035:
ASCII-Response
%R1P,0,0:
RC, DevicePrecisionClass[long],
DeviceConfigurationType[long]
Remarks
This function returns information about the class and the configuration type of the instrument.
Parameters
Device
Out
System information (see data type description for further
information).
Return-Code Names and Return-Code Values
GRC_OK
0 Execution
successful.
Example
GRC_TYPE rc;
TPS_DEVICE Device;
rc = CSV_GetDeviceConfig(Device);
if (rc == GRC_OK)
{
// Use system information
}
else
{
// Intrument precision class undefined
// (incomplete calibration data)
}