LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Matlab plot integration and interaction on a front panel

Hello all,

I am making slow progress in the direction I have taken and was wondering if anyone had some experience/ideas with this. In my application I have the need to mesh a grid optimized to the geometry defined by several boundary points. For this purpose I found a MATLAB code developed by MIT which I would like to use. Right now I can define these boundary points in Labview, then call the matlab exe with this information and have the meshing code come up with a grid. I can get the grid point coordinates back to labview, but here is where the problems start. I am looking for a way to plot these discrete points, not as a curve but as separate dots or 'x'. Also, I would like to be able to click on a point and have Lab View read that points coordinates and store it in a variable.

I assume there would be event structures involved, mouse click event, something like that, so I will be experimenting with that in the meantime, but right now I do not know how to even plot my points.

Thank you advance.

Alek
0 Kudos
Message 1 of 2
(4,538 Views)
There are a number of examples that ship with LabVIEW to show you how to do plotting. Open the Example Finder (Help -> Find Examples) and in the tree select Fundamentals -> Graphs and Charts. Also take a look at using cursors for graphs, which will give you coordinate values.

Stop back when you've had a look at those and have a better idea of what you need to do.
0 Kudos
Message 2 of 2
(4,521 Views)