
GeoBASIC Reference Manual
2.GeoBasic Constructs
2-76 TPS1100-Version
1.30
2.13.2 Receive
Description
Receives a string from the serial interface. The actual settings will
be used to receive data from the serial line.
Declaration
Receive( sMessage AS String255,
nLength
AS Integer )
Remarks
The
routine
Receive
reads a message with a maximal length of
255 characters from the serial line. No formatting at all will be
done. The routine will return from execution when either
nLength
characters or the pre set terminator has been received or
the pre set time-out has been reached. An eventually received
terminator will be excluded in the received message.
Note
The data-link must be active. The parameters for the
transmission can be set in the GSI communications
dialog.
If time-out is reached, less characters than requested
(even Zero) may be received.
If
nLength
> 255 then it will be limited to 255
automatically without notification of the caller.
TPS_Sim
Calling
Receive
on the TPS-Simulator has no
effects.
Parameters
sMessage
out
The received message string.
nLength
inout
In: The maximum number of
characters to be received.
Out: The actual number of characters
received.
See Also
Send
COM_SetTimeOut
Содержание tps1100
Страница 1: ...GeoBASIC FOR TPS1100 User Manual Version 2 10 1997 2001 Leica Geosystems AG Heerbrugg Switzerland ...
Страница 150: ...GeoBASIC FOR TPS1100 Reference Manual Version 2 10 1997 2001 Leica Geosystems AG Heerbrugg Switzerland ...
Страница 411: ...GeoBASIC Reference Manual 6 System Functions TPS1100 Version 1 30 6 7 6 5 35 CSV_LibCallAvailable 6 213 ...
Страница 620: ...TPS1100 Version 2 10 6 1 ...
Страница 621: ......
Страница 623: ...TPS1100 Version 2 10 6 1 ...
Страница 624: ......
Страница 1053: ...TPS1100 Version 1 30 E 1 Appendix E GEOFONT ...
Страница 1154: ...GeoBASIC Reference Manual Appendix J List of Predefined Identifiers TPS1100 Version 1 30 J 9 TMC_SetOffsetDist 6 128 ...