[Scilab-users] Sockets in scilab 6.0

James Holland j_holland at msn.com
Thu May 24 15:40:43 CEST 2018


I want to communicate with an oscilloscope through an Ethernet connection. I
have downloaded the files linked from the Atoms page.
If I try to run the loader then I get the message 'lib: Old binary lib
detected. Please recompile it for Scilab 6.' I don't see any files that
aren't Scilab so I ran 'builder.sce'. I get the following message:
'--> exec('C:\Users\James.Holland\Documents\Scilab\socket
src\builder.sce',-1)
Building macros...
-- Creation of [socket_toolboxlib] (Macros) --
Building help...

Building the master document:
	C:\Users\James.Holland\Documents\Scilab\socket src\help\en_US

Building the manual file [javaHelp] in
C:\Users\James.Holland\Documents\Scilab\socket src\help\en_US.

Building the master document:
	C:\Users\James.Holland\Documents\Scilab\socket src\help\fr_FR

Building the manual file [javaHelp] in
C:\Users\James.Holland\Documents\Scilab\socket src\help\fr_FR.
WARNING: tbx_build_loader: tbx_build_loader(name, path) is obsolete. Please
use tbx_build_loader(path) instead.
Generating loader.sce...
Generating unloader.sce...
WARNING: tbx_build_cleaner: tbx_build_cleaner(name, path) is obsolete.
Please use tbx_build_cleaner(path) instead.
Generating cleaner.sce...
'

After that I ran the loader which returned:
--> exec('C:\Users\James.Holland\Documents\Scilab\socket src\loader.sce',-1)
Start Socket Toolbox
	Load macros
	Load help
	Load demos
I then get the following error:

<code>
--> exec('C:\Users\James.Holland\Documents\Scilab\socket
src\demos\ex_1.sce',-1)

    []

Undefined variable: mat

Undefined variable: mat

Undefined variable: mat

Undefined variable: mat

Undefined variable: mat

Undefined variable: mat

Undefined variable: mat

Undefined variable: mat

Undefined variable: mat

Undefined variable: mat

Undefined variable: mat

Undefined variable: mat

Undefined variable: mat

Undefined variable: mat
mat=["<!doctype html><html itemscope=""""
itemtype=""http://schema.org/WebPage"" lang=""en-GB""><head><meta
content=""text/html; charset=UTF-8"" http-equiv=""Content-Type""><meta
content=""/images/branding/googleg/1x/googleg_standard_color_128dp.png""
itemprop=""image""><title>Google</title><style>#gb{font:13px/27px
Arial,sans-serif;height:30px}#gbz,#gbg{position:absolute;white-space:nowrap;top:0;height:30px;z-index:1000}#gbz{left:0;padding-left:4px}#gbg{right:0;padding-right:5px}#gbs{background:transparent;position:absolute;top:-999px;visibility:hidden;z-index:998;right:0}.gbto
#gbs{background:#fff}#gbx3,#gbx4{background-color:#2d2d2d;background-image:none;_background-image:none;background-position:0
-138px;background-repeat:repeat-x;border-bottom:1px solid
#000;font-size:24px;height:29px;_height:30px;opacity:1;filter:alpha(opacity=100);position:absolute;top:0;width:100%;z-index:990}#gbx3{left:0}#gbx4{right:0}#gbb{position:relative}#gbbw{left:0;position:absolute;top:30px;width:100%}.gbtcb{position:absolute;visibility:hidden}#gbz
.gbtcb{right:0}#gbg .gbtcb{left:0}.gbxx{display:none
!important}.gbxo{opacity:0 !important;filter:alpha(opacity=0)
!important}.gbm{position:absolute;z-index:999;top:-999px;visibility:hidden;text-align:left;border:1px
soli
                                                                                                                                                                                                                                                                                                                                                                             
^^
Error: Heterogeneous string detected, starting with " and ending with '.
</ code>



Has anyone successfully used socket_toolbox_2.0.1_5.5 within Scilab 6.0?
How do I get the toolbox to load on start up like other Atoms modules?

TIA James






--
Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html



More information about the users mailing list