# Can someone try this flow to see if the following plot is generated without the straight line

**URL:** <https://discourse.nodered.org/t/can-someone-try-this-flow-to-see-if-the-following-plot-is-generated-without-the-straight-line/38316>\
**Category:** Dashboard\
**Created:** [31 December 2020 11:39 UTC](https://discourse.nodered.org/t/can-someone-try-this-flow-to-see-if-the-following-plot-is-generated-without-the-straight-line/38316 "2020-12-31T11:39:58Z")\
**Posts on this page:** 18\
**Page:** 2

<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:** [1 January 2021 16:20 UTC](https://discourse.nodered.org/t/can-someone-try-this-flow-to-see-if-the-following-plot-is-generated-without-the-straight-line/38316/21 "2021-01-01T16:20:31Z")

</div>

Thats extremely short for a flow, and it is corrupt as you did not use backticks.

I asked for flow not a single node.

---

<div class="post-metadata">

**Author:** ![Munier](https://avatars.discourse-cdn.com/v4/letter/m/e99b99/32.png) [@Munier](https://discourse.nodered.org/u/Munier)\
**Post date:** [1 January 2021 16:27 UTC](https://discourse.nodered.org/t/can-someone-try-this-flow-to-see-if-the-following-plot-is-generated-without-the-straight-line/38316/22 "2021-01-01T16:27:58Z")

</div>

Yes, I edited the comment above.

---

<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:** [1 January 2021 16:30 UTC](https://discourse.nodered.org/t/can-someone-try-this-flow-to-see-if-the-following-plot-is-generated-without-the-straight-line/38316/23 "2021-01-01T16:30:52Z")

</div>

Your flow works for me with csv.

It must be something to do with your operating system.

---

<div class="post-metadata">

**Author:** ![Munier](https://avatars.discourse-cdn.com/v4/letter/m/e99b99/32.png) [@Munier](https://discourse.nodered.org/u/Munier)\
**Post date:** [1 January 2021 16:57 UTC](https://discourse.nodered.org/t/can-someone-try-this-flow-to-see-if-the-following-plot-is-generated-without-the-straight-line/38316/24 "2021-01-01T16:57:35Z")

</div>

I am using windows 10 . What would be the issue you think?

---

<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:** [1 January 2021 17:05 UTC](https://discourse.nodered.org/t/can-someone-try-this-flow-to-see-if-the-following-plot-is-generated-without-the-straight-line/38316/25 "2021-01-01T17:05:33Z")

</div>

Possibly, i run on debian vitual machine on android.

take a look a WSL

> **[Do you want to run Linux on Windows 10? Use WSL, here's how.](https://www.windowscentral.com/install-windows-subsystem-linux-windows-10)**
>
> In this guide, we'll show you the steps to install Windows Subsystem for Linux (WSL) as well as the steps to download and install distros of Linux (such as Ubuntu and Suse) using the Settings app and PowerShell commands.

---

<div class="post-metadata">

**Author:** ![Buckskin](https://avatars.discourse-cdn.com/v4/letter/b/b9e5f3/32.png) [@Buckskin](https://discourse.nodered.org/u/Buckskin)\
**Post date:** [1 January 2021 17:26 UTC](https://discourse.nodered.org/t/can-someone-try-this-flow-to-see-if-the-following-plot-is-generated-without-the-straight-line/38316/26 "2021-01-01T17:26:57Z")

</div>

Not much help I know but this also works on a Rasp Pi, and on Ubuntu running in VMWare on Windows 10. Your debug data looks the same as I am getting. What plot are you actually getting?

The only other things to check would be the version of Node-red & Dashboard you are using and can you actually get a Chart to work if you use other data.

---

<div class="post-metadata">

**Author:** ![Munier](https://avatars.discourse-cdn.com/v4/letter/m/e99b99/32.png) [@Munier](https://discourse.nodered.org/u/Munier)\
**Post date:** [1 January 2021 18:11 UTC](https://discourse.nodered.org/t/can-someone-try-this-flow-to-see-if-the-following-plot-is-generated-without-the-straight-line/38316/27 "2021-01-01T18:11:36Z")

</div>

Yes, I did try modifying the file and the chart works. It is just that it doesn't allow for the csv file generated by the application I am using in the background.

Here is the version of node-red and dashboard

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/5/85faa639221cee69165e3e3e31218e62c4fe4b67.png)

---

<div class="post-metadata">

**Author:** ![Buckskin](https://avatars.discourse-cdn.com/v4/letter/b/b9e5f3/32.png) [@Buckskin](https://discourse.nodered.org/u/Buckskin)\
**Post date:** [1 January 2021 18:35 UTC](https://discourse.nodered.org/t/can-someone-try-this-flow-to-see-if-the-following-plot-is-generated-without-the-straight-line/38316/28 "2021-01-01T18:35:32Z")

</div>

You could try updating both your version of Node-red & Dashboard (current v1.26 and Dashboard v2.26). I must admit I don't know if this would make any difference. I used the file you provided (new 1.txt) and renamed it to new 1.csv and it worked (for both file extensions).

Is this an actual copy of the file you receive from your background application? i.e. do you get exactly the same Debug data?

---

<div class="post-metadata">

**Author:** ![Munier](https://avatars.discourse-cdn.com/v4/letter/m/e99b99/32.png) [@Munier](https://discourse.nodered.org/u/Munier)\
**Post date:** [1 January 2021 18:40 UTC](https://discourse.nodered.org/t/can-someone-try-this-flow-to-see-if-the-following-plot-is-generated-without-the-straight-line/38316/29 "2021-01-01T18:40:41Z")

</div>

Yes, it is exactly the same data 4320 points for u,y,w1,w2,w3,w4,w5.

Can you tell me how I could run an update for both node-red and the dashboard.

---

<div class="post-metadata">

**Author:** ![Buckskin](https://avatars.discourse-cdn.com/v4/letter/b/b9e5f3/32.png) [@Buckskin](https://discourse.nodered.org/u/Buckskin)\
**Post date:** [1 January 2021 18:53 UTC](https://discourse.nodered.org/t/can-someone-try-this-flow-to-see-if-the-following-plot-is-generated-without-the-straight-line/38316/30 "2021-01-01T18:53:23Z")

</div>

Assuming (dangerous I know) that you installed Node-red with npm, use : `npm install -g --unsafe-perm node-red`

Look at the documentation here for more info: [[Running on Windows : Node-RED](https://nodered.org/docs/getting-started/windows)]([Running on Windows : Node-RED](https://nodered.org/docs/getting-started/windows))

Updating Dashboard is easier; go to Manage Palette in the menu, scroll down until you get to` node-red-dashboard` and you should find buttons next to it, one of which should say `update to *`. You will then have to restart node-red.

Reading through the Documentation tab at the top of the page would also be helpful as a there is lot of useful information there.

---

<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:** [1 January 2021 19:00 UTC](https://discourse.nodered.org/t/can-someone-try-this-flow-to-see-if-the-following-plot-is-generated-without-the-straight-line/38316/31 "2021-01-01T19:00:14Z")

</div>

> [@Munier](#):
>
> I did try modifying the file and the chart works. It is just that it doesn't allow for the csv file generated by the application I am using in the background

Perhaps this background application is locking the file? Does the flow work if you quit the background application ?

---

<div class="post-metadata">

**Author:** ![Munier](https://avatars.discourse-cdn.com/v4/letter/m/e99b99/32.png) [@Munier](https://discourse.nodered.org/u/Munier)\
**Post date:** [1 January 2021 19:17 UTC](https://discourse.nodered.org/t/can-someone-try-this-flow-to-see-if-the-following-plot-is-generated-without-the-straight-line/38316/32 "2021-01-01T19:17:10Z")

</div>

The background application is not locking the file because I run node-red on a different computer where the application is not installed and the flow works.

---

<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:** [1 January 2021 20:01 UTC](https://discourse.nodered.org/t/can-someone-try-this-flow-to-see-if-the-following-plot-is-generated-without-the-straight-line/38316/33 "2021-01-01T20:01:13Z")

</div>

Just because node-red runs on another machine does not mean the file can't be locked by the application.

Also, sorry if I missed this detail but... how do you read this remote file into node-red on the other computer? Have you verified (by sending the file data to a debug node) that the node-red computer can see and read the file?

---

<div class="post-metadata">

**Author:** ![Munier](https://avatars.discourse-cdn.com/v4/letter/m/e99b99/32.png) [@Munier](https://discourse.nodered.org/u/Munier)\
**Post date:** [1 January 2021 20:12 UTC](https://discourse.nodered.org/t/can-someone-try-this-flow-to-see-if-the-following-plot-is-generated-without-the-straight-line/38316/34 "2021-01-01T20:12:02Z")

</div>

I figured the issue is more to do with csv node Tab and comma set up.

---

<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:** [1 January 2021 20:19 UTC](https://discourse.nodered.org/t/can-someone-try-this-flow-to-see-if-the-following-plot-is-generated-without-the-straight-line/38316/35 "2021-01-01T20:19:57Z")

</div>

Most likely the line endings character ?

---

<div class="post-metadata">

**Author:** ![Munier](https://avatars.discourse-cdn.com/v4/letter/m/e99b99/32.png) [@Munier](https://discourse.nodered.org/u/Munier)\
**Post date:** [1 January 2021 20:37 UTC](https://discourse.nodered.org/t/can-someone-try-this-flow-to-see-if-the-following-plot-is-generated-without-the-straight-line/38316/36 "2021-01-01T20:37:53Z")

</div>

It was more to do with the configurations of the csv node - when its tab it doesn't read .csv but a .txt

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

---

<div class="post-metadata">

**Author:** ![Munier](https://avatars.discourse-cdn.com/v4/letter/m/e99b99/32.png) [@Munier](https://discourse.nodered.org/u/Munier)\
**Post date:** [1 January 2021 21:21 UTC](https://discourse.nodered.org/t/can-someone-try-this-flow-to-see-if-the-following-plot-is-generated-without-the-straight-line/38316/37 "2021-01-01T21:21:46Z")

</div>

Is there a scale for the left-hand side and a scale for the right-hand side for plotting in the Node-Red dashboard?

Such that an amplification of the noise W1 can be shown for the graph below?

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/a/9ab619c86a2eeea0b6f29619330151a44b35d264.png)

---

<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:** [31 January 2021 21:21 UTC](https://discourse.nodered.org/t/can-someone-try-this-flow-to-see-if-the-following-plot-is-generated-without-the-straight-line/38316/38 "2021-01-31T21:21:54Z")

</div>

Closed on 31 January 2021 21:21 UTC

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

[Previous page](https://discourse.nodered.org/t/can-someone-try-this-flow-to-see-if-the-following-plot-is-generated-without-the-straight-line/38316.md?page=1)
