LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview blog diagram create grafic

Darkhann_0-1762281858900.png

Darkhann_1-1762281884806.png

Sorry to bother you, you can make 2 more schemes if it doesn't bother you, if you have time, if not, just refuse, I'll understand everything.You need to make a graph of a given area.

0 Kudos
Message 1 of 3
(68 Views)

You won't learn LabVIEW by having us do your class exercises for you.  Do them yourself, and when if they don't work, post them (we prefer that you post VIs, but many of us, myself included, aren't running LabVIEW 2025, so you should "Save for Previous Version" and specify 2019 or 2021 for reaching more of us "old-timers") and we'll criticize your efforts so that you can "learn from your mistakes"..

 

Bob Schor

0 Kudos
Message 2 of 3
(44 Views)

What kind of graph?

 

To reproduce the shaded areas, continue where we started and just modify the logic.

 

First graph:

A point needs to be below the parabola AND above that straight line if x is negative and above overwise.

(I assume you now the formula for the two curves, right? Simple math!)

 

Second graph:

For each circle: points are inside if their distance to the center is less that the radius.

For the square, points are inside if x and y are in the correct range.

The rest are simple boolean operations:

  • upper left area: inside that circle AND inside square
  • Lower right area: inside that circle AND NOT inside square.

We gave you all the tools, now just assemble it into code!

0 Kudos
Message 3 of 3
(12 Views)