Busselector error after inserting a new signal

조회 수: 17 (최근 30일)
Pavel
Pavel 2023년 1월 19일
댓글: Pavel 2023년 1월 23일
Hello,
I have a problem after I have added a new signal to a buscreator, it no longer finds this signal in the output. (Busselector)
I get the following error message when updating the diagram:
Selected signal 'LongAccel_SendingFault' in the Bus Selector block '/*' cannot be found in the input bus signal. This may also happen if there is an always false variant block feeding '/*'. Change the variant conditions or set the Variant activation time of the variant blocks to 'Update Diagram Analyze All Choices'.
(For info I do not use Variant Models)
BR

답변 (1개)

Sai
Sai 2023년 1월 23일
Hi Pavel,
I understand that you are not able to extract the signals from Bus Selector as it is throwing an[AR1] error. I can reproduce the issue at my end with the following model
The reasons for the error could be:
  1. Mismatch in the signals
  2. Deletion of the signal which is expected at the Bus Selector as an input
  3. Duplicates in signal labelling
As you can see in the above model, I have added all the required signals and deleted one of the signals. You can see that it throws the same error.
So, once the modifications are done and given to the Bus creator block, the output of the Bus Creator is given to the Bus Selector. Now, double click the Bus Selector block and select the signals you wanted to get from the Bus Selector
Please refer to the below documentation for more information on Bus Creator and Bus Selector blocks
  댓글 수: 1
Pavel
Pavel 2023년 1월 23일
Hi, thank you, i will try it.
I have now solved this via variant sub-systems, but will try your solution approach on occasion because I would like to know where the error is. After I have replaced my subsystem with a variant system, the error no longer occurs and I can use as many signals as I want.
BR

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Subsystems에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by