# Cannot get ui\_guage to display each message after specified delay time

**URL:** <https://discourse.nodered.org/t/cannot-get-ui-guage-to-display-each-message-after-specified-delay-time/30031>\
**Category:** Dashboard\
**Created:** [14 July 2020 04:07 UTC](https://discourse.nodered.org/t/cannot-get-ui-guage-to-display-each-message-after-specified-delay-time/30031 "2020-07-14T04:07:48Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![thank\_u](https://avatars.discourse-cdn.com/v4/letter/t/f19dbf/32.png) [@thank\_u](https://discourse.nodered.org/u/thank_u)\
**Post date:** [14 July 2020 04:07 UTC](https://discourse.nodered.org/t/cannot-get-ui-guage-to-display-each-message-after-specified-delay-time/30031/1 "2020-07-14T04:07:48Z")

</div>

My experiment is to display numbers from a csv file onto ui\_guage after a 5 sec delay.(code at end)

Input to csv file is a multi-line msg.payload with three values per line.i.e,

````auto
```name1, numerical1,numerical11
```name2 numerical2,numerical22, etc

````

problem: i get no delay of 5sec per message on the guage...it directly shows the final value present in the last colomn (i have used a delay node also but still...)

example: display column 3 numericals with 5 sec delay on guage.  
guage output: numerical22  
So, the required per message delay (5 sec) is absent.  
I require the delay.  
I'am working on IBM cloud lite plan, node red v1.0.6

please review the following code  
any help is welcome  
if similar is answered before please re-direct me the solution  
. 🕶

The code:

```auto
[
    {
        "id": "c9b43c3a.da2e4",
        "type": "ui_gauge",
        "z": "ac0d0d22.69ebb",
        "name": "",
        "group": "c604d450.9712c8",
        "order": 13,
        "width": "5",
        "height": "5",
        "gtype": "gage",
        "title": "<img height=\"50\" width=\"50\" src=\"https://upload.wikimedia.org/wikipedia/commons/b/bf/Pressure_gauge.svg\"/>",
        "label": "units",
        "format": " {{msg.payload.col3}}",
        "min": 0,
        "max": 10,
        "colors": [
            "#00b500",
            "#e6e600",
            "#ca3838"
        ],
        "seg1": "",
        "seg2": "",
        "x": 840,
        "y": 320,
        "wires": []
    },
    {
        "id": "c604d450.9712c8",
        "type": "ui_group",
        "z": "",
        "name": "tab1",
        "tab": "c733c61c.6e4828",
        "order": 1,
        "disp": true,
        "width": "12",
        "collapse": false
    },
    {
        "id": "c733c61c.6e4828",
        "type": "ui_tab",
        "z": "",
        "name": "Home1",
        "icon": "dashboard",
        "disabled": false,
        "hidden": false
    }
]

```

---

<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:** [14 July 2020 07:52 UTC](https://discourse.nodered.org/t/cannot-get-ui-guage-to-display-each-message-after-specified-delay-time/30031/2 "2020-07-14T07:52:28Z")

</div>

You have only posted the export from one node, you haven't posted the flow showing how you have attempted the delay.  
However, in case you didn't realise, if you want it to show multiple values 5 seconds apart you need to set the delay node to rate limit mode so they come out at the defined rate.

---

<div class="post-metadata">

**Author:** ![thank\_u](https://avatars.discourse-cdn.com/v4/letter/t/f19dbf/32.png) [@thank\_u](https://discourse.nodered.org/u/thank_u)\
**Post date:** [14 July 2020 09:07 UTC](https://discourse.nodered.org/t/cannot-get-ui-guage-to-display-each-message-after-specified-delay-time/30031/3 "2020-07-14T09:07:53Z")

</div>

Thanks @Colin for pointing the error out!  
I have set the delay node to rate limit mode and now I get the desired output. Once again thanks @Colin for the timely response.  
The complete working code is given below 🕶

```auto
[
    {
        "id": "5a46e414.3d711c",
        "type": "csv",
        "z": "11fd5d54.80c8c3",
        "name": "",
        "sep": ",",
        "hdrin": "",
        "hdrout": "",
        "multi": "one",
        "ret": "\\n",
        "temp": "",
        "skip": "0",
        "strings": true,
        "x": 150,
        "y": 180,
        "wires": [
            [
                "f42b8576.b16da8"
            ]
        ]
    },
    {
        "id": "ad74ddcd.f10da",
        "type": "debug",
        "z": "11fd5d54.80c8c3",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "payload",
        "targetType": "msg",
        "x": 550,
        "y": 160,
        "wires": []
    },
    {
        "id": "3339df88.e401e",
        "type": "ui_gauge",
        "z": "11fd5d54.80c8c3",
        "name": "",
        "group": "c604d450.9712c8",
        "order": 13,
        "width": "5",
        "height": "5",
        "gtype": "gage",
        "title": "<img height=\"50\" width=\"50\" src=\"https://upload.wikimedia.org/wikipedia/commons/b/bf/Pressure_gauge.svg\"/>",
        "label": "units",
        "format": " {{msg.payload.col3}}",
        "min": 0,
        "max": 10,
        "colors": [
            "#00b500",
            "#e6e600",
            "#ca3838"
        ],
        "seg1": "",
        "seg2": "",
        "x": 440,
        "y": 260,
        "wires": []
    },
    {
        "id": "7c40b1c4.9fb8a",
        "type": "inject",
        "z": "11fd5d54.80c8c3",
        "name": "",
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "x": 160,
        "y": 80,
        "wires": [
            [
                "daef5ea5.2d6cd"
            ]
        ]
    },
    {
        "id": "f42b8576.b16da8",
        "type": "delay",
        "z": "11fd5d54.80c8c3",
        "name": "delay time",
        "pauseType": "rate",
        "timeout": "5",
        "timeoutUnits": "seconds",
        "rate": "1",
        "nbRateUnits": "1",
        "rateUnits": "second",
        "randomFirst": "1",
        "randomLast": "5",
        "randomUnits": "seconds",
        "drop": false,
        "x": 310,
        "y": 180,
        "wires": [
            [
                "ad74ddcd.f10da",
                "3339df88.e401e"
            ]
        ]
    },
    {
        "id": "daef5ea5.2d6cd",
        "type": "template",
        "z": "11fd5d54.80c8c3",
        "name": "input data w/o \" \"",
        "field": "payload",
        "fieldType": "msg",
        "format": "handlebars",
        "syntax": "mustache",
        "template": "apple,40.959090,74.074522\nball,39.875786,4.663006\ncat,39.802352,7.961251\ndog,39.086143,73.84776\negg,39.328387,72.121644\nflag,40.787217,44.246136\nggrape,39.721019,785.143708\nhorse,40.731384,44.078627",
        "output": "str",
        "x": 350,
        "y": 80,
        "wires": [
            [
                "5a46e414.3d711c"
            ]
        ]
    },
    {
        "id": "c604d450.9712c8",
        "type": "ui_group",
        "z": "",
        "name": "tab2",
        "tab": "c733c61c.6e4828",
        "order": 1,
        "disp": true,
        "width": "12",
        "collapse": false
    },
    {
        "id": "c733c61c.6e4828",
        "type": "ui_tab",
        "z": "",
        "name": "Home1",
        "icon": "dashboard",
        "disabled": false,
        "hidden": false
    }
]

```

---

<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:** [14 July 2020 09:11 UTC](https://discourse.nodered.org/t/cannot-get-ui-guage-to-display-each-message-after-specified-delay-time/30031/4 "2020-07-14T09:11:58Z")

</div>

For the future, when posting flows if you select Compact mode (at the bottom of the Export dialog) then it appears as one line here so it is much easier to copy it all, just by triple clicking it.

---

<div class="post-metadata">

**Author:** ![thank\_u](https://avatars.discourse-cdn.com/v4/letter/t/f19dbf/32.png) [@thank\_u](https://discourse.nodered.org/u/thank_u)\
**Post date:** [14 July 2020 09:16 UTC](https://discourse.nodered.org/t/cannot-get-ui-guage-to-display-each-message-after-specified-delay-time/30031/5 "2020-07-14T09:16:34Z")

</div>

Ok. Got it! 🕶

---

<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:** [14 July 2020 10:03 UTC](https://discourse.nodered.org/t/cannot-get-ui-guage-to-display-each-message-after-specified-delay-time/30031/6 "2020-07-14T10:03:07Z")

</div>

Yes it is much smaller and neater in compact mode - but there is a button top right of the window that will do the copy all to clipboard for you in any format

---

<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:** [14 July 2020 20:06 UTC](https://discourse.nodered.org/t/cannot-get-ui-guage-to-display-each-message-after-specified-delay-time/30031/7 "2020-07-14T20:06:17Z")

</div>

Sorry Dave, top right of which window?

---

<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:** [14 July 2020 20:33 UTC](https://discourse.nodered.org/t/cannot-get-ui-guage-to-display-each-message-after-specified-delay-time/30031/8 "2020-07-14T20:33:22Z")

</div>

Any correctly back-ticked code segment

---

<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:** [14 July 2020 20:39 UTC](https://discourse.nodered.org/t/cannot-get-ui-guage-to-display-each-message-after-specified-delay-time/30031/9 "2020-07-14T20:39:17Z")

</div>

Oh, you mean from the forum, I thought you meant when Exporting.  
At last I know what that blob that keeps getting in the way does, thanks. I don't see a tooltip when I hover over it, but perhaps there is not supposed to be one.

---

<div class="post-metadata">

**Author:** ![ghayne](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ghayne/32/39_2.png) [@ghayne](https://discourse.nodered.org/u/ghayne)\
**Post date:** [14 July 2020 20:40 UTC](https://discourse.nodered.org/t/cannot-get-ui-guage-to-display-each-message-after-specified-delay-time/30031/10 "2020-07-14T20:40:12Z")

</div>

@Colin

 ![Peek 2020-07-14 21-37](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/4/64d4c45d38f59628bcacbb7b4dd184ea830707d9.gif)

---

<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:** [14 July 2020 20:46 UTC](https://discourse.nodered.org/t/cannot-get-ui-guage-to-display-each-message-after-specified-delay-time/30031/11 "2020-07-14T20:46:16Z")

</div>

Thanks, I think our posts crossed.

---

<div class="post-metadata">

**Author:** ![ghayne](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ghayne/32/39_2.png) [@ghayne](https://discourse.nodered.org/u/ghayne)\
**Post date:** [14 July 2020 20:50 UTC](https://discourse.nodered.org/t/cannot-get-ui-guage-to-display-each-message-after-specified-delay-time/30031/12 "2020-07-14T20:50:13Z")

</div>

🙂

---

<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:** [13 August 2020 20:50 UTC](https://discourse.nodered.org/t/cannot-get-ui-guage-to-display-each-message-after-specified-delay-time/30031/13 "2020-08-13T20:50:28Z")

</div>

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