Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why don local data flows always show up during simulation?

Data flows local simulation
0
Posted

Why don local data flows always show up during simulation?

0

The fact that local data flows may show up or not during simulation in linked to the chosen configuration. In SCADE 4.3, the default configuration for a new project is Standard (which doesn’t generate code for local variables). But a Simulation configuration is available that allows displaying local data flows during simulation. The data available during simulation actually depends on the options set for the chosen configuration. The more the generated code (also used by SCADE Simulator) is optimized, ”the less local variables are produced” in that generated code. Their values are thus not available for display during simulation. Example: Consider the following SCADE node: 1) The corresponding generated code with the Standard configuration (including Standard, Internal variables, User variables, Interfaces optimizations and without ”Locals in context”) is the following: /*#code for node test */ (_C_->_O0_Ouput)=(((_C_->_I0_Input1)+(_C_->_I1_Input2))*(_C_->_I2_Input3)); /*#end code

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123