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

Socket

Basic socket functions for Scilab
(10095 downloads for this version - 39288 downloads for all versions)
Details
Version
2.0.1
A more recent valid version exists: 2.0.3
Author
Tibault Reveyrand
Owner Organization
XLIM C2S2 (CNRS)
Maintainers
Samuel Gougeon
Administrator ATOMS
tibault reveyrand
License
Creation Date
September 27, 2012
Source created on
Scilab 5.4.x
Binaries available on
Scilab 5.4.x:
Windows 64-bit Windows 32-bit Linux 64-bit Linux 32-bit macOS
Scilab 5.5.x:
Windows 64-bit Windows 32-bit Linux 64-bit Linux 32-bit macOS
Install command
--> atomsInstall("socket_toolbox")
Description
            
Here is a SOCKET toolbox for Scilab. This toolbox enables communications between
an instrument or server located via TCPIP protocol and Scilab.

WARNING: 
This toolbox uses the Scilab TCL/Tk tclsci module, that's not
provided for MacOS. Hence, it can be used only with Scilab
on Windows and Linux.            
Files (3)
[16.52 kB]
Source code archive
makes it available for Scilab 5.4
[52.44 kB]
OS-independent binary for Scilab 5.4.x
Binary version
Automatically generated by the ATOMS compilation chain

[51.95 kB]
OS-independent binary for Scilab 5.5.x
Binary version (all platforms)
Automatically generated by the ATOMS compilation chain

News (0)
Comments (8)     Leave a comment 
Comment from David Schalk -- December 30, 2012, 07:30:25 PM    
This comment has been deleted.
Comment from Samuel Gougeon -- August 19, 2013, 04:17:17 AM    
Hello,

When loading the toolbox, we could expect the related library being
socket_toolboxlib. Actually, it is loaded through the .start file (line#18) as
toolbox_skeletonlib = lib(pathmacros);

It should be changed into
socket_toolboxlib = lib(pathmacros);

Best regards
Samuel Gougeon
Answer from Samuel Gougeon -- August 23, 2019, 02:11:48 PM    
Fixed in the 2.0.2 and later versions
Comment from Aaron Archibald -- November 17, 2014, 08:50:47 PM    
Hello, 

this is really nice work, thanks for your efforts!

Im trying to use this to communicate with a TCP server hosted on an arduino, and 
networked through my home wifi.

I can successfully write data to the server from scilab, but I can only get data from 
the server into scilab if it was written by the arduino in a certain way. 

If I use a .write command in arduino and send data to the server 1 character at a 
time, I can read it into scilab with the SOCKET_read command. but if i use a .print 
command in arduino and send data to the server, the SOCKET_read command will return 
an empty array.

I can connect to the server at the same time using puTTY to Telnet connect to the 
server, and the arduino will write the data to all clients connected to the server. 

When I do this and use the .print command in arduino, the data will arrive correctly 
in the telnet PuTTY window, so I know the data is getting printed to the server in a 
readable way, it just seems like the SOCKET_read command doesn't know how to 
interpret it.

Does anyone have any clues on how to fix this??

thanks so much for any suggestions!
Comment from tri nam tan nhang -- November 23, 2016, 09:05:21 AM    
tks you su much
https://goo.gl/cvUpmj
Answer from Samuel Gougeon -- November 23, 2016, 09:21:15 AM    
> tks you su much https://goo.gl/cvUpmj
This link is a SPAM. Nothing about Scilab.
Comment from Samuel Gougeon -- November 23, 2016, 09:20:30 AM    
This comment has been deleted.
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.