ImageDisplay

This block displays an active icon image.

    ImageDisplay

Library

Activate/SignalViewers

Description

This block provides an active icon image. The choice of the image depends on a signal. User must provide a table containing the name of the image files. The image file is looked up in the specified folder. The folder path may be absolute or relative with respect to the folder containing the model file. When the signal to choose the image is activated, its value is used as index of the table containing image filenames.

Parameters

ImageDisplay_0

NameLabelDescriptionData TypeValid Values

folder

Image folder

Folder containing the images to display.

String

imagetable

Image file names

Table containing image file names. The table uses the signal value as index.

label

Signal name

Name of the signal that is passed to the table to select an image. Define a corresponding SetSignal block with global or scoped scoping. When the signal is activated, its value is used as the index for the image table.

String

Diagram

ImageDisplay