LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Plotting Error Bars in LabVIEW

Hello,  We are upgrading our software and we would like to improve our plots by using error bars.  We are currently using an XYplot to graph 4 to 5 lines.  We also use the dual axis.  I found the 2D error bar chart and it's great but it does not have all the capabilities that the XY plot has.  (One of the issues I'm having is we need only one line have the error bars so I set all the error markers on the other line to a size of 0....not the best way to do this....i'm sure) Are there any recommendations or pointer on using the error bar chart?  THANKS in advance!

0 Kudos
Message 1 of 11
(5,491 Views)

You can plot a seperate line or you could also use Cursors if the limit is constant. I have done it both ways. I plot data when the limit is variable and cursors whne the limit is constant.

Tim
GHSP
0 Kudos
Message 2 of 11
(5,490 Views)

Thanks for your quick response. What we would like to do is configure the error bar plot with multiple y-axes/multiple data plot lines. The .vi doesn't seem to want to allow us to do it using multiple y-scales, whereas other plot types allow 2 or 3 y-scales.

Is there a resource where we can see examples from V9 or later, or read something more explanatory than the LV (non)help?

aw

0 Kudos
Message 3 of 11
(5,480 Views)

The 2D error plot is an XControl (custom control) and has less capabilities (different ones at least) than the XY Graph. For instance, they did not include multiple scale capabilities... You would have to use one of aestet's tricks to have both.

0 Kudos
Message 4 of 11
(5,474 Views)

Can you give us a picture of what you are trying to do. Sketch something or make somethat looks like what you need then we can tell you how to do it grammatically.

Tim
GHSP
0 Kudos
Message 5 of 11
(5,472 Views)

I have no idea why I called this thing a 2D error plot, but maybe my doctor will... Anyhow, you got the idea.

0 Kudos
Message 6 of 11
(5,469 Views)

I see.....that is what we were thinking.  I appreciates everyone assistance.  One last question....Does anyone know if the bar chart in LabVIEW 2010 is more user friendly?  THANKS!

0 Kudos
Message 7 of 11
(5,437 Views)

What do you mean by "Bar Chart"? XY Graph with "bar chart" as plot style? Nothing changed over the years.

0 Kudos
Message 8 of 11
(5,429 Views)

Ooops!  Error bar plot or 2D error bar.

 

I did find an error bar vi at the following link https://decibel.ni.com/content/docs/DOC-1161 .  I modified it slightly and was able to use it with my existing XY graph (Doesn't work perfectly for some reason it does not plot all of the error bars.)  I still think using the LabVIEW Error bar plot is the way to go but with it's reduced capabilities this sub vi is more appealing.

 

THANKS, again!

0 Kudos
Message 9 of 11
(5,423 Views)

You may want to add you comments or kudos here...

The more feedback NI gets, the.. well, nothing might actually result from it, but at least they won't be able to argue that nobody complained about it.

🙂

0 Kudos
Message 10 of 11
(5,416 Views)