dm_geocom_api_request_download Subroutine

public pure subroutine dm_geocom_api_request_download(request, block_number)

Request of FTR_Download procedure. Creates request to get a single block of data. The FTR_SetupDownload command has to be called first.

The block sequence starts with 1. The download process will be aborted if the block number is set to 0.

The maximum block number is 65535. The file size is therefore limited to 28 MiB.

The instrument returns the following responses:

  • grc – GeoCOM return code.
  • blockval – Block value [byte].
  • blocklen – Block length.
Property Values
Instruments TPS1200, TM30/TS30, TS16
ASCII request %R1Q,23304:<blocknum>
ASCII response %R1P,0,0:<grc>,<blockval>,<blocklen>

Arguments

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

Prepared request.

integer, intent(in) :: block_number

Block number.


Calls

proc~~dm_geocom_api_request_download~~CallsGraph proc~dm_geocom_api_request_download dm_geocom_api_request_download proc~dm_geocom_api_request dm_geocom_api_request proc~dm_geocom_api_request_download->proc~dm_geocom_api_request