<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello Nicola,<br>
<br>
Le 18/03/2019 à 17:18, Nicola Masarone a écrit :<br>
</div>
<blockquote cite="mid:1552925925646-0.post@n3.nabble.com"
type="cite">Hi everybody, I'm just trying to use XCos with
electrical components in Scilab 6.0.2, as I usually did in
previous Scilab versions. I found a bug about capacitor value in
the RLC circuit I attached to this post. <br>
[diagram]<br>
If I use for capacitor value 10mF (i.e 10E-3) it works; if I use
from 1mF (1E-3) to 100uF (100E-6) I receive an error message,
attached as picture. <br>
<br>
<img moz-do-not-send="true"
src="http://mailinglists.scilab.org/file/t497917/Istantanea_2019-03-18_16-47-57.png"
alt="Capacitor value error" border="0"> If I use 1uF (1E-6) it
works again. Same problem if I use decimal point value (0.001,
0.0001, etc.) It seems related to the capacitor value indication
in the picture icon: TeXFormula: 'muF' when the software tries to
apply the Farad submultiples, mixing up milli with micro (just my
guess). I hope I was helpful Regards Nicola Masarone <br>
</blockquote>
<br>
Thank you for reporting this.<br>
The issue is actually about the "\muF" unit that should be "\mu F"
instead, to be a valid LaTeX input for rendering on the icon. The
same issue appears for the Inductor and the Resistor, for the same
range of values.<br>
These issues <a href="https://codereview.scilab.org/20901">are
being fixed on CodeReview</a>.<br>
I don't know any workaround, except fixing the 3 files as shown on
CodeReview, and recompiling the libraries of macros in the
SCI/modules/scicos_blocks/macros/Electrical directory.<br>
<br>
Regards<br>
Samuel<br>
<br>
</body>
</html>