ImageDisplay
This block provides an active icon image.
Library
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
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
folder | Image folder | Folder containing the images to display. | String | |
imagetable | Image filenames | Table containing image file name. This table will be accessed using the signal value as index. | ||
label | Signal name | Name of the signal that is passed to the user-provided table to select image. Use a corresponding SetSignal block with global or scoped scoping. When that signal is activated, its value is used as index for the image table. | String |