Overview | Index by: file name | procedure name | procedure call | annotation

leica_com.tcl Annotations

Created from leica_com.tcl
Leica serial communication procs

Ulyxes - an open source project to drive total stations and publish observation results

GPL v2.0 license

Copyright (C) 2010-2012 Zoltan Siki

Version:
1.1
Author:
Zoltan Siki
Daniel Moka (TclDoc comments)

Procedure Summary
::CloseCom { }

Close communicaton port

::OpenCom { {par leica.com} }

Open com port, port number and other parameters are read from a file.

::ReadCom { }

Read input from com port Input chars are added to global input buffer (buf)

::Send { msg }

Send message to the instrument and wait for answer

Procedure Detail

::CloseCom

proc  ::CloseCom {  }
Close communicaton port
Defined in:
leica_com.tcl, line 44

::OpenCom

proc  ::OpenCom { {par leica.com} }
Open com port, port number and other parameters are read from a file.

Set global variable com

Parameters:
par - name of parameter file, optional (default leica.com)
Returns:
0 on success nonzero in case of error
Defined in:
leica_com.tcl, line 58

::ReadCom

proc  ::ReadCom {  }
Read input from com port

Input chars are added to global input buffer (buf)

Defined in:
leica_com.tcl, line 19

::Send

proc  ::Send { msg }
Send message to the instrument and wait for answer
Parameters:
msg - message to send
Returns:
return 0 on sucess or nonzero error status
Defined in:
leica_com.tcl, line 86

file name | procedure name | procedure call | annotation
File generated 2014-04-15 at 20:21.