LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Plot does not show 2nd point

This is a mystery. My little VI plots the table below with error bars. For some reason it is not showing the second point:

 

Name    X    Y    ERR
file1    1.1    10.1    1.1
file1    2.1    11.1    1.1
file1    3.1    12.1    1.1
file1    4.1    13.1    1.1
file1    5.1    14.1    1.1

 

You can see the Y vx X plot (everything is fine). But Error Bars missing second error bar. Also missing in the XY plus Error Bar plot.

But if I were to plot the 2nd error bar individual, it shows up. See the attached code and the associated data file you can open up.

Plot.jpg

Download All
0 Kudos
Message 1 of 2
(1,921 Views)

I took a look at your code, and it looks like there's a lot going on with regards to bundling and interleaving data before it gets sent to the graphs.  I would recommend doing a block diagram cleanup and making sure that you're reading exactly the right information into the error bars graph.  It may be an index or length setting that's just a little bit off.

0 Kudos
Message 2 of 2
(1,874 Views)