02-23-2012 11:16 PM
Hello again,
I didnt attach the PTs yet, so I am putting some random data array to check the VI.
I have changed the scaling VI. Thanks!
1. The scaling for 200 bar PT is not seen.
2. The graph for overload is little strange. I want simple line graph or bars.
3. Still unable to get histograms with the VI.
02-24-2012 11:13 AM
I have identified some of your problems.
The chart apparently does not like arrays of clusters. However you can give it a large cluster to display the limits and pressure values.
You are only feeding the Histogram.vi an array with two elements, the mean and the standard deviation. Two unrelated points do not a histogram make. I am not sure what you want the histogram to represent so I cannot suggest a fix.
I had not noticed that the input range was 1-5 V. The offset values need to be changed in the scaling subVI. It looks like -87.5 works for the 350 bar range and -50 for the 200 bar range.
Lynn
02-25-2012 04:41 AM
02-25-2012 07:35 AM
02-26-2012 05:32 PM - edited 02-26-2012 05:33 PM
I am not understanding what you want the graphs to show. I think the use of the word "histogram" may be part of the confusion.
Do you want a bar graph with a different bar for each PT? Do you also want a separate indicator showing overload or underload for each PT?
Is this what you have in mind? This uses an XY Graph set to display as a bar graph. Try different plot styles, point styles, line widths, to see if you can get what you want.
Lynn
02-26-2012 05:58 PM
Here is a version using a Waveform graph.
Lynn
02-26-2012 11:59 PM
Thank you for your help and suggestions!