LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

reeal-time 3D graph with multiple plots

Hello,
I realise this is a very complicated question and I would appreciate any healp anyone could give. I am trying to:
1- draw a 3D graph with three plots (plots are from coordinates read from XL)
2- do it in real time, so that only one point from each plot shows at a time (the previous points disappear)

Can anyone help me out? I looked at Sarah's advice and I got as far as the program that I have attached. I have also attached an XL sheet with random values (actually I didn't have any luck attaching two files).

I would appreciate any response!

Thank-you,

Confused
0 Kudos
Message 1 of 11
(3,872 Views)
If you want to display a single point at a time, then you have to wire arrays with only one item to the x, y, z coordinates input. I have reversed the way your vi was organised. I that what you were looking for ?

CC
Chilly Charly    (aka CC)
Message 2 of 11
(3,864 Views)
WOW!
That's great! Thank-you! And thank you for answering so promptly! I really really appreaciate it!
I don't even know how to give you stars, but if I did- you'd get 10!
Thanks,
IBAHKA
0 Kudos
Message 3 of 11
(3,846 Views)

IBAHKA wrote:
WOW!
That's great! Thank-you! And thank you for answering so promptly! I really really appreaciate it!
I don't even know how to give you stars, but if I did- you'd get 10!




Just click below the answer on the "Rate this message" radio button n°5 😄
Chilly Charly    (aka CC)
0 Kudos
Message 4 of 11
(3,841 Views)
I can't seem to find it. Anyway,
Could you look at this new and improved (yet not perfect program) and help me out?
Issues:

Why do the axis all change and why aren't the points drawn all at once? ALso, is it possible to retain in memory and plot more than one point from each plot at once?

Thanks,

Ivanka
0 Kudos
Message 5 of 11
(3,840 Views)
I'm a scatter brain today!! Here is the program!
0 Kudos
Message 6 of 11
(3,838 Views)
and here's the error one.
0 Kudos
Message 7 of 11
(3,836 Views)

@IBAHKA wrote:
Could you look at this new and improved (yet not perfect program) and help me out?
Issues:
Why do the axis all change and why aren't the points drawn all at once? ALso, is it possible to retain in memory and plot more than one point from each plot at once?



The axis are changing because you didn't ask for constant scales. Just right-click on the 3D graph indicator and go to CWGraph3D/Properties... There a pop-up window will give you access to a number of settings. Explore. You will find how to allow the user to pan/zoom/rotate the graph, and to disable autoscaling...
The points are not drawn all at once because you pass them one at a time!!! To plot several points at once, you have to build an array with the proper number of points (initialise first) then you can rotate the array after plotting, and replace the first point at the next iteration.
Chilly Charly    (aka CC)
Message 8 of 11
(3,832 Views)
Hi Chilly,
Ok, I've explored and I found a lot of great properties, however I did not find anything to make the axes constant. I am using LV 7.0. What should I use?
Thanks, Ivanka
0 Kudos
Message 9 of 11
(3,825 Views)
Go to Axis>Range, then deselect "Auto scaling", and enter appropriate values for min and max, for each axis.
Additionaly, you can go to Graph>3D, then deselect "Clip Data to Axes Ranges".
Take some more time to explore in depth other properties. I did that a few days ago, after having neglegted 3D graphs for years. Now I am really angry against me, since I could have improved some of my previous GUI in a fantastic way. Too late 😞

Congratulations, you are now a Master guru of 3D ! 🙂
Chilly Charly    (aka CC)
Message 10 of 11
(3,817 Views)