The SOCKET Toolbox for Scilab

for TCP IP instrumentation without the VISA layer


The WINSOCKET Toolbox was available since 2006. But this NEW toolbox DO NOT USE the Winsocket librairy. The source code is 100% Scilab and it works whatever your OS (Windows, Linux, OS X,...). You just need Scilab and the embedded TCL TK kernel.
The functions are quite the same between this version and the WinSocket toolbox. The only difference is the buffer : you don't have to specify it during SOCKET_read() or SOCKET_query() calls.

Focus iTuner driven with Scilab
TCP-IP intrumentation under openSuse 10.2
Focus iTuner driven with Scilab
TCP-IP intrumentation under Windows XP


// Exemple done with two iTuners by Focus Microwave
SOCKET_open(1,"",23); // The session #1 is opened
SOCKET_open(2,"",23); // The session #2 is opened

// Now we can communicate with devices...

Other example : check your mail


-->SOCKET_write(1,"user tibault.reveyrand")

ans =

!+OK connected to pop3 on 8201 !
! !
!+OK name is a valid mailbox !

--> _

Download and installation

1. Download the archive file here :
Scilab 4.xx and Scicoslab toolbox
Scilab 5.xx toolbox Thanks to Yann Colette for the Scilab 5.2 version.
2. Unzip the file in your Scilab contrib directory (SCI+\contrib)
3. Install the Toolbox : exec(SCI+'/contrib/SOCKET/builder.sce')
4. Now, the SOCKET toolbox can be loaded from the Scilab Toolbox menu.

Publications : They talk about it !

Read the paper Z. Magyar, T. Starý, L. Szolik, L. Vörös, K. Žáková
«Modeling of linear dynamical systems using open tools.»
10th international conference Virtual University, December 2009, Bratislava.
Read the paper Z. Magyar, K. Žáková
«Using SciLab for building of virtual lab.»
9th International Conference on Information Technology Based Higher Education and Training (ITHET) ,pp. 280-283, Cappadocia, April 2010.
Crossref DOI: 10.1109/ITHET.2010.5480084
Read the paper Jheel Shah, Prof Vinod P. Patel
«Real Time Interfacing & Control techniques using an open source.»
International Journal of Science, Engineering and Technology Research (IJSETR), Volume 3, Issue 3, March 2014.