LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW

Darkhann_0-1762083334992.png

Darkhann_1-1762083358718.png

The point falls into the specified area. HELP ME BUILD A GRAPH, YOU CAN SEND ME A SCREENSHOT AND AN ANSWER.

0 Kudos
Message 1 of 33
(376 Views)

Did you even look at what you posted?

A blurry, undecipherable image of code, and a vague description.

How do you expect anyone to help you?

Message 2 of 33
(347 Views)

Your code is 90% text based using a formula node. It is also broken. Who wrote it or where did you find it?

This is probably a very simple problem where plain LabVIIEW code (not text!) would probably fit on a postage stamp.

 

As of now, the problem is not clear at all. You seem to generate 100 points, not "the point". As a first step show us the entire description of this homework problem #16, not just the image.

 

To determine if a point is in one of the shaded areas, I recommend to work with a complex datatype. The AND of two simple "in range?" on "r" and "theta" will give the answer instantly.

 

(On a side note, this is the LabVIEW forum, so a post with the subject LabVIEW is not informative.)

Message 3 of 33
(338 Views)

@Darkhann wrote:

HELP ME BUILD A GRAPH, YOU CAN SEND ME A SCREENSHOT AND AN ANSWER.


Since you seem to like really blurry pictures, here is some simple code that generates 4k random red points and colors them white if they fall into the two specified areas. It's both a screenshot and an answer. Right?

 

altenbach_0-1762097509129.png

 

Message 4 of 33
(330 Views)

you can drop a Block diagram screenshot? I can't find the error

0 Kudos
Message 5 of 33
(279 Views)

Hi Darkhann,

 


@Darkhann wrote:

you can drop a Block diagram screenshot? 


Altenbach "dropped" a screenshot of the block diagram (as blurry as you did in the first message).

 


@Darkhann wrote:

I can't find the error


Maybe you should attach your code (and not just a blurry image) as already suggested in message #2?

 

On your image of code: does it make sense to define variables AFTER you evaluate them in the first IF condition?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 6 of 33
(272 Views)

все четко видно ты а чем ?

 

0 Kudos
Message 7 of 33
(252 Views)

are you serious? everything is clearly visible there. I just asked for a block diagram, why complicate everything so much?

0 Kudos
Message 8 of 33
(248 Views)

@Darkhann wrote:

are you serious? everything is clearly visible there. I just asked for a block diagram, why complicate everything so much?


You are asking people to do your homework for you.

We won't do that, but we would be willing to help you; but only if you cooperate.

But you seem to be unwilling to cooperate with those trying to help you.

0 Kudos
Message 9 of 33
(238 Views)

You could politely say that the screen is not visible, that it is blurred, why fly in so fast?

 

0 Kudos
Message 10 of 33
(213 Views)