06-26-2025 10:31 AM
Hello everyone,
I'm working on a project where I need to visualize a 3D parametric shape using LabVIEW. I have the X, Y, and Z coordinates stored in an Excel file (or alternatively from an online 3D printing system in real-time). My goal is to plot this shape dynamically in LabVIEW, possibly for monitoring or controlling a 3D printing process.
I have tried using the "Parametric Plot" example in LabVIEW, but unfortunately, I couldn't achieve the desired visualization from my data. The example seems limited or perhaps not suited for importing coordinates directly from Excel.
What I’ve tried so far:
Reading the Excel file using the Report Generation Toolkit.
Feeding the X, Y, Z values into LabVIEW arrays.
Attempting to use 3D Graph (like 3D Surface Plot
or 3D Parametric Graph
), but couldn’t work.
Could someone guide me on:
How to properly import and structure X, Y, Z data for 3D visualization?
If there's an example or VI that can serve as a base?
Any advice, examples, or documentation links would be highly appreciated!
Thank you in advance!
Ame
06-26-2025 02:42 PM - edited 06-26-2025 02:43 PM
Based on the sparse information, wee cannot determine what you are doing wrong. How does the shape look like? Can you attach some data and how you are "feeding" (sic) the data into arrays?
Do the x and y values form a regular grid and Z defines a plane? (then a surface plot would work)
Is the shape a closed 3D object? (then a parametric plot would work)
There are billions of possible ways something "does not work", and at least a dozen ways that it works. You need to narrow down the problem.
Have you looked at the help and shipping examples?
06-26-2025 04:06 PM
You may want to look into the Advanced Plotting Toolkit, which has a handful of plot types that aren't (easily) done with the native LabVIEW ones.
06-27-2025 07:35 AM
@BertMcMahan wrote:
You may want to look into the Advanced Plotting Toolkit, which has a handful of plot types that aren't (easily) done with the native LabVIEW ones.
You can find this Open Source product (which does look pretty interesting!) on the LabVIEW Tools Network, accessible through VIPM, the VI Package Manager which was (or should have been) installed with LabVIEW.
Bob Schor
06-27-2025 09:19 AM - edited 06-27-2025 10:09 AM
There is no need for any external addons, the included parametric surface graph can even do 4D surfaces (x, y, z, color).
So far you have not answered any of my earlier questions or attached any data.
Here's an example output from one of my programs written well over a decade ago ( ... and it is freely available as executable).
In this case, the xyz points form the surface of a sphere and the colors represent the sum of spherical harmonics. given their coefficients and Euler angles. Any other shape is of course possible.
Here's a blurry picture of the entire code:
06-27-2025 10:34 AM
If the OP is doing 3D prints he may want more of a "line based" plot rather than a "surface based" plotting tool. I'd thought LabVIEW didn't have that baked in but I had forgotten about the 3D Line Graph way down at the bottom:
06-27-2025 10:46 AM - edited 06-27-2025 11:31 AM
@BertMcMahan wrote:
If the OP is doing 3D prints he may want more of a "line based" plot rather than a "surface based" plotting tool. I'd thought LabVIEW didn't have that baked in but I had forgotten about the 3D Line Graph way down at the bottom:
Yes, LabVIEW has a rich set of 3D graphs.
While a "line" is a 1D shape in 3D, we really have insufficient information from the OP. They were talking about a "3D parametric shape" and the interpretation of what that actually means is quite blurry. 😄