GeoCOM Reference Manual
Basic Applications – BAP
Leica TPS1200 / TS30 / TM30 – Version 1.50
72
8.3.2
BAP_SetTargetType – setting the EDM type
BAP_SetTargetType ..............................................................................................................................................................................................................................................................................
ype
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ 17021
17021...............................................................................................................................................................................................................................................................BAP_SetTargetT
C-Declaration
BAP_SetTargetType ( BAP_TARGET_TYPE eTargetType )
VB-Declaration
VB_BAP_SetTargetType(byVal eTargetType As Long)
ASCII-Request
%R1Q,17021:
eTargetTyp
e
[long]
ASCII-Response
%R1P,0,0:
RC
Remarks
Sets the current EDM type for distance measurements (Reflector (IR) or Reflectorless (RL)).
For each EDM type the last used EDM mode is remembered and activated if the EDM type is changed.
If EDM type IR is selected the last used Automation mode is automatically activated.
BAP_SetMeasPrg can also change the target type.
EDM type RL is not available on all instrument types.
Parameters
eTargetType In
Target
type
Return-Code Names and Return-Code Values
GRC_OK
0 Execution
successful.
GRC_IVPARAM
2
Target type is not available
See Also
BAP_GetTargetType()
BAP_SetMeasPrg()
Example
-