leica_com.tcl
Ulyxes - an open source project to drive total stations and publish observation results
GPL v2.0 license
Copyright (C) 2010-2012 Zoltan Siki
| 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 |
|---|
proc ::CloseCom { }
proc ::OpenCom { {par leica.com} }
Set global variable com
par - name of parameter file, optional (default leica.com)proc ::ReadCom { }
Input chars are added to global input buffer (buf)
proc ::Send { msg }
msg - message to send