EMIT_TELEMETRY

Sends a telemetry message to the corresponding real-time instance of a digital twin. The message contains all properties defined in the data collection, encoded in JSON format as required by real-time digital twins.

Usage

EMIT_TELEMETRY(modelName, dataCollectionName)

Parameters

modelName

String

The name of model to send the message to.

dataCollectionName

String

Name of data collection containing data to send to the instance.

Returns

Action

Examples

EMIT_TELEMETRY(‘RTDTModel’, ‘MyCollection’)

Sends a message to the corresponding real-time instance of a digital twin.

Remarks

  1. This method is only available in simulation rules.

  2. While testing in the Development tool, this method logs a message.