Serial Communication Toolbox for Scilab
This toolbox enables the use of Serial Communication in Scilab and in Scicoslab
It can run in Scilab for Windows and Linux, but not for MacOS.
* openserial — open serial port
* readserial — read characters from serial port
* writeserial — write to the serial port
* serialstatus — get status of the serial port
* closeserial — close the serial port
h = openserial(p, smode, translation, handshake, xchar, blocking, timeout)
buf = readserial(h [,n])
err = writeserial(h, buf)
[queue, status] = serialstatus(h)
err = closeserial(h)
0.5 : 30/5/2019: ports # > 9 now supported.
0.4.2: 13/3/2017: Toolbox ported to Scilab 6.0
0.4.1: 2/10/2012: Toolbox ported to Scilab 5.5
0.4 : 15/4/2012: Toolbox ported to Scilab 5.4
0.3 : 14/5/2011: Initial release on ATOMS by Aditya Sengupta
serial is now compatible with Scilab 5.x
0.2.x: 12/1/2009: Final Release by Enrico Segre
0.2 : corrected version after http://bugzilla.scilab.org/3829 :
readserial/writeserial were confused by strings containing
nonprintable ascii characters
This toolbox is a port of the __Portable Serial Toolbox__ for Scilab originally
written by Enrico Segre (http://www.weizmann.ac.il/home/fesegre)
and has been ported to Scilab 5.x and released with his kind permission. It is
licensed, at his request, under the GPLv3.
Enrico does not wish to provide support for this toolbox anymore. Therefore, for
any support related queries or otherwise, please raise an issue on the Github
project page (https://github.com/sengupta/Scilab-Serial).
You can reach me at [this address](mailto:email@example.com), but I would
prefer you raise an issue on Github for problems with the toolbox.
The implementation via TCL wrappers is certainly suboptimal, but shouldn't be
such a penalty, given the low bandwidth and the intrinsic asynchronous mode of
serial communication. And mainly, it relieves the developer from supporting many
platforms at once.