Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | File Exchange
ATOMS : SiSeLi - Scilab Serial Port Library details
Please login or create an account

SiSeLi - Scilab Serial Port Library

Serial ports communication on Windows (Scilab 5.3+)
(354 downloads for this version - 7889 downloads for all versions)
A more recent valid version with binaries for Scilab exists: 5.3
Owner Organization
Allan Cornet
Creation Date
April 5, 2014
Source created on
No source archive has been provided for this toolbox version.
Binaries available on
The maintainer of this module has not provided binaries.

Serial ports communication on Windows (Scilab 5.3+)

(some) FEATURES:
        - no installation required
        - Supports all kinds of serial ports, including USB, Bluetooth or
virtual connections.      
        - baud rates up to 3MBit/s
        - unlimited amount of simultaneous connections
        - supports DLE sequenced packet mechanism
        - it rocks
        - ...

Available functions:

  slVersion        Returns the version of the library.
  slUnload         Unload the library.
  slMount          Creates a handle to a COM port and initializes it
  slUMount         Deletes the handle and frees internal objects.
  slCheck          Check availability of a COM port.
  slConfig         Configure a COM port
  slOpen           Opens a COM port.
  slClose          Closes a COM port.
  slSendByte       Sends a byte to the COM port.
  slSendArray      Sends an array to the COM port.
  slCount          Counts the available bytes in the receive buffer.
  slReadByte       Reads a byte from the receive buffer.
  slFlush          Flushes the receive buffer and resets ov flag
  slReadArray      Reads up to 32 bytes of data from the buffer.
  slReadArrayN     Reads an arbitrary amount of data from the buffer.
  slSendPacket     Sends a DLE sequenced packet.
  slReadPacket     Reads a DLE sequenced packet.
  slCountPacket    Counts the number of packets in the receive buffer.
  slSetPacketStart Allows cfg. of the 2nd "packet start" bytes STX
  slSetPacketEnd   Allows cfg. of the 2nd "packet end" bytes ETX
  slSetPacketChar  Allows cfg. the "special character" byte DLE

Tested and supported platforms:

 - Scilab >=5.3, x86 (32 bit) and x64 (64 bit)


*UPDATE* 01/2011:
  Added x64 version (ASkr)

*UPDATE* 11/2011:
  Packaged as ATOMS module (Allan CORNET - Scilab)

*UPDATE* 10/2012:
  Updated to V0.4, included function slReadArrayN
  x64 version pending (still V0.3)

*UPDATE* 10/2012, #2:
  Updated to V0.5, now with baud rates up to 3MBit/s
  x64 version pending (still V0.3)

*UPDATE* 10/2012, #3:
  Zip file V0.5 contained wrong version of "slLoadLib.sci". Fixed.

*NEWS* 1/2013:
  I moved the source code to Github:
  Everyone is welcome to improve the code or boost it forward...

*UPDATE* 1/2013:
  Updated x86 and x64 versions to V0.6.
  Both versions are also available from this site (somewhere below).
  Now with fully functional packet mode and up to 16 simultaneous connections.

*UPDATE* 4/2014:
  Updated unified x86/x64 versions to V0.7.
  Complete internal redesign.
  Now with unlimited amount of serial connections.
  SiSeLi now auto-selects the right 32 or 64 bit DLL for you.
  slMount() does not require the handle argument any longer.
  slReadByte() does not require the 2nd argument if NONBLOCKING
Files (0)
News (0)
Comments (3)     Leave a comment 
Comment from Administrator Atoms -- November 28, 2014, 09:02:48 AM    

This package version is not an Atoms package.
Can you update it, please ?

The Scilab Atoms ADmin
Comment from AS Kr -- November 28, 2014, 02:05:21 PM    

how can I delete this module and remove it from your
ATOMS repository?

Comment from Administrator Atoms -- November 28, 2014, 04:24:27 PM    

I delete it.

The Scilab Atoms Admin
Leave a comment
You must register and log in before leaving a comment.
Email notifications
Send me email when this toolbox has changes, new files or a new release.
You must register and log in before setting up notifications.