Unable to log signal from signal bus

조회 수: 2 (최근 30일)
Vinay Shimpi
Vinay Shimpi 2021년 12월 11일
답변: Divyanshu 2024년 2월 28일
I am learning and using EV reference application for my project work. Here, in electric plant, there is a mapped motor which has one of the output named 'info'. Info has some signals and one bus is carrying all the signals outside. I placed a bus selector because I wanted only powerloss signal, but I am not getting any data in scope. But I am able to log data into Simulation data inspector. Please help me regarding this.

답변 (1개)

Divyanshu
Divyanshu 2024년 2월 28일
Hi Vinay,
The reason due to which 'PwrLoss' Signal from the bus is not visible in scope block and still is getting logged in Simulink Inspector is because of the Option 'Output as Virtual Bus' being checked.
If you want to get the data in the scope block, then uncheck the option 'Output as Virtual Bus' in the Block parameters of 'Bus Selector' block.
You can refer the following documentation for more details about this option:
Hope it helps!

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by