TAGGED: a, ansys-aim, scade, suite-19-1
-
-
August 24, 2021 at 1:40 am
jyoung51
SubscriberI'm getting this error (output and input accumulators of the iterated operator (OP_CommandStatus) mismatch). I'm not sure why I'm getting this on mapfoldwi. I've been stuck on this error for almost 2 days now and it's frustrating me. Can anyone help me out?
August 30, 2021 at 9:36 ammmeiler
SubscriberHi as depicted below you need to have a certain inputs and outputs to your inner operator for a MapFoldwi iterator depending on the number of acculumators specified. (default: 1 accumulator)
In this example sketched above it is assumed that you want to have
2 accumulators and
2 input arrays as well as
1 output array
for your MapFoldwi iterator.
Then your inner operator needs to have the following inputs and outputs:
Inputs
i (index) integer-type
acc1_in (1st accumulator) pre or user defined datatype 1
acc2_in (2nd accumulator) pre or user defined datatype 2
Element (1st input array) pre or user defined datatype 3
Element (2nd input array) pre or user defined datatype 4
Outputs
continue (continue condition) bool
acc1_out (1st accumulator output) pre or user defined datatype 1
acc2_out (2nd accumulator output) pre or user defined datatype 2
Element (1st output array) pre or user defined datatype 5
I think that there might be a mismatch of your input/output structure of the inner operator. But in order to check this more information would need to be provided by you, at least the input/output structure of you inner operator.
Please also refer to the SCADE User Manual -> Designing with Iterators -> Definition for MapFoldwi Iteration Pattern.
Best regards
Martin
Viewing 1 reply thread- The topic ‘Does mapfoldwi need matching input and output accumulators on both sides?’ is closed to new replies.
Ansys Innovation SpaceTrending discussionsTop Contributors-
2422
-
930
-
599
-
591
-
569
Top Rated Tags© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-