LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3D Real-time Visualization

Hello everyone.

I'm working on a program that will produce dynamic data (in the form of vectors or coordinates) that I would like to be used on a plot.

My readings produce continuous data that is used to plot a flexible tubular shape in various positions. The details are, I think, not necessary to be said here. As a simple example, imagine that I have an array of data listing X, Y, Z data. I would like to have this data plotted as a tubular shape, along with a specified diameter. I've come across "3D Picture Control", but before venturing off to learn this package, I thought I would ask whether this is really possible in LV, and, if not, how I should go about doing this.

In one of the documents talking about 3D Picture Control, they said that their software is good for simulating an aircraft's wing from strain gauge readings -- this is actually very similar to what I want to do. But I remain uncertain as to whether this is exactly what I need.

Please offer any help that you can.

-Alex

 

0 Kudos
Message 1 of 14
(4,917 Views)
The 3D picture control is if you want to draw your own 3D images. While you could use it for what you're doing, it sounds like you really want to draw a 3D graph. In that case, try one of the 3D graphs. In the Graph controls palette there are 3 types of 3D graphs. Each one is really an ActiveX control, and when you select one a VI gets placed on the block diagram where you can wire in your data. There are also examples for 3D graphs. (Help -> Find Examples)
Message 2 of 14
(4,912 Views)

Agree, 3d graph.

I did this using the 3-d graph to analyze pipes as they come of the end of the line.

Real-time is going be dependent on how efficient your code is and its CPU agraphic capabilities. If possible keep your data sets small.

Ben



Message Edited by Ben on 07-09-2008 12:04 PM
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 3 of 14
(4,903 Views)
You know, Ben, you always have the most awesome-looking graphs.
Message 4 of 14
(4,894 Views)

Ben,

Please share your code those graphics are amazing! -SS



0 Kudos
Message 5 of 14
(4,859 Views)
OK but all I have is the demo that prodcued those images.
 
AND
 
If you ever acuse me of writing such horible code, .... well lets not go there.
 
Ben
 
PS Ben_Pipe12 is the demo and please observe the zip file size if you have a slow network.


Message Edited by Ben on 07-10-2008 01:35 PM
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 6 of 14
(4,851 Views)

Quick notes to undestand what that code does.

The data stream was acquired from a DAQ channel monitoring a micrometer.

The micrometer was moved along the length of pipe while it was being spun.

Most of the code in that example just re-aranged the data so I could visualize the pipe un-rolled and laid out flat or to image it a cylinder.

Ben

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

Ben,

I was interested in seeing your software flow.  I just started playing around with the CWplot3D control.  Looks like there is alot done in the properties settings of the control. 

Very cool and Thank You for sharing.  -SS



0 Kudos
Message 8 of 14
(4,822 Views)

Ben,

The zip folder is missing some subVIs. Can you please post them too.

 

Thanks!

0 Kudos
Message 9 of 14
(4,477 Views)

leoatul wrote:

Ben,

The zip folder is missing some subVIs. Can you please post them too.

 

Thanks!


I'll guess not. Since SS opened it OK I can only guess that what is missing are actually on your machine.

 

Ben

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