LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

vertical lines

Hello all,

 

I have a 1D array of 6 Doubles that gets updated every 10 seconds or so and gets plotted on a graph. Although they plot correctly, they temperatures are connected vertically and not horizontally as they should (see picture)

 

Thank you,

 

Richard

0 Kudos
Message 1 of 7
(3,128 Views)

@rcote1 wrote:

Hello all,

 

I have a 1D array of 6 Doubles that gets updated every 10 seconds or so and gets plotted on a graph. Although they plot correctly, they temperatures are connected vertically and not horizontally as they should (see picture)

 

Thank you,

 

Richard


They say a picture is worth a thousand words, but a VI is worth a thousand pictures.  🙂

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 7
(3,124 Views)

dt=0 is not a valid input. Is this a graph or a chart?

 

Please attach the actual VI. Thanks.

0 Kudos
Message 3 of 7
(3,103 Views)

Sorry about that, I was posting from home and the VI is not accessible remotely. You might want to look at my other posting on relative time.

 

Thanks,

 

Richard

0 Kudos
Message 4 of 7
(3,062 Views)

Please sanitize any attached VIs by removing all these toolkit VIs that we don't have. Also remove the reports parts and reduce it to only the graph and some data.

 

You are only graphing six points, so the vertical lines in the original picture are not possible unless you were using a chart earlier. Now you are apparently using a graph.

 

What's the point of the outer case structure and breakpoint you have set? What is the purpose of the disfunctional abort VI primitive? 

 

Please run your VI until you see the vertical lines you were complaining about. Now right-click the graph and select "data operations...make current values default". Delete everything else except the graph and paste it onto a new VI. Save under a new name and attach it here. Thanks.

0 Kudos
Message 5 of 7
(3,030 Views)

Sorry about that, attached is my VI that I copied the way you asked me to copy it.

 

Thanks,

 

Richard

0 Kudos
Message 6 of 7
(2,975 Views)

Your code makes no sense. You are graphing the same 4 values (autoscale X to see) on the white plot (#0), then repeating the same over and over with the same timestamp. What do you expect to see?

 

You also did not make the value in the graph the default before saving, so we cannot see the vertical lines you seem to be seeing.

0 Kudos
Message 7 of 7
(2,955 Views)