TCL : Milestone and further investigations.

Bruno JOFRET bruno.jofret at inria.fr
Tue Feb 12 07:59:51 CET 2008


Hi there,

Sorry for the delay, but I have been sick and busy for a while...
So first, I beg your pardon for this pending situation, I did not want 
this thread to "die".

Just want to gather all the informations and state we are involved in.

Actual State : (Trunk Version)
=========
I created a separated TCL thread in Scilab in order to have all TCL Gui 
no more muddy.
It fixes BUG 2514 and 2640 (for me, do you all agree ?).
Extended features :
- Separate TCL "update" loop
- TCL_* Commands available (except TCL_EvalFile, see below)
- Recursive commands using ScilabEval & TCL_EvalStr are working.
(For this issue, can you Francois and Enrico tell me the need of such a 
think. I guess it was for some synchro
but I confess it looks obscure to me)
Broken stuff :
- Scipad Debug Mode
- TCL_EvalFile.

Investigations : (Dev version, not published in order to have an 
operationnal Trunk)
==========
- Doing some active loops in Scipad freeze to update process.
(But if you kill the loop from scilab, everything came right back).
I am trying 2 solutions :
    1-Join the "main" Scilab thread to execute the script
    2-Launch another thread...
I face troubles for the 2 cases, despite the fact I locked Scilab "run" 
process
to only have a single execution.
- Scipad Debug Mode is not working anymore :
I did not have enough time to investigate on that. Is there any wiki 
page or whatsoever describing
the communication process between Scilab & Scipad ?
- TCL_EvalFile :
There is a simple solution, but Ido not know if it's effective or not :
TCL_EvalFile(file) <=> TCL_EvalStr("source "+file)
When I will have free time, I will this hack and test it.
This might be a final solution but it may unlock this situation.

I hope I did not forget any remarks/question.
If i did, feel free to answer back :-P
I will mail each time I commit a new step on that work.

Regards,

-- 
Bruno JOFRET

         Project Engineer
___SCILAB - INRIA Rocquencourt___
  Domaine de Voluceau - B.P. 105
    78153 Le Chesnay Cedex
  Tel : (+33/0)1.39.63.58.63
  Mailto : bruno.jofret at inria.fr
     http://www.scilab.org



More information about the dev mailing list