The machine tool has a programming language that will allow for the
launch of external applications that support command line arguments.
I need to open from the machine tool program Scilab and execute
specific functions from a command line.
The machine tool program will wait for the execution of the function
and for Scilab to shut down.
E.g.
C:\Program Files\Scilab-2.6\bin\runscilab.exe
exec('C:\RunLib\\surfmatrix.sci')
Thanks by advance
Damien
¨C:\Program Files\Scilab-2.6\bin\runscilab.exe -f C:\RunLib\surfmatrix.sci¨
or
¨C:\Program Files\Scilab-2.6\bin\runscilab.exe -e
exec('C:\RunLib\surfmatrix.sci')¨
you might have to experiment with single or double quotes depending on
that particular programming language escapes spaces and quotes within
strings. You must also remember to end your surfmatrix.sci with ¨quit¨
so that scilab exits afterwards.
hth, Enrico
I not an expert myself into that, but, besides the hard way of an opsys
command as above, have you had a look into
http://www-rocq.inria.fr/scilab/doc/HOWTO/HOWTO-use-scilab-engine.txt ?
Enrico