LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Please help to automatically print the coordinates on the drawn line

Hello, if you look at the vi I made, there are lines from (0,0) to various concentric circles, can you make the coordinates of the points that touch the circle automatically come out?

0 Kudos
Message 1 of 5
(821 Views)

Can you define the meaning of "come out"?

 

Sorry, cannot look at your code at the moment. Consider saving for previous (LabVIEW 2020 or below) before attaching.

0 Kudos
Message 2 of 5
(774 Views)

I looked at your code.

It's very sloppy.

So I stopped looking at it.

0 Kudos
Message 3 of 5
(720 Views)

OK, I had a chance to look at your code, and has has been mentioned, it is extremely convoluted.

 

  • The terminals of latch action booleans belong inside their respective frames.
  • All your shift registers are equivalent to autoindexing, so simplify! 
  • There is an "=0" primitive.
  • Your formula node should be replaced by G code. There are many subexpressions that you calculate multiple times.
  • There are significantly easier ways to calculate circles.
  • Your insert into array are the same as built array(concatenate mode). No need to wire indices.
  • You can build your data as complex datatype. No need for dynamic data and express VIs.
  • To create gaps in graphs, insert a point with NaN.
  • etc.

 

I have problems with my VM locking up, so please "save for previous (2020 or below)" and attach again.

 

0 Kudos
Message 4 of 5
(687 Views)


your original .vi is indeed a bit messy, but when I run your .vi, it creates data in a XY Graph.

the following is focusing on that data in the XY Graph, because I think it would be easier to start over again, than to rework your existing code.

 


@rhksdn6370 wrote:

Hello, if you look at the vi I made, there are lines from (0,0) to various concentric circles, can you make the coordinates of the points that touch the circle automatically come out?


I assume 

 

you want this but the data your .vi creates, looks like this
alexderjuengere_0-1706648827640.png

 

alexderjuengere_1-1706648842197.png

 

 

 

 

0 Kudos
Message 5 of 5
(677 Views)