
GeoBASIC Reference Manual
2.GeoBasic Constructs
TPS1100-Version 1.30
2-79
TPS_Sim
This procedure has no effect if it is called on the
TPS-Simulator.
Parameters
szPacket
in
The string that should be interpreted as a
Remote procedure call.
lStop
out
Will be set to
TRUE
if and only if the
command can be successfully parsed and
if it is a ‘Go Local’ (1) command.
See Also
Receive
Error Codes
RC_OK
Completed successfully.
RC_INVPARAM
The string in
szPacket
does not contain
a valid Remote procedure call.
Example
This example polls the serial line and if it receives a Command
then it executes it.
DIM iSize AS Integer
DIM sIn
AS String255
DIM lStop AS Integer
ON ERROR RESUME NEXT
COM_SetTimeOut (0)
' do not wait
iSize = 255
' try to get whole string
Receive (sIn, iSize)
IF Err = RC_OK AND iSize > 0 THEN
COM_ExecCmd( sIn, lStop )
END IF
Содержание 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 ...