LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use 3D parametric Surface VI

Solved!
Go to solution

I am trying to use the 3D parametric surface VI in the block diagram. But it require a 3D graph input and 3D graph as output. Is anything I need to do in the front panel to generate them? I try to add surface graph or parametric graph in the front panel, but those are different things.

Meanwhile can someone explain what happen to the link below please?

https://www.ni.com/en-us/support/documentation/supplemental/06/using-the-3-d-parametric-surface-grap...

I copy the code but errors show up saying I have a null reference. So those help NI help files were never tried by the author?

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

You typically create those controls from the front panel.

 

So, on your front panel, select a 3D parametric surface control (Graphs>3D Graph), and you get the indicator and the VI to set it's data.

 

The indicator is (IIRC) an XControl that accepts a class. All 3D graphs inherit from the accepted class, so the XControl will adapt. 

0 Kudos
Message 2 of 3
(1,895 Views)
Solution
Accepted by topic author Jacobier

Hi, 

Regarding your question on the 3-D parametric surface, I tried using example from the link you posted earlier. Turns out you need to add 3-D surface graph from the controls palette on the front panel. You can refer to my code from the image below. The image would on the front panel is attached as well. 

You could also try out in the example finder for 3-D Surface Graph.vi for your reference.

 

Cheers

 

 

Download All
Message 3 of 3
(1,853 Views)