Documentation
Last update : 31/10/2005

About the Scilab WinSocket Toolbox - General informations...

Description

The Scilab Socket toolbox enables TCPIP communication process with Scilab. This toolbox uses the Winsock 1.0 librairy and runs under Windows only.

This toolbox enables communications between Scilab and Focus Microwave IP Tuner, if you VISA layer don't support Raw Socket Protocol.

If you are using the GPIB Toolbox v1.1 (or higher) with a VISA layer which support Raw Socket Protocol, you do not have to use the SOCKET toolbox. The GPIB Toolbox allows the same functions.

Exemple

SOCKET_init(); // Initialize : Create an array of 32 possible connections

SOCKET_open(1,"10.0.0.1",23); // Open Socket : Associate ID #1 to IP 10.0.0.1 and port 23

SOCKET_query(1,"help",3000) // Write/read on the socket #1 - The buffer length is 3000 char.

See Also

SOCKET_init ,   SOCKET_close ,   SOCKET_write ,   SOCKET_read ,   SOCKET_query ,  

Author

Tibault Reveyrand