-
-
June 19, 2025 at 3:42 pm
yair.oros
SubscriberHi!
I hope you're having a great day.I'm currently using a "case" block in SCADE Suite to provide text values to a "Text Display" widget in Rapid Prototyper. This widget requires an input of type "char^255". However, the strings I want to display range from 4 to 10 characters long.
I understand that I need to null-terminate the string with '\0' or someting like that, so that it works properly, but I haven’t been able to get the syntax right, and the result after "Check" is "Source Code error".
Here’s what I’ve tried using the word "Vacio" as an example:
"Vacio\0"
("Vacio\0")
('v', 'a', 'c', 'i', 'o', '\0')
concat("Vacio", '\0')
I also attempted to reduce the expected size of the array in Rapid Prototyper, but that didn’t work either.
Do you have any suggestions or best practices for handling this kind of string formatting?
Thanks a lot in advance for your help!
Â
Â
-
- You must be logged in to reply to this topic.
-
3301
-
1036
-
1006
-
859
-
804
© 2025 Copyright ANSYS, Inc. All rights reserved.