[Rtai] no '-' in scicos superblocks names

DESMOTTES Jean-Baptiste 217817 jean-baptiste.desmottes at cea.fr
Fri Mar 25 15:56:20 CET 2011


Hello

Again, I want to share with the developers and the community an issue I
noticed.

 

It concerns RTAI code generation in scicos.

 

In the dialog, if you use a '-' in new block's name, a pop up will warn
you it is not possible and that they will be replaced by '_'.

However, if you made the mistake before asking code generation, renaming
your superblock with a '-' inside, there is no warning and code
Generation fails with a strange message :

I recovered from the following error:

2th argument must not be an empty string in RTAICodeGen_ action.

 

There is a warning about that in the Rtai-lab tutorial in the semaphore
section, but I found it only when looking for an explanation to the
problem.

 

Beware that making this mistake once will cause the same error even if
you correct your superblock's name. You'll have to close and restart
scicoslab.

I've already faced this problem: it seems any error in RTAICodeGen_
requires a restart of the whole scicoslab.

 

Regards,

Jean-Baptiste

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.rtai.org/pipermail/rtai/attachments/20110325/8709c775/attachment.htm>


More information about the Rtai mailing list