ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

min max

Hi all : Does any one have build vi that shows  min and max in graph  thanks
0 Kudos
Message 1 of 6
(4,352 Views)
All you need is to get the array of values and then use the Array Max& Min function. How do you get the array of values? Depends on what kind of graph you have, and whether you have one or multiple traces.
0 Kudos
Message 2 of 6
(4,344 Views)

Hi Elyan,

 

Please find attached a demo vi that should help you along, change the simulated signal express vi for your application. I am assuming that you are running LabVIEW 8.5 if you are not I can convert the vi for you.

 

Best Regards

Ben L
Field Engineer
National Instruments
0 Kudos
Message 3 of 6
(4,334 Views)

Your question has two parts:

  1. Find min&max
    • Do you wan the min&max for each trace,
    • ...or the min&max for each x value (in the case of multiple traces)
    • ...or something else?
  2.  "show" the min&max.
    • Place a cursor
    • Use annotations
    • use two additional plots
    • ...

So far your question is too vague for a precise answer. Can you attach a simple VI or an image that shows what you actually need? Thanks! 🙂

0 Kudos
Message 4 of 6
(4,322 Views)

Hi : 

i want to bulid vi that show and do this , please attach see file

 

thanks

wisam

0 Kudos
Message 5 of 6
(4,282 Views)

Do you mean that you want a vi that shows lines on a graph located on the Front Panel of the VI?

 

or

 

Do you mean you want a vi that creates the max min lines within an Excel application?

 

"I want this & that" is not very specific, especially if you show an example of a non-LabVIEW application.

 

If you do want a Graph on a LabVIEW Front Panel, then have a look at the attached example.  It is done in LV7.1 to illustrate how you could do it.

 

R

 

0 Kudos
Message 6 of 6
(4,251 Views)