LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can you add a Horiziontal Bar to a Chart?

Basically I have 2 analog inputs being read and displayed on a 2 independant charts.  The user is prompted to input tolerances that are then used to figure out a maximum and minimum value.  If either of the input values do not fall within the min/max value an alarm occurs and turns on a red LED on the front panel.  The chart is then saved to file that can be reopened for review.  The charts clear and await a new analog input.
 
What has been requested of me is to add horizontal lines to the chart that will display the min/max values so that the user can easily identify where the failing value occured.  I have to do this without altering the information on the 2 existing charts?
 
Is there a way to overlay another transparent chart on with the same scale and just draw the min and max lines?  Is there a simple solution I have overlooked (only been using labview for 2 weeks)?  Any suggestions/ideas would be very helpful.
 
 
Thanks,
 
Ken
0 Kudos
Message 1 of 3
(2,781 Views)
The Max and Min lines can be plotted on the chart with the data. This does not alter the data, it just changes the display ! You need to build an 1D array of data/max/min, then to make this array a 2D array, before passing it to the chart. See the attached vi.
Chilly Charly    (aka CC)
Message 2 of 3
(2,775 Views)

Thanks alot.  That was exactly what I was looking for.  I figured it would be something simple that I was overlooking.

Thanks again,

Ken

0 Kudos
Message 3 of 3
(2,753 Views)