FieldListener¶
-
MacroModule
¶ genre Fields
author MeVis Medical Solutions AG
package MeVisLab/Standard
definition helpers.def see also FieldTracer
keywords inspector
,monitor
,log
,trace
,debug
Purpose¶
The module FieldListener
displays information about a field and log field changes.
Usage¶
To listen to or just inspect a source field, select the Active Input Field
and, depending on that, create a connection from the source field to this module’s [connect here]
, inImage
, or inObject
, respectively.
The FieldListener
displays the source field name, type and value and the type and instance name of the owner module. If enableConsoleLog
is enabled, all changes to the source field are logged to the console.
Details¶
Parameter fields can be connected to the [connect here]
by drag and drop or using the Connections Inspector. In addition, it is possible to listen to image fields (connected to inImage
) or base fields (via inObject
).
Inventor fields cannot be listened to because they do not work with notifications.
Input Fields¶
Parameter Fields¶
Field Index¶
[connect from here] : Trigger |
sourceFieldModuleType : String |
[connect here] : String |
sourceFieldName : String |
Active Input Field : Enum |
sourceFieldType : String |
Clear : Trigger |
sourceFieldValue : String |
enableConsoleLog : Bool |
Update : Trigger |
sourceFieldAllowedMLBaseTypes : String |
Update automatically : Bool |
sourceFieldFullName : String |
|
sourceFieldModuleName : String |
Visible Fields¶
Active Input Field¶
-
name:
mode
, type:
Enum
, default:
Parameter
¶ Defines the current operation mode. Choose between Image (
inImage
), Object (inObject
field), and Parameter ([connect here]
field).
Values:
Title | Name | Description |
---|---|---|
Parameter | Parameter | Investigate source field of [connect here] connection |
MLImage | MLImage | Listen to ML image field changes at inImage . |
MLBase | MLBase | Listen to ML image field changes at inObject . |
[connect here]¶
-
name:
inParameter
, type:
String
, deprecated name:
listenField
¶ The parameter field which shall be observed and listened to must be connected here (e.g. via drag&drop).