# How to delete (or rename) an output of the input split node

**URL:** <https://discourse.nodered.org/t/how-to-delete-or-rename-an-output-of-the-input-split-node/36195>\
**Category:** General\
**Created:** [19 November 2020 14:21 UTC](https://discourse.nodered.org/t/how-to-delete-or-rename-an-output-of-the-input-split-node/36195 "2020-11-19T14:21:22Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![MPaulHolmes](https://avatars.discourse-cdn.com/v4/letter/m/f1d935/32.png) [@MPaulHolmes](https://discourse.nodered.org/u/MPaulHolmes)\
**Post date:** [19 November 2020 14:21 UTC](https://discourse.nodered.org/t/how-to-delete-or-rename-an-output-of-the-input-split-node/36195/1 "2020-11-19T14:21:23Z")

</div>

I created an input split node. The input to this node is an array of around 44 numbers. So, I was adding a bunch of ADD  
payload.col1  
payload.col2  
payload.col3  
...  
And I accidentally typed 22 instead of payload.col22, and I'll be danged if I cannot figure out a way to either delete or edit "22" to "payload.col22". Do I have to delete the whole node and then restart?

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [19 November 2020 14:37 UTC](https://discourse.nodered.org/t/how-to-delete-or-rename-an-output-of-the-input-split-node/36195/2 "2020-11-19T14:37:52Z")

</div>

Delete it from where?

---

<div class="post-metadata">

**Author:** ![MPaulHolmes](https://avatars.discourse-cdn.com/v4/letter/m/f1d935/32.png) [@MPaulHolmes](https://discourse.nodered.org/u/MPaulHolmes)\
**Post date:** [19 November 2020 14:39 UTC](https://discourse.nodered.org/t/how-to-delete-or-rename-an-output-of-the-input-split-node/36195/3 "2020-11-19T14:39:43Z")

</div>

The input split now has 22 branches (22 dots) on the output. I want there to now be 21 branches, removing the branch that was called "22" by mistake.

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [19 November 2020 14:42 UTC](https://discourse.nodered.org/t/how-to-delete-or-rename-an-output-of-the-input-split-node/36195/4 "2020-11-19T14:42:13Z")

</div>

I do not understand input spilit.  
Can you post an export of the node.  
Edit/  
Welcome to the forum.

---

<div class="post-metadata">

**Author:** ![MPaulHolmes](https://avatars.discourse-cdn.com/v4/letter/m/f1d935/32.png) [@MPaulHolmes](https://discourse.nodered.org/u/MPaulHolmes)\
**Post date:** [19 November 2020 14:48 UTC](https://discourse.nodered.org/t/how-to-delete-or-rename-an-output-of-the-input-split-node/36195/5 "2020-11-19T14:48:27Z")

</div>

It's this one:

> **[node-red-contrib-input-split](https://flows.nodered.org/node/node-red-contrib-input-split)**
>
> Split an input on multiple outputs based on the provided configuration.

  
I think you have to specifically install that node for it to show up as an option.

---

<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:** [19 November 2020 14:50 UTC](https://discourse.nodered.org/t/how-to-delete-or-rename-an-output-of-the-input-split-node/36195/6 "2020-11-19T14:50:50Z")

</div>

Good luck with that. It was last updated "Updated 5 years, 2 months ago" and the link to github gets a 404 (not found).

You can probably replicate this functionality quite easily with a function node set for multiple outputs.

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [19 November 2020 14:51 UTC](https://discourse.nodered.org/t/how-to-delete-or-rename-an-output-of-the-input-split-node/36195/7 "2020-11-19T14:51:38Z")

</div>

I did do a search the flows for "input split" and nothing was returned. LOL

Is there not a X to the left. I have not used this node so Can only guess , sorry.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [19 November 2020 15:22 UTC](https://discourse.nodered.org/t/how-to-delete-or-rename-an-output-of-the-input-split-node/36195/8 "2020-11-19T15:22:49Z")

</div>

Why do you want to split it like that? What are you doing with different outputs?

---

<div class="post-metadata">

**Author:** ![MPaulHolmes](https://avatars.discourse-cdn.com/v4/letter/m/f1d935/32.png) [@MPaulHolmes](https://discourse.nodered.org/u/MPaulHolmes)\
**Post date:** [19 November 2020 15:47 UTC](https://discourse.nodered.org/t/how-to-delete-or-rename-an-output-of-the-input-split-node/36195/9 "2020-11-19T15:47:01Z")

</div>

I have 2 sets of output strings. The first is 44 saved values from a motor controller that is a string in CSV format, all containing 16 bit unsigned integers. The next set of data is 20 signed integers sent as a CSV string. I'm going to route the 20 signed integers (phase 1 current, phase 2 current, Id, Iq, motor temp, controller temp, etc...) to gauges, and route the 44 saved values to slider bars that will show what the current saved values are.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [19 November 2020 15:58 UTC](https://discourse.nodered.org/t/how-to-delete-or-rename-an-output-of-the-input-split-node/36195/10 "2020-11-19T15:58:01Z")

</div>

To check... you have two inputs.. (down the same wire or separate?) - one is 44 columns and one is 20 columns ? If they are separate threads then feed each into a csv node - that will produce an object either with properties like col1 col2 etc or you can set correct properties if you like - then you can feed direct to gauges (or sliders) configure to show {{msg.payload.col1}} and so on for other values...  
If down the same wire then we need to work out which is which and then route them appropriately before doing as per above.

---

<div class="post-metadata">

**Author:** ![MPaulHolmes](https://avatars.discourse-cdn.com/v4/letter/m/f1d935/32.png) [@MPaulHolmes](https://discourse.nodered.org/u/MPaulHolmes)\
**Post date:** [19 November 2020 16:07 UTC](https://discourse.nodered.org/t/how-to-delete-or-rename-an-output-of-the-input-split-node/36195/11 "2020-11-19T16:07:35Z")

</div>

They both come as strings at random times from USB serial, like this:  
"345,322,0,...,65535,\r\n" // Let's say this one is the saved values currently on the EEProm of the microcontroller.  
"0,1,2,3,4,5,...\r\n" // this one is the data streaming from the controller at regular intervals.

They are distinguishable by how many variables are sent. The first is 44 numbers, and the 2nd is 20 numbers. So, what I was doing was, the "comma separated parser node" and was feeding that into a switch, and if col44 was defined, sending it all into the dreaded "input split" thing under the function section. That "input split" breaks all the stuff _somehow_ into 44 different outputs whose payload is all the 44 different numbers.

I am brand spanking new to node.red. I am usually a low level C programmer, so this is completely a different way of thinking for me. I have no idea what I don't even know or what is possible.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [19 November 2020 16:48 UTC](https://discourse.nodered.org/t/how-to-delete-or-rename-an-output-of-the-input-split-node/36195/12 "2020-11-19T16:48:17Z")

</div>

> [@MPaulHolmes](#):
>
> comma separated parser node"

Do you mean the csv node?

Did you understand what Dave was saying about not needing to split the object up as you can feed the whole message with all the properties into all the gauges and tell the gauge which property to display.

---

<div class="post-metadata">

**Author:** ![MPaulHolmes](https://avatars.discourse-cdn.com/v4/letter/m/f1d935/32.png) [@MPaulHolmes](https://discourse.nodered.org/u/MPaulHolmes)\
**Post date:** [19 November 2020 16:56 UTC](https://discourse.nodered.org/t/how-to-delete-or-rename-an-output-of-the-input-split-node/36195/13 "2020-11-19T16:56:30Z")

</div>

I did not know you could do that. I am a little mystified about what the objects actually are in a concrete sense, and how to access all parts of them from the gauges, etc...

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [19 November 2020 17:38 UTC](https://discourse.nodered.org/t/how-to-delete-or-rename-an-output-of-the-input-split-node/36195/14 "2020-11-19T17:38:46Z")

</div>

You did not reply to the question "do you mean the csv node".

Yes, in a number of the dashboard nodes you can tell it what to display. Did Dave's description of how to do it make sense.

I think, as a beginner, it would be worth your while spending an hour watching the Node Red Essentials videos linked from the node red docs. Also read the docs page Working with Messages which should help you understand things.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [19 November 2020 17:55 UTC](https://discourse.nodered.org/t/how-to-delete-or-rename-an-output-of-the-input-split-node/36195/15 "2020-11-19T17:55:54Z")

</div>

Hi, yes well worth checking out the video and the working with messages section - will be very useful later on

This is where I was heading (using 3 and 5 rather than 20 and 40

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

BUT - slight fly in ointment is that slider won't take any variable other than msg.payload... ☹

May use node-red-contrib-ui-level instead for that 🙂

---

<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:** [18 January 2021 17:56 UTC](https://discourse.nodered.org/t/how-to-delete-or-rename-an-output-of-the-input-split-node/36195/16 "2021-01-18T17:56:08Z")

</div>

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