LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to plot data through a circle in 3D surface?

My current project is control translation stages combined with rotary encoder for scanning and plot receive data, I using Labview 8.5 to programming. The procedure is rotary encoder stepping rotates in 30 degree range with 40 mm length from center to draw an arc, then the translation stage move one step and the rotary procedure repeat again, while the data continuously receive and plot follow the arc. The problem is like plot data received in arc shape, by any step of translation moving, we can obtain a image of the scanning. I try to do it in cartersian coordinates but it is impossible, I chance to cylinder coordinates but I do not know how to move the circle center to draw the same arc in next translation moved position. If increase the radius of rotary, the arc chances parameters, it is not match to the experiment situation. I send you my test program with supposition the data is random in the secondary inside loop. Please help me to solve the problem!
0 Kudos
Message 1 of 4
(3,164 Views)

This thread may help you. In that thread I produce these types of  images...

 

 

 

You will prbably have to do a little trigonometry to get your data to fit but I hope that helps get you pointed in the right direction.

 

Ben

 

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 4
(3,144 Views)

Thank Ben for suggestion, but I need the center of polar coordinates is shift when I increase the index i of outer loop. I try to do that but did found and any source similar for the similar mission.

 

Trinh Quang Duc

0 Kudos
Message 3 of 4
(3,128 Views)
I already solved the problem with cartersian coordinates.
0 Kudos
Message 4 of 4
(3,121 Views)