LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3D Line Graph.vi not displaying line connecting data points.

I'm having trouble getting 3D Line Graph.vi to display the line connecting my data points.  I'm collecting latitude, longitude, and depth data from a binary file, loading this data into arrays with a while loop, and sending those arrays to 3D Line Graph.vi.  When I tried doing it with arrays created by random number generators, the line is displayed, but when I use it with my actual data, no lines are displayed.  I can only see where the data points are when rotating the 3D graph.  Any ideas on this would be appreciated.

 

Thanks,

 

Morgan

0 Kudos
Message 1 of 6
(3,570 Views)
Can you post your *.vi.  -SS


0 Kudos
Message 2 of 6
(3,545 Views)

Hi Morgan,

 

Your VI looks fine to me. Can you please a post pictures of the lines with the numbers generated from an array and the ones with your data? I would like to see the difference. If you are able to duplicate the problem with a smaller VI for me to test, that would be very helpful.

 

Thanks!

Karunya

Warm regards,
Karunya R
National Instruments
Applications Engineer
0 Kudos
Message 3 of 6
(3,544 Views)

Hi Morgan,

 

Have you tried using the 3-D Curve VI?

 

Thanks!

Warm regards,
Karunya R
National Instruments
Applications Engineer
0 Kudos
Message 4 of 6
(3,543 Views)

Karunya,

 

Thanks for the info on the 3-D Curve VI.  I tried it and it works.  I think I was able to find the problem with 3D Line Graph.vi.  It has something to do with plotting very close points away from the origin and scaling the axes to view the line.  I have attached an example of where the vi breaks down.  In this example, you can see that part of the line is drawn, but when you rotate the graph, you can see that the line is not drawn through all of the points.  If you change the scale of the axes, then you eventually get the line to go through all of the points, but then the graph is not very "readable" at that point.  It's when you try to zoom in really close to the plotted points.

 

Thanks!

 

Morgan

0 Kudos
Message 5 of 6
(3,531 Views)

Thanks for your VI, Morgan.

 

Glad to hear that 3D Curve VI worked better for you!

Warm regards,
Karunya R
National Instruments
Applications Engineer
0 Kudos
Message 6 of 6
(3,510 Views)