# Delay in reading each line of data from the file

**URL:** https://discourse.nodered.org/t/delay-in-reading-each-line-of-data-from-the-file/93648
**Category:** General
**Created:** [3 December 2024 01:59 UTC](https://discourse.nodered.org/t/delay-in-reading-each-line-of-data-from-the-file/93648 "2024-12-03T01:59:43Z")
**Posts on this page:** 4
**Page:** 2

<div class="post-metadata">

### Author: ![lihao](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/lihao/32/72171_2.png) [@lihao](https://discourse.nodered.org/u/lihao)
#### Post date: [4 December 2024 14:03 UTC](https://discourse.nodered.org/t/delay-in-reading-each-line-of-data-from-the-file/93648/21 "2024-12-04T14:03:38Z")

</div>

I have already written influxDB, I just want to add a function to dynamically display data, similar to data backtracking. I'm here to solve problems, not add to them. Why do you have so many questions?

---

<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: [4 December 2024 14:42 UTC](https://discourse.nodered.org/t/delay-in-reading-each-line-of-data-from-the-file/93648/22 "2024-12-04T14:42:30Z")

</div>

> [@lihao](#):
>
> I just want to add a function to dynamically display data

You said that wanted to read data from a file and write it to influx. Now you say that you have already written it to influx. Why do you want to write it again.

> [@lihao](#):
>
> Why do you have so many questions?

Because I need to understand your problem in order to help you.

---

<div class="post-metadata">

### Author: ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)
#### Post date: [4 December 2024 16:48 UTC](https://discourse.nodered.org/t/delay-in-reading-each-line-of-data-from-the-file/93648/23 "2024-12-04T16:48:23Z")

</div>

I don't know, but I am guessing:  
The data gets into your computer (via BLE) and into the file, all before it hits either Node-red or Influx.  
Then you use Node-red to read the file and write to Influx. The timing problem is here.  
And the intention presumably is to display the data from Influx.

Maybe a diagram showing the data flow would help me understand.  
Also a small sample of the data arriving via Bluetooth, the file contents and the database structure. A screen capture of your flow might help too.

> [@lihao](#):
>
> I'm here to solve problems, not add to them.

We are all here for the same thing then 🙂

---

<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: [4 March 2025 16:49 UTC](https://discourse.nodered.org/t/delay-in-reading-each-line-of-data-from-the-file/93648/24 "2025-03-04T16:49:17Z")

</div>

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

[Previous page](https://discourse.nodered.org/t/delay-in-reading-each-line-of-data-from-the-file/93648.md?page=1)
