# Sending a msg.reset

**URL:** <https://discourse.nodered.org/t/sending-a-msg-reset/55858>\
**Category:** General\
**Created:** [29 December 2021 17:47 UTC](https://discourse.nodered.org/t/sending-a-msg-reset/55858 "2021-12-29T17:47:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ebolisa](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ebolisa/32/89203_2.png) [@ebolisa](https://discourse.nodered.org/u/ebolisa)\
**Post date:** [29 December 2021 17:47 UTC](https://discourse.nodered.org/t/sending-a-msg-reset/55858/1 "2021-12-29T17:47:10Z")

</div>

Hi,  
I'm trying to send a reset to a shiftregister node. The docs state that I need to send/set a **msg.reset** but it doesn't work.  
Where's my error?  
TIA

```auto
[
    {
        "id": "7fa393fdc39736c7",
        "type": "shift register",
        "z": "80a6d81ce6b76e0a",
        "name": "",
        "topic": "test",
        "outputs": 8,
        "output": "2",
        "init": false,
        "x": 360,
        "y": 1240,
        "wires": [
            [],
            [],
            [],
            [],
            [],
            [],
            [],
            []
        ]
    },
    {
        "id": "f26b0eb6f96d506d",
        "type": "inject",
        "z": "80a6d81ce6b76e0a",
        "name": "Pulse",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "true",
        "payloadType": "bool",
        "x": 120,
        "y": 1240,
        "wires": [
            [
                "7fa393fdc39736c7"
            ]
        ]
    },
    {
        "id": "b55c05e6ed4761e4",
        "type": "debug",
        "z": "80a6d81ce6b76e0a",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 350,
        "y": 1360,
        "wires": []
    },
    {
        "id": "63a6e055715373ef",
        "type": "inject",
        "z": "80a6d81ce6b76e0a",
        "name": "reset",
        "props": [
            {
                "p": "set",
                "v": "reset",
                "vt": "msg"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "x": 120,
        "y": 1300,
        "wires": [
            [
                "7fa393fdc39736c7",
                "b55c05e6ed4761e4"
            ]
        ]
    }
]

```

---

<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:** [29 December 2021 17:53 UTC](https://discourse.nodered.org/t/sending-a-msg-reset/55858/2 "2021-12-29T17:53:43Z")

</div>

You are sending msg.set not msg.reset

```auto
[{"id":"f26b0eb6f96d506d","type":"inject","z":"c791cbc0.84f648","name":"Pulse","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"true","payloadType":"bool","x":160,"y":560,"wires":[["7fa393fdc39736c7"]]},{"id":"7fa393fdc39736c7","type":"shift register","z":"c791cbc0.84f648","name":"","topic":"test","outputs":8,"output":"2","init":false,"x":400,"y":560,"wires":[[],[],[],[],[],[],[],[]]},{"id":"63a6e055715373ef","type":"inject","z":"c791cbc0.84f648","name":"reset","props":[{"p":"reset","v":"true","vt":"bool"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":160,"y":620,"wires":[["7fa393fdc39736c7","b55c05e6ed4761e4"]]},{"id":"b55c05e6ed4761e4","type":"debug","z":"c791cbc0.84f648","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":390,"y":680,"wires":[]}]

```

---

<div class="post-metadata">

**Author:** ![ebolisa](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ebolisa/32/89203_2.png) [@ebolisa](https://discourse.nodered.org/u/ebolisa)\
**Post date:** [29 December 2021 18:01 UTC](https://discourse.nodered.org/t/sending-a-msg-reset/55858/3 "2021-12-29T18:01:53Z")

</div>

> [@E1cid](#):
>
> You are sending msg.set not msg.reset

I see, said the blind.  
Thank you!

---

<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:** [12 January 2022 18:02 UTC](https://discourse.nodered.org/t/sending-a-msg-reset/55858/4 "2022-01-12T18:02:42Z")

</div>

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