BusExtractor

This block extracts signals from a bus.

    BusExtractor

Library

Activate/BusOperations

Description

The BusExtractor block is used to extract signals from a bus by signal names. "Number Of Extracted Signals" parameter prescribes how many signals to be extracted. The signal name follows the naming convention:InnerBus1.InnerBus2.<...>.SignalNameIt is possible that the incoming bus contains inner buses, which carries other inner buses and signals. So in order to locate the desired signal in for the incoming bus, you need to provide the full path to the signal with the bus hierarchy.For example, the signal names could be "Signal1", "Bus1.Signal1", "Bus2.Bus1.Signal1"

Parameters

BusExtractor_0

NameLabelDescriptionData TypeValid Values

busname

Input bus name

String

nout

Number of extracted signals

Specify how many signals to be extracted from the bus.

Number

outports

Output signals characteristics

Structure

outports/Signals

Signal name

The block extracts the signal from the bus with the name that indicates the element in the bus.

Cell of strings

Ports

NameTypeDescriptionIO TypeNumber

Port 1

bus

output

nout

B

bus

input

1