キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

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 件の賞賛
メッセージ1/7
3,594件の閲覧回数

@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 件の賞賛
メッセージ2/7
3,590件の閲覧回数

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

 

Please attach the actual VI. Thanks.

0 件の賞賛
メッセージ3/7
3,569件の閲覧回数

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 件の賞賛
メッセージ4/7
3,528件の閲覧回数

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 件の賞賛
メッセージ5/7
3,496件の閲覧回数

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

 

Thanks,

 

Richard

0 件の賞賛
メッセージ6/7
3,441件の閲覧回数

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 件の賞賛
メッセージ7/7
3,421件の閲覧回数