Embedded Software

Embedded Software

Topics relate to SCADE Suite, SCADE Display, SCADE Vision and more

Is it possible to chose the ay SCADE Suite generates C code for a State machine?

    • DeltaLover
      Subscriber
      Hello I am discovering SCADE Suite, and I am wondering if it is possible to chose different ways to generate C code corresponding to a state machine. In C state machines can be implemented in 2 different ways: By using 2 levels of nested switch case (one for states, one for events) By creating an array of pointers to functions with 2 dimensions (once again: one for states, one for events). Is there is a way to configure and / or modelist with SCADE, to obtain a state machine with corresponding a C code implemented preferentially to the other? Regards Fran?ois ALIBERT
    • Karthik R
      Administrator
      Hello, The SCADE code generator has a bunch of options but none has an effect on the code generated for the state machines. Just curious: what do you have in mind? If you can help us understand this, perhaps we can help you in a different manner. Thank you. Karthik
Viewing 1 reply thread
  • You must be logged in to reply to this topic.