FieldListener

MacroModule
genre Fields
author Tobias Boskamp
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 inspect a source field, create a connection from the source field to the Listen Field of the FieldListener module.

The FieldListener displays the source field name, type and value and the type and instance name of the owner module. If Log to console is enabled, all changes to the source field are logged to the console.

Details

Parameter fields can be connected to the Listen Field by drag and drop or using the Connections Inspector.

Image fields, base fields and Inventor node fields, can be connected to the listenField by drag and drop from the Inputs or Outputs tabs of the module's automatic panel.

Windows

Default Panel

../../../Modules/Macros/Helpers/mhelp/Images/Screenshots/FieldListener._default.png

Parameter Fields

Field Index

instance: String
Listen Field: String
Log to console: Bool
module: String
name: String
sourceName: String
type: String
Update: Trigger

Visible Fields

Listen Field

name: listenField, type: String, deprecated name: observer

The field to which the observed field must be connected.

Log to console

name: consoleLog, type: Bool, default: FALSE

If checked, log messages about changes of the source field are printed to the console.

Update

name: update, type: Trigger

If pressed, the field properties are updated.

Hidden Fields

sourceName

name: sourceName, type: String

module

name: module, type: String

instance

name: instance, type: String

name

name: name, type: String

type

name: type, type: String