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

ScilabSerialLib

Windows DLL for accessing serial ports from within Scilab 5.3+
(0 downloads for this version - 8190 downloads for all versions)
Details
Version
0.1
A more recent valid version with binaries for Scilab exists: 5.3
Author
ASkr
Owner Organization
TKÜV
Maintainer
AS Kr
Category
License
Creation Date
October 24, 2010
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.
Description
            After upgrading to Scilab v5.3.0-BETA4, which actually is the first
5+ version that did not immediately crash on my system, I somehow
missed the possibility of accessing the serial ports...

Non of the v4 serial-tools seemed to work, so I quickly built
my own library.

Right now (10/2010) tests were only done with:

 - Windows XP Pro and Home (SP3, 32Bit)
 - Scilab 5.3.0-BETA4

Obviously, Scilab 5.3 does not Support Windows-2000 any more.
A test installation only brought up the message:
"Scilab requires at least NT5.1".


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
            
Files (0)
News (0)
Comments (2)     Leave a comment 
Comment from Mark Dresser -- December 20, 2010, 05:09:59 AM    
I've gotten this working for an application that was originally written for Scilab 4.1.2
and 
ported to Scilab 5.x.  I was stuck for the serial port interface and contemplating trying
to 
write my own when this appeared.

As noted below, it isn't perfect yet, but it sure beats what I had before, which was 
nothing!

Thanks

Mark

I've tried it on Win XP, 32bit and it works fine for everything I've tried.
Win 7 64bit, Scilab 5.3.0 beta 5 64bit does not work (DLL refuses to load)
Win 7 64bit, Scilab 5.3.0 beta 5 32bit does not work (DLL refuses to load)
Win 7 32bit, Scilab 5.3.0 beta 5 32bit successfully loads DLL and seems to be working but 
some of the results I got were funny (might be the application mis-behaving but it was a 
borrowed machine and I had to give it back before I got to the bottom of it).

It seems from some of my reading that DLLs have to be compiled specially to work with 64
bit 
OS, but I haven't gotten any further.
Comment from Allan CORNET -- January 3, 2011, 08:08:42 AM    
Hi,

Please notice that it is not possible to load a 32 bits DLL in a 64 bits program

Allan
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.