Array of bus signals cannot transition its bus type to virtual bus

조회 수: 4 (최근 30일)
Mikael
Mikael 2012년 9월 14일
댓글: tiagomig 2018년 3월 23일
Hi
I have a model that starts with a bunch of 'From Workspace' blocks that collect signals and then group them together into assorted 'BusCreator' blocks. Some of these blocks are gathered up through the use of 'Vector Concatenate'. All end up in a final 'BusCreator'. When running my simulation I get the following error:
"**An array of bus signal cannot transition its bus type to virtual bus. Consider using a bus object as the data type of 'MainSensorCANReadFromWorkspace/Read FR data/DSG4_Front_radar' to maintain nonvirtual status. This error message is related to a hidden SignalConversion block. This block is added for block 'MainSensorCANReadFromWorkspace/Read FR data/DSG4_Front_radar' at input port 3 as result of block insertion or expansion. The hidden block's parameter 'Output' is set to 'Virtual bus' Consider manually inserting such a block to debug the problem.**"
I'd like to know how to find the 'hidden block' that is referred to above. How to determine which is 'port 3' and which block is having issues with having its 'Output' being set to 'Virtual bus'? What are the rules of mixing Virtual buses with Vector Concatenates?
Matlab ver 2011b Simulink 7.8
Thanks...
Mike
  댓글 수: 2
John Londt
John Londt 2013년 4월 2일
I had the same issue. Make sure your any bus creator blocks are set to output non-virtual buses.
tiagomig
tiagomig 2018년 3월 23일
This worked for me, thanks!

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

답변 (1개)

Felix R. Cañadillas
Felix R. Cañadillas 2015년 8월 27일
Hello, I have the same problem and do not get solution. I have checked all the hierarchy of buses that connect to the output port 1, but none of them is a virtual bus.
"An array of bus signal cannot transition its bus type to virtual bus. Consider using a bus object as the data type of 'esdfes_FDIRefModel/FDIBus' to maintain nonvirtual status. This error message is related to a hidden SignalConversion block. This block is added for block 'esdfes_FDIRefModel/FDIBus' at input port 1 as result of block insertion or expansion. The hidden block's parameter 'Output' is set to 'Nonvirtual bus' Consider manually inserting such a block to debug the problem."
Thanks! Félix

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by