dm_geocom_api_request_measure_distance_angle Subroutine

public pure subroutine dm_geocom_api_request_measure_distance_angle(request, dist_mode)

Request of BAP_MeasDistanceAngle procedure. Creates request for measuring Hz, V angles and a single distance.

The API function measures angles and a single distance depending on the distance measurement mode dist_mode. It is not suited for continuous measurements (Lock mode and TRK mode), and uses the current automation settings.

The instrument returns the following responses:

  • grc – GeoCOM return code.
  • hz – Horizontal angle [rad].
  • v – Vertical angle [rad].
  • sdist – Slope distance [m].
  • distmode – Distance measurement mode (GEOCOM_BAP_MEASURE_PRG).
Property Values
Instruments TPS1100, TPS1200, TM30/TS30, TS16
ASCII request %R1Q,17017:<dist_mode>
ASCII response %R1P,0,0:<grc>,<hz>,<v>,<sdist>,<distmode>

Arguments

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

Prepared request.

integer, intent(in) :: dist_mode

Distance measurement mode (GEOCOM_BAP_MEASURE_PRG).


Calls

proc~~dm_geocom_api_request_measure_distance_angle~~CallsGraph proc~dm_geocom_api_request_measure_distance_angle dm_geocom_api_request_measure_distance_angle proc~dm_geocom_api_request dm_geocom_api_request proc~dm_geocom_api_request_measure_distance_angle->proc~dm_geocom_api_request