10-28-2020 10:08 PM
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?
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?
Solved! Go to Solution.
12-23-2020 06:12 AM
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.
01-18-2021 01:27 AM
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