Hello,

I am unable to reproduce the problem, because I am working with Linux. However I gave a look at your code and and found some strange things which may explain the problem:

In the beginning of your macros/*.sci file you have added things like

if ~exists("scicos_diagram") then loadXcosLibs(); end
clear SciCos_Digi_AInf;

These instructions should not be there, the xcos libs must be loaded in the digimetrie_start file using loadXcos(); &t the beginning


Some other remarks on the fly (without connection with your problem):
- the cases 'plot' 'getinputs' 'getoutputs' 'getorigin' are no more useful with Xcos - the calls to digi_TestParam should not be done in the set case (because if one loads a diagram and run it the set case is not executed). This tests must be done in the initialization part of the associated simulation function.

Serge Steer

Le 15/07/2014 10:14, Patrick - Digimetrie a écrit :
Hello,

I'm the developper of this tool :
https://atoms.scilab.org/toolboxes/digimetrie_Tools
which contain some XCos blocks.
A user report me an incompatibility with
https://atoms.scilab.org/toolboxes/SIMM
The problem is in XCos only, when trying to create/drag a new Digimetrie
block in xcos, an error message pop, and scilab log 'redefining permanent
variable'.

I've tried  getting more info with  'scicos_debug' function, without any
result.
I searched in my toolbox for the problematics  'permanent variable', in
vain.

Did i miss an obvious way to find the buggy 'permanent variables' in
question ?

Thank's




--
View this message in context: 
http://mailinglists.scilab.org/Xcos-debugging-redefining-permanent-variable-tp4030913.html
Sent from the Scilab developers - Mailing Lists Archives mailing list archive 
at Nabble.com.
_______________________________________________
dev mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/dev


_______________________________________________
dev mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/dev

Reply via email to