Skip to content

/dobserve

Syntax

/dobserve <name> [-q <query>] [-o <result>] [-drop]

Description

Add an observer on name and update values in result, or drop the observer.

Options

Option Description
-q <query> A query is simply a normal TLO access from the perspective of the peer with the external ${}. For example, Target.ID
-o <result> Optional if no out variable is needed (or not executing from a macro). Variables are created with /declare.
-drop Drops the observer

Examples

Reading an observer's data

${DanNet[<name>].Observe[<query>]}

or

${DanNet[<name>].O[<query>]}

Dropping an observer

/dobserve <name> -q <query> -drop

Discussions that link here

This command is added by MQ2DanNet.