LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

graph portion of array

Hey everyone,

 

I'm using the 3dgraphcontrol.fp to display x and y coordinates versus output. I have those values correspond to each level in the physical z direction as well. I set up a ring control to the 3d graph so that the user can switch between the different z values. All of my data for x, y, z, and output are in arrays. Is there a way that I can graph only part of the arrays. If I graph the whole array of x and y, the data displayed is for all values of z. I want to split it up so that only the x, y, and output values are displayed for the selected z value in the ring control. Is there a way to do this? Thanks. 

0 Kudos
Message 1 of 2
(3,073 Views)

Hi ACowans,

 

Are you using 4 ID arrays where each point has a x, y, z, and output coordinate?  if so, I would recommend looping through all of the arrays simultaniously, and create a new array containing only points with a specified z value.  This way, you can plot the new array which will have only relevant points.  There are a few different methods of handling 3d data, so if youusing a different one from what I described, let me know and we can work from there!

Al B.
Staff Software Engineer - TestStand
CTA/CLD
0 Kudos
Message 2 of 2
(3,034 Views)