FieldBypass

MLModule
genre Fields
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLMiscModules
definition MLMiscModules.def
keywords notification, switch

Purpose

The module FieldBypass allows to bypass any of the input fields to the output. By optionally omitting notifications for an unchanged input, it can also be used to suppress ‘no-change’ notifications.

Details

Since module fields will almost always be updated when they are connected, a lot of computational time is required even when updating or connecting individual fields.

The FieldBypass module allows the selective update of the connected output field (just like the Bypass module does for images).

Windows

Default Panel

../../../Modules/ML/MLMiscModules/mhelp/Images/Screenshots/FieldBypass._default.png

Parameter Fields

Field Index

Input Field 0: String Input Field 17: String Input Field 8: String
Input Field 1: String Input Field 18: String Input Field 9: String
Input Field 10: String Input Field 19: String Input Selector: Integer
Input Field 11: String Input Field 2: String No bypass: Bool
Input Field 12: String Input Field 3: String Nr. of Inputs: Integer
Input Field 13: String Input Field 4: String Only if changed: Bool
Input Field 14: String Input Field 5: String Output Field: String
Input Field 15: String Input Field 6: String Update: Trigger
Input Field 16: String Input Field 7: String  

Visible Fields

Input Field 0

name: inputString0, type: String, deprecated name: inputString

First input field, connected via string conversion.

Input Field 1

name: inputString1, type: String

Second input field, connected via string conversion.

Input Field 2

name: inputString2, type: String

Third input field, connected via string conversion.

Input Field 3

name: inputString3, type: String

Fourth input field, connected via string conversion.

Input Field 4

name: inputString4, type: String

Fifth input field, connected via string conversion.

Input Field 5

name: inputString5, type: String

Input Field 6

name: inputString6, type: String

Input Field 7

name: inputString7, type: String

Input Field 8

name: inputString8, type: String

Input Field 9

name: inputString9, type: String

Input Field 10

name: inputString10, type: String

Input Field 11

name: inputString11, type: String

Input Field 12

name: inputString12, type: String

Input Field 13

name: inputString13, type: String

Input Field 14

name: inputString14, type: String

Input Field 15

name: inputString15, type: String

Input Field 16

name: inputString16, type: String

Input Field 17

name: inputString17, type: String

Input Field 18

name: inputString18, type: String

Input Field 19

name: inputString19, type: String

Input Selector

name: inputNumber, type: Integer, default: 0, minimum: -1, maximum: 4

Sets which input field to propagate to the output field (-1 for the last touched).

Output Field

name: outputString, type: String

The output field, connected via string conversion.

No bypass

name: noBypass, type: Bool, default: FALSE

If checked, no changes are propagated from any input field to the output field.

Only if changed

name: onlyIfChanged, type: Bool, default: TRUE

If checked, only real value changes on the output field generate a notification.

Update

name: update, type: Trigger

If pressed, the output field is forced an update even if the value has not changed.

This button is shown on the GUI as a field to enable field connections to it.

Nr. of Inputs

name: numberOfInputs, type: Integer, default: 5, minimum: 1, maximum: 20

Sets the maximum number of input fields.