LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programming suggestion-Pressure transducer

Solved!
Go to solution

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.

 

Download All
0 Kudos
Message 11 of 17
(902 Views)
Solution
Accepted by KRAZE4LV

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

Download All
Message 12 of 17
(893 Views)
thanks for the sugestion For the histogram graph : 1 I want that all PT 1 to PT 9 should give the continuos data Each histogram bar should represent one PT value continously i.e x -axis should be the number of PT 1-9 2. another graph should represent the status of the overload and underload Pt 1,2,3
0 Kudos
Message 13 of 17
(880 Views)
Sorry for last reply! The graph with the status of of PT1-3 is working fine. I had a suggestion is it possibleto use linear fit function for the scaling Another question is I want to generate the Histogram bar for each PT with time for continous data.
0 Kudos
Message 14 of 17
(873 Views)

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

0 Kudos
Message 15 of 17
(857 Views)

Here is a version using a Waveform graph.

 

Lynn

Message 16 of 17
(854 Views)

Thank you for your help and suggestions!

0 Kudos
Message 17 of 17
(840 Views)