Custom Encoders/Decoder

To Add a Custom Encoder/Decoder:

  1. In the Workbench, expand a project and the expand the Internet of Things node. Right-click on the Custom Encoders/Decoders node, as shown below, and then click on Add Encoder/Decoder.

Add Encoder/Decoder from Project Explorer in the Workbench

 

-OR-

 

Select Custom Encoders/Decoders then click on the Add Encoder/Decoder button (shown below) in the Edit section of the Home ribbon in the Workbench.

 

Add Encoder/Decoder Button

  1. This opens the Custom Encoder/Decoder properties window, as shown below, in the Workbench. Enter a Name for the Custom Encoder/Decoder in the top text entry field.

Custom Encoder/Decoder Properties in the Workbench

General Settings

If you selected the Message Type of 'Multiple values in the "Values" array of the message', you can now edit the Message Format section, utilizing the same links specified in 'Value Format' above. If you selected 'One value for each message', you will see the contents of the Value Format reflected in the Message Format field in real time.

  1. When you have completed your settings, click on the Apply button. Click on Close to return to the Workbench. Your new Custom Encoder/Decorder will now appear in the Project Explorer.

See Also:

IoTWorX Configuration in Workbench

Internet of Things Node

Publisher Connections

MQTT Brokers

Collection Groups

Analyzer Groups

Logger System Settings

Loggers

Publish Lists

Subscriber Connections

Nodes