Closed Marvin-TMG closed 3 years ago
The parameter MaskObject.Display
cannot be set for linked library blocks. Please re-open if you find a way to set/overwrite it.
Is breaking the link a barbaric solution? Unfortunately, I see no other option, but I believe this is the only way for dSpace systems to assign the port names properly.
It seems like it is possible to override the mask of the library block since (at least) R2016b.
@Marvin-TMG, can you check if the port labels are displayed correctly in Scalexio if you set them as a static string using the Simulink.Mask
API?
@Marvin-TMG, is this still relevant?
Hi,
It is not relevant once the block is placed inside an enabled subsystem, so I think it can be closed!
Sent from my iPhone
On 2. May 2021, at 00:20, Torsten Sommer @.***> wrote:
The following message was sent from an external e-mail address! Be cautious when clicking on links, opening attachments or providing sensitive information.
@Marvin-TMGhttps://github.com/Marvin-TMG, is this still relevant?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/CATIA-Systems/FMIKit-Simulink/issues/232#issuecomment-830702532, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALLMUUVMNTQLLXK363E3O7LTLR5B5ANCNFSM4S4XUUUQ.
TOYOTA GAZOO Racing Europe GmbH | Toyota-Allee 7 | 50858 Köln / Cologne | Deutschland / Germany Geschäftsführer / Managing Directors: Hisatake Murata, Katsuyoshi Hikichi, Robertus Leupen, Johan van Zyl Sitz der GmbH / Registered Office: Köln / Cologne | HRB 9846 | Tax-No.: 22358190628 | VAT-ID No.: DE123471187 T: +49 2234 1823 0 | F: +49 2234 1823 2800 | E: @.*** | W: www.tgr-europe.com TGR-E-Datenschutzinformationen / TGR-E‘s privacy policy: https://www.tgr-europe.com/en/privacy DISCLAIMER
The current implementation automatically generates the labels for the mask inputs and outputs. However, this method does not work when compiling for dSpace Scalexio and the corresponding signals will be labelled Out1, Out2 .. OutN (which makes it hard to scope the signals on the real time PC).
Would it be possible to implement an option, which instead of using a for loop, will explicitly write the mask port labels as a hardcoded list, like so:
port_label('input', 1, 'No_extern_except_IP'); port_label('input', 2, 'N_mode_except_IP'); ... port_label('output', 101, 'Vec_Diag_OP'); port_label('output', 102, 'PosSkidIR_OP');
Perhaps this setting can be tied to the from source code option, since this would anyway require recompilation after io changes