FieldListener¶
-
MacroModule¶ genre Fieldsauthor MeVis Medical Solutions AGpackage MeVisLab/Standarddefinition helpers.def see also FieldTracerkeywords 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, as well as 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).
Open 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 (inObjectfield), 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 Base field changes at inObject. |
[connect here]¶
-
name:inParameter, type:String, deprecated name:listenField¶ The parameter field that shall be observed and listened to. The field must be connected here (e.g., via drag-and-drop).