We’re putting the final touches on our new badges platform. Badge issuance remains temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.
Embedded Software

Embedded Software

Topics related to SCADE Suite, SCADE Display, SCADE One and more.

char ^255 in Rapid prototiper + Suite

    • yair.oros
      Subscriber

      Hi!
      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!

       

       

Viewing 0 reply threads
  • You must be logged in to reply to this topic.