Switch2

MacroModule
genre FlowControl
author Florian Weiler
package FMEstable/ReleaseMeVis
definition Switch2.def
see also Switch
keywords switch, image, data

Purpose

Simplifies usage of Switch module for the common case of switching between just two inputs

Usage

Use the Use Right Input toggle or the Select Input by Name: field for choosing the input to be relayed to outImage.

Windows

Default Panel

../../../Projects/Switches/Switch2/Modules/mhelp/Images/Screenshots/Switch2._default.png

Input Fields

inLeft

name: inLeft, type: Image, deprecated name: input0

Input for any ML image (left)

inRight

name: inRight, type: Image, deprecated name: input1

Input for any ML image (right)

Output Fields

outImage

name: outImage, type: Image, deprecated name: output0

The selected input

Parameter Fields

Visible Fields

Use Right Input

name: useRightInput, type: Bool, default: FALSE, deprecated name: useInput1,selectInput1

If TRUE, selects right input at output

Select Input by Name:

name: selectInput, type: Enum, default: left, deprecated name: select

Allows to select the input by name.

Values:

Title Name Description
left left of input0
right right resp. input1