Skip to end of metadata
Go to start of metadata

Test your LoopEdge configurations by creating a flow in LoopEdge Flows. The steps listed here, and in the corresponding video, you can connect to a local device at the edge. In this example, a DataHub node subscribes to the local message broker with a topic for a local Modbus device configured in DeviceHub.

Prerequisites

Time Challenged?

View a short two-minute video of the configuration steps: LoopEdge Flows Video.

Create the Flow

To create a flow to test your DeviceHub configuration:

  1. Go to LoopFlows, as described in Navigate Loop Flows.
  2. Search or scroll through the palette of nodes to locate the Litmus Automation DataHub Subscribe and DataHub Publish nodes.

    Hover your mouse over the DataHub nodes to identify the Subscribe node.

  3. Drag the DataHub Subscribe node onto the canvas.
  4. Scroll up through the palette to the output nodes and drag the Debug node onto the canvas.
  5. Connect the two nodes by drawing a line between them.

Configure the Flow

To configure the flow's subscribe node:

  1. Double-click the DataHub Subscribe node to view the parameters.



  2. While in edit mode, click  to view the connection parameters. Click Update.

    This action is only required the first time you are using a DataHub node.

    The IP address and port fields are populated automatically. Do not modify these default values. Simply click Update.

  3. Go to DeviceHub > Tags tab and click the right-most  icon for the tag to copy the Raw Topic from the device tag.
    1. Once copied, you can paste the Raw Topic into the Topic field of the DataHub Subscribe node.




  4. Enter a Name for the DeviceHub Subscribe node.
  5. Click Done.
  6. Click Save.

    This last Save step can be easily overlooked, but it is essential to successfully connect to the device and to obtain data from the device.

  7. At the bottom of the LoopFlow canvas, click the Debug tab to view the messages received from the DeviceHub device.

View a LoopEdge Flows Session

View this short two-minute video (no audio) to review the steps to configure a flow.