[Scilab-users] XCos

Andreas Stewering-Bone Andreas.Stewering-Bone at gmx.de
Wed Sep 5 08:10:08 CEST 2012


Hello,

I have some general question about creating xcos blocks:

Firstly I use scilab 5.4 beta 3 on 32-Bit Debian Squeeze, binary version

1. Debug output: I have a type 4 computational function writen in c. I try to print some debug output to the scilab console. printf fails, it prints to stdout, that is my xterm. I tried to use Coserror but without any result in the scilab or xterm terminal. scicos.h and scicos_block4.h do not provide any other possibility, so what possibility do i have?

2. Grafical Update: If I change a block parameter which create a new block output, the output is shown, but the output label for the new port is not shown. But  if i reopen the parameter dialog and set the parameter again the Label is shown.

3. Input/output datatype: If I create new block outputs I create them via set_io, everything is ok, the block detail dialog shows the correct settings. But if I try to connect the port does not have the correct datatypes. I appended the detail dialog and the model.
If you look at the configuration, port 1,2 have correct datatype (uint8), 3 +4 should be real, but if I connect a block it shows me that it has a invalid datatype 8 => uint8. Is there an model update missing?


Besr regards

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: block_details.png
Type: image/png
Size: 24013 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20120905/62a62ca8/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: model_can.png
Type: image/png
Size: 37615 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20120905/62a62ca8/attachment-0001.png>


More information about the users mailing list