dm_geocom_api_request_set_target_type Subroutine

public pure subroutine dm_geocom_api_request_set_target_type(request, target_type)

Request of BAP_SetTargetType procedure. Creates request for setting the EDM type.

The function sets the current EDM type (GEOCOM_BAP_TARGET_TYPE) for distance measurements: reflector (IR) or reflectorless (RL). For each EDM type, the EDM mode used last is remembered and actived if the EDM type is changed. If EDM type IR is selected, the automation mode used last is activated automatically. The API function BAP_SetMeasPrg can also change the target type. The EDM type RL is not available on all instruments.

The instrument returns the following responses:

  • grc – GeoCOM return code.
Property Values
Instruments TPS1100, TPS1200, TM30/TS30, TS16
ASCII request %R1Q,17021:<target_type>
ASCII response %R1P,0,0:<grc>

Arguments

Type IntentOptional Attributes Name
type(request_type), intent(out) :: request

Prepared request.

integer, intent(in) :: target_type

Target type (GEOCOM_BAP_TARGET_TYPE).


Calls

proc~~dm_geocom_api_request_set_target_type~~CallsGraph proc~dm_geocom_api_request_set_target_type dm_geocom_api_request_set_target_type proc~dm_geocom_api_request dm_geocom_api_request proc~dm_geocom_api_request_set_target_type->proc~dm_geocom_api_request