dm_geocom_api_request_get_simple_measurement Subroutine

public pure subroutine dm_geocom_api_request_get_simple_measurement(request, wait_time, inc_mode)

Request of TMC_GetSimpleMea procedure. Creates request for returning the values of the angle and distance measurement.

The API function returns the angles and distance measurement data. The argument wait_time sets the maximum time to wait for a valid distance. If a distance is available, the wait time is ignored.

The instrument returns the following responses:

  • grc – GeoCOM return code.
  • hz – Horizontal angle [rad].
  • v – Vertical angle [rad].
  • sdist – Slope distance [m].
Property Values
Instruments TPS1100, TPS1200, TM30/TS30, TS16
ASCII request %R1Q,2108:<wait_time>,<inc_mode>
ASCII response %R1P,0,0:<grc>,<hz>,<v>,<sdist>

Arguments

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

Prepared request.

integer, intent(in) :: wait_time

Delay to wait for the distance measurement to finish [msec].

integer, intent(in) :: inc_mode

Inclination measurement mode (GEOCOM_TMC_INCLINE_PRG).


Calls

proc~~dm_geocom_api_request_get_simple_measurement~~CallsGraph proc~dm_geocom_api_request_get_simple_measurement dm_geocom_api_request_get_simple_measurement proc~dm_geocom_api_request dm_geocom_api_request proc~dm_geocom_api_request_get_simple_measurement->proc~dm_geocom_api_request