LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create multiplot with PlotHelper.VI 3d surface.VI

Solved!
Go to solution
I selected PlotHelper.vi and 3D surface.vi because I could (according to the Help info) do " Successive calls to this VI with the same 3D Plot Input with different Plot ID values will create multiple plots"I attached my testing VI.  The radius of each sphere will be provide by another VI, for now it is fix to 8 and I want to plot 2 spheres with different X, Y and Z coordinates.  I generate a first set of coordinates and switch to a second set.It seems that the plot show only the last generated plot.The While loop produce the successive calls to the Plot Helper VI and the ID is changes accordingly. 

What could I do to keep each plot on the drawing?  How the scale of the 3D draw will include both spheres?

 

Thank you for your help. 

 

 

0 Kudos
Message 1 of 7
(4,089 Views)

I found this old 5.1 VI ...Multiple 3D graph .VI, most of VI inside are not seen in LabVIEW 8.2 and I can't open it in LabVIEW 2009.  Is there a way to convert in 2009? Or, how can I do the equivalent in 2009?

 

Thank you

0 Kudos
Message 2 of 7
(4,078 Views)
Solution
Accepted by topic author fmethot

fmethot,

 

Hello! This document talks about How to Upgrade or Revert a VI to a Different Version of LabVIEW

 

I took a look at your code and played with it a little bit. I was able to get it to graph different plots at the same time. Take a look.

 

 

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ben Sisney
FlexRIO V&V Engineer
National Instruments
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Message 3 of 7
(4,045 Views)

Thank you.  I get it now.  We have to cascade each PloterHelper.VI and number the ID for each.  I attached something that I was working on and  I did the correction to get the 3 spheres at the same time.  I put a while loop to include the complete code and refresh every 3 seconds.

 

Question:  After each refresh, I loose the drawing for a second.  Is it possible to refresh without this blanking?

 

...those 3 spheres will represent 3 antennae where the radius is the measured distance of a mobile unit.

 

Thank you again.

0 Kudos
Message 4 of 7
(4,038 Views)

Oups!  I forgot to save all my setting as default values.  This VI is more representative of my blanking (after refresh) question....

 

Regards,

0 Kudos
Message 5 of 7
(4,025 Views)
I found the answer.  I put some code outside the While loop and it is fine for me at this moment.  Thank you
0 Kudos
Message 6 of 7
(4,003 Views)

fmethot,

 

Glad to hear you got it working!

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ben Sisney
FlexRIO V&V Engineer
National Instruments
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
0 Kudos
Message 7 of 7
(3,980 Views)