Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | File Exchange
ATOMS : ScilabSerialLib details
Login with GitLab

ScilabSerialLib

Serial ports communication on Windows (Scilab 5.3+)
(912 downloads for this version - 8409 downloads for all versions)
Details
Version
0.3
A more recent valid version exists: 5.3
Author
ASkr
Owner Organization
TKÜV
Maintainers
AS Kr
Allan CORNET
Categories
License
Creation Date
January 25, 2011
Source created on
Scilab 5.3.x
Binaries available on
Scilab 5.3.x:
Windows 32-bit Windows 64-bit
Install command
--> atomsInstall("siseli")
Description
            Serial ports communication on Windows (Scilab 5.3+)

slCheck — Check availability of a COM port.
slClose — Closes a COM port.
slConfig — Configure a COM port (baudrate, databits, parity and stop bits).
slCount — Counts the available bytes in the receive buffer.
slFlush — Flushes the receive buffer and resets the overflow flag (if set)
slInit — Initializes some internal objects.
slLoad — Loads the library and links functions.
slMount — Creates a handle to a COM port and initializes internal objects.
slOpen — Opens a COM port.
slReadArray — Reads up to 32 bytes of data from the buffer.
slReadByte — Reads a byte from the receive buffer.
slSendArray — Sends an array to the COM port.
slSendByte — Sends a byte to the COM port.
slSendPacket — Sends a DLE STX DATA DLE DLE ETX packet
slSetPacketChar — Allows configuration of the special character byte
slSetPacketEnd — Allows configuration of the 2 packet end bytes
slSetPacketStart — Allows configuration of the 2 packet start bytes
slUMount — Deletes the handle and frees internal objects.
slUnload — Unload the library
slVersion — Returns the version of the library

Tested and supported builts/platforms:

 - Scilab 5.3.0-BETA4 (32 bit)
 - Scilab 5.3.0 (32 & 64 bit)
 - Windows XP Pro and Home (SP3, 32Bit)
 - Windows 7 (32 & 64 Bit)


If you need serial ports in Scilab 5+, give it a try.
If it doesn't work:

- Drop me a note and I'll see what I can do.
- Source code is included. Use it ;-)

ASkr


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

*UPDATE* 01/2011:
  Added x64 version.
            
Files (3)
[418.17 kB]
Windows 32-bit binary for Scilab 5.3.x
Mise à jour du fichier de Description.
[418.17 kB]
Windows 64-bit binary for Scilab 5.3.x
Mise à jour du fichier de Description.
[405.32 kB]
Source code archive
sources files 
News (0)
Comments (1)     Leave a comment 
Comment from AS Kr -- January 25, 2011, 11:37:50 PM    

I just added a new x64 version.

ASkr
Answer from Allan CORNET -- January 26, 2011, 06:21:39 AM    
> 
> I just added a new x64 version.
> 
> ASkr


Hi,

Have you plan to create and upload a ATOMS package ?

Thanks for users ;)

Allan
Answer from Mark Dresser -- February 24, 2011, 03:21:49 AM    
> 
> I just added a new x64 version.
> 
> ASkr


Thanks, ASkr.

I finally got pcie serial hardware that works with Win 7 x64 today and everything is
working great.

Previously I tried a USB <-> RS-232 dongle that did not work reliably (seemed to be a
problem with the Win 7 USB driver)

Mark
Leave a comment
You must register and log in before leaving a comment.
Login with GitLab
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.