From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Histogram Charts

Hi All

I am trying to create a histogram chart of data values which upates itself
every time a new value is added to the set of data, which is every 2 secs.

From the examples I have managed to butcher a VI to meet my functional
requirements. However, can anyone tell me how to rotate the chart 90 degrees
anti-clockwise so that it looks like a Bell Curve chart, and not one on its
side.

Also, I would like to display limit lines so that an operator can take
appropriate action if the curve is displaced from the nominal value too
much. Can anyone tell me how to achieve this on this type of chart.
Thanks in advance.

Yours sincerely, Chris McCrory Project Engineer
______________________________________________ SP Technology Limited E-mail:
c.mccrory@sp-tech.c
om Website: www.sp-tech.com Tel: +44 (0) 1382-880088 Fax:
+44 (0) 1382-880099 The information in this e-mail is confidential and for
use by the addressee(s) only. If you are not the intended recipient or
responsible for delivery of the message to the intended recipient, please
notify us immediately on +44 (0) 1382 880088 and delete the message from
your computer; you may not copy or forward it, or use or disclose its
contents to any other person. As Internet communications are capable of data
corruption, SP Technology Ltd do not accept any responsibility for changes
made to this message after it was sent. For this reason it may be
inappropriate to rely on advice contained in an e-mail without obtaining
written confirmation of it. Please note that SP Technology Ltd does not
accept the liability or responsibility for viruses and it is your
responsibility to scan attachments, if any. Opinions and views expressed in
this e-mail are those of the sender and may not reflect the opinions of SP

Technology Ltd.
0 Kudos
Message 1 of 2
(2,544 Views)
You haven't attached your VI or said which example you "butchered" so what I have to say may not apply exactly. If you are doing something like the example VI called Running Histogram Example that has the bars going horizontally, to display them vertically, first swap the arrays going into the bundle function. Second, right click on the plt legend, select bar plots and select a vertical style. To add limits to an XY graph, create a couple of array constants that represent your limits and bundle them into the graph along with the histogram. The example XY Graph.vi shows how to accomplish multi-plot XY graphs.
0 Kudos
Message 2 of 2
(2,544 Views)