# How to process multiple data

**URL:** <https://discourse.nodered.org/t/how-to-process-multiple-data/58367>\
**Category:** General\
**Created:** [15 February 2022 08:25 UTC](https://discourse.nodered.org/t/how-to-process-multiple-data/58367 "2022-02-15T08:25:12Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [16 February 2022 17:10 UTC](https://discourse.nodered.org/t/how-to-process-multiple-data/58367/21 "2022-02-16T17:10:57Z")

</div>

> [@alda](#):
>
> I'm confused - there is a lot of informations and I have a problem understand what all of this informations means.

Only payload is of relevance

> [@alda](#):
>
> because then I have problem understand next operation  
> ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/b/4bd5e213ebf39b154401168894945c15173079a3.png)

as it reads: Store `msg.payload` in `flow.data`  
The point of this is to store the last read in flow context - which you can see if you look at the context tab (next to debug on sidebar)

> [@alda](#):
>
> and after this set I see :
> 
> ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/2/4209b4ed69575f1b87010abdbb9e2354893024a6.png)

Yes, the buffer parser has generated good data values from your TCP data.

* * *

I dont mean to be rude (I dont know your level of expertise) but it seems to me you could perhaps benefit from a a very short hour watching the tutorials?

I recommend watching this playlist: [Node-RED Essentials](https://www.youtube.com/playlist?list=PLyNBB9VCLmo1hyO-4fIZ08gqFcXBkHy-6). The videos are done by the developers of node-red. They're nice & short and to the point. You will understand a whole lot more in about 1 hour. A small investment for a lot of gain.

---

<div class="post-metadata">

**Author:** ![alda](https://avatars.discourse-cdn.com/v4/letter/a/aca169/32.png) [@alda](https://discourse.nodered.org/u/alda)\
**Post date:** [16 February 2022 17:18 UTC](https://discourse.nodered.org/t/how-to-process-multiple-data/58367/22 "2022-02-16T17:18:33Z")

</div>

You aren't rude. I have experince with visual studio programing and PLC (Siemens) programming and node red is quite new for me. Yes, I will check tutorials.  
Problem with this:  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/c/9c0b6751c6a4755a99bed9ea936e460ed144010e.png)  
was my bad understanding. My understanding was send flow.data to msg.payload so vice versa and I wasn't able understand why you did it.

---

<div class="post-metadata">

**Author:** ![alda](https://avatars.discourse-cdn.com/v4/letter/a/aca169/32.png) [@alda](https://discourse.nodered.org/u/alda)\
**Post date:** [16 February 2022 18:03 UTC](https://discourse.nodered.org/t/how-to-process-multiple-data/58367/23 "2022-02-16T18:03:44Z")

</div>

May I ask you on the scale in buffer parser :

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/c/bc0917100bde295550ac85ec64ee0d1905e4b910.png)  
how works \>\> 5 ?

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [16 February 2022 18:29 UTC](https://discourse.nodered.org/t/how-to-process-multiple-data/58367/24 "2022-02-16T18:29:13Z")

</div>

> [@alda](#):
>
> how works \>\> 5 ?

As per built in help...

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/2/72789a4b3ba2be213cae1698c9e392649ce2af6e.png)

Do you understand number masks and bit shifting?

---

<div class="post-metadata">

**Author:** ![alda](https://avatars.discourse-cdn.com/v4/letter/a/aca169/32.png) [@alda](https://discourse.nodered.org/u/alda)\
**Post date:** [16 February 2022 18:41 UTC](https://discourse.nodered.org/t/how-to-process-multiple-data/58367/25 "2022-02-16T18:41:10Z")

</div>

Number masks and bit shifting is clear.  
I think your code is now clear for me.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [2 March 2022 18:41 UTC](https://discourse.nodered.org/t/how-to-process-multiple-data/58367/26 "2022-03-02T18:41:57Z")

</div>

Closed on 2 March 2022 18:41 UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

[Previous page](https://discourse.nodered.org/t/how-to-process-multiple-data/58367.md?page=1)
