Working with the Read Message Node

Share:
In this quick tutorial, we will cover “Working with the Read Message Node”. This video goes through a step-by-step guide on how to implement your own flow that shows you how the Read Message Node functions.
Catenis accepts and transmits everything via a byte stream which makes it extremely powerful. Continue watching this video to fully understand how handling files work.
In this video we will cover:
- Building a Read Message Node flow
- Running the flow to see its results
Prerequisite
- A Free Catenis Development account or Production account
- Node-RED installed on either a local or cloud environment
- Catenis Flow Pallet installed on Node-RED
- A Catenis Virtual Device configured on Node-RED
- Basic understanding of how to use Node-RED
- Basic understanding of Bitcoin Blockchain concepts
- Basic understanding of IPFS
Thank you for watching Working with the Read Message Node in the Catenis Flow tutorial series. Watch the next video, Understanding the Send Message Node, to further expand your knowledge.
Links from this video for easy access:
- Understanding the Read Message Node: https://blockchainofthings.com/tutorials/understand-the-read-message-node
- Understanding the Send Message Node: https://blockchainofthings.com/tutorials/understand-the-send-message-node
To sign up for your free account, head to our website www.blockchainofthings.com.
Join our community forum for the quickest response time to all your questions and concerns. This forum is our customer support. https://forum.blockchainofthings.com
[Music]
Hi, this is Clara for Blockchain of Things.
In this tutorial, we’ll create a flow containing
the Read Message Node.
If you don’t know what a Read Message Node is, make sure you check out
the previous video titled “Understanding the Read Message Node”.
Let’s begin.
Drag-and-drop a Read Message Node from the
Catenis Flow palette into the Node-RED workspace.
Double-click it to display its properties slide-out panel.
On the device drop-down field of the properties slide-out panel
choose a Catenis Virtual Device you previously configured.
Add the node’s configuration information based on your needs to each field of the properties slide-out panel.
Wire this node, to a Debug Node, and open the Debug Sidebar.
Next, drag-and-drop an Inject Node into the Node-RED workspace.
Wire the Inject Node to the Read Message Node.
Then double-click the Inject Node
to open its properties slide-out panel.
Alter the information in the Inject Node’s properties
slide out panel by selecting the drop-down payload field and choose the string type.
Enter the message ID you wish to pass as input to the Catenis Node such as this example string input.
If you don’t have a message ID, and don’t remember how to create one, go back to the tutorial at this link to learn how.
After entering your message ID entry, click the red done button.
Click the deploy button.
Now, let’s test the flow.
Click the button on the left of the Inject Node
to send the input from the Inject Node through the flow.
The Debug Sidebar should display the returned JSON object containing the API call results to the right side of the workspace.
Great work!
Now, that you know how to create a flow using the Read Message Node,
it’s time to move on to our next tutorial.
Where you’ll learn all about the Send Message Node.
[Music]