Sparkplug B Decoder Processors

Dataristix version 3 and later provides two Sparkplug B decoder processors.

  • The “Sparkplug B Metrics Decoder Processor” decodes metrics contained within a Sparkplug B message into tag values.
  • The “Sparkplug B to JSON Processor” converts a Sparkplug B message into JSON format.

Add to Task

Add the respective processor to a task by dragging it from the “Build” panel onto the task’s “Task Builder” panel.

../../_images/processor-sparkplugb.png

Sparkplug B Metrics Decoder Processor Configuration

Select the processor item in the “Task Builder” panel to view its properties.

../../_images/processor-sparkplugb-metrics-edit.png

You can change the following properties.

  • Processor Topic Name

    You can change the processor topic name to suit.

  • Metrics

    Add metrics names you wish to extract from the Sparkplug B message payload. Each tag connected to the processor is interpreted as a Sparkplug B message and decoded into the given set of metrics.

Sparkplug B to JSON Decoder Processor Configuration

Select the processor item in the “Task Builder” panel to view its properties.

You can change the following properties.

  • Processor Topic Name

    You can change the processor topic name to suit.