# Progress bar into slow functions

**URL:** <https://discourse.nodered.org/t/progress-bar-into-slow-functions/52648>\
**Category:** Dashboard\
**Created:** [24 October 2021 09:00 UTC](https://discourse.nodered.org/t/progress-bar-into-slow-functions/52648 "2021-10-24T09:00:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Geppy57](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@Geppy57](https://discourse.nodered.org/u/Geppy57)\
**Post date:** [24 October 2021 09:00 UTC](https://discourse.nodered.org/t/progress-bar-into-slow-functions/52648/1 "2021-10-24T09:00:27Z")

</div>

On a file reading function, needed for show historic values on a chart, when the file is very long (about process that takes hours), there is a waiting time between showing request and chart dispaying that can be up to 15 - 20 seconds. It is possible to insert a code inside the function that show the current retrieving file line in order to show an operation progress bar or simply a number? This is actual possible inserting node.warn (variable) inside reading loop. Thanks fo any reply..

---

<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:** [24 October 2021 09:10 UTC](https://discourse.nodered.org/t/progress-bar-into-slow-functions/52648/2 "2021-10-24T09:10:15Z")

</div>

`node.status` will display information below the function node.

"Node status : Node-RED" [Node status : Node-RED](https://nodered.org/docs/creating-nodes/status)

---

<div class="post-metadata">

**Author:** ![Geppy57](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@Geppy57](https://discourse.nodered.org/u/Geppy57)\
**Post date:** [24 October 2021 12:35 UTC](https://discourse.nodered.org/t/progress-bar-into-slow-functions/52648/3 "2021-10-24T12:35:10Z")

</div>

Sorry. Probably I can't explain my request. With node.status I see the status below the node into editor UI. I want show something like a progress bar on the dashboard.

---

<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:** [23 November 2021 12:35 UTC](https://discourse.nodered.org/t/progress-bar-into-slow-functions/52648/4 "2021-11-23T12:35:23Z")

</div>

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